OSDN Git Service

2009-01-12 Benjamin Kosnik <bkoz@redhat.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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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-system-libunwind use installed libunwind
1082   --with-gxx-include-dir=DIR
1083                           installation directory for include files
1084
1085 Some influential environment variables:
1086   CC          C compiler command
1087   CFLAGS      C compiler flags
1088   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1089               nonstandard directory <lib dir>
1090   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091               headers in a nonstandard directory <include dir>
1092   CXX         C++ compiler command
1093   CXXFLAGS    C++ compiler flags
1094   CPP         C preprocessor
1095   CXXCPP      C++ preprocessor
1096
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1099
1100 _ACEOF
1101 fi
1102
1103 if test "$ac_init_help" = "recursive"; then
1104   # If there are subdirs, report their specific --help.
1105   ac_popdir=`pwd`
1106   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107     test -d $ac_dir || continue
1108     ac_builddir=.
1109
1110 if test "$ac_dir" != .; then
1111   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112   # A "../" for each directory in $ac_dir_suffix.
1113   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115   ac_dir_suffix= ac_top_builddir=
1116 fi
1117
1118 case $srcdir in
1119   .)  # No --srcdir option.  We are building in place.
1120     ac_srcdir=.
1121     if test -z "$ac_top_builddir"; then
1122        ac_top_srcdir=.
1123     else
1124        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125     fi ;;
1126   [\\/]* | ?:[\\/]* )  # Absolute path.
1127     ac_srcdir=$srcdir$ac_dir_suffix;
1128     ac_top_srcdir=$srcdir ;;
1129   *) # Relative path.
1130     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1133
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1138 *)
1139   case "$ac_dir" in
1140   .) ac_abs_builddir=`pwd`;;
1141   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143   esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *)
1148   case ${ac_top_builddir}. in
1149   .) ac_abs_top_builddir=$ac_abs_builddir;;
1150   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152   esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1156 *)
1157   case $ac_srcdir in
1158   .) ac_abs_srcdir=$ac_abs_builddir;;
1159   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161   esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *)
1166   case $ac_top_srcdir in
1167   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170   esac;;
1171 esac
1172
1173     cd $ac_dir
1174     # Check for guested configure; otherwise get Cygnus style configure.
1175     if test -f $ac_srcdir/configure.gnu; then
1176       echo
1177       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1178     elif test -f $ac_srcdir/configure; then
1179       echo
1180       $SHELL $ac_srcdir/configure  --help=recursive
1181     elif test -f $ac_srcdir/configure.ac ||
1182            test -f $ac_srcdir/configure.in; then
1183       echo
1184       $ac_configure --help
1185     else
1186       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1187     fi
1188     cd $ac_popdir
1189   done
1190 fi
1191
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194   cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1197
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202   exit 0
1203 fi
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1208
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59.  Invocation command line was
1211
1212   $ $0 $@
1213
1214 _ACEOF
1215 {
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1220
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1226
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1229
1230 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1231 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1234 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1235 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1236 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1237
1238 _ASUNAME
1239
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1242 do
1243   IFS=$as_save_IFS
1244   test -z "$as_dir" && as_dir=.
1245   echo "PATH: $as_dir"
1246 done
1247
1248 } >&5
1249
1250 cat >&5 <<_ACEOF
1251
1252
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1256
1257 _ACEOF
1258
1259
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1271 do
1272   for ac_arg
1273   do
1274     case $ac_arg in
1275     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277     | -silent | --silent | --silen | --sile | --sil)
1278       continue ;;
1279     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281     esac
1282     case $ac_pass in
1283     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1284     2)
1285       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286       if test $ac_must_keep_next = true; then
1287         ac_must_keep_next=false # Got value, back to normal.
1288       else
1289         case $ac_arg in
1290           *=* | --config-cache | -C | -disable-* | --disable-* \
1291           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293           | -with-* | --with-* | -without-* | --without-* | --x)
1294             case "$ac_configure_args0 " in
1295               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296             esac
1297             ;;
1298           -* ) ac_must_keep_next=true ;;
1299         esac
1300       fi
1301       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302       # Get rid of the leading space.
1303       ac_sep=" "
1304       ;;
1305     esac
1306   done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1310
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log.  We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317   # Save into config.log some information that might help in debugging.
1318   {
1319     echo
1320
1321     cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326     echo
1327     # The following way of writing the cache mishandles newlines in values,
1328 {
1329   (set) 2>&1 |
1330     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331     *ac_space=\ *)
1332       sed -n \
1333         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335       ;;
1336     *)
1337       sed -n \
1338         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1339       ;;
1340     esac;
1341 }
1342     echo
1343
1344     cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349     echo
1350     for ac_var in $ac_subst_vars
1351     do
1352       eval ac_val=$`echo $ac_var`
1353       echo "$ac_var='"'"'$ac_val'"'"'"
1354     done | sort
1355     echo
1356
1357     if test -n "$ac_subst_files"; then
1358       cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363       echo
1364       for ac_var in $ac_subst_files
1365       do
1366         eval ac_val=$`echo $ac_var`
1367         echo "$ac_var='"'"'$ac_val'"'"'"
1368       done | sort
1369       echo
1370     fi
1371
1372     if test -s confdefs.h; then
1373       cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378       echo
1379       sed "/^$/d" confdefs.h | sort
1380       echo
1381     fi
1382     test "$ac_signal" != 0 &&
1383       echo "$as_me: caught signal $ac_signal"
1384     echo "$as_me: exit $exit_status"
1385   } >&5
1386   rm -f core *.core &&
1387   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388     exit $exit_status
1389      ' 0
1390 for ac_signal in 1 2 13 15; do
1391   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1394
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1399
1400 # Predefined preprocessor variables.
1401
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1405
1406
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1410
1411
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1415
1416
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1420
1421
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1425
1426
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430   if test "x$prefix" != xNONE; then
1431     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432   else
1433     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1434   fi
1435 fi
1436 for ac_site_file in $CONFIG_SITE; do
1437   if test -r "$ac_site_file"; then
1438     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440     sed 's/^/| /' "$ac_site_file" >&5
1441     . "$ac_site_file"
1442   fi
1443 done
1444
1445 if test -r "$cache_file"; then
1446   # Some versions of bash will fail to source /dev/null (special
1447   # files actually), so we avoid doing that.
1448   if test -f "$cache_file"; then
1449     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451     case $cache_file in
1452       [\\/]* | ?:[\\/]* ) . $cache_file;;
1453       *)                      . ./$cache_file;;
1454     esac
1455   fi
1456 else
1457   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459   >$cache_file
1460 fi
1461
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468   eval ac_new_set=\$ac_env_${ac_var}_set
1469   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470   eval ac_new_val="\$ac_env_${ac_var}_value"
1471   case $ac_old_set,$ac_new_set in
1472     set,)
1473       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475       ac_cache_corrupted=: ;;
1476     ,set)
1477       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479       ac_cache_corrupted=: ;;
1480     ,);;
1481     *)
1482       if test "x$ac_old_val" != "x$ac_new_val"; then
1483         # differences in whitespace do not lead to failure.
1484         ac_old_val_w=`echo x $ac_old_val`
1485         ac_new_val_w=`echo x $ac_new_val`
1486         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489           ac_cache_corrupted=:
1490         else
1491           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493           eval $ac_var=\$ac_old_val
1494         fi
1495         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1496 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1497         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1498 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1499       fi;;
1500   esac
1501   # Pass precious variables to config.status.
1502   if test "$ac_new_set" = set; then
1503     case $ac_new_val in
1504     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506     *) ac_arg=$ac_var=$ac_new_val ;;
1507     esac
1508     case " $ac_configure_args " in
1509       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1510       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511     esac
1512   fi
1513 done
1514 if $ac_cache_corrupted; then
1515   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521    { (exit 1); exit 1; }; }
1522 fi
1523
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1560           ac_config_headers="$ac_config_headers config.h"
1561
1562
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported.  Only used at the end of this file.
1567 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1568
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:11:0
1571
1572
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577   enableval="$enable_multilib"
1578   case "$enableval" in
1579   yes) multilib=yes ;;
1580   no)  multilib=no ;;
1581   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583    { (exit 1); exit 1; }; } ;;
1584  esac
1585 else
1586   multilib=yes
1587 fi;
1588
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1592
1593 if test "$srcdir" = "."; then
1594   if test "$with_target_subdir" != "."; then
1595     multi_basedir="$srcdir/$with_multisrctop../.."
1596   else
1597     multi_basedir="$srcdir/$with_multisrctop.."
1598   fi
1599 else
1600   multi_basedir="$srcdir/.."
1601 fi
1602
1603
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607    && test "x${with_multisubdir}" != x ; then
1608    cross_compiling=maybe
1609 fi
1610
1611           ac_config_commands="$ac_config_commands default-1"
1612
1613
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 #
1616 # You will slowly go insane if you do not grok the following fact:  when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/.  configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf.  Therefore, 'target' and
1620 # 'host' will always be the same.  This makes sense both for native and
1621 # cross compilers, just think about it for a little while.  :-)
1622 #
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1625 #
1626 # Do not delete or change the following two lines.  For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630   if test -f $ac_dir/install-sh; then
1631     ac_aux_dir=$ac_dir
1632     ac_install_sh="$ac_aux_dir/install-sh -c"
1633     break
1634   elif test -f $ac_dir/install.sh; then
1635     ac_aux_dir=$ac_dir
1636     ac_install_sh="$ac_aux_dir/install.sh -c"
1637     break
1638   elif test -f $ac_dir/shtool; then
1639     ac_aux_dir=$ac_dir
1640     ac_install_sh="$ac_aux_dir/shtool install -c"
1641     break
1642   fi
1643 done
1644 if test -z "$ac_aux_dir"; then
1645   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647    { (exit 1); exit 1; }; }
1648 fi
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1652
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657    { (exit 1); exit 1; }; }
1658
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662   echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664   ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666   ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670    { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674    { (exit 1); exit 1; }; }
1675
1676 fi
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1683
1684
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688   echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690   ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692   ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696    { (exit 1); exit 1; }; }
1697
1698 fi
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1705
1706
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710   echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712   ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714   ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718    { (exit 1); exit 1; }; }
1719
1720 fi
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1727
1728
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732   test "$program_prefix$program_suffix$program_transform_name" = \
1733     NONENONEs,x,x, &&
1734   program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1736
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1739
1740 if test "$build" != "$host"; then
1741   # We are being configured with some form of cross compiler.
1742   GLIBCXX_IS_NATIVE=false
1743   case "$host","$target" in
1744     # Darwin crosses can use the host system's libraries and headers,
1745     # because of the fat library support.  Of course, it must be the
1746     # same version of Darwin on both sides.  Allow the user to
1747     # just say --target=foo-darwin without a version number to mean
1748     # "the version on this system".
1749       *-*-darwin*,*-*-darwin*)
1750         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752         if test $hostos = $targetos -o $targetos = darwin ; then
1753           GLIBCXX_IS_NATIVE=true
1754         fi
1755         ;;
1756
1757       *)
1758
1759         ;;
1760   esac
1761 else
1762   GLIBCXX_IS_NATIVE=true
1763 fi
1764
1765 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 #  1.x:  minimum required version
1768 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 #              of other PACKAGE_* variables will, however, and there's nothing
1770 #              we can do about that; they come from AC_INIT).
1771 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1772 #            file in the top srcdir, etc, etc), so stop complaining.
1773 #  no-dependencies:  turns off auto dependency generation (just for now)
1774 #  -Wall:  turns on all automake warnings...
1775 #  -Wno-portability:  ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program.  We prefer a C program (faster),
1778 # so one script is as good as another.  But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795   echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1799 do
1800   IFS=$as_save_IFS
1801   test -z "$as_dir" && as_dir=.
1802   # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804   ./ | .// | /cC/* | \
1805   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807   /usr/ucb/* ) ;;
1808   *)
1809     # OSF1 and SCO ODT 3.0 have their own names for install.
1810     # Don't use installbsd from OSF since it installs stuff as root
1811     # by default.
1812     for ac_prog in ginstall scoinst install; do
1813       for ac_exec_ext in '' $ac_executable_extensions; do
1814         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815           if test $ac_prog = install &&
1816             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817             # AIX install.  It has an incompatible calling convention.
1818             :
1819           elif test $ac_prog = install &&
1820             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821             # program-specific install script used by HP pwplus--don't use.
1822             :
1823           else
1824             rm -rf conftest.one conftest.two conftest.dir
1825             echo one > conftest.one
1826             echo two > conftest.two
1827             mkdir conftest.dir
1828             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829               test -s conftest.one && test -s conftest.two &&
1830               test -s conftest.dir/conftest.one &&
1831               test -s conftest.dir/conftest.two
1832             then
1833               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834               break 3
1835             fi
1836           fi
1837         fi
1838       done
1839     done
1840     ;;
1841 esac
1842 done
1843
1844 rm -rf conftest.one conftest.two conftest.dir
1845
1846 fi
1847   if test "${ac_cv_path_install+set}" = set; then
1848     INSTALL=$ac_cv_path_install
1849   else
1850     # As a last resort, use the slow shell script.  Don't cache a
1851     # value for INSTALL within a source directory, because that will
1852     # break other packages using the cache if that directory is
1853     # removed, or if the value is a relative name.
1854     INSTALL=$ac_install_sh
1855   fi
1856 fi
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1859
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1863
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1865
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1867
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments.  Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880    if test "$*" = "X"; then
1881       # -L didn't work.
1882       set X `ls -t $srcdir/configure conftest.file`
1883    fi
1884    rm -f conftest.file
1885    if test "$*" != "X $srcdir/configure conftest.file" \
1886       && test "$*" != "X conftest.file $srcdir/configure"; then
1887
1888       # If neither matched, then we have a broken ls.  This can happen
1889       # if, for instance, CONFIG_SHELL is bash and it inherits a
1890       # broken ls alias from the environment.  This has actually
1891       # happened.  Such a system could not be considered "sane".
1892       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1895 alias in your environment" >&2;}
1896    { (exit 1); exit 1; }; }
1897    fi
1898
1899    test "$2" = conftest.file
1900    )
1901 then
1902    # Ok.
1903    :
1904 else
1905    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909    { (exit 1); exit 1; }; }
1910 fi
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $.  echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1925
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1928
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932   am_missing_run="$MISSING --run "
1933 else
1934   am_missing_run=
1935   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1937 fi
1938
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940   # We used to keeping the `.' as first argument, in order to
1941   # allow $(mkdir_p) to be used without argument.  As in
1942   #   $(mkdir_p) $(somedir)
1943   # where $(somedir) is conditionally defined.  However this is wrong
1944   # for two reasons:
1945   #  1. if the package is installed by a user who cannot write `.'
1946   #     make install will fail,
1947   #  2. the above comment should most certainly read
1948   #     $(mkdir_p) $(DESTDIR)$(somedir)
1949   #     so it does not work when $(somedir) is undefined and
1950   #     $(DESTDIR) is not.
1951   #  To support the latter case, we have to write
1952   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953   #  so the `.' trick is pointless.
1954   mkdir_p='mkdir -p --'
1955 else
1956   # On NextStep and OpenStep, the `mkdir' command does not
1957   # recognize any option.  It will interpret all options as
1958   # directories to create, and then abort because `.' already
1959   # exists.
1960   for d in ./-p ./--version;
1961   do
1962     test -d $d && rmdir $d
1963   done
1964   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965   if test -f "$ac_aux_dir/mkinstalldirs"; then
1966     mkdir_p='$(mkinstalldirs)'
1967   else
1968     mkdir_p='$(install_sh) -d'
1969   fi
1970 fi
1971
1972 for ac_prog in gawk mawk nawk awk
1973 do
1974   # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979   echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981   if test -n "$AWK"; then
1982   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1986 do
1987   IFS=$as_save_IFS
1988   test -z "$as_dir" && as_dir=.
1989   for ac_exec_ext in '' $ac_executable_extensions; do
1990   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991     ac_cv_prog_AWK="$ac_prog"
1992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993     break 2
1994   fi
1995 done
1996 done
1997
1998 fi
1999 fi
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002   echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005   echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2007 fi
2008
2009   test -n "$AWK" && break
2010 done
2011
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016   echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018   cat >conftest.make <<\_ACEOF
2019 all:
2020         @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025   eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027   eval ac_cv_prog_make_${ac_make}_set=no
2028 fi
2029 rm -f conftest.make
2030 fi
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032   echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034   SET_MAKE=
2035 else
2036   echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038   SET_MAKE="MAKE=${MAKE-make}"
2039 fi
2040
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044   am__leading_dot=.
2045 else
2046   am__leading_dot=_
2047 fi
2048 rmdir .tst 2>/dev/null
2049
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052    test -f $srcdir/config.status; then
2053   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055    { (exit 1); exit 1; }; }
2056 fi
2057
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060   if (cygpath --version) >/dev/null 2>/dev/null; then
2061     CYGPATH_W='cygpath -w'
2062   else
2063     CYGPATH_W=echo
2064   fi
2065 fi
2066
2067
2068 # Define the identity of the package.
2069  PACKAGE='libstdc++'
2070  VERSION='version-unused'
2071
2072
2073 # Some tools Automake needs.
2074
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2076
2077
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2079
2080
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2082
2083
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2085
2086
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2090
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'.  However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096   if test -n "$ac_tool_prefix"; then
2097   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102   echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104   if test -n "$STRIP"; then
2105   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110   IFS=$as_save_IFS
2111   test -z "$as_dir" && as_dir=.
2112   for ac_exec_ext in '' $ac_executable_extensions; do
2113   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116     break 2
2117   fi
2118 done
2119 done
2120
2121 fi
2122 fi
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125   echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128   echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2130 fi
2131
2132 fi
2133 if test -z "$ac_cv_prog_STRIP"; then
2134   ac_ct_STRIP=$STRIP
2135   # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140   echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142   if test -n "$ac_ct_STRIP"; then
2143   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2147 do
2148   IFS=$as_save_IFS
2149   test -z "$as_dir" && as_dir=.
2150   for ac_exec_ext in '' $ac_executable_extensions; do
2151   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152     ac_cv_prog_ac_ct_STRIP="strip"
2153     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154     break 2
2155   fi
2156 done
2157 done
2158
2159   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2160 fi
2161 fi
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167   echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2169 fi
2170
2171   STRIP=$ac_ct_STRIP
2172 else
2173   STRIP="$ac_cv_prog_STRIP"
2174 fi
2175
2176 fi
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2178
2179 # We need awk for the "check" target.  The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2182
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2184
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2197 # up critical shell variables.
2198
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208   CPP=
2209 fi
2210 if test -z "$CPP"; then
2211   if test "${ac_cv_prog_CPP+set}" = set; then
2212   echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214       # Double quotes because CPP needs to be expanded
2215     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2216     do
2217       ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2219 do
2220   # Use a header file that comes with gcc, so configuring glibc
2221   # with a fresh cross-compiler works.
2222   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223   # <limits.h> exists even on freestanding compilers.
2224   # On the NeXT, cc -E runs the code through the compiler's parser,
2225   # not just through cpp. "Syntax error" is here to catch this case.
2226   cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h.  */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h.  */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237                      Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241   ac_status=$?
2242   grep -v '^ *+' conftest.er1 >conftest.err
2243   rm -f conftest.er1
2244   cat conftest.err >&5
2245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246   (exit $ac_status); } >/dev/null; then
2247   if test -s conftest.err; then
2248     ac_cpp_err=$ac_c_preproc_warn_flag
2249     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250   else
2251     ac_cpp_err=
2252   fi
2253 else
2254   ac_cpp_err=yes
2255 fi
2256 if test -z "$ac_cpp_err"; then
2257   :
2258 else
2259   echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2261
2262   # Broken: fails on valid input.
2263 continue
2264 fi
2265 rm -f conftest.err conftest.$ac_ext
2266
2267   # OK, works on sane cases.  Now check whether non-existent headers
2268   # can be detected and how.
2269   cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h.  */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h.  */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279   ac_status=$?
2280   grep -v '^ *+' conftest.er1 >conftest.err
2281   rm -f conftest.er1
2282   cat conftest.err >&5
2283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284   (exit $ac_status); } >/dev/null; then
2285   if test -s conftest.err; then
2286     ac_cpp_err=$ac_c_preproc_warn_flag
2287     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288   else
2289     ac_cpp_err=
2290   fi
2291 else
2292   ac_cpp_err=yes
2293 fi
2294 if test -z "$ac_cpp_err"; then
2295   # Broken: success on invalid input.
2296 continue
2297 else
2298   echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2300
2301   # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2304 fi
2305 rm -f conftest.err conftest.$ac_ext
2306
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311   break
2312 fi
2313
2314     done
2315     ac_cv_prog_CPP=$CPP
2316
2317 fi
2318   CPP=$ac_cv_prog_CPP
2319 else
2320   ac_cv_prog_CPP=$CPP
2321 fi
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2326 do
2327   # Use a header file that comes with gcc, so configuring glibc
2328   # with a fresh cross-compiler works.
2329   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330   # <limits.h> exists even on freestanding compilers.
2331   # On the NeXT, cc -E runs the code through the compiler's parser,
2332   # not just through cpp. "Syntax error" is here to catch this case.
2333   cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h.  */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h.  */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344                      Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348   ac_status=$?
2349   grep -v '^ *+' conftest.er1 >conftest.err
2350   rm -f conftest.er1
2351   cat conftest.err >&5
2352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353   (exit $ac_status); } >/dev/null; then
2354   if test -s conftest.err; then
2355     ac_cpp_err=$ac_c_preproc_warn_flag
2356     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357   else
2358     ac_cpp_err=
2359   fi
2360 else
2361   ac_cpp_err=yes
2362 fi
2363 if test -z "$ac_cpp_err"; then
2364   :
2365 else
2366   echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2368
2369   # Broken: fails on valid input.
2370 continue
2371 fi
2372 rm -f conftest.err conftest.$ac_ext
2373
2374   # OK, works on sane cases.  Now check whether non-existent headers
2375   # can be detected and how.
2376   cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h.  */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h.  */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386   ac_status=$?
2387   grep -v '^ *+' conftest.er1 >conftest.err
2388   rm -f conftest.er1
2389   cat conftest.err >&5
2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391   (exit $ac_status); } >/dev/null; then
2392   if test -s conftest.err; then
2393     ac_cpp_err=$ac_c_preproc_warn_flag
2394     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395   else
2396     ac_cpp_err=
2397   fi
2398 else
2399   ac_cpp_err=yes
2400 fi
2401 if test -z "$ac_cpp_err"; then
2402   # Broken: success on invalid input.
2403 continue
2404 else
2405   echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2407
2408   # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2411 fi
2412 rm -f conftest.err conftest.$ac_ext
2413
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2418   :
2419 else
2420   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426    { (exit 1); exit 1; }; }; }
2427 fi
2428
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434
2435
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439   echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442     then ac_cv_prog_egrep='grep -E'
2443     else ac_cv_prog_egrep='egrep'
2444     fi
2445 fi
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448  EGREP=$ac_cv_prog_egrep
2449
2450
2451
2452   # Keep these sync'd with the list in Makefile.am.  The first provides an
2453   # expandable list at autoconf time; the second provides an expandable list
2454   # (i.e., shell variable) at configure time.
2455
2456   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2457
2458   # These need to be absolute paths, yet at the same time need to
2459   # canonicalize only relative paths, because then amd will not unmount
2460   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461   glibcxx_builddir=`${PWDCMD-pwd}`
2462   case $srcdir in
2463     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465   esac
2466   toplevel_srcdir=${glibcxx_srcdir}/..
2467
2468
2469
2470
2471   # We use these options to decide which functions to include.  They are
2472   # set from the top level.
2473
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476   withval="$with_target_subdir"
2477
2478 fi;
2479
2480
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483   withval="$with_cross_host"
2484
2485 fi;
2486
2487
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490   withval="$with_newlib"
2491
2492 fi;
2493
2494   # We're almost certainly being configured before anything else which uses
2495   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2496   # we not cache the value of CXX that we "discover" here, because it's set
2497   # to something unique for us and libjava.  Other target libraries need to
2498   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2499   # process by sneakily renaming the cache variable.  This also lets us debug
2500   # the value of "our" CXX in postmortems.
2501   #
2502   # We must also force CXX to /not/ be a precious variable, otherwise the
2503   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2504   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2505   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2507   #
2508   # -fno-builtin must be present here so that a non-conflicting form of
2509   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2510
2511
2512
2513
2514   save_CXXFLAGS="$CXXFLAGS"
2515   CXXFLAGS="$CXXFLAGS -fno-builtin"
2516   ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527   echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529   if test -n "$CC"; then
2530   ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2534 do
2535   IFS=$as_save_IFS
2536   test -z "$as_dir" && as_dir=.
2537   for ac_exec_ext in '' $ac_executable_extensions; do
2538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541     break 2
2542   fi
2543 done
2544 done
2545
2546 fi
2547 fi
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550   echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553   echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557 fi
2558 if test -z "$ac_cv_prog_CC"; then
2559   ac_ct_CC=$CC
2560   # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565   echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567   if test -n "$ac_ct_CC"; then
2568   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2572 do
2573   IFS=$as_save_IFS
2574   test -z "$as_dir" && as_dir=.
2575   for ac_exec_ext in '' $ac_executable_extensions; do
2576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577     ac_cv_prog_ac_ct_CC="gcc"
2578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579     break 2
2580   fi
2581 done
2582 done
2583
2584 fi
2585 fi
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591   echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2593 fi
2594
2595   CC=$ac_ct_CC
2596 else
2597   CC="$ac_cv_prog_CC"
2598 fi
2599
2600 if test -z "$CC"; then
2601   if test -n "$ac_tool_prefix"; then
2602   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607   echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609   if test -n "$CC"; then
2610   ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2614 do
2615   IFS=$as_save_IFS
2616   test -z "$as_dir" && as_dir=.
2617   for ac_exec_ext in '' $ac_executable_extensions; do
2618   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619     ac_cv_prog_CC="${ac_tool_prefix}cc"
2620     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621     break 2
2622   fi
2623 done
2624 done
2625
2626 fi
2627 fi
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630   echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633   echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2635 fi
2636
2637 fi
2638 if test -z "$ac_cv_prog_CC"; then
2639   ac_ct_CC=$CC
2640   # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645   echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647   if test -n "$ac_ct_CC"; then
2648   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2652 do
2653   IFS=$as_save_IFS
2654   test -z "$as_dir" && as_dir=.
2655   for ac_exec_ext in '' $ac_executable_extensions; do
2656   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657     ac_cv_prog_ac_ct_CC="cc"
2658     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659     break 2
2660   fi
2661 done
2662 done
2663
2664 fi
2665 fi
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671   echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2673 fi
2674
2675   CC=$ac_ct_CC
2676 else
2677   CC="$ac_cv_prog_CC"
2678 fi
2679
2680 fi
2681 if test -z "$CC"; then
2682   # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687   echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689   if test -n "$CC"; then
2690   ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692   ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696   IFS=$as_save_IFS
2697   test -z "$as_dir" && as_dir=.
2698   for ac_exec_ext in '' $ac_executable_extensions; do
2699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701        ac_prog_rejected=yes
2702        continue
2703      fi
2704     ac_cv_prog_CC="cc"
2705     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706     break 2
2707   fi
2708 done
2709 done
2710
2711 if test $ac_prog_rejected = yes; then
2712   # We found a bogon in the path, so make sure we never use it.
2713   set dummy $ac_cv_prog_CC
2714   shift
2715   if test $# != 0; then
2716     # We chose a different compiler from the bogus one.
2717     # However, it has the same basename, so the bogon will be chosen
2718     # first if we set CC to just the basename; use the full file name.
2719     shift
2720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2721   fi
2722 fi
2723 fi
2724 fi
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727   echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730   echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2732 fi
2733
2734 fi
2735 if test -z "$CC"; then
2736   if test -n "$ac_tool_prefix"; then
2737   for ac_prog in cl
2738   do
2739     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744   echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746   if test -n "$CC"; then
2747   ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2751 do
2752   IFS=$as_save_IFS
2753   test -z "$as_dir" && as_dir=.
2754   for ac_exec_ext in '' $ac_executable_extensions; do
2755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758     break 2
2759   fi
2760 done
2761 done
2762
2763 fi
2764 fi
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767   echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770   echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2772 fi
2773
2774     test -n "$CC" && break
2775   done
2776 fi
2777 if test -z "$CC"; then
2778   ac_ct_CC=$CC
2779   for ac_prog in cl
2780 do
2781   # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786   echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788   if test -n "$ac_ct_CC"; then
2789   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2793 do
2794   IFS=$as_save_IFS
2795   test -z "$as_dir" && as_dir=.
2796   for ac_exec_ext in '' $ac_executable_extensions; do
2797   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798     ac_cv_prog_ac_ct_CC="$ac_prog"
2799     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800     break 2
2801   fi
2802 done
2803 done
2804
2805 fi
2806 fi
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812   echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2814 fi
2815
2816   test -n "$ac_ct_CC" && break
2817 done
2818
2819   CC=$ac_ct_CC
2820 fi
2821
2822 fi
2823
2824
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831    { (exit 1); exit 1; }; }; }
2832
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835      "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838   (eval $ac_compiler --version </dev/null >&5) 2>&5
2839   ac_status=$?
2840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841   (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843   (eval $ac_compiler -v </dev/null >&5) 2>&5
2844   ac_status=$?
2845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846   (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848   (eval $ac_compiler -V </dev/null >&5) 2>&5
2849   ac_status=$?
2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851   (exit $ac_status); }
2852
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h.  */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h.  */
2859
2860 int
2861 main ()
2862 {
2863
2864   ;
2865   return 0;
2866 }
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870   (eval $ac_link) 2>&5
2871   ac_status=$?
2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873   (exit $ac_status); }; then
2874   gcc_no_link=no
2875 else
2876   gcc_no_link=yes
2877 fi
2878
2879 if test x$gcc_no_link = xyes; then
2880   # Setting cross_compile will disable run tests; it will
2881   # also disable AC_CHECK_FILE but that's generally
2882   # correct if we can't link.
2883   cross_compiling=yes
2884   EXEEXT=
2885 else
2886   cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h.  */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h.  */
2892
2893 int
2894 main ()
2895 {
2896
2897   ;
2898   return 0;
2899 }
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910   (eval $ac_link_default) 2>&5
2911   ac_status=$?
2912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913   (exit $ac_status); }; then
2914   # Find the output, starting from the most likely.  This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2917
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2923 do
2924   test -f "$ac_file" || continue
2925   case $ac_file in
2926     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2927         ;;
2928     conftest.$ac_ext )
2929         # This is the source file.
2930         ;;
2931     [ab].out )
2932         # We found the default executable, but exeext='' is most
2933         # certainly right.
2934         break;;
2935     *.* )
2936         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937         # FIXME: I believe we export ac_cv_exeext for Libtool,
2938         # but it would be cool to find out if it's true.  Does anybody
2939         # maintain Libtool? --akim.
2940         export ac_cv_exeext
2941         break;;
2942     * )
2943         break;;
2944   esac
2945 done
2946 else
2947   echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2949
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956    { (exit 77); exit 77; }; }; }
2957 fi
2958
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2962
2963 # Check the compiler produces executables we can run.  If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970   if { ac_try='./$ac_file'
2971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972   (eval $ac_try) 2>&5
2973   ac_status=$?
2974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975   (exit $ac_status); }; }; then
2976     cross_compiling=no
2977   else
2978     if test "$cross_compiling" = maybe; then
2979         cross_compiling=yes
2980     else
2981         { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989    { (exit 1); exit 1; }; }; }
2990     fi
2991   fi
2992 fi
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2995
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run.  If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3004
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008   (eval $ac_link) 2>&5
3009   ac_status=$?
3010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011   (exit $ac_status); }; then
3012   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017   test -f "$ac_file" || continue
3018   case $ac_file in
3019     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021           export ac_cv_exeext
3022           break;;
3023     * ) break;;
3024   esac
3025 done
3026 else
3027   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033    { (exit 1); exit 1; }; }; }
3034 fi
3035
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3039
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3043 fi
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047   echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049   cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h.  */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h.  */
3055
3056 int
3057 main ()
3058 {
3059
3060   ;
3061   return 0;
3062 }
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066   (eval $ac_compile) 2>&5
3067   ac_status=$?
3068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069   (exit $ac_status); }; then
3070   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071   case $ac_file in
3072     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074        break;;
3075   esac
3076 done
3077 else
3078   echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3080
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087    { (exit 1); exit 1; }; }; }
3088 fi
3089
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3091 fi
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099   echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101   cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h.  */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h.  */
3107
3108 int
3109 main ()
3110 {
3111 #ifndef __GNUC__
3112        choke me
3113 #endif
3114
3115   ;
3116   return 0;
3117 }
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121   (eval $ac_compile) 2>conftest.er1
3122   ac_status=$?
3123   grep -v '^ *+' conftest.er1 >conftest.err
3124   rm -f conftest.er1
3125   cat conftest.err >&5
3126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127   (exit $ac_status); } &&
3128          { ac_try='test -z "$ac_c_werror_flag"
3129                          || test ! -s conftest.err'
3130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131   (eval $ac_try) 2>&5
3132   ac_status=$?
3133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134   (exit $ac_status); }; } &&
3135          { ac_try='test -s conftest.$ac_objext'
3136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137   (eval $ac_try) 2>&5
3138   ac_status=$?
3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140   (exit $ac_status); }; }; then
3141   ac_compiler_gnu=yes
3142 else
3143   echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3145
3146 ac_compiler_gnu=no
3147 fi
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3150
3151 fi
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161   echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163   cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h.  */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h.  */
3169
3170 int
3171 main ()
3172 {
3173
3174   ;
3175   return 0;
3176 }
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180   (eval $ac_compile) 2>conftest.er1
3181   ac_status=$?
3182   grep -v '^ *+' conftest.er1 >conftest.err
3183   rm -f conftest.er1
3184   cat conftest.err >&5
3185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186   (exit $ac_status); } &&
3187          { ac_try='test -z "$ac_c_werror_flag"
3188                          || test ! -s conftest.err'
3189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190   (eval $ac_try) 2>&5
3191   ac_status=$?
3192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193   (exit $ac_status); }; } &&
3194          { ac_try='test -s conftest.$ac_objext'
3195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196   (eval $ac_try) 2>&5
3197   ac_status=$?
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); }; }; then
3200   ac_cv_prog_cc_g=yes
3201 else
3202   echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3204
3205 ac_cv_prog_cc_g=no
3206 fi
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3208 fi
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212   CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214   if test "$GCC" = yes; then
3215     CFLAGS="-g -O2"
3216   else
3217     CFLAGS="-g"
3218   fi
3219 else
3220   if test "$GCC" = yes; then
3221     CFLAGS="-O2"
3222   else
3223     CFLAGS=
3224   fi
3225 fi
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229   echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231   ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h.  */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h.  */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247      char **p;
3248      int i;
3249 {
3250   return p[i];
3251 }
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3253 {
3254   char *s;
3255   va_list v;
3256   va_start (v,p);
3257   s = g (p, va_arg (v,int));
3258   va_end (v);
3259   return s;
3260 }
3261
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3263    function prototypes and stuff, but not '\xHH' hex character constants.
3264    These don't provoke an error unfortunately, instead are silently treated
3265    as 'x'.  The following induces an error, until -std1 is added to get
3266    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3267    array size at least.  It's necessary to write '\x00'==0 to get something
3268    that's true only with -std1.  */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3270
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3277 int
3278 main ()
3279 {
3280 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3281   ;
3282   return 0;
3283 }
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX                   -qlanglvl=ansi
3288 # Ultrix and OSF/1      -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3291 # SVR4                  -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3293 do
3294   CC="$ac_save_CC $ac_arg"
3295   rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297   (eval $ac_compile) 2>conftest.er1
3298   ac_status=$?
3299   grep -v '^ *+' conftest.er1 >conftest.err
3300   rm -f conftest.er1
3301   cat conftest.err >&5
3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303   (exit $ac_status); } &&
3304          { ac_try='test -z "$ac_c_werror_flag"
3305                          || test ! -s conftest.err'
3306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307   (eval $ac_try) 2>&5
3308   ac_status=$?
3309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310   (exit $ac_status); }; } &&
3311          { ac_try='test -s conftest.$ac_objext'
3312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313   (eval $ac_try) 2>&5
3314   ac_status=$?
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); }; }; then
3317   ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320   echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3322
3323 fi
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3328
3329 fi
3330
3331 case "x$ac_cv_prog_cc_stdc" in
3332   x|xno)
3333     echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3335   *)
3336     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338     CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3340
3341 # Some people use a C++ compiler to compile C.  Since we use `exit',
3342 # in C++ we need to declare it.  In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347   choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352   (eval $ac_compile) 2>conftest.er1
3353   ac_status=$?
3354   grep -v '^ *+' conftest.er1 >conftest.err
3355   rm -f conftest.er1
3356   cat conftest.err >&5
3357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358   (exit $ac_status); } &&
3359          { ac_try='test -z "$ac_c_werror_flag"
3360                          || test ! -s conftest.err'
3361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362   (eval $ac_try) 2>&5
3363   ac_status=$?
3364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365   (exit $ac_status); }; } &&
3366          { ac_try='test -s conftest.$ac_objext'
3367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368   (eval $ac_try) 2>&5
3369   ac_status=$?
3370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371   (exit $ac_status); }; }; then
3372   for ac_declaration in \
3373    '' \
3374    'extern "C" void std::exit (int) throw (); using std::exit;' \
3375    'extern "C" void std::exit (int); using std::exit;' \
3376    'extern "C" void exit (int) throw ();' \
3377    'extern "C" void exit (int);' \
3378    'void exit (int);'
3379 do
3380   cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h.  */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h.  */
3386 $ac_declaration
3387 #include <stdlib.h>
3388 int
3389 main ()
3390 {
3391 exit (42);
3392   ;
3393   return 0;
3394 }
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398   (eval $ac_compile) 2>conftest.er1
3399   ac_status=$?
3400   grep -v '^ *+' conftest.er1 >conftest.err
3401   rm -f conftest.er1
3402   cat conftest.err >&5
3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404   (exit $ac_status); } &&
3405          { ac_try='test -z "$ac_c_werror_flag"
3406                          || test ! -s conftest.err'
3407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408   (eval $ac_try) 2>&5
3409   ac_status=$?
3410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411   (exit $ac_status); }; } &&
3412          { ac_try='test -s conftest.$ac_objext'
3413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414   (eval $ac_try) 2>&5
3415   ac_status=$?
3416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417   (exit $ac_status); }; }; then
3418   :
3419 else
3420   echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3422
3423 continue
3424 fi
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426   cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h.  */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h.  */
3432 $ac_declaration
3433 int
3434 main ()
3435 {
3436 exit (42);
3437   ;
3438   return 0;
3439 }
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443   (eval $ac_compile) 2>conftest.er1
3444   ac_status=$?
3445   grep -v '^ *+' conftest.er1 >conftest.err
3446   rm -f conftest.er1
3447   cat conftest.err >&5
3448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449   (exit $ac_status); } &&
3450          { ac_try='test -z "$ac_c_werror_flag"
3451                          || test ! -s conftest.err'
3452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453   (eval $ac_try) 2>&5
3454   ac_status=$?
3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456   (exit $ac_status); }; } &&
3457          { ac_try='test -s conftest.$ac_objext'
3458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459   (eval $ac_try) 2>&5
3460   ac_status=$?
3461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462   (exit $ac_status); }; }; then
3463   break
3464 else
3465   echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3467
3468 fi
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473   echo '#ifdef __cplusplus' >>confdefs.h
3474   echo $ac_declaration      >>confdefs.h
3475   echo '#endif'             >>confdefs.h
3476 fi
3477
3478 else
3479   echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3481
3482 fi
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489
3490   ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497   do
3498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$CXX"; then
3506   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526   echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533     test -n "$CXX" && break
3534   done
3535 fi
3536 if test -z "$CXX"; then
3537   ac_ct_CXX=$CXX
3538   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3539 do
3540   # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545   echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547   if test -n "$ac_ct_CXX"; then
3548   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553   IFS=$as_save_IFS
3554   test -z "$as_dir" && as_dir=.
3555   for ac_exec_ext in '' $ac_executable_extensions; do
3556   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557     ac_cv_prog_ac_ct_CXX="$ac_prog"
3558     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559     break 2
3560   fi
3561 done
3562 done
3563
3564 fi
3565 fi
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571   echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 fi
3574
3575   test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3578
3579   CXX=$ac_ct_CXX
3580 fi
3581
3582
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585      "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588   (eval $ac_compiler --version </dev/null >&5) 2>&5
3589   ac_status=$?
3590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591   (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593   (eval $ac_compiler -v </dev/null >&5) 2>&5
3594   ac_status=$?
3595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596   (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598   (eval $ac_compiler -V </dev/null >&5) 2>&5
3599   ac_status=$?
3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601   (exit $ac_status); }
3602
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606   echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608   cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h.  */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h.  */
3614
3615 int
3616 main ()
3617 {
3618 #ifndef __GNUC__
3619        choke me
3620 #endif
3621
3622   ;
3623   return 0;
3624 }
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628   (eval $ac_compile) 2>conftest.er1
3629   ac_status=$?
3630   grep -v '^ *+' conftest.er1 >conftest.err
3631   rm -f conftest.er1
3632   cat conftest.err >&5
3633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634   (exit $ac_status); } &&
3635          { ac_try='test -z "$ac_cxx_werror_flag"
3636                          || test ! -s conftest.err'
3637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638   (eval $ac_try) 2>&5
3639   ac_status=$?
3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641   (exit $ac_status); }; } &&
3642          { ac_try='test -s conftest.$ac_objext'
3643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644   (eval $ac_try) 2>&5
3645   ac_status=$?
3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647   (exit $ac_status); }; }; then
3648   ac_compiler_gnu=yes
3649 else
3650   echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653 ac_compiler_gnu=no
3654 fi
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3657
3658 fi
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668   echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670   cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h.  */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h.  */
3676
3677 int
3678 main ()
3679 {
3680
3681   ;
3682   return 0;
3683 }
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687   (eval $ac_compile) 2>conftest.er1
3688   ac_status=$?
3689   grep -v '^ *+' conftest.er1 >conftest.err
3690   rm -f conftest.er1
3691   cat conftest.err >&5
3692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693   (exit $ac_status); } &&
3694          { ac_try='test -z "$ac_cxx_werror_flag"
3695                          || test ! -s conftest.err'
3696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697   (eval $ac_try) 2>&5
3698   ac_status=$?
3699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700   (exit $ac_status); }; } &&
3701          { ac_try='test -s conftest.$ac_objext'
3702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703   (eval $ac_try) 2>&5
3704   ac_status=$?
3705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706   (exit $ac_status); }; }; then
3707   ac_cv_prog_cxx_g=yes
3708 else
3709   echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3711
3712 ac_cv_prog_cxx_g=no
3713 fi
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3715 fi
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719   CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721   if test "$GXX" = yes; then
3722     CXXFLAGS="-g -O2"
3723   else
3724     CXXFLAGS="-g"
3725   fi
3726 else
3727   if test "$GXX" = yes; then
3728     CXXFLAGS="-O2"
3729   else
3730     CXXFLAGS=
3731   fi
3732 fi
3733 for ac_declaration in \
3734    '' \
3735    'extern "C" void std::exit (int) throw (); using std::exit;' \
3736    'extern "C" void std::exit (int); using std::exit;' \
3737    'extern "C" void exit (int) throw ();' \
3738    'extern "C" void exit (int);' \
3739    'void exit (int);'
3740 do
3741   cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h.  */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h.  */
3747 $ac_declaration
3748 #include <stdlib.h>
3749 int
3750 main ()
3751 {
3752 exit (42);
3753   ;
3754   return 0;
3755 }
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759   (eval $ac_compile) 2>conftest.er1
3760   ac_status=$?
3761   grep -v '^ *+' conftest.er1 >conftest.err
3762   rm -f conftest.er1
3763   cat conftest.err >&5
3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765   (exit $ac_status); } &&
3766          { ac_try='test -z "$ac_cxx_werror_flag"
3767                          || test ! -s conftest.err'
3768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769   (eval $ac_try) 2>&5
3770   ac_status=$?
3771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772   (exit $ac_status); }; } &&
3773          { ac_try='test -s conftest.$ac_objext'
3774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775   (eval $ac_try) 2>&5
3776   ac_status=$?
3777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778   (exit $ac_status); }; }; then
3779   :
3780 else
3781   echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3783
3784 continue
3785 fi
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787   cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h.  */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h.  */
3793 $ac_declaration
3794 int
3795 main ()
3796 {
3797 exit (42);
3798   ;
3799   return 0;
3800 }
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804   (eval $ac_compile) 2>conftest.er1
3805   ac_status=$?
3806   grep -v '^ *+' conftest.er1 >conftest.err
3807   rm -f conftest.er1
3808   cat conftest.err >&5
3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810   (exit $ac_status); } &&
3811          { ac_try='test -z "$ac_cxx_werror_flag"
3812                          || test ! -s conftest.err'
3813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814   (eval $ac_try) 2>&5
3815   ac_status=$?
3816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817   (exit $ac_status); }; } &&
3818          { ac_try='test -s conftest.$ac_objext'
3819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820   (eval $ac_try) 2>&5
3821   ac_status=$?
3822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823   (exit $ac_status); }; }; then
3824   break
3825 else
3826   echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3828
3829 fi
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834   echo '#ifdef __cplusplus' >>confdefs.h
3835   echo $ac_declaration      >>confdefs.h
3836   echo '#endif'             >>confdefs.h
3837 fi
3838
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3844
3845   CXXFLAGS="$save_CXXFLAGS"
3846
3847
3848
3849
3850   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851   # available).  Uncomment the next line to force a particular method.
3852   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856   echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3861 fi
3862
3863   #LN_S='cp -p'
3864
3865   if test -n "$ac_tool_prefix"; then
3866   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871   echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873   if test -n "$AS"; then
3874   ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3878 do
3879   IFS=$as_save_IFS
3880   test -z "$as_dir" && as_dir=.
3881   for ac_exec_ext in '' $ac_executable_extensions; do
3882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883     ac_cv_prog_AS="${ac_tool_prefix}as"
3884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885     break 2
3886   fi
3887 done
3888 done
3889
3890 fi
3891 fi
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894   echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897   echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3899 fi
3900
3901 fi
3902 if test -z "$ac_cv_prog_AS"; then
3903   ac_ct_AS=$AS
3904   # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909   echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911   if test -n "$ac_ct_AS"; then
3912   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3916 do
3917   IFS=$as_save_IFS
3918   test -z "$as_dir" && as_dir=.
3919   for ac_exec_ext in '' $ac_executable_extensions; do
3920   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921     ac_cv_prog_ac_ct_AS="as"
3922     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923     break 2
3924   fi
3925 done
3926 done
3927
3928 fi
3929 fi
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935   echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3937 fi
3938
3939   AS=$ac_ct_AS
3940 else
3941   AS="$ac_cv_prog_AS"
3942 fi
3943
3944   if test -n "$ac_tool_prefix"; then
3945   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950   echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952   if test -n "$AR"; then
3953   ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3957 do
3958   IFS=$as_save_IFS
3959   test -z "$as_dir" && as_dir=.
3960   for ac_exec_ext in '' $ac_executable_extensions; do
3961   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962     ac_cv_prog_AR="${ac_tool_prefix}ar"
3963     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964     break 2
3965   fi
3966 done
3967 done
3968
3969 fi
3970 fi
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973   echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976   echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3978 fi
3979
3980 fi
3981 if test -z "$ac_cv_prog_AR"; then
3982   ac_ct_AR=$AR
3983   # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988   echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990   if test -n "$ac_ct_AR"; then
3991   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3995 do
3996   IFS=$as_save_IFS
3997   test -z "$as_dir" && as_dir=.
3998   for ac_exec_ext in '' $ac_executable_extensions; do
3999   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000     ac_cv_prog_ac_ct_AR="ar"
4001     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002     break 2
4003   fi
4004 done
4005 done
4006
4007 fi
4008 fi
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014   echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4016 fi
4017
4018   AR=$ac_ct_AR
4019 else
4020   AR="$ac_cv_prog_AR"
4021 fi
4022
4023   if test -n "$ac_tool_prefix"; then
4024   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029   echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031   if test -n "$RANLIB"; then
4032   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4036 do
4037   IFS=$as_save_IFS
4038   test -z "$as_dir" && as_dir=.
4039   for ac_exec_ext in '' $ac_executable_extensions; do
4040   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043     break 2
4044   fi
4045 done
4046 done
4047
4048 fi
4049 fi
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052   echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055   echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4057 fi
4058
4059 fi
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061   ac_ct_RANLIB=$RANLIB
4062   # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067   echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069   if test -n "$ac_ct_RANLIB"; then
4070   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4074 do
4075   IFS=$as_save_IFS
4076   test -z "$as_dir" && as_dir=.
4077   for ac_exec_ext in '' $ac_executable_extensions; do
4078   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079     ac_cv_prog_ac_ct_RANLIB="ranlib"
4080     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081     break 2
4082   fi
4083 done
4084 done
4085
4086   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4087 fi
4088 fi
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094   echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4096 fi
4097
4098   RANLIB=$ac_ct_RANLIB
4099 else
4100   RANLIB="$ac_cv_prog_RANLIB"
4101 fi
4102
4103
4104   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108   enableval="$enable_maintainer_mode"
4109   USE_MAINTAINER_MODE=$enableval
4110 else
4111   USE_MAINTAINER_MODE=no
4112 fi;
4113   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4115
4116
4117 if test $USE_MAINTAINER_MODE = yes; then
4118   MAINTAINER_MODE_TRUE=
4119   MAINTAINER_MODE_FALSE='#'
4120 else
4121   MAINTAINER_MODE_TRUE='#'
4122   MAINTAINER_MODE_FALSE=
4123 fi
4124
4125   MAINT=$MAINTAINER_MODE_TRUE
4126
4127
4128
4129   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130   # which are themselves conditionally expanded.
4131   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132   ## other macros from doing the same.  This should be automated.)  -pme
4133   need_libmath=no
4134
4135   # Check for uClibc since Linux platforms use different configuration
4136   # directories depending on the C library in use.
4137   cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h.  */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h.  */
4143
4144   #include <stdio.h>
4145   #if __UCLIBC__
4146     _using_uclibc
4147   #endif
4148
4149 _ACEOF
4150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4151   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4152   uclibc=yes
4153 else
4154   uclibc=no
4155 fi
4156 rm -f conftest*
4157
4158
4159   # Find platform-specific directories containing configuration info.
4160   # Also possibly modify flags used elsewhere, as needed by the platform.
4161
4162   . $glibcxx_srcdir/configure.host
4163   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4164 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4165   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4166 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4167
4168
4169
4170 if test "x${with_newlib}" != "xyes"; then
4171   enable_dlopen=yes
4172
4173
4174
4175 fi
4176 case `pwd` in
4177   *\ * | *\     *)
4178     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4179 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4180 esac
4181
4182
4183
4184 macro_version='2.2.6'
4185 macro_revision='1.3012'
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199 ltmain="$ac_aux_dir/ltmain.sh"
4200
4201 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4202 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4203 if test "${lt_cv_path_SED+set}" = set; then
4204   echo $ECHO_N "(cached) $ECHO_C" >&6
4205 else
4206   # Loop through the user's path and test for sed and gsed.
4207 # Then use that list of sed's as ones to test for truncation.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 for as_dir in $PATH
4210 do
4211   IFS=$as_save_IFS
4212   test -z "$as_dir" && as_dir=.
4213   for lt_ac_prog in sed gsed; do
4214     for ac_exec_ext in '' $ac_executable_extensions; do
4215       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4216         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217       fi
4218     done
4219   done
4220 done
4221 IFS=$as_save_IFS
4222 lt_ac_max=0
4223 lt_ac_count=0
4224 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4225 # along with /bin/sed that truncates output.
4226 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4227   test ! -f $lt_ac_sed && continue
4228   cat /dev/null > conftest.in
4229   lt_ac_count=0
4230   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4231   # Check for GNU sed and select it if it is found.
4232   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4233     lt_cv_path_SED=$lt_ac_sed
4234     break
4235   fi
4236   while true; do
4237     cat conftest.in conftest.in >conftest.tmp
4238     mv conftest.tmp conftest.in
4239     cp conftest.in conftest.nl
4240     echo >>conftest.nl
4241     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4242     cmp -s conftest.out conftest.nl || break
4243     # 10000 chars as input seems more than enough
4244     test $lt_ac_count -gt 10 && break
4245     lt_ac_count=`expr $lt_ac_count + 1`
4246     if test $lt_ac_count -gt $lt_ac_max; then
4247       lt_ac_max=$lt_ac_count
4248       lt_cv_path_SED=$lt_ac_sed
4249     fi
4250   done
4251 done
4252
4253 fi
4254
4255 SED=$lt_cv_path_SED
4256
4257 echo "$as_me:$LINENO: result: $SED" >&5
4258 echo "${ECHO_T}$SED" >&6
4259
4260 test -z "$SED" && SED=sed
4261 Xsed="$SED -e 1s/^X//"
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273 echo "$as_me:$LINENO: checking for fgrep" >&5
4274 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4275 if test "${ac_cv_prog_fgrep+set}" = set; then
4276   echo $ECHO_N "(cached) $ECHO_C" >&6
4277 else
4278   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4279     then ac_cv_prog_fgrep='grep -F'
4280     else ac_cv_prog_fgrep='fgrep'
4281     fi
4282 fi
4283 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4284 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4285  FGREP=$ac_cv_prog_fgrep
4286
4287
4288 test -z "$GREP" && GREP=grep
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4309 if test "${with_gnu_ld+set}" = set; then
4310   withval="$with_gnu_ld"
4311   test "$withval" = no || with_gnu_ld=yes
4312 else
4313   with_gnu_ld=no
4314 fi;
4315 ac_prog=ld
4316 if test "$GCC" = yes; then
4317   # Check if gcc -print-prog-name=ld gives a path.
4318   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4319 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4320   case $host in
4321   *-*-mingw*)
4322     # gcc leaves a trailing carriage return which upsets mingw
4323     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4324   *)
4325     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4326   esac
4327   case $ac_prog in
4328     # Accept absolute paths.
4329     [\\/]* | ?:[\\/]*)
4330       re_direlt='/[^/][^/]*/\.\./'
4331       # Canonicalize the pathname of ld
4332       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4333       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4334         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4335       done
4336       test -z "$LD" && LD="$ac_prog"
4337       ;;
4338   "")
4339     # If it fails, then pretend we aren't using GCC.
4340     ac_prog=ld
4341     ;;
4342   *)
4343     # If it is relative, then search for the first ld in PATH.
4344     with_gnu_ld=unknown
4345     ;;
4346   esac
4347 elif test "$with_gnu_ld" = yes; then
4348   echo "$as_me:$LINENO: checking for GNU ld" >&5
4349 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4350 else
4351   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4352 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4353 fi
4354 if test "${lt_cv_path_LD+set}" = set; then
4355   echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4357   if test -z "$LD"; then
4358   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4359   for ac_dir in $PATH; do
4360     IFS="$lt_save_ifs"
4361     test -z "$ac_dir" && ac_dir=.
4362     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4363       lt_cv_path_LD="$ac_dir/$ac_prog"
4364       # Check to see if the program is GNU ld.  I'd rather use --version,
4365       # but apparently some variants of GNU ld only accept -v.
4366       # Break only if it was the GNU/non-GNU ld that we prefer.
4367       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4368       *GNU* | *'with BFD'*)
4369         test "$with_gnu_ld" != no && break
4370         ;;
4371       *)
4372         test "$with_gnu_ld" != yes && break
4373         ;;
4374       esac
4375     fi
4376   done
4377   IFS="$lt_save_ifs"
4378 else
4379   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4380 fi
4381 fi
4382
4383 LD="$lt_cv_path_LD"
4384 if test -n "$LD"; then
4385   echo "$as_me:$LINENO: result: $LD" >&5
4386 echo "${ECHO_T}$LD" >&6
4387 else
4388   echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4392 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4393    { (exit 1); exit 1; }; }
4394 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4395 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4396 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4397   echo $ECHO_N "(cached) $ECHO_C" >&6
4398 else
4399   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4400 case `$LD -v 2>&1 </dev/null` in
4401 *GNU* | *'with BFD'*)
4402   lt_cv_prog_gnu_ld=yes
4403   ;;
4404 *)
4405   lt_cv_prog_gnu_ld=no
4406   ;;
4407 esac
4408 fi
4409 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4410 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4411 with_gnu_ld=$lt_cv_prog_gnu_ld
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4422 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4423 if test "${lt_cv_path_NM+set}" = set; then
4424   echo $ECHO_N "(cached) $ECHO_C" >&6
4425 else
4426   if test -n "$NM"; then
4427   # Let the user override the test.
4428   lt_cv_path_NM="$NM"
4429 else
4430   lt_nm_to_check="${ac_tool_prefix}nm"
4431   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4432     lt_nm_to_check="$lt_nm_to_check nm"
4433   fi
4434   for lt_tmp_nm in $lt_nm_to_check; do
4435     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4437       IFS="$lt_save_ifs"
4438       test -z "$ac_dir" && ac_dir=.
4439       tmp_nm="$ac_dir/$lt_tmp_nm"
4440       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4441         # Check to see if the nm accepts a BSD-compat flag.
4442         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4443         #   nm: unknown option "B" ignored
4444         # Tru64's nm complains that /dev/null is an invalid object file
4445         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4446         */dev/null* | *'Invalid file or object type'*)
4447           lt_cv_path_NM="$tmp_nm -B"
4448           break
4449           ;;
4450         *)
4451           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4452           */dev/null*)
4453             lt_cv_path_NM="$tmp_nm -p"
4454             break
4455             ;;
4456           *)
4457             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4458             continue # so that we can try to find one that supports BSD flags
4459             ;;
4460           esac
4461           ;;
4462         esac
4463       fi
4464     done
4465     IFS="$lt_save_ifs"
4466   done
4467   : ${lt_cv_path_NM=no}
4468 fi
4469 fi
4470 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4471 echo "${ECHO_T}$lt_cv_path_NM" >&6
4472 if test "$lt_cv_path_NM" != "no"; then
4473   NM="$lt_cv_path_NM"
4474 else
4475   # Didn't find any BSD compatible name lister, look for dumpbin.
4476   if test -n "$ac_tool_prefix"; then
4477   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4478   do
4479     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4483 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4484   echo $ECHO_N "(cached) $ECHO_C" >&6
4485 else
4486   if test -n "$DUMPBIN"; then
4487   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492   IFS=$as_save_IFS
4493   test -z "$as_dir" && as_dir=.
4494   for ac_exec_ext in '' $ac_executable_extensions; do
4495   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4496     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4497     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498     break 2
4499   fi
4500 done
4501 done
4502
4503 fi
4504 fi
4505 DUMPBIN=$ac_cv_prog_DUMPBIN
4506 if test -n "$DUMPBIN"; then
4507   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4508 echo "${ECHO_T}$DUMPBIN" >&6
4509 else
4510   echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4512 fi
4513
4514     test -n "$DUMPBIN" && break
4515   done
4516 fi
4517 if test -z "$DUMPBIN"; then
4518   ac_ct_DUMPBIN=$DUMPBIN
4519   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4520 do
4521   # Extract the first word of "$ac_prog", so it can be a program name with args.
4522 set dummy $ac_prog; ac_word=$2
4523 echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4525 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4526   echo $ECHO_N "(cached) $ECHO_C" >&6
4527 else
4528   if test -n "$ac_ct_DUMPBIN"; then
4529   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4530 else
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH
4533 do
4534   IFS=$as_save_IFS
4535   test -z "$as_dir" && as_dir=.
4536   for ac_exec_ext in '' $ac_executable_extensions; do
4537   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4538     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4539     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540     break 2
4541   fi
4542 done
4543 done
4544
4545 fi
4546 fi
4547 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4548 if test -n "$ac_ct_DUMPBIN"; then
4549   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4550 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4551 else
4552   echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556   test -n "$ac_ct_DUMPBIN" && break
4557 done
4558 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4559
4560   DUMPBIN=$ac_ct_DUMPBIN
4561 fi
4562
4563
4564   if test "$DUMPBIN" != ":"; then
4565     NM="$DUMPBIN"
4566   fi
4567 fi
4568 test -z "$NM" && NM=nm
4569
4570
4571
4572
4573
4574
4575 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4576 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4577 if test "${lt_cv_nm_interface+set}" = set; then
4578   echo $ECHO_N "(cached) $ECHO_C" >&6
4579 else
4580   lt_cv_nm_interface="BSD nm"
4581   echo "int some_variable = 0;" > conftest.$ac_ext
4582   (eval echo "\"\$as_me:4582: $ac_compile\"" >&5)
4583   (eval "$ac_compile" 2>conftest.err)
4584   cat conftest.err >&5
4585   (eval echo "\"\$as_me:4585: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4586   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4587   cat conftest.err >&5
4588   (eval echo "\"\$as_me:4588: output\"" >&5)
4589   cat conftest.out >&5
4590   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4591     lt_cv_nm_interface="MS dumpbin"
4592   fi
4593   rm -f conftest*
4594 fi
4595 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4596 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4597
4598 # find the maximum length of command line arguments
4599 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4600 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4601 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4602   echo $ECHO_N "(cached) $ECHO_C" >&6
4603 else
4604     i=0
4605   teststring="ABCD"
4606
4607   case $build_os in
4608   msdosdjgpp*)
4609     # On DJGPP, this test can blow up pretty badly due to problems in libc
4610     # (any single argument exceeding 2000 bytes causes a buffer overrun
4611     # during glob expansion).  Even if it were fixed, the result of this
4612     # check would be larger than it should be.
4613     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4614     ;;
4615
4616   gnu*)
4617     # Under GNU Hurd, this test is not required because there is
4618     # no limit to the length of command line arguments.
4619     # Libtool will interpret -1 as no limit whatsoever
4620     lt_cv_sys_max_cmd_len=-1;
4621     ;;
4622
4623   cygwin* | mingw* | cegcc*)
4624     # On Win9x/ME, this test blows up -- it succeeds, but takes
4625     # about 5 minutes as the teststring grows exponentially.
4626     # Worse, since 9x/ME are not pre-emptively multitasking,
4627     # you end up with a "frozen" computer, even though with patience
4628     # the test eventually succeeds (with a max line length of 256k).
4629     # Instead, let's just punt: use the minimum linelength reported by
4630     # all of the supported platforms: 8192 (on NT/2K/XP).
4631     lt_cv_sys_max_cmd_len=8192;
4632     ;;
4633
4634   amigaos*)
4635     # On AmigaOS with pdksh, this test takes hours, literally.
4636     # So we just punt and use a minimum line length of 8192.
4637     lt_cv_sys_max_cmd_len=8192;
4638     ;;
4639
4640   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4641     # This has been around since 386BSD, at least.  Likely further.
4642     if test -x /sbin/sysctl; then
4643       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4644     elif test -x /usr/sbin/sysctl; then
4645       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4646     else
4647       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4648     fi
4649     # And add a safety zone
4650     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4651     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4652     ;;
4653
4654   interix*)
4655     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4656     lt_cv_sys_max_cmd_len=196608
4657     ;;
4658
4659   osf*)
4660     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4661     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4662     # nice to cause kernel panics so lets avoid the loop below.
4663     # First set a reasonable default.
4664     lt_cv_sys_max_cmd_len=16384
4665     #
4666     if test -x /sbin/sysconfig; then
4667       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4668         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4669       esac
4670     fi
4671     ;;
4672   sco3.2v5*)
4673     lt_cv_sys_max_cmd_len=102400
4674     ;;
4675   sysv5* | sco5v6* | sysv4.2uw2*)
4676     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4677     if test -n "$kargmax"; then
4678       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4679     else
4680       lt_cv_sys_max_cmd_len=32768
4681     fi
4682     ;;
4683   *)
4684     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4685     if test -n "$lt_cv_sys_max_cmd_len"; then
4686       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4687       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4688     else
4689       # Make teststring a little bigger before we do anything with it.
4690       # a 1K string should be a reasonable start.
4691       for i in 1 2 3 4 5 6 7 8 ; do
4692         teststring=$teststring$teststring
4693       done
4694       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4695       # If test is not a shell built-in, we'll probably end up computing a
4696       # maximum length that is only half of the actual maximum length, but
4697       # we can't tell.
4698       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4699                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4700               test $i != 17 # 1/2 MB should be enough
4701       do
4702         i=`expr $i + 1`
4703         teststring=$teststring$teststring
4704       done
4705       # Only check the string length outside the loop.
4706       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4707       teststring=
4708       # Add a significant safety factor because C++ compilers can tack on
4709       # massive amounts of additional arguments before passing them to the
4710       # linker.  It appears as though 1/2 is a usable value.
4711       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4712     fi
4713     ;;
4714   esac
4715
4716 fi
4717
4718 if test -n $lt_cv_sys_max_cmd_len ; then
4719   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4720 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4721 else
4722   echo "$as_me:$LINENO: result: none" >&5
4723 echo "${ECHO_T}none" >&6
4724 fi
4725 max_cmd_len=$lt_cv_sys_max_cmd_len
4726
4727
4728
4729
4730
4731
4732 : ${CP="cp -f"}
4733 : ${MV="mv -f"}
4734 : ${RM="rm -f"}
4735
4736 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4737 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4738 # Try some XSI features
4739 xsi_shell=no
4740 ( _lt_dummy="a/b/c"
4741   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4742       = c,a/b,, \
4743     && eval 'test $(( 1 + 1 )) -eq 2 \
4744     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4745   && xsi_shell=yes
4746 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4747 echo "${ECHO_T}$xsi_shell" >&6
4748
4749
4750 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4751 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4752 lt_shell_append=no
4753 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4754     >/dev/null 2>&1 \
4755   && lt_shell_append=yes
4756 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4757 echo "${ECHO_T}$lt_shell_append" >&6
4758
4759
4760 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4761   lt_unset=unset
4762 else
4763   lt_unset=false
4764 fi
4765
4766
4767
4768
4769
4770 # test EBCDIC or ASCII
4771 case `echo X|tr X '\101'` in
4772  A) # ASCII based system
4773     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4774   lt_SP2NL='tr \040 \012'
4775   lt_NL2SP='tr \015\012 \040\040'
4776   ;;
4777  *) # EBCDIC based system
4778   lt_SP2NL='tr \100 \n'
4779   lt_NL2SP='tr \r\n \100\100'
4780   ;;
4781 esac
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4792 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4793 if test "${lt_cv_ld_reload_flag+set}" = set; then
4794   echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796   lt_cv_ld_reload_flag='-r'
4797 fi
4798 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4799 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4800 reload_flag=$lt_cv_ld_reload_flag
4801 case $reload_flag in
4802 "" | " "*) ;;
4803 *) reload_flag=" $reload_flag" ;;
4804 esac
4805 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4806 case $host_os in
4807   darwin*)
4808     if test "$GCC" = yes; then
4809       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4810     else
4811       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4812     fi
4813     ;;
4814 esac
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824 if test -n "$ac_tool_prefix"; then
4825   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4830   echo $ECHO_N "(cached) $ECHO_C" >&6
4831 else
4832   if test -n "$OBJDUMP"; then
4833   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4837 do
4838   IFS=$as_save_IFS
4839   test -z "$as_dir" && as_dir=.
4840   for ac_exec_ext in '' $ac_executable_extensions; do
4841   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844     break 2
4845   fi
4846 done
4847 done
4848
4849 fi
4850 fi
4851 OBJDUMP=$ac_cv_prog_OBJDUMP
4852 if test -n "$OBJDUMP"; then
4853   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4854 echo "${ECHO_T}$OBJDUMP" >&6
4855 else
4856   echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4858 fi
4859
4860 fi
4861 if test -z "$ac_cv_prog_OBJDUMP"; then
4862   ac_ct_OBJDUMP=$OBJDUMP
4863   # Extract the first word of "objdump", so it can be a program name with args.
4864 set dummy objdump; ac_word=$2
4865 echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4867 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4868   echo $ECHO_N "(cached) $ECHO_C" >&6
4869 else
4870   if test -n "$ac_ct_OBJDUMP"; then
4871   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4875 do
4876   IFS=$as_save_IFS
4877   test -z "$as_dir" && as_dir=.
4878   for ac_exec_ext in '' $ac_executable_extensions; do
4879   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4880     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882     break 2
4883   fi
4884 done
4885 done
4886
4887   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4888 fi
4889 fi
4890 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4891 if test -n "$ac_ct_OBJDUMP"; then
4892   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4893 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4894 else
4895   echo "$as_me:$LINENO: result: no" >&5
4896 echo "${ECHO_T}no" >&6
4897 fi
4898
4899   OBJDUMP=$ac_ct_OBJDUMP
4900 else
4901   OBJDUMP="$ac_cv_prog_OBJDUMP"
4902 fi
4903
4904 test -z "$OBJDUMP" && OBJDUMP=objdump
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4915 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4916 if test "${lt_cv_deplibs_check_method+set}" = set; then
4917   echo $ECHO_N "(cached) $ECHO_C" >&6
4918 else
4919   lt_cv_file_magic_cmd='$MAGIC_CMD'
4920 lt_cv_file_magic_test_file=
4921 lt_cv_deplibs_check_method='unknown'
4922 # Need to set the preceding variable on all platforms that support
4923 # interlibrary dependencies.
4924 # 'none' -- dependencies not supported.
4925 # `unknown' -- same as none, but documents that we really don't know.
4926 # 'pass_all' -- all dependencies passed with no checks.
4927 # 'test_compile' -- check by making test program.
4928 # 'file_magic [[regex]]' -- check by looking for files in library path
4929 # which responds to the $file_magic_cmd with a given extended regex.
4930 # If you have `file' or equivalent on your system and you're not sure
4931 # whether `pass_all' will *always* work, you probably want this one.
4932
4933 case $host_os in
4934 aix[4-9]*)
4935   lt_cv_deplibs_check_method=pass_all
4936   ;;
4937
4938 beos*)
4939   lt_cv_deplibs_check_method=pass_all
4940   ;;
4941
4942 bsdi[45]*)
4943   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4944   lt_cv_file_magic_cmd='/usr/bin/file -L'
4945   lt_cv_file_magic_test_file=/shlib/libc.so
4946   ;;
4947
4948 cygwin*)
4949   # func_win32_libid is a shell function defined in ltmain.sh
4950   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4951   lt_cv_file_magic_cmd='func_win32_libid'
4952   ;;
4953
4954 mingw* | pw32*)
4955   # Base MSYS/MinGW do not provide the 'file' command needed by
4956   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4957   # unless we find 'file', for example because we are cross-compiling.
4958   if ( file / ) >/dev/null 2>&1; then
4959     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4960     lt_cv_file_magic_cmd='func_win32_libid'
4961   else
4962     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4963     lt_cv_file_magic_cmd='$OBJDUMP -f'
4964   fi
4965   ;;
4966
4967 cegcc)
4968   # use the weaker test based on 'objdump'. See mingw*.
4969   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4970   lt_cv_file_magic_cmd='$OBJDUMP -f'
4971   ;;
4972
4973 darwin* | rhapsody*)
4974   lt_cv_deplibs_check_method=pass_all
4975   ;;
4976
4977 freebsd* | dragonfly*)
4978   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4979     case $host_cpu in
4980     i*86 )
4981       # Not sure whether the presence of OpenBSD here was a mistake.
4982       # Let's accept both of them until this is cleared up.
4983       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4984       lt_cv_file_magic_cmd=/usr/bin/file
4985       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986       ;;
4987     esac
4988   else
4989     lt_cv_deplibs_check_method=pass_all
4990   fi
4991   ;;
4992
4993 gnu*)
4994   lt_cv_deplibs_check_method=pass_all
4995   ;;
4996
4997 hpux10.20* | hpux11*)
4998   lt_cv_file_magic_cmd=/usr/bin/file
4999   case $host_cpu in
5000   ia64*)
5001     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5002     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5003     ;;
5004   hppa*64*)
5005     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]'
5006     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5007     ;;
5008   *)
5009     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5010     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5011     ;;
5012   esac
5013   ;;
5014
5015 interix[3-9]*)
5016   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5017   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5018   ;;
5019
5020 irix5* | irix6* | nonstopux*)
5021   case $LD in
5022   *-32|*"-32 ") libmagic=32-bit;;
5023   *-n32|*"-n32 ") libmagic=N32;;
5024   *-64|*"-64 ") libmagic=64-bit;;
5025   *) libmagic=never-match;;
5026   esac
5027   lt_cv_deplibs_check_method=pass_all
5028   ;;
5029
5030 # This must be Linux ELF.
5031 linux* | k*bsd*-gnu)
5032   lt_cv_deplibs_check_method=pass_all
5033   ;;
5034
5035 netbsd*)
5036   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5037     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5038   else
5039     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5040   fi
5041   ;;
5042
5043 newos6*)
5044   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5045   lt_cv_file_magic_cmd=/usr/bin/file
5046   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5047   ;;
5048
5049 *nto* | *qnx*)
5050   lt_cv_deplibs_check_method=pass_all
5051   ;;
5052
5053 openbsd*)
5054   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5056   else
5057     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5058   fi
5059   ;;
5060
5061 osf3* | osf4* | osf5*)
5062   lt_cv_deplibs_check_method=pass_all
5063   ;;
5064
5065 rdos*)
5066   lt_cv_deplibs_check_method=pass_all
5067   ;;
5068
5069 solaris*)
5070   lt_cv_deplibs_check_method=pass_all
5071   ;;
5072
5073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5074   lt_cv_deplibs_check_method=pass_all
5075   ;;
5076
5077 sysv4 | sysv4.3*)
5078   case $host_vendor in
5079   motorola)
5080     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]'
5081     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5082     ;;
5083   ncr)
5084     lt_cv_deplibs_check_method=pass_all
5085     ;;
5086   sequent)
5087     lt_cv_file_magic_cmd='/bin/file'
5088     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5089     ;;
5090   sni)
5091     lt_cv_file_magic_cmd='/bin/file'
5092     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5093     lt_cv_file_magic_test_file=/lib/libc.so
5094     ;;
5095   siemens)
5096     lt_cv_deplibs_check_method=pass_all
5097     ;;
5098   pc)
5099     lt_cv_deplibs_check_method=pass_all
5100     ;;
5101   esac
5102   ;;
5103
5104 tpf*)
5105   lt_cv_deplibs_check_method=pass_all
5106   ;;
5107 esac
5108
5109 fi
5110 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5111 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5112 file_magic_cmd=$lt_cv_file_magic_cmd
5113 deplibs_check_method=$lt_cv_deplibs_check_method
5114 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127 if test -n "$ac_tool_prefix"; then
5128   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5129 set dummy ${ac_tool_prefix}ar; ac_word=$2
5130 echo "$as_me:$LINENO: checking for $ac_word" >&5
5131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5132 if test "${ac_cv_prog_AR+set}" = set; then
5133   echo $ECHO_N "(cached) $ECHO_C" >&6
5134 else
5135   if test -n "$AR"; then
5136   ac_cv_prog_AR="$AR" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5140 do
5141   IFS=$as_save_IFS
5142   test -z "$as_dir" && as_dir=.
5143   for ac_exec_ext in '' $ac_executable_extensions; do
5144   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145     ac_cv_prog_AR="${ac_tool_prefix}ar"
5146     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5147     break 2
5148   fi
5149 done
5150 done
5151
5152 fi
5153 fi
5154 AR=$ac_cv_prog_AR
5155 if test -n "$AR"; then
5156   echo "$as_me:$LINENO: result: $AR" >&5
5157 echo "${ECHO_T}$AR" >&6
5158 else
5159   echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5161 fi
5162
5163 fi
5164 if test -z "$ac_cv_prog_AR"; then
5165   ac_ct_AR=$AR
5166   # Extract the first word of "ar", so it can be a program name with args.
5167 set dummy ar; ac_word=$2
5168 echo "$as_me:$LINENO: checking for $ac_word" >&5
5169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5170 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5171   echo $ECHO_N "(cached) $ECHO_C" >&6
5172 else
5173   if test -n "$ac_ct_AR"; then
5174   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5175 else
5176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 for as_dir in $PATH
5178 do
5179   IFS=$as_save_IFS
5180   test -z "$as_dir" && as_dir=.
5181   for ac_exec_ext in '' $ac_executable_extensions; do
5182   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5183     ac_cv_prog_ac_ct_AR="ar"
5184     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185     break 2
5186   fi
5187 done
5188 done
5189
5190   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5191 fi
5192 fi
5193 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5194 if test -n "$ac_ct_AR"; then
5195   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5196 echo "${ECHO_T}$ac_ct_AR" >&6
5197 else
5198   echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5200 fi
5201
5202   AR=$ac_ct_AR
5203 else
5204   AR="$ac_cv_prog_AR"
5205 fi
5206
5207 test -z "$AR" && AR=ar
5208 test -z "$AR_FLAGS" && AR_FLAGS=cru
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220 if test -n "$ac_tool_prefix"; then
5221   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}strip; ac_word=$2
5223 echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5225 if test "${ac_cv_prog_STRIP+set}" = set; then
5226   echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228   if test -n "$STRIP"; then
5229   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5233 do
5234   IFS=$as_save_IFS
5235   test -z "$as_dir" && as_dir=.
5236   for ac_exec_ext in '' $ac_executable_extensions; do
5237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5238     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240     break 2
5241   fi
5242 done
5243 done
5244
5245 fi
5246 fi
5247 STRIP=$ac_cv_prog_STRIP
5248 if test -n "$STRIP"; then
5249   echo "$as_me:$LINENO: result: $STRIP" >&5
5250 echo "${ECHO_T}$STRIP" >&6
5251 else
5252   echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6
5254 fi
5255
5256 fi
5257 if test -z "$ac_cv_prog_STRIP"; then
5258   ac_ct_STRIP=$STRIP
5259   # Extract the first word of "strip", so it can be a program name with args.
5260 set dummy strip; ac_word=$2
5261 echo "$as_me:$LINENO: checking for $ac_word" >&5
5262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5263 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5264   echo $ECHO_N "(cached) $ECHO_C" >&6
5265 else
5266   if test -n "$ac_ct_STRIP"; then
5267   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5268 else
5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274   for ac_exec_ext in '' $ac_executable_extensions; do
5275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276     ac_cv_prog_ac_ct_STRIP="strip"
5277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5278     break 2
5279   fi
5280 done
5281 done
5282
5283   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5284 fi
5285 fi
5286 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5287 if test -n "$ac_ct_STRIP"; then
5288   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5289 echo "${ECHO_T}$ac_ct_STRIP" >&6
5290 else
5291   echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5293 fi
5294
5295   STRIP=$ac_ct_STRIP
5296 else
5297   STRIP="$ac_cv_prog_STRIP"
5298 fi
5299
5300 test -z "$STRIP" && STRIP=:
5301
5302
5303
5304
5305
5306
5307 if test -n "$ac_tool_prefix"; then
5308   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5309 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5310 echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5312 if test "${ac_cv_prog_RANLIB+set}" = set; then
5313   echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315   if test -n "$RANLIB"; then
5316   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5320 do
5321   IFS=$as_save_IFS
5322   test -z "$as_dir" && as_dir=.
5323   for ac_exec_ext in '' $ac_executable_extensions; do
5324   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5325     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5326     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327     break 2
5328   fi
5329 done
5330 done
5331
5332 fi
5333 fi
5334 RANLIB=$ac_cv_prog_RANLIB
5335 if test -n "$RANLIB"; then
5336   echo "$as_me:$LINENO: result: $RANLIB" >&5
5337 echo "${ECHO_T}$RANLIB" >&6
5338 else
5339   echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5341 fi
5342
5343 fi
5344 if test -z "$ac_cv_prog_RANLIB"; then
5345   ac_ct_RANLIB=$RANLIB
5346   # Extract the first word of "ranlib", so it can be a program name with args.
5347 set dummy ranlib; ac_word=$2
5348 echo "$as_me:$LINENO: checking for $ac_word" >&5
5349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5350 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5351   echo $ECHO_N "(cached) $ECHO_C" >&6
5352 else
5353   if test -n "$ac_ct_RANLIB"; then
5354   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5355 else
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5357 for as_dir in $PATH
5358 do
5359   IFS=$as_save_IFS
5360   test -z "$as_dir" && as_dir=.
5361   for ac_exec_ext in '' $ac_executable_extensions; do
5362   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363     ac_cv_prog_ac_ct_RANLIB="ranlib"
5364     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5365     break 2
5366   fi
5367 done
5368 done
5369
5370   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5371 fi
5372 fi
5373 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5374 if test -n "$ac_ct_RANLIB"; then
5375   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5376 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5377 else
5378   echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6
5380 fi
5381
5382   RANLIB=$ac_ct_RANLIB
5383 else
5384   RANLIB="$ac_cv_prog_RANLIB"
5385 fi
5386
5387 test -z "$RANLIB" && RANLIB=:
5388
5389
5390
5391
5392
5393
5394 # Determine commands to create old-style static archives.
5395 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5396 old_postinstall_cmds='chmod 644 $oldlib'
5397 old_postuninstall_cmds=
5398
5399 if test -n "$RANLIB"; then
5400   case $host_os in
5401   openbsd*)
5402     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5403     ;;
5404   *)
5405     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5406     ;;
5407   esac
5408   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5409 fi
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444 # If no C compiler was specified, use CC.
5445 LTCC=${LTCC-"$CC"}
5446
5447 # If no C compiler flags were specified, use CFLAGS.
5448 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5449
5450 # Allow CC to be a program name with arguments.
5451 compiler=$CC
5452
5453
5454 # Check for command to grab the raw symbol name followed by C symbol from nm.
5455 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5456 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5458   echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460
5461 # These are sane defaults that work on at least a few old systems.
5462 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5463
5464 # Character class describing NM global symbol codes.
5465 symcode='[BCDEGRST]'
5466
5467 # Regexp to match symbols that can be accessed directly from C.
5468 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5469
5470 # Define system-specific variables.
5471 case $host_os in
5472 aix*)
5473   symcode='[BCDT]'
5474   ;;
5475 cygwin* | mingw* | pw32* | cegcc*)
5476   symcode='[ABCDGISTW]'
5477   ;;
5478 hpux*)
5479   if test "$host_cpu" = ia64; then
5480     symcode='[ABCDEGRST]'
5481   fi
5482   ;;
5483 irix* | nonstopux*)
5484   symcode='[BCDEGRST]'
5485   ;;
5486 osf*)
5487   symcode='[BCDEGQRST]'
5488   ;;
5489 solaris*)
5490   symcode='[BDRT]'
5491   ;;
5492 sco3.2v5*)
5493   symcode='[DT]'
5494   ;;
5495 sysv4.2uw2*)
5496   symcode='[DT]'
5497   ;;
5498 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5499   symcode='[ABDT]'
5500   ;;
5501 sysv4)
5502   symcode='[DFNSTU]'
5503   ;;
5504 esac
5505
5506 # If we're using GNU nm, then use its standard symbol codes.
5507 case `$NM -V 2>&1` in
5508 *GNU* | *'with BFD'*)
5509   symcode='[ABCDGIRSTW]' ;;
5510 esac
5511
5512 # Transform an extracted symbol line into a proper C declaration.
5513 # Some systems (esp. on ia64) link data and code symbols differently,
5514 # so use this general approach.
5515 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5516
5517 # Transform an extracted symbol line into symbol name and symbol address
5518 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5519 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
5520
5521 # Handle CRLF in mingw tool chain
5522 opt_cr=
5523 case $build_os in
5524 mingw*)
5525   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526   ;;
5527 esac
5528
5529 # Try without a prefix underscore, then with it.
5530 for ac_symprfx in "" "_"; do
5531
5532   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5533   symxfrm="\\1 $ac_symprfx\\2 \\2"
5534
5535   # Write the raw and C identifiers.
5536   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5537     # Fake it for dumpbin and say T for any non-static function
5538     # and D for any global variable.
5539     # Also find C++ and __fastcall symbols from MSVC++,
5540     # which start with @ or ?.
5541     lt_cv_sys_global_symbol_pipe="$AWK '"\
5542 "     {last_section=section; section=\$ 3};"\
5543 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5544 "     \$ 0!~/External *\|/{next};"\
5545 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5546 "     {if(hide[section]) next};"\
5547 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5548 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5549 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5550 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5551 "     ' prfx=^$ac_symprfx"
5552   else
5553     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5554   fi
5555
5556   # Check to see that the pipe works correctly.
5557   pipe_works=no
5558
5559   rm -f conftest*
5560   cat > conftest.$ac_ext <<_LT_EOF
5561 #ifdef __cplusplus
5562 extern "C" {
5563 #endif
5564 char nm_test_var;
5565 void nm_test_func(void);
5566 void nm_test_func(void){}
5567 #ifdef __cplusplus
5568 }
5569 #endif
5570 int main(){nm_test_var='a';nm_test_func();return(0);}
5571 _LT_EOF
5572
5573   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574   (eval $ac_compile) 2>&5
5575   ac_status=$?
5576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577   (exit $ac_status); }; then
5578     # Now try to grab the symbols.
5579     nlist=conftest.nm
5580     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5581   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5582   ac_status=$?
5583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584   (exit $ac_status); } && test -s "$nlist"; then
5585       # Try sorting and uniquifying the output.
5586       if sort "$nlist" | uniq > "$nlist"T; then
5587         mv -f "$nlist"T "$nlist"
5588       else
5589         rm -f "$nlist"T
5590       fi
5591
5592       # Make sure that we snagged all the symbols we need.
5593       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5594         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5595           cat <<_LT_EOF > conftest.$ac_ext
5596 #ifdef __cplusplus
5597 extern "C" {
5598 #endif
5599
5600 _LT_EOF
5601           # Now generate the symbol file.
5602           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5603
5604           cat <<_LT_EOF >> conftest.$ac_ext
5605
5606 /* The mapping between symbol names and symbols.  */
5607 const struct {
5608   const char *name;
5609   void       *address;
5610 }
5611 lt__PROGRAM__LTX_preloaded_symbols[] =
5612 {
5613   { "@PROGRAM@", (void *) 0 },
5614 _LT_EOF
5615           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5616           cat <<\_LT_EOF >> conftest.$ac_ext
5617   {0, (void *) 0}
5618 };
5619
5620 /* This works around a problem in FreeBSD linker */
5621 #ifdef FREEBSD_WORKAROUND
5622 static const void *lt_preloaded_setup() {
5623   return lt__PROGRAM__LTX_preloaded_symbols;
5624 }
5625 #endif
5626
5627 #ifdef __cplusplus
5628 }
5629 #endif
5630 _LT_EOF
5631           # Now try linking the two files.
5632           mv conftest.$ac_objext conftstm.$ac_objext
5633           lt_save_LIBS="$LIBS"
5634           lt_save_CFLAGS="$CFLAGS"
5635           LIBS="conftstm.$ac_objext"
5636           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5637           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638   (eval $ac_link) 2>&5
5639   ac_status=$?
5640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5642             pipe_works=yes
5643           fi
5644           LIBS="$lt_save_LIBS"
5645           CFLAGS="$lt_save_CFLAGS"
5646         else
5647           echo "cannot find nm_test_func in $nlist" >&5
5648         fi
5649       else
5650         echo "cannot find nm_test_var in $nlist" >&5
5651       fi
5652     else
5653       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5654     fi
5655   else
5656     echo "$progname: failed program was:" >&5
5657     cat conftest.$ac_ext >&5
5658   fi
5659   rm -rf conftest* conftst*
5660
5661   # Do not use the global_symbol_pipe unless it works.
5662   if test "$pipe_works" = yes; then
5663     break
5664   else
5665     lt_cv_sys_global_symbol_pipe=
5666   fi
5667 done
5668
5669 fi
5670
5671 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5672   lt_cv_sys_global_symbol_to_cdecl=
5673 fi
5674 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5675   echo "$as_me:$LINENO: result: failed" >&5
5676 echo "${ECHO_T}failed" >&6
5677 else
5678   echo "$as_me:$LINENO: result: ok" >&5
5679 echo "${ECHO_T}ok" >&6
5680 fi
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5704 if test "${enable_libtool_lock+set}" = set; then
5705   enableval="$enable_libtool_lock"
5706
5707 fi;
5708 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5709
5710 # Some flags need to be propagated to the compiler or linker for good
5711 # libtool support.
5712 case $host in
5713 ia64-*-hpux*)
5714   # Find out which ABI we are using.
5715   echo 'int i;' > conftest.$ac_ext
5716   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717   (eval $ac_compile) 2>&5
5718   ac_status=$?
5719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720   (exit $ac_status); }; then
5721     case `/usr/bin/file conftest.$ac_objext` in
5722       *ELF-32*)
5723         HPUX_IA64_MODE="32"
5724         ;;
5725       *ELF-64*)
5726         HPUX_IA64_MODE="64"
5727         ;;
5728     esac
5729   fi
5730   rm -rf conftest*
5731   ;;
5732 *-*-irix6*)
5733   # Find out which ABI we are using.
5734   echo '#line 5734 "configure"' > conftest.$ac_ext
5735   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736   (eval $ac_compile) 2>&5
5737   ac_status=$?
5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739   (exit $ac_status); }; then
5740     if test "$lt_cv_prog_gnu_ld" = yes; then
5741       case `/usr/bin/file conftest.$ac_objext` in
5742         *32-bit*)
5743           LD="${LD-ld} -melf32bsmip"
5744           ;;
5745         *N32*)
5746           LD="${LD-ld} -melf32bmipn32"
5747           ;;
5748         *64-bit*)
5749           LD="${LD-ld} -melf64bmip"
5750         ;;
5751       esac
5752     else
5753       case `/usr/bin/file conftest.$ac_objext` in
5754         *32-bit*)
5755           LD="${LD-ld} -32"
5756           ;;
5757         *N32*)
5758           LD="${LD-ld} -n32"
5759           ;;
5760         *64-bit*)
5761           LD="${LD-ld} -64"
5762           ;;
5763       esac
5764     fi
5765   fi
5766   rm -rf conftest*
5767   ;;
5768
5769 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5770 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5771   # Find out which ABI we are using.
5772   echo 'int i;' > conftest.$ac_ext
5773   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5774   (eval $ac_compile) 2>&5
5775   ac_status=$?
5776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777   (exit $ac_status); }; then
5778     case `/usr/bin/file conftest.o` in
5779       *32-bit*)
5780         case $host in
5781           x86_64-*kfreebsd*-gnu)
5782             LD="${LD-ld} -m elf_i386_fbsd"
5783             ;;
5784           x86_64-*linux*)
5785             LD="${LD-ld} -m elf_i386"
5786             ;;
5787           ppc64-*linux*|powerpc64-*linux*)
5788             LD="${LD-ld} -m elf32ppclinux"
5789             ;;
5790           s390x-*linux*)
5791             LD="${LD-ld} -m elf_s390"
5792             ;;
5793           sparc64-*linux*)
5794             LD="${LD-ld} -m elf32_sparc"
5795             ;;
5796         esac
5797         ;;
5798       *64-bit*)
5799         case $host in
5800           x86_64-*kfreebsd*-gnu)
5801             LD="${LD-ld} -m elf_x86_64_fbsd"
5802             ;;
5803           x86_64-*linux*)
5804             LD="${LD-ld} -m elf_x86_64"
5805             ;;
5806           ppc*-*linux*|powerpc*-*linux*)
5807             LD="${LD-ld} -m elf64ppc"
5808             ;;
5809           s390*-*linux*|s390*-*tpf*)
5810             LD="${LD-ld} -m elf64_s390"
5811             ;;
5812           sparc*-*linux*)
5813             LD="${LD-ld} -m elf64_sparc"
5814             ;;
5815         esac
5816         ;;
5817     esac
5818   fi
5819   rm -rf conftest*
5820   ;;
5821
5822 *-*-sco3.2v5*)
5823   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5824   SAVE_CFLAGS="$CFLAGS"
5825   CFLAGS="$CFLAGS -belf"
5826   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5827 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5828 if test "${lt_cv_cc_needs_belf+set}" = set; then
5829   echo $ECHO_N "(cached) $ECHO_C" >&6
5830 else
5831   ac_ext=c
5832 ac_cpp='$CPP $CPPFLAGS'
5833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836
5837      if test x$gcc_no_link = xyes; then
5838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5840    { (exit 1); exit 1; }; }
5841 fi
5842 cat >conftest.$ac_ext <<_ACEOF
5843 /* confdefs.h.  */
5844 _ACEOF
5845 cat confdefs.h >>conftest.$ac_ext
5846 cat >>conftest.$ac_ext <<_ACEOF
5847 /* end confdefs.h.  */
5848
5849 int
5850 main ()
5851 {
5852
5853   ;
5854   return 0;
5855 }
5856 _ACEOF
5857 rm -f conftest.$ac_objext conftest$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859   (eval $ac_link) 2>conftest.er1
5860   ac_status=$?
5861   grep -v '^ *+' conftest.er1 >conftest.err
5862   rm -f conftest.er1
5863   cat conftest.err >&5
5864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865   (exit $ac_status); } &&
5866          { ac_try='test -z "$ac_c_werror_flag"
5867                          || test ! -s conftest.err'
5868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5869   (eval $ac_try) 2>&5
5870   ac_status=$?
5871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872   (exit $ac_status); }; } &&
5873          { ac_try='test -s conftest$ac_exeext'
5874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875   (eval $ac_try) 2>&5
5876   ac_status=$?
5877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878   (exit $ac_status); }; }; then
5879   lt_cv_cc_needs_belf=yes
5880 else
5881   echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.$ac_ext >&5
5883
5884 lt_cv_cc_needs_belf=no
5885 fi
5886 rm -f conftest.err conftest.$ac_objext \
5887       conftest$ac_exeext conftest.$ac_ext
5888      ac_ext=c
5889 ac_cpp='$CPP $CPPFLAGS'
5890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5893
5894 fi
5895 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5896 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5897   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5898     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5899     CFLAGS="$SAVE_CFLAGS"
5900   fi
5901   ;;
5902 sparc*-*solaris*)
5903   # Find out which ABI we are using.
5904   echo 'int i;' > conftest.$ac_ext
5905   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5906   (eval $ac_compile) 2>&5
5907   ac_status=$?
5908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909   (exit $ac_status); }; then
5910     case `/usr/bin/file conftest.o` in
5911     *64-bit*)
5912       case $lt_cv_prog_gnu_ld in
5913       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5914       *)
5915         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5916           LD="${LD-ld} -64"
5917         fi
5918         ;;
5919       esac
5920       ;;
5921     esac
5922   fi
5923   rm -rf conftest*
5924   ;;
5925 esac
5926
5927 need_locks="$enable_libtool_lock"
5928
5929
5930   case $host_os in
5931     rhapsody* | darwin*)
5932     if test -n "$ac_tool_prefix"; then
5933   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5935 echo "$as_me:$LINENO: checking for $ac_word" >&5
5936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5937 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5938   echo $ECHO_N "(cached) $ECHO_C" >&6
5939 else
5940   if test -n "$DSYMUTIL"; then
5941   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5942 else
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 for as_dir in $PATH
5945 do
5946   IFS=$as_save_IFS
5947   test -z "$as_dir" && as_dir=.
5948   for ac_exec_ext in '' $ac_executable_extensions; do
5949   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5951     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5952     break 2
5953   fi
5954 done
5955 done
5956
5957 fi
5958 fi
5959 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5960 if test -n "$DSYMUTIL"; then
5961   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5962 echo "${ECHO_T}$DSYMUTIL" >&6
5963 else
5964   echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5966 fi
5967
5968 fi
5969 if test -z "$ac_cv_prog_DSYMUTIL"; then
5970   ac_ct_DSYMUTIL=$DSYMUTIL
5971   # Extract the first word of "dsymutil", so it can be a program name with args.
5972 set dummy dsymutil; ac_word=$2
5973 echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5975 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5976   echo $ECHO_N "(cached) $ECHO_C" >&6
5977 else
5978   if test -n "$ac_ct_DSYMUTIL"; then
5979   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5980 else
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982 for as_dir in $PATH
5983 do
5984   IFS=$as_save_IFS
5985   test -z "$as_dir" && as_dir=.
5986   for ac_exec_ext in '' $ac_executable_extensions; do
5987   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5989     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5990     break 2
5991   fi
5992 done
5993 done
5994
5995   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5996 fi
5997 fi
5998 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5999 if test -n "$ac_ct_DSYMUTIL"; then
6000   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6001 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6002 else
6003   echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007   DSYMUTIL=$ac_ct_DSYMUTIL
6008 else
6009   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6010 fi
6011
6012     if test -n "$ac_tool_prefix"; then
6013   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6014 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6015 echo "$as_me:$LINENO: checking for $ac_word" >&5
6016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6017 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6018   echo $ECHO_N "(cached) $ECHO_C" >&6
6019 else
6020   if test -n "$NMEDIT"; then
6021   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6022 else
6023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 for as_dir in $PATH
6025 do
6026   IFS=$as_save_IFS
6027   test -z "$as_dir" && as_dir=.
6028   for ac_exec_ext in '' $ac_executable_extensions; do
6029   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6030     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6031     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6032     break 2
6033   fi
6034 done
6035 done
6036
6037 fi
6038 fi
6039 NMEDIT=$ac_cv_prog_NMEDIT
6040 if test -n "$NMEDIT"; then
6041   echo "$as_me:$LINENO: result: $NMEDIT" >&5
6042 echo "${ECHO_T}$NMEDIT" >&6
6043 else
6044   echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048 fi
6049 if test -z "$ac_cv_prog_NMEDIT"; then
6050   ac_ct_NMEDIT=$NMEDIT
6051   # Extract the first word of "nmedit", so it can be a program name with args.
6052 set dummy nmedit; ac_word=$2
6053 echo "$as_me:$LINENO: checking for $ac_word" >&5
6054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6055 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6056   echo $ECHO_N "(cached) $ECHO_C" >&6
6057 else
6058   if test -n "$ac_ct_NMEDIT"; then
6059   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6060 else
6061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 for as_dir in $PATH
6063 do
6064   IFS=$as_save_IFS
6065   test -z "$as_dir" && as_dir=.
6066   for ac_exec_ext in '' $ac_executable_extensions; do
6067   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6069     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6070     break 2
6071   fi
6072 done
6073 done
6074
6075   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6076 fi
6077 fi
6078 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6079 if test -n "$ac_ct_NMEDIT"; then
6080   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6081 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6082 else
6083   echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6085 fi
6086
6087   NMEDIT=$ac_ct_NMEDIT
6088 else
6089   NMEDIT="$ac_cv_prog_NMEDIT"
6090 fi
6091
6092     if test -n "$ac_tool_prefix"; then
6093   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6094 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6095 echo "$as_me:$LINENO: checking for $ac_word" >&5
6096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6097 if test "${ac_cv_prog_LIPO+set}" = set; then
6098   echo $ECHO_N "(cached) $ECHO_C" >&6
6099 else
6100   if test -n "$LIPO"; then
6101   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108   for ac_exec_ext in '' $ac_executable_extensions; do
6109   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6110     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112     break 2
6113   fi
6114 done
6115 done
6116
6117 fi
6118 fi
6119 LIPO=$ac_cv_prog_LIPO
6120 if test -n "$LIPO"; then
6121   echo "$as_me:$LINENO: result: $LIPO" >&5
6122 echo "${ECHO_T}$LIPO" >&6
6123 else
6124   echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6126 fi
6127
6128 fi
6129 if test -z "$ac_cv_prog_LIPO"; then
6130   ac_ct_LIPO=$LIPO
6131   # Extract the first word of "lipo", so it can be a program name with args.
6132 set dummy lipo; ac_word=$2
6133 echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6135 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6136   echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138   if test -n "$ac_ct_LIPO"; then
6139   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6143 do
6144   IFS=$as_save_IFS
6145   test -z "$as_dir" && as_dir=.
6146   for ac_exec_ext in '' $ac_executable_extensions; do
6147   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148     ac_cv_prog_ac_ct_LIPO="lipo"
6149     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150     break 2
6151   fi
6152 done
6153 done
6154
6155   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6156 fi
6157 fi
6158 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6159 if test -n "$ac_ct_LIPO"; then
6160   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6161 echo "${ECHO_T}$ac_ct_LIPO" >&6
6162 else
6163   echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6
6165 fi
6166
6167   LIPO=$ac_ct_LIPO
6168 else
6169   LIPO="$ac_cv_prog_LIPO"
6170 fi
6171
6172     if test -n "$ac_tool_prefix"; then
6173   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6174 set dummy ${ac_tool_prefix}otool; ac_word=$2
6175 echo "$as_me:$LINENO: checking for $ac_word" >&5
6176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6177 if test "${ac_cv_prog_OTOOL+set}" = set; then
6178   echo $ECHO_N "(cached) $ECHO_C" >&6
6179 else
6180   if test -n "$OTOOL"; then
6181   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6182 else
6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 for as_dir in $PATH
6185 do
6186   IFS=$as_save_IFS
6187   test -z "$as_dir" && as_dir=.
6188   for ac_exec_ext in '' $ac_executable_extensions; do
6189   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6190     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6191     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6192     break 2
6193   fi
6194 done
6195 done
6196
6197 fi
6198 fi
6199 OTOOL=$ac_cv_prog_OTOOL
6200 if test -n "$OTOOL"; then
6201   echo "$as_me:$LINENO: result: $OTOOL" >&5
6202 echo "${ECHO_T}$OTOOL" >&6
6203 else
6204   echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6206 fi
6207
6208 fi
6209 if test -z "$ac_cv_prog_OTOOL"; then
6210   ac_ct_OTOOL=$OTOOL
6211   # Extract the first word of "otool", so it can be a program name with args.
6212 set dummy otool; ac_word=$2
6213 echo "$as_me:$LINENO: checking for $ac_word" >&5
6214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6215 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6216   echo $ECHO_N "(cached) $ECHO_C" >&6
6217 else
6218   if test -n "$ac_ct_OTOOL"; then
6219   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6223 do
6224   IFS=$as_save_IFS
6225   test -z "$as_dir" && as_dir=.
6226   for ac_exec_ext in '' $ac_executable_extensions; do
6227   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228     ac_cv_prog_ac_ct_OTOOL="otool"
6229     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230     break 2
6231   fi
6232 done
6233 done
6234
6235   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6236 fi
6237 fi
6238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6239 if test -n "$ac_ct_OTOOL"; then
6240   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6241 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6242 else
6243   echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247   OTOOL=$ac_ct_OTOOL
6248 else
6249   OTOOL="$ac_cv_prog_OTOOL"
6250 fi
6251
6252     if test -n "$ac_tool_prefix"; then
6253   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6255 echo "$as_me:$LINENO: checking for $ac_word" >&5
6256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6257 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6258   echo $ECHO_N "(cached) $ECHO_C" >&6
6259 else
6260   if test -n "$OTOOL64"; then
6261   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6265 do
6266   IFS=$as_save_IFS
6267   test -z "$as_dir" && as_dir=.
6268   for ac_exec_ext in '' $ac_executable_extensions; do
6269   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6271     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6272     break 2
6273   fi
6274 done
6275 done
6276
6277 fi
6278 fi
6279 OTOOL64=$ac_cv_prog_OTOOL64
6280 if test -n "$OTOOL64"; then
6281   echo "$as_me:$LINENO: result: $OTOOL64" >&5
6282 echo "${ECHO_T}$OTOOL64" >&6
6283 else
6284   echo "$as_me:$LINENO: result: no" >&5
6285 echo "${ECHO_T}no" >&6
6286 fi
6287
6288 fi
6289 if test -z "$ac_cv_prog_OTOOL64"; then
6290   ac_ct_OTOOL64=$OTOOL64
6291   # Extract the first word of "otool64", so it can be a program name with args.
6292 set dummy otool64; ac_word=$2
6293 echo "$as_me:$LINENO: checking for $ac_word" >&5
6294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6295 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6296   echo $ECHO_N "(cached) $ECHO_C" >&6
6297 else
6298   if test -n "$ac_ct_OTOOL64"; then
6299   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6300 else
6301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 for as_dir in $PATH
6303 do
6304   IFS=$as_save_IFS
6305   test -z "$as_dir" && as_dir=.
6306   for ac_exec_ext in '' $ac_executable_extensions; do
6307   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6308     ac_cv_prog_ac_ct_OTOOL64="otool64"
6309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310     break 2
6311   fi
6312 done
6313 done
6314
6315   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6316 fi
6317 fi
6318 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6319 if test -n "$ac_ct_OTOOL64"; then
6320   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6321 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6322 else
6323   echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6325 fi
6326
6327   OTOOL64=$ac_ct_OTOOL64
6328 else
6329   OTOOL64="$ac_cv_prog_OTOOL64"
6330 fi
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6359 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6360 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6361   echo $ECHO_N "(cached) $ECHO_C" >&6
6362 else
6363   lt_cv_apple_cc_single_mod=no
6364       if test -z "${LT_MULTI_MODULE}"; then
6365         # By default we will add the -single_module flag. You can override
6366         # by either setting the environment variable LT_MULTI_MODULE
6367         # non-empty at configure time, or by adding -multi_module to the
6368         # link flags.
6369         rm -rf libconftest.dylib*
6370         echo "int foo(void){return 1;}" > conftest.c
6371         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6372 -dynamiclib -Wl,-single_module conftest.c" >&5
6373         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6374           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6375         _lt_result=$?
6376         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6377           lt_cv_apple_cc_single_mod=yes
6378         else
6379           cat conftest.err >&5
6380         fi
6381         rm -rf libconftest.dylib*
6382         rm -f conftest.*
6383       fi
6384 fi
6385 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6386 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6387     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6388 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6389 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6390   echo $ECHO_N "(cached) $ECHO_C" >&6
6391 else
6392   lt_cv_ld_exported_symbols_list=no
6393       save_LDFLAGS=$LDFLAGS
6394       echo "_main" > conftest.sym
6395       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6396       if test x$gcc_no_link = xyes; then
6397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6399    { (exit 1); exit 1; }; }
6400 fi
6401 cat >conftest.$ac_ext <<_ACEOF
6402 /* confdefs.h.  */
6403 _ACEOF
6404 cat confdefs.h >>conftest.$ac_ext
6405 cat >>conftest.$ac_ext <<_ACEOF
6406 /* end confdefs.h.  */
6407
6408 int
6409 main ()
6410 {
6411
6412   ;
6413   return 0;
6414 }
6415 _ACEOF
6416 rm -f conftest.$ac_objext conftest$ac_exeext
6417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6418   (eval $ac_link) 2>conftest.er1
6419   ac_status=$?
6420   grep -v '^ *+' conftest.er1 >conftest.err
6421   rm -f conftest.er1
6422   cat conftest.err >&5
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424   (exit $ac_status); } &&
6425          { ac_try='test -z "$ac_c_werror_flag"
6426                          || test ! -s conftest.err'
6427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428   (eval $ac_try) 2>&5
6429   ac_status=$?
6430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431   (exit $ac_status); }; } &&
6432          { ac_try='test -s conftest$ac_exeext'
6433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434   (eval $ac_try) 2>&5
6435   ac_status=$?
6436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437   (exit $ac_status); }; }; then
6438   lt_cv_ld_exported_symbols_list=yes
6439 else
6440   echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6442
6443 lt_cv_ld_exported_symbols_list=no
6444 fi
6445 rm -f conftest.err conftest.$ac_objext \
6446       conftest$ac_exeext conftest.$ac_ext
6447         LDFLAGS="$save_LDFLAGS"
6448
6449 fi
6450 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6451 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6452     case $host_os in
6453     rhapsody* | darwin1.[012])
6454       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6455     darwin1.*)
6456       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6457     darwin*) # darwin 5.x on
6458       # if running on 10.5 or later, the deployment target defaults
6459       # to the OS version, if on x86, and 10.4, the deployment
6460       # target defaults to 10.4. Don't you love it?
6461       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6462         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6463           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6464         10.[012]*)
6465           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6466         10.*)
6467           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6468       esac
6469     ;;
6470   esac
6471     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6472       _lt_dar_single_mod='$single_module'
6473     fi
6474     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6475       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6476     else
6477       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6478     fi
6479     if test "$DSYMUTIL" != ":"; then
6480       _lt_dsymutil='~$DSYMUTIL $lib || :'
6481     else
6482       _lt_dsymutil=
6483     fi
6484     ;;
6485   esac
6486
6487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6489 if test "${ac_cv_header_stdc+set}" = set; then
6490   echo $ECHO_N "(cached) $ECHO_C" >&6
6491 else
6492   cat >conftest.$ac_ext <<_ACEOF
6493 /* confdefs.h.  */
6494 _ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h.  */
6498 #include <stdlib.h>
6499 #include <stdarg.h>
6500 #include <string.h>
6501 #include <float.h>
6502
6503 int
6504 main ()
6505 {
6506
6507   ;
6508   return 0;
6509 }
6510 _ACEOF
6511 rm -f conftest.$ac_objext
6512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6513   (eval $ac_compile) 2>conftest.er1
6514   ac_status=$?
6515   grep -v '^ *+' conftest.er1 >conftest.err
6516   rm -f conftest.er1
6517   cat conftest.err >&5
6518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519   (exit $ac_status); } &&
6520          { ac_try='test -z "$ac_c_werror_flag"
6521                          || test ! -s conftest.err'
6522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523   (eval $ac_try) 2>&5
6524   ac_status=$?
6525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526   (exit $ac_status); }; } &&
6527          { ac_try='test -s conftest.$ac_objext'
6528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529   (eval $ac_try) 2>&5
6530   ac_status=$?
6531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532   (exit $ac_status); }; }; then
6533   ac_cv_header_stdc=yes
6534 else
6535   echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6537
6538 ac_cv_header_stdc=no
6539 fi
6540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541
6542 if test $ac_cv_header_stdc = yes; then
6543   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6544   cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h.  */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h.  */
6550 #include <string.h>
6551
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554   $EGREP "memchr" >/dev/null 2>&1; then
6555   :
6556 else
6557   ac_cv_header_stdc=no
6558 fi
6559 rm -f conftest*
6560
6561 fi
6562
6563 if test $ac_cv_header_stdc = yes; then
6564   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6565   cat >conftest.$ac_ext <<_ACEOF
6566 /* confdefs.h.  */
6567 _ACEOF
6568 cat confdefs.h >>conftest.$ac_ext
6569 cat >>conftest.$ac_ext <<_ACEOF
6570 /* end confdefs.h.  */
6571 #include <stdlib.h>
6572
6573 _ACEOF
6574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6575   $EGREP "free" >/dev/null 2>&1; then
6576   :
6577 else
6578   ac_cv_header_stdc=no
6579 fi
6580 rm -f conftest*
6581
6582 fi
6583
6584 if test $ac_cv_header_stdc = yes; then
6585   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6586   if test "$cross_compiling" = yes; then
6587   :
6588 else
6589   cat >conftest.$ac_ext <<_ACEOF
6590 /* confdefs.h.  */
6591 _ACEOF
6592 cat confdefs.h >>conftest.$ac_ext
6593 cat >>conftest.$ac_ext <<_ACEOF
6594 /* end confdefs.h.  */
6595 #include <ctype.h>
6596 #if ((' ' & 0x0FF) == 0x020)
6597 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6598 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6599 #else
6600 # define ISLOWER(c) \
6601                    (('a' <= (c) && (c) <= 'i') \
6602                      || ('j' <= (c) && (c) <= 'r') \
6603                      || ('s' <= (c) && (c) <= 'z'))
6604 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6605 #endif
6606
6607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6608 int
6609 main ()
6610 {
6611   int i;
6612   for (i = 0; i < 256; i++)
6613     if (XOR (islower (i), ISLOWER (i))
6614         || toupper (i) != TOUPPER (i))
6615       exit(2);
6616   exit (0);
6617 }
6618 _ACEOF
6619 rm -f conftest$ac_exeext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621   (eval $ac_link) 2>&5
6622   ac_status=$?
6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626   (eval $ac_try) 2>&5
6627   ac_status=$?
6628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629   (exit $ac_status); }; }; then
6630   :
6631 else
6632   echo "$as_me: program exited with status $ac_status" >&5
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6635
6636 ( exit $ac_status )
6637 ac_cv_header_stdc=no
6638 fi
6639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6640 fi
6641 fi
6642 fi
6643 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6644 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6645 if test $ac_cv_header_stdc = yes; then
6646
6647 cat >>confdefs.h <<\_ACEOF
6648 #define STDC_HEADERS 1
6649 _ACEOF
6650
6651 fi
6652
6653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6664                   inttypes.h stdint.h unistd.h
6665 do
6666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6667 echo "$as_me:$LINENO: checking for $ac_header" >&5
6668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6670   echo $ECHO_N "(cached) $ECHO_C" >&6
6671 else
6672   cat >conftest.$ac_ext <<_ACEOF
6673 /* confdefs.h.  */
6674 _ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h.  */
6678 $ac_includes_default
6679
6680 #include <$ac_header>
6681 _ACEOF
6682 rm -f conftest.$ac_objext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684   (eval $ac_compile) 2>conftest.er1
6685   ac_status=$?
6686   grep -v '^ *+' conftest.er1 >conftest.err
6687   rm -f conftest.er1
6688   cat conftest.err >&5
6689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690   (exit $ac_status); } &&
6691          { ac_try='test -z "$ac_c_werror_flag"
6692                          || test ! -s conftest.err'
6693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6694   (eval $ac_try) 2>&5
6695   ac_status=$?
6696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697   (exit $ac_status); }; } &&
6698          { ac_try='test -s conftest.$ac_objext'
6699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700   (eval $ac_try) 2>&5
6701   ac_status=$?
6702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703   (exit $ac_status); }; }; then
6704   eval "$as_ac_Header=yes"
6705 else
6706   echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6708
6709 eval "$as_ac_Header=no"
6710 fi
6711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6712 fi
6713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6716   cat >>confdefs.h <<_ACEOF
6717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6718 _ACEOF
6719
6720 fi
6721
6722 done
6723
6724
6725
6726 for ac_header in dlfcn.h
6727 do
6728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6729 echo "$as_me:$LINENO: checking for $ac_header" >&5
6730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6732   echo $ECHO_N "(cached) $ECHO_C" >&6
6733 else
6734   cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h.  */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h.  */
6740 $ac_includes_default
6741
6742 #include <$ac_header>
6743 _ACEOF
6744 rm -f conftest.$ac_objext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6746   (eval $ac_compile) 2>conftest.er1
6747   ac_status=$?
6748   grep -v '^ *+' conftest.er1 >conftest.err
6749   rm -f conftest.er1
6750   cat conftest.err >&5
6751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752   (exit $ac_status); } &&
6753          { ac_try='test -z "$ac_c_werror_flag"
6754                          || test ! -s conftest.err'
6755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756   (eval $ac_try) 2>&5
6757   ac_status=$?
6758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759   (exit $ac_status); }; } &&
6760          { ac_try='test -s conftest.$ac_objext'
6761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762   (eval $ac_try) 2>&5
6763   ac_status=$?
6764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765   (exit $ac_status); }; }; then
6766   eval "$as_ac_Header=yes"
6767 else
6768   echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6770
6771 eval "$as_ac_Header=no"
6772 fi
6773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 fi
6775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6778   cat >>confdefs.h <<_ACEOF
6779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780 _ACEOF
6781
6782 fi
6783
6784 done
6785
6786
6787
6788 ac_ext=cc
6789 ac_cpp='$CXXCPP $CPPFLAGS'
6790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6793 if test -n "$ac_tool_prefix"; then
6794   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6795   do
6796     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6798 echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6800 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6801   echo $ECHO_N "(cached) $ECHO_C" >&6
6802 else
6803   if test -n "$CXX"; then
6804   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6805 else
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6807 for as_dir in $PATH
6808 do
6809   IFS=$as_save_IFS
6810   test -z "$as_dir" && as_dir=.
6811   for ac_exec_ext in '' $ac_executable_extensions; do
6812   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6814     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815     break 2
6816   fi
6817 done
6818 done
6819
6820 fi
6821 fi
6822 CXX=$glibcxx_cv_prog_CXX
6823 if test -n "$CXX"; then
6824   echo "$as_me:$LINENO: result: $CXX" >&5
6825 echo "${ECHO_T}$CXX" >&6
6826 else
6827   echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6
6829 fi
6830
6831     test -n "$CXX" && break
6832   done
6833 fi
6834 if test -z "$CXX"; then
6835   ac_ct_CXX=$CXX
6836   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6837 do
6838   # Extract the first word of "$ac_prog", so it can be a program name with args.
6839 set dummy $ac_prog; ac_word=$2
6840 echo "$as_me:$LINENO: checking for $ac_word" >&5
6841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6842 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6843   echo $ECHO_N "(cached) $ECHO_C" >&6
6844 else
6845   if test -n "$ac_ct_CXX"; then
6846   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6847 else
6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6849 for as_dir in $PATH
6850 do
6851   IFS=$as_save_IFS
6852   test -z "$as_dir" && as_dir=.
6853   for ac_exec_ext in '' $ac_executable_extensions; do
6854   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6855     ac_cv_prog_ac_ct_CXX="$ac_prog"
6856     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6857     break 2
6858   fi
6859 done
6860 done
6861
6862 fi
6863 fi
6864 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6865 if test -n "$ac_ct_CXX"; then
6866   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6867 echo "${ECHO_T}$ac_ct_CXX" >&6
6868 else
6869   echo "$as_me:$LINENO: result: no" >&5
6870 echo "${ECHO_T}no" >&6
6871 fi
6872
6873   test -n "$ac_ct_CXX" && break
6874 done
6875 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6876
6877   CXX=$ac_ct_CXX
6878 fi
6879
6880
6881 # Provide some information about the compiler.
6882 echo "$as_me:$LINENO:" \
6883      "checking for C++ compiler version" >&5
6884 ac_compiler=`set X $ac_compile; echo $2`
6885 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6886   (eval $ac_compiler --version </dev/null >&5) 2>&5
6887   ac_status=$?
6888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889   (exit $ac_status); }
6890 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6891   (eval $ac_compiler -v </dev/null >&5) 2>&5
6892   ac_status=$?
6893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894   (exit $ac_status); }
6895 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6896   (eval $ac_compiler -V </dev/null >&5) 2>&5
6897   ac_status=$?
6898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899   (exit $ac_status); }
6900
6901 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6902 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6903 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6904   echo $ECHO_N "(cached) $ECHO_C" >&6
6905 else
6906   cat >conftest.$ac_ext <<_ACEOF
6907 /* confdefs.h.  */
6908 _ACEOF
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h.  */
6912
6913 int
6914 main ()
6915 {
6916 #ifndef __GNUC__
6917        choke me
6918 #endif
6919
6920   ;
6921   return 0;
6922 }
6923 _ACEOF
6924 rm -f conftest.$ac_objext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926   (eval $ac_compile) 2>conftest.er1
6927   ac_status=$?
6928   grep -v '^ *+' conftest.er1 >conftest.err
6929   rm -f conftest.er1
6930   cat conftest.err >&5
6931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932   (exit $ac_status); } &&
6933          { ac_try='test -z "$ac_cxx_werror_flag"
6934                          || test ! -s conftest.err'
6935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6936   (eval $ac_try) 2>&5
6937   ac_status=$?
6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939   (exit $ac_status); }; } &&
6940          { ac_try='test -s conftest.$ac_objext'
6941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6942   (eval $ac_try) 2>&5
6943   ac_status=$?
6944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945   (exit $ac_status); }; }; then
6946   ac_compiler_gnu=yes
6947 else
6948   echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6950
6951 ac_compiler_gnu=no
6952 fi
6953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6954 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6955
6956 fi
6957 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6958 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6959 GXX=`test $ac_compiler_gnu = yes && echo yes`
6960 ac_test_CXXFLAGS=${CXXFLAGS+set}
6961 ac_save_CXXFLAGS=$CXXFLAGS
6962 CXXFLAGS="-g"
6963 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6964 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6965 if test "${ac_cv_prog_cxx_g+set}" = set; then
6966   echo $ECHO_N "(cached) $ECHO_C" >&6
6967 else
6968   cat >conftest.$ac_ext <<_ACEOF
6969 /* confdefs.h.  */
6970 _ACEOF
6971 cat confdefs.h >>conftest.$ac_ext
6972 cat >>conftest.$ac_ext <<_ACEOF
6973 /* end confdefs.h.  */
6974
6975 int
6976 main ()
6977 {
6978
6979   ;
6980   return 0;
6981 }
6982 _ACEOF
6983 rm -f conftest.$ac_objext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985   (eval $ac_compile) 2>conftest.er1
6986   ac_status=$?
6987   grep -v '^ *+' conftest.er1 >conftest.err
6988   rm -f conftest.er1
6989   cat conftest.err >&5
6990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991   (exit $ac_status); } &&
6992          { ac_try='test -z "$ac_cxx_werror_flag"
6993                          || test ! -s conftest.err'
6994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6995   (eval $ac_try) 2>&5
6996   ac_status=$?
6997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998   (exit $ac_status); }; } &&
6999          { ac_try='test -s conftest.$ac_objext'
7000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7001   (eval $ac_try) 2>&5
7002   ac_status=$?
7003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004   (exit $ac_status); }; }; then
7005   ac_cv_prog_cxx_g=yes
7006 else
7007   echo "$as_me: failed program was:" >&5
7008 sed 's/^/| /' conftest.$ac_ext >&5
7009
7010 ac_cv_prog_cxx_g=no
7011 fi
7012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 fi
7014 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7015 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7016 if test "$ac_test_CXXFLAGS" = set; then
7017   CXXFLAGS=$ac_save_CXXFLAGS
7018 elif test $ac_cv_prog_cxx_g = yes; then
7019   if test "$GXX" = yes; then
7020     CXXFLAGS="-g -O2"
7021   else
7022     CXXFLAGS="-g"
7023   fi
7024 else
7025   if test "$GXX" = yes; then
7026     CXXFLAGS="-O2"
7027   else
7028     CXXFLAGS=
7029   fi
7030 fi
7031 for ac_declaration in \
7032    '' \
7033    'extern "C" void std::exit (int) throw (); using std::exit;' \
7034    'extern "C" void std::exit (int); using std::exit;' \
7035    'extern "C" void exit (int) throw ();' \
7036    'extern "C" void exit (int);' \
7037    'void exit (int);'
7038 do
7039   cat >conftest.$ac_ext <<_ACEOF
7040 /* confdefs.h.  */
7041 _ACEOF
7042 cat confdefs.h >>conftest.$ac_ext
7043 cat >>conftest.$ac_ext <<_ACEOF
7044 /* end confdefs.h.  */
7045 $ac_declaration
7046 #include <stdlib.h>
7047 int
7048 main ()
7049 {
7050 exit (42);
7051   ;
7052   return 0;
7053 }
7054 _ACEOF
7055 rm -f conftest.$ac_objext
7056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7057   (eval $ac_compile) 2>conftest.er1
7058   ac_status=$?
7059   grep -v '^ *+' conftest.er1 >conftest.err
7060   rm -f conftest.er1
7061   cat conftest.err >&5
7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063   (exit $ac_status); } &&
7064          { ac_try='test -z "$ac_cxx_werror_flag"
7065                          || test ! -s conftest.err'
7066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7067   (eval $ac_try) 2>&5
7068   ac_status=$?
7069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070   (exit $ac_status); }; } &&
7071          { ac_try='test -s conftest.$ac_objext'
7072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7073   (eval $ac_try) 2>&5
7074   ac_status=$?
7075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076   (exit $ac_status); }; }; then
7077   :
7078 else
7079   echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7081
7082 continue
7083 fi
7084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7085   cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h.  */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h.  */
7091 $ac_declaration
7092 int
7093 main ()
7094 {
7095 exit (42);
7096   ;
7097   return 0;
7098 }
7099 _ACEOF
7100 rm -f conftest.$ac_objext
7101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7102   (eval $ac_compile) 2>conftest.er1
7103   ac_status=$?
7104   grep -v '^ *+' conftest.er1 >conftest.err
7105   rm -f conftest.er1
7106   cat conftest.err >&5
7107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108   (exit $ac_status); } &&
7109          { ac_try='test -z "$ac_cxx_werror_flag"
7110                          || test ! -s conftest.err'
7111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7112   (eval $ac_try) 2>&5
7113   ac_status=$?
7114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115   (exit $ac_status); }; } &&
7116          { ac_try='test -s conftest.$ac_objext'
7117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118   (eval $ac_try) 2>&5
7119   ac_status=$?
7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121   (exit $ac_status); }; }; then
7122   break
7123 else
7124   echo "$as_me: failed program was:" >&5
7125 sed 's/^/| /' conftest.$ac_ext >&5
7126
7127 fi
7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7129 done
7130 rm -f conftest*
7131 if test -n "$ac_declaration"; then
7132   echo '#ifdef __cplusplus' >>confdefs.h
7133   echo $ac_declaration      >>confdefs.h
7134   echo '#endif'             >>confdefs.h
7135 fi
7136
7137 ac_ext=c
7138 ac_cpp='$CPP $CPPFLAGS'
7139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142
7143 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7144     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7145     (test "X$CXX" != "Xg++"))) ; then
7146   ac_ext=cc
7147 ac_cpp='$CXXCPP $CPPFLAGS'
7148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7151 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7152 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7153 if test -z "$CXXCPP"; then
7154   if test "${ac_cv_prog_CXXCPP+set}" = set; then
7155   echo $ECHO_N "(cached) $ECHO_C" >&6
7156 else
7157       # Double quotes because CXXCPP needs to be expanded
7158     for CXXCPP in "$CXX -E" "/lib/cpp"
7159     do
7160       ac_preproc_ok=false
7161 for ac_cxx_preproc_warn_flag in '' yes
7162 do
7163   # Use a header file that comes with gcc, so configuring glibc
7164   # with a fresh cross-compiler works.
7165   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7166   # <limits.h> exists even on freestanding compilers.
7167   # On the NeXT, cc -E runs the code through the compiler's parser,
7168   # not just through cpp. "Syntax error" is here to catch this case.
7169   cat >conftest.$ac_ext <<_ACEOF
7170 /* confdefs.h.  */
7171 _ACEOF
7172 cat confdefs.h >>conftest.$ac_ext
7173 cat >>conftest.$ac_ext <<_ACEOF
7174 /* end confdefs.h.  */
7175 #ifdef __STDC__
7176 # include <limits.h>
7177 #else
7178 # include <assert.h>
7179 #endif
7180                      Syntax error
7181 _ACEOF
7182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7184   ac_status=$?
7185   grep -v '^ *+' conftest.er1 >conftest.err
7186   rm -f conftest.er1
7187   cat conftest.err >&5
7188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189   (exit $ac_status); } >/dev/null; then
7190   if test -s conftest.err; then
7191     ac_cpp_err=$ac_cxx_preproc_warn_flag
7192     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7193   else
7194     ac_cpp_err=
7195   fi
7196 else
7197   ac_cpp_err=yes
7198 fi
7199 if test -z "$ac_cpp_err"; then
7200   :
7201 else
7202   echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7204
7205   # Broken: fails on valid input.
7206 continue
7207 fi
7208 rm -f conftest.err conftest.$ac_ext
7209
7210   # OK, works on sane cases.  Now check whether non-existent headers
7211   # can be detected and how.
7212   cat >conftest.$ac_ext <<_ACEOF
7213 /* confdefs.h.  */
7214 _ACEOF
7215 cat confdefs.h >>conftest.$ac_ext
7216 cat >>conftest.$ac_ext <<_ACEOF
7217 /* end confdefs.h.  */
7218 #include <ac_nonexistent.h>
7219 _ACEOF
7220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7221   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7222   ac_status=$?
7223   grep -v '^ *+' conftest.er1 >conftest.err
7224   rm -f conftest.er1
7225   cat conftest.err >&5
7226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227   (exit $ac_status); } >/dev/null; then
7228   if test -s conftest.err; then
7229     ac_cpp_err=$ac_cxx_preproc_warn_flag
7230     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7231   else
7232     ac_cpp_err=
7233   fi
7234 else
7235   ac_cpp_err=yes
7236 fi
7237 if test -z "$ac_cpp_err"; then
7238   # Broken: success on invalid input.
7239 continue
7240 else
7241   echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.$ac_ext >&5
7243
7244   # Passes both tests.
7245 ac_preproc_ok=:
7246 break
7247 fi
7248 rm -f conftest.err conftest.$ac_ext
7249
7250 done
7251 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7252 rm -f conftest.err conftest.$ac_ext
7253 if $ac_preproc_ok; then
7254   break
7255 fi
7256
7257     done
7258     ac_cv_prog_CXXCPP=$CXXCPP
7259
7260 fi
7261   CXXCPP=$ac_cv_prog_CXXCPP
7262 else
7263   ac_cv_prog_CXXCPP=$CXXCPP
7264 fi
7265 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7266 echo "${ECHO_T}$CXXCPP" >&6
7267 ac_preproc_ok=false
7268 for ac_cxx_preproc_warn_flag in '' yes
7269 do
7270   # Use a header file that comes with gcc, so configuring glibc
7271   # with a fresh cross-compiler works.
7272   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7273   # <limits.h> exists even on freestanding compilers.
7274   # On the NeXT, cc -E runs the code through the compiler's parser,
7275   # not just through cpp. "Syntax error" is here to catch this case.
7276   cat >conftest.$ac_ext <<_ACEOF
7277 /* confdefs.h.  */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h.  */
7282 #ifdef __STDC__
7283 # include <limits.h>
7284 #else
7285 # include <assert.h>
7286 #endif
7287                      Syntax error
7288 _ACEOF
7289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7290   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7291   ac_status=$?
7292   grep -v '^ *+' conftest.er1 >conftest.err
7293   rm -f conftest.er1
7294   cat conftest.err >&5
7295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296   (exit $ac_status); } >/dev/null; then
7297   if test -s conftest.err; then
7298     ac_cpp_err=$ac_cxx_preproc_warn_flag
7299     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7300   else
7301     ac_cpp_err=
7302   fi
7303 else
7304   ac_cpp_err=yes
7305 fi
7306 if test -z "$ac_cpp_err"; then
7307   :
7308 else
7309   echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.$ac_ext >&5
7311
7312   # Broken: fails on valid input.
7313 continue
7314 fi
7315 rm -f conftest.err conftest.$ac_ext
7316
7317   # OK, works on sane cases.  Now check whether non-existent headers
7318   # can be detected and how.
7319   cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h.  */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h.  */
7325 #include <ac_nonexistent.h>
7326 _ACEOF
7327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7328   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7329   ac_status=$?
7330   grep -v '^ *+' conftest.er1 >conftest.err
7331   rm -f conftest.er1
7332   cat conftest.err >&5
7333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334   (exit $ac_status); } >/dev/null; then
7335   if test -s conftest.err; then
7336     ac_cpp_err=$ac_cxx_preproc_warn_flag
7337     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7338   else
7339     ac_cpp_err=
7340   fi
7341 else
7342   ac_cpp_err=yes
7343 fi
7344 if test -z "$ac_cpp_err"; then
7345   # Broken: success on invalid input.
7346 continue
7347 else
7348   echo "$as_me: failed program was:" >&5
7349 sed 's/^/| /' conftest.$ac_ext >&5
7350
7351   # Passes both tests.
7352 ac_preproc_ok=:
7353 break
7354 fi
7355 rm -f conftest.err conftest.$ac_ext
7356
7357 done
7358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7359 rm -f conftest.err conftest.$ac_ext
7360 if $ac_preproc_ok; then
7361   :
7362 else
7363   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7364 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7365 _lt_caught_CXX_error=yes; }
7366 fi
7367
7368 ac_ext=c
7369 ac_cpp='$CPP $CPPFLAGS'
7370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373
7374 else
7375   _lt_caught_CXX_error=yes
7376 fi
7377
7378
7379
7380
7381
7382 # Set options
7383
7384
7385
7386
7387   enable_win32_dll=no
7388
7389
7390             # Check whether --enable-shared or --disable-shared was given.
7391 if test "${enable_shared+set}" = set; then
7392   enableval="$enable_shared"
7393   p=${PACKAGE-default}
7394     case $enableval in
7395     yes) enable_shared=yes ;;
7396     no) enable_shared=no ;;
7397     *)
7398       enable_shared=no
7399       # Look at the argument we got.  We use all the common list separators.
7400       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7401       for pkg in $enableval; do
7402         IFS="$lt_save_ifs"
7403         if test "X$pkg" = "X$p"; then
7404           enable_shared=yes
7405         fi
7406       done
7407       IFS="$lt_save_ifs"
7408       ;;
7409     esac
7410 else
7411   enable_shared=yes
7412 fi;
7413
7414
7415
7416
7417
7418
7419
7420
7421   # Check whether --enable-static or --disable-static was given.
7422 if test "${enable_static+set}" = set; then
7423   enableval="$enable_static"
7424   p=${PACKAGE-default}
7425     case $enableval in
7426     yes) enable_static=yes ;;
7427     no) enable_static=no ;;
7428     *)
7429      enable_static=no
7430       # Look at the argument we got.  We use all the common list separators.
7431       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7432       for pkg in $enableval; do
7433         IFS="$lt_save_ifs"
7434         if test "X$pkg" = "X$p"; then
7435           enable_static=yes
7436         fi
7437       done
7438       IFS="$lt_save_ifs"
7439       ;;
7440     esac
7441 else
7442   enable_static=yes
7443 fi;
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453 # Check whether --with-pic or --without-pic was given.
7454 if test "${with_pic+set}" = set; then
7455   withval="$with_pic"
7456   pic_mode="$withval"
7457 else
7458   pic_mode=default
7459 fi;
7460
7461 test -z "$pic_mode" && pic_mode=default
7462
7463
7464
7465
7466
7467
7468
7469   # Check whether --enable-fast-install or --disable-fast-install was given.
7470 if test "${enable_fast_install+set}" = set; then
7471   enableval="$enable_fast_install"
7472   p=${PACKAGE-default}
7473     case $enableval in
7474     yes) enable_fast_install=yes ;;
7475     no) enable_fast_install=no ;;
7476     *)
7477       enable_fast_install=no
7478       # Look at the argument we got.  We use all the common list separators.
7479       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7480       for pkg in $enableval; do
7481         IFS="$lt_save_ifs"
7482         if test "X$pkg" = "X$p"; then
7483           enable_fast_install=yes
7484         fi
7485       done
7486       IFS="$lt_save_ifs"
7487       ;;
7488     esac
7489 else
7490   enable_fast_install=yes
7491 fi;
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502 # This can be used to rebuild libtool when needed
7503 LIBTOOL_DEPS="$ltmain"
7504
7505 # Always use our own libtool.
7506 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532 test -z "$LN_S" && LN_S="ln -s"
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547 if test -n "${ZSH_VERSION+set}" ; then
7548    setopt NO_GLOB_SUBST
7549 fi
7550
7551 echo "$as_me:$LINENO: checking for objdir" >&5
7552 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7553 if test "${lt_cv_objdir+set}" = set; then
7554   echo $ECHO_N "(cached) $ECHO_C" >&6
7555 else
7556   rm -f .libs 2>/dev/null
7557 mkdir .libs 2>/dev/null
7558 if test -d .libs; then
7559   lt_cv_objdir=.libs
7560 else
7561   # MS-DOS does not allow filenames that begin with a dot.
7562   lt_cv_objdir=_libs
7563 fi
7564 rmdir .libs 2>/dev/null
7565 fi
7566 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7567 echo "${ECHO_T}$lt_cv_objdir" >&6
7568 objdir=$lt_cv_objdir
7569
7570
7571
7572
7573
7574 cat >>confdefs.h <<_ACEOF
7575 #define LT_OBJDIR "$lt_cv_objdir/"
7576 _ACEOF
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594 case $host_os in
7595 aix3*)
7596   # AIX sometimes has problems with the GCC collect2 program.  For some
7597   # reason, if we set the COLLECT_NAMES environment variable, the problems
7598   # vanish in a puff of smoke.
7599   if test "X${COLLECT_NAMES+set}" != Xset; then
7600     COLLECT_NAMES=
7601     export COLLECT_NAMES
7602   fi
7603   ;;
7604 esac
7605
7606 # Sed substitution that helps us do robust quoting.  It backslashifies
7607 # metacharacters that are still active within double-quoted strings.
7608 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7609
7610 # Same as above, but do not quote variable references.
7611 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7612
7613 # Sed substitution to delay expansion of an escaped shell variable in a
7614 # double_quote_subst'ed string.
7615 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7616
7617 # Sed substitution to delay expansion of an escaped single quote.
7618 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7619
7620 # Sed substitution to avoid accidental globbing in evaled expressions
7621 no_glob_subst='s/\*/\\\*/g'
7622
7623 # Global variables:
7624 ofile=libtool
7625 can_build_shared=yes
7626
7627 # All known linkers require a `.a' archive for static linking (except MSVC,
7628 # which needs '.lib').
7629 libext=a
7630
7631 with_gnu_ld="$lt_cv_prog_gnu_ld"
7632
7633 old_CC="$CC"
7634 old_CFLAGS="$CFLAGS"
7635
7636 # Set sane defaults for various variables
7637 test -z "$CC" && CC=cc
7638 test -z "$LTCC" && LTCC=$CC
7639 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7640 test -z "$LD" && LD=ld
7641 test -z "$ac_objext" && ac_objext=o
7642
7643 for cc_temp in $compiler""; do
7644   case $cc_temp in
7645     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7646     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7647     \-*) ;;
7648     *) break;;
7649   esac
7650 done
7651 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7652
7653
7654 # Only perform the check for file, if the check method requires it
7655 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7656 case $deplibs_check_method in
7657 file_magic*)
7658   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7659     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7660 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7661 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7662   echo $ECHO_N "(cached) $ECHO_C" >&6
7663 else
7664   case $MAGIC_CMD in
7665 [\\/*] |  ?:[\\/]*)
7666   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7667   ;;
7668 *)
7669   lt_save_MAGIC_CMD="$MAGIC_CMD"
7670   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7671   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7672   for ac_dir in $ac_dummy; do
7673     IFS="$lt_save_ifs"
7674     test -z "$ac_dir" && ac_dir=.
7675     if test -f $ac_dir/${ac_tool_prefix}file; then
7676       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7677       if test -n "$file_magic_test_file"; then
7678         case $deplibs_check_method in
7679         "file_magic "*)
7680           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7681           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7682           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7683             $EGREP "$file_magic_regex" > /dev/null; then
7684             :
7685           else
7686             cat <<_LT_EOF 1>&2
7687
7688 *** Warning: the command libtool uses to detect shared libraries,
7689 *** $file_magic_cmd, produces output that libtool cannot recognize.
7690 *** The result is that libtool may fail to recognize shared libraries
7691 *** as such.  This will affect the creation of libtool libraries that
7692 *** depend on shared libraries, but programs linked with such libtool
7693 *** libraries will work regardless of this problem.  Nevertheless, you
7694 *** may want to report the problem to your system manager and/or to
7695 *** bug-libtool@gnu.org
7696
7697 _LT_EOF
7698           fi ;;
7699         esac
7700       fi
7701       break
7702     fi
7703   done
7704   IFS="$lt_save_ifs"
7705   MAGIC_CMD="$lt_save_MAGIC_CMD"
7706   ;;
7707 esac
7708 fi
7709
7710 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7711 if test -n "$MAGIC_CMD"; then
7712   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7713 echo "${ECHO_T}$MAGIC_CMD" >&6
7714 else
7715   echo "$as_me:$LINENO: result: no" >&5
7716 echo "${ECHO_T}no" >&6
7717 fi
7718
7719
7720
7721
7722
7723 if test -z "$lt_cv_path_MAGIC_CMD"; then
7724   if test -n "$ac_tool_prefix"; then
7725     echo "$as_me:$LINENO: checking for file" >&5
7726 echo $ECHO_N "checking for file... $ECHO_C" >&6
7727 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7728   echo $ECHO_N "(cached) $ECHO_C" >&6
7729 else
7730   case $MAGIC_CMD in
7731 [\\/*] |  ?:[\\/]*)
7732   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7733   ;;
7734 *)
7735   lt_save_MAGIC_CMD="$MAGIC_CMD"
7736   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7737   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7738   for ac_dir in $ac_dummy; do
7739     IFS="$lt_save_ifs"
7740     test -z "$ac_dir" && ac_dir=.
7741     if test -f $ac_dir/file; then
7742       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7743       if test -n "$file_magic_test_file"; then
7744         case $deplibs_check_method in
7745         "file_magic "*)
7746           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7747           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7748           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7749             $EGREP "$file_magic_regex" > /dev/null; then
7750             :
7751           else
7752             cat <<_LT_EOF 1>&2
7753
7754 *** Warning: the command libtool uses to detect shared libraries,
7755 *** $file_magic_cmd, produces output that libtool cannot recognize.
7756 *** The result is that libtool may fail to recognize shared libraries
7757 *** as such.  This will affect the creation of libtool libraries that
7758 *** depend on shared libraries, but programs linked with such libtool
7759 *** libraries will work regardless of this problem.  Nevertheless, you
7760 *** may want to report the problem to your system manager and/or to
7761 *** bug-libtool@gnu.org
7762
7763 _LT_EOF
7764           fi ;;
7765         esac
7766       fi
7767       break
7768     fi
7769   done
7770   IFS="$lt_save_ifs"
7771   MAGIC_CMD="$lt_save_MAGIC_CMD"
7772   ;;
7773 esac
7774 fi
7775
7776 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7777 if test -n "$MAGIC_CMD"; then
7778   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7779 echo "${ECHO_T}$MAGIC_CMD" >&6
7780 else
7781   echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7783 fi
7784
7785
7786   else
7787     MAGIC_CMD=:
7788   fi
7789 fi
7790
7791   fi
7792   ;;
7793 esac
7794
7795 # Use C for the default configuration in the libtool script
7796
7797 lt_save_CC="$CC"
7798 ac_ext=c
7799 ac_cpp='$CPP $CPPFLAGS'
7800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7803
7804
7805 # Source file extension for C test sources.
7806 ac_ext=c
7807
7808 # Object file extension for compiled C test sources.
7809 objext=o
7810 objext=$objext
7811
7812 # Code to be used in simple compile tests
7813 lt_simple_compile_test_code="int some_variable = 0;"
7814
7815 # Code to be used in simple link tests
7816 lt_simple_link_test_code='int main(){return(0);}'
7817
7818
7819
7820
7821
7822
7823
7824 # If no C compiler was specified, use CC.
7825 LTCC=${LTCC-"$CC"}
7826
7827 # If no C compiler flags were specified, use CFLAGS.
7828 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7829
7830 # Allow CC to be a program name with arguments.
7831 compiler=$CC
7832
7833 # Save the default compiler, since it gets overwritten when the other
7834 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7835 compiler_DEFAULT=$CC
7836
7837 # save warnings/boilerplate of simple test code
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7840 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841 _lt_compiler_boilerplate=`cat conftest.err`
7842 $RM conftest*
7843
7844 ac_outfile=conftest.$ac_objext
7845 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7846 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7847 _lt_linker_boilerplate=`cat conftest.err`
7848 $RM -r conftest*
7849
7850
7851 ## CAVEAT EMPTOR:
7852 ## There is no encapsulation within the following macros, do not change
7853 ## the running order or otherwise move them around unless you know exactly
7854 ## what you are doing...
7855 if test -n "$compiler"; then
7856
7857 lt_prog_compiler_no_builtin_flag=
7858
7859 if test "$GCC" = yes; then
7860   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7861
7862   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7863 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7864 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7865   echo $ECHO_N "(cached) $ECHO_C" >&6
7866 else
7867   lt_cv_prog_compiler_rtti_exceptions=no
7868    ac_outfile=conftest.$ac_objext
7869    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7870    lt_compiler_flag="-fno-rtti -fno-exceptions"
7871    # Insert the option either (1) after the last *FLAGS variable, or
7872    # (2) before a word containing "conftest.", or (3) at the end.
7873    # Note that $ac_compile itself does not contain backslashes and begins
7874    # with a dollar sign (not a hyphen), so the echo should work correctly.
7875    # The option is referenced via a variable to avoid confusing sed.
7876    lt_compile=`echo "$ac_compile" | $SED \
7877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7879    -e 's:$: $lt_compiler_flag:'`
7880    (eval echo "\"\$as_me:7880: $lt_compile\"" >&5)
7881    (eval "$lt_compile" 2>conftest.err)
7882    ac_status=$?
7883    cat conftest.err >&5
7884    echo "$as_me:7884: \$? = $ac_status" >&5
7885    if (exit $ac_status) && test -s "$ac_outfile"; then
7886      # The compiler can only warn and ignore the option if not recognized
7887      # So say no if there are warnings other than the usual output.
7888      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7889      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7890      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7891        lt_cv_prog_compiler_rtti_exceptions=yes
7892      fi
7893    fi
7894    $RM conftest*
7895
7896 fi
7897 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7898 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7899
7900 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7901     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7902 else
7903     :
7904 fi
7905
7906 fi
7907
7908
7909
7910
7911
7912
7913   lt_prog_compiler_wl=
7914 lt_prog_compiler_pic=
7915 lt_prog_compiler_static=
7916
7917 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7918 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7919
7920   if test "$GCC" = yes; then
7921     lt_prog_compiler_wl='-Wl,'
7922     lt_prog_compiler_static='-static'
7923
7924     case $host_os in
7925       aix*)
7926       # All AIX code is PIC.
7927       if test "$host_cpu" = ia64; then
7928         # AIX 5 now supports IA64 processor
7929         lt_prog_compiler_static='-Bstatic'
7930       fi
7931       ;;
7932
7933     amigaos*)
7934       case $host_cpu in
7935       powerpc)
7936             # see comment about AmigaOS4 .so support
7937             lt_prog_compiler_pic='-fPIC'
7938         ;;
7939       m68k)
7940             # FIXME: we need at least 68020 code to build shared libraries, but
7941             # adding the `-m68020' flag to GCC prevents building anything better,
7942             # like `-m68040'.
7943             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944         ;;
7945       esac
7946       ;;
7947
7948     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7949       # PIC is the default for these OSes.
7950       ;;
7951
7952     mingw* | cygwin* | pw32* | os2* | cegcc*)
7953       # This hack is so that the source file can tell whether it is being
7954       # built for inclusion in a dll (and should export symbols for example).
7955       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7956       # (--disable-auto-import) libraries
7957       lt_prog_compiler_pic='-DDLL_EXPORT'
7958       ;;
7959
7960     darwin* | rhapsody*)
7961       # PIC is the default on this platform
7962       # Common symbols not allowed in MH_DYLIB files
7963       lt_prog_compiler_pic='-fno-common'
7964       ;;
7965
7966     hpux*)
7967       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7968       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7969       # sets the default TLS model and affects inlining.
7970       case $host_cpu in
7971       hppa*64*)
7972         # +Z the default
7973         ;;
7974       *)
7975         lt_prog_compiler_pic='-fPIC'
7976         ;;
7977       esac
7978       ;;
7979
7980     interix[3-9]*)
7981       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7982       # Instead, we relocate shared libraries at runtime.
7983       ;;
7984
7985     msdosdjgpp*)
7986       # Just because we use GCC doesn't mean we suddenly get shared libraries
7987       # on systems that don't support them.
7988       lt_prog_compiler_can_build_shared=no
7989       enable_shared=no
7990       ;;
7991
7992     *nto* | *qnx*)
7993       # QNX uses GNU C++, but need to define -shared option too, otherwise
7994       # it will coredump.
7995       lt_prog_compiler_pic='-fPIC -shared'
7996       ;;
7997
7998     sysv4*MP*)
7999       if test -d /usr/nec; then
8000         lt_prog_compiler_pic=-Kconform_pic
8001       fi
8002       ;;
8003
8004     *)
8005       lt_prog_compiler_pic='-fPIC'
8006       ;;
8007     esac
8008   else
8009     # PORTME Check for flag to pass linker flags through the system compiler.
8010     case $host_os in
8011     aix*)
8012       lt_prog_compiler_wl='-Wl,'
8013       if test "$host_cpu" = ia64; then
8014         # AIX 5 now supports IA64 processor
8015         lt_prog_compiler_static='-Bstatic'
8016       else
8017         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8018       fi
8019       ;;
8020
8021     mingw* | cygwin* | pw32* | os2* | cegcc*)
8022       # This hack is so that the source file can tell whether it is being
8023       # built for inclusion in a dll (and should export symbols for example).
8024       lt_prog_compiler_pic='-DDLL_EXPORT'
8025       ;;
8026
8027     hpux9* | hpux10* | hpux11*)
8028       lt_prog_compiler_wl='-Wl,'
8029       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8030       # not for PA HP-UX.
8031       case $host_cpu in
8032       hppa*64*|ia64*)
8033         # +Z the default
8034         ;;
8035       *)
8036         lt_prog_compiler_pic='+Z'
8037         ;;
8038       esac
8039       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8040       lt_prog_compiler_static='${wl}-a ${wl}archive'
8041       ;;
8042
8043     irix5* | irix6* | nonstopux*)
8044       lt_prog_compiler_wl='-Wl,'
8045       # PIC (with -KPIC) is the default.
8046       lt_prog_compiler_static='-non_shared'
8047       ;;
8048
8049     linux* | k*bsd*-gnu)
8050       case $cc_basename in
8051       # old Intel for x86_64 which still supported -KPIC.
8052       ecc*)
8053         lt_prog_compiler_wl='-Wl,'
8054         lt_prog_compiler_pic='-KPIC'
8055         lt_prog_compiler_static='-static'
8056         ;;
8057       # icc used to be incompatible with GCC.
8058       # ICC 10 doesn't accept -KPIC any more.
8059       icc* | ifort*)
8060         lt_prog_compiler_wl='-Wl,'
8061         lt_prog_compiler_pic='-fPIC'
8062         lt_prog_compiler_static='-static'
8063         ;;
8064       # Lahey Fortran 8.1.
8065       lf95*)
8066         lt_prog_compiler_wl='-Wl,'
8067         lt_prog_compiler_pic='--shared'
8068         lt_prog_compiler_static='--static'
8069         ;;
8070       pgcc* | pgf77* | pgf90* | pgf95*)
8071         # Portland Group compilers (*not* the Pentium gcc compiler,
8072         # which looks to be a dead project)
8073         lt_prog_compiler_wl='-Wl,'
8074         lt_prog_compiler_pic='-fpic'
8075         lt_prog_compiler_static='-Bstatic'
8076         ;;
8077       ccc*)
8078         lt_prog_compiler_wl='-Wl,'
8079         # All Alpha code is PIC.
8080         lt_prog_compiler_static='-non_shared'
8081         ;;
8082       xl*)
8083         # IBM XL C 8.0/Fortran 10.1 on PPC
8084         lt_prog_compiler_wl='-Wl,'
8085         lt_prog_compiler_pic='-qpic'
8086         lt_prog_compiler_static='-qstaticlink'
8087         ;;
8088       *)
8089         case `$CC -V 2>&1 | sed 5q` in
8090         *Sun\ C*)
8091           # Sun C 5.9
8092           lt_prog_compiler_pic='-KPIC'
8093           lt_prog_compiler_static='-Bstatic'
8094           lt_prog_compiler_wl='-Wl,'
8095           ;;
8096         *Sun\ F*)
8097           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8098           lt_prog_compiler_pic='-KPIC'
8099           lt_prog_compiler_static='-Bstatic'
8100           lt_prog_compiler_wl=''
8101           ;;
8102         esac
8103         ;;
8104       esac
8105       ;;
8106
8107     newsos6)
8108       lt_prog_compiler_pic='-KPIC'
8109       lt_prog_compiler_static='-Bstatic'
8110       ;;
8111
8112     *nto* | *qnx*)
8113       # QNX uses GNU C++, but need to define -shared option too, otherwise
8114       # it will coredump.
8115       lt_prog_compiler_pic='-fPIC -shared'
8116       ;;
8117
8118     osf3* | osf4* | osf5*)
8119       lt_prog_compiler_wl='-Wl,'
8120       # All OSF/1 code is PIC.
8121       lt_prog_compiler_static='-non_shared'
8122       ;;
8123
8124     rdos*)
8125       lt_prog_compiler_static='-non_shared'
8126       ;;
8127
8128     solaris*)
8129       lt_prog_compiler_pic='-KPIC'
8130       lt_prog_compiler_static='-Bstatic'
8131       case $cc_basename in
8132       f77* | f90* | f95*)
8133         lt_prog_compiler_wl='-Qoption ld ';;
8134       *)
8135         lt_prog_compiler_wl='-Wl,';;
8136       esac
8137       ;;
8138
8139     sunos4*)
8140       lt_prog_compiler_wl='-Qoption ld '
8141       lt_prog_compiler_pic='-PIC'
8142       lt_prog_compiler_static='-Bstatic'
8143       ;;
8144
8145     sysv4 | sysv4.2uw2* | sysv4.3*)
8146       lt_prog_compiler_wl='-Wl,'
8147       lt_prog_compiler_pic='-KPIC'
8148       lt_prog_compiler_static='-Bstatic'
8149       ;;
8150
8151     sysv4*MP*)
8152       if test -d /usr/nec ;then
8153         lt_prog_compiler_pic='-Kconform_pic'
8154         lt_prog_compiler_static='-Bstatic'
8155       fi
8156       ;;
8157
8158     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8159       lt_prog_compiler_wl='-Wl,'
8160       lt_prog_compiler_pic='-KPIC'
8161       lt_prog_compiler_static='-Bstatic'
8162       ;;
8163
8164     unicos*)
8165       lt_prog_compiler_wl='-Wl,'
8166       lt_prog_compiler_can_build_shared=no
8167       ;;
8168
8169     uts4*)
8170       lt_prog_compiler_pic='-pic'
8171       lt_prog_compiler_static='-Bstatic'
8172       ;;
8173
8174     *)
8175       lt_prog_compiler_can_build_shared=no
8176       ;;
8177     esac
8178   fi
8179
8180 case $host_os in
8181   # For platforms which do not support PIC, -DPIC is meaningless:
8182   *djgpp*)
8183     lt_prog_compiler_pic=
8184     ;;
8185   *)
8186     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8187     ;;
8188 esac
8189 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8190 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8191
8192
8193
8194
8195
8196
8197 #
8198 # Check to make sure the PIC flag actually works.
8199 #
8200 if test -n "$lt_prog_compiler_pic"; then
8201   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8202 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8203 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8204   echo $ECHO_N "(cached) $ECHO_C" >&6
8205 else
8206   lt_cv_prog_compiler_pic_works=no
8207    ac_outfile=conftest.$ac_objext
8208    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8209    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8210    # Insert the option either (1) after the last *FLAGS variable, or
8211    # (2) before a word containing "conftest.", or (3) at the end.
8212    # Note that $ac_compile itself does not contain backslashes and begins
8213    # with a dollar sign (not a hyphen), so the echo should work correctly.
8214    # The option is referenced via a variable to avoid confusing sed.
8215    lt_compile=`echo "$ac_compile" | $SED \
8216    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8217    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8218    -e 's:$: $lt_compiler_flag:'`
8219    (eval echo "\"\$as_me:8219: $lt_compile\"" >&5)
8220    (eval "$lt_compile" 2>conftest.err)
8221    ac_status=$?
8222    cat conftest.err >&5
8223    echo "$as_me:8223: \$? = $ac_status" >&5
8224    if (exit $ac_status) && test -s "$ac_outfile"; then
8225      # The compiler can only warn and ignore the option if not recognized
8226      # So say no if there are warnings other than the usual output.
8227      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8228      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8229      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8230        lt_cv_prog_compiler_pic_works=yes
8231      fi
8232    fi
8233    $RM conftest*
8234
8235 fi
8236 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8237 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8238
8239 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8240     case $lt_prog_compiler_pic in
8241      "" | " "*) ;;
8242      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8243      esac
8244 else
8245     lt_prog_compiler_pic=
8246      lt_prog_compiler_can_build_shared=no
8247 fi
8248
8249 fi
8250
8251
8252
8253
8254
8255
8256 #
8257 # Check to make sure the static flag actually works.
8258 #
8259 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8260 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8261 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8262 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8263   echo $ECHO_N "(cached) $ECHO_C" >&6
8264 else
8265   lt_cv_prog_compiler_static_works=no
8266    save_LDFLAGS="$LDFLAGS"
8267    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8268    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8269    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8270      # The linker can only warn and ignore the option if not recognized
8271      # So say no if there are warnings
8272      if test -s conftest.err; then
8273        # Append any errors to the config.log.
8274        cat conftest.err 1>&5
8275        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8276        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8277        if diff conftest.exp conftest.er2 >/dev/null; then
8278          lt_cv_prog_compiler_static_works=yes
8279        fi
8280      else
8281        lt_cv_prog_compiler_static_works=yes
8282      fi
8283    fi
8284    $RM -r conftest*
8285    LDFLAGS="$save_LDFLAGS"
8286
8287 fi
8288 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8289 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8290
8291 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8292     :
8293 else
8294     lt_prog_compiler_static=
8295 fi
8296
8297
8298
8299
8300
8301
8302
8303   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8304 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8305 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8306   echo $ECHO_N "(cached) $ECHO_C" >&6
8307 else
8308   lt_cv_prog_compiler_c_o=no
8309    $RM -r conftest 2>/dev/null
8310    mkdir conftest
8311    cd conftest
8312    mkdir out
8313    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314
8315    lt_compiler_flag="-o out/conftest2.$ac_objext"
8316    # Insert the option either (1) after the last *FLAGS variable, or
8317    # (2) before a word containing "conftest.", or (3) at the end.
8318    # Note that $ac_compile itself does not contain backslashes and begins
8319    # with a dollar sign (not a hyphen), so the echo should work correctly.
8320    lt_compile=`echo "$ac_compile" | $SED \
8321    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8322    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8323    -e 's:$: $lt_compiler_flag:'`
8324    (eval echo "\"\$as_me:8324: $lt_compile\"" >&5)
8325    (eval "$lt_compile" 2>out/conftest.err)
8326    ac_status=$?
8327    cat out/conftest.err >&5
8328    echo "$as_me:8328: \$? = $ac_status" >&5
8329    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8330    then
8331      # The compiler can only warn and ignore the option if not recognized
8332      # So say no if there are warnings
8333      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8334      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8335      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8336        lt_cv_prog_compiler_c_o=yes
8337      fi
8338    fi
8339    chmod u+w . 2>&5
8340    $RM conftest*
8341    # SGI C++ compiler will create directory out/ii_files/ for
8342    # template instantiation
8343    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8344    $RM out/* && rmdir out
8345    cd ..
8346    $RM -r conftest
8347    $RM conftest*
8348
8349 fi
8350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8352
8353
8354
8355
8356
8357
8358   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8359 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8360 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8361   echo $ECHO_N "(cached) $ECHO_C" >&6
8362 else
8363   lt_cv_prog_compiler_c_o=no
8364    $RM -r conftest 2>/dev/null
8365    mkdir conftest
8366    cd conftest
8367    mkdir out
8368    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369
8370    lt_compiler_flag="-o out/conftest2.$ac_objext"
8371    # Insert the option either (1) after the last *FLAGS variable, or
8372    # (2) before a word containing "conftest.", or (3) at the end.
8373    # Note that $ac_compile itself does not contain backslashes and begins
8374    # with a dollar sign (not a hyphen), so the echo should work correctly.
8375    lt_compile=`echo "$ac_compile" | $SED \
8376    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8377    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8378    -e 's:$: $lt_compiler_flag:'`
8379    (eval echo "\"\$as_me:8379: $lt_compile\"" >&5)
8380    (eval "$lt_compile" 2>out/conftest.err)
8381    ac_status=$?
8382    cat out/conftest.err >&5
8383    echo "$as_me:8383: \$? = $ac_status" >&5
8384    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8385    then
8386      # The compiler can only warn and ignore the option if not recognized
8387      # So say no if there are warnings
8388      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8389      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8390      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8391        lt_cv_prog_compiler_c_o=yes
8392      fi
8393    fi
8394    chmod u+w . 2>&5
8395    $RM conftest*
8396    # SGI C++ compiler will create directory out/ii_files/ for
8397    # template instantiation
8398    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8399    $RM out/* && rmdir out
8400    cd ..
8401    $RM -r conftest
8402    $RM conftest*
8403
8404 fi
8405 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8406 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8407
8408
8409
8410
8411 hard_links="nottested"
8412 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8413   # do not overwrite the value of need_locks provided by the user
8414   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8415 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8416   hard_links=yes
8417   $RM conftest*
8418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8419   touch conftest.a
8420   ln conftest.a conftest.b 2>&5 || hard_links=no
8421   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8422   echo "$as_me:$LINENO: result: $hard_links" >&5
8423 echo "${ECHO_T}$hard_links" >&6
8424   if test "$hard_links" = no; then
8425     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8426 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8427     need_locks=warn
8428   fi
8429 else
8430   need_locks=no
8431 fi
8432
8433
8434
8435
8436
8437
8438   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8439 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8440
8441   runpath_var=
8442   allow_undefined_flag=
8443   always_export_symbols=no
8444   archive_cmds=
8445   archive_expsym_cmds=
8446   compiler_needs_object=no
8447   enable_shared_with_static_runtimes=no
8448   export_dynamic_flag_spec=
8449   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8450   hardcode_automatic=no
8451   hardcode_direct=no
8452   hardcode_direct_absolute=no
8453   hardcode_libdir_flag_spec=
8454   hardcode_libdir_flag_spec_ld=
8455   hardcode_libdir_separator=
8456   hardcode_minus_L=no
8457   hardcode_shlibpath_var=unsupported
8458   inherit_rpath=no
8459   link_all_deplibs=unknown
8460   module_cmds=
8461   module_expsym_cmds=
8462   old_archive_from_new_cmds=
8463   old_archive_from_expsyms_cmds=
8464   thread_safe_flag_spec=
8465   whole_archive_flag_spec=
8466   # include_expsyms should be a list of space-separated symbols to be *always*
8467   # included in the symbol list
8468   include_expsyms=
8469   # exclude_expsyms can be an extended regexp of symbols to exclude
8470   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8471   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8472   # as well as any symbol that contains `d'.
8473   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8474   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8475   # platforms (ab)use it in PIC code, but their linkers get confused if
8476   # the symbol is explicitly referenced.  Since portable code cannot
8477   # rely on this symbol name, it's probably fine to never include it in
8478   # preloaded symbol tables.
8479   # Exclude shared library initialization/finalization symbols.
8480   extract_expsyms_cmds=
8481
8482   case $host_os in
8483   cygwin* | mingw* | pw32* | cegcc*)
8484     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8485     # When not using gcc, we currently assume that we are using
8486     # Microsoft Visual C++.
8487     if test "$GCC" != yes; then
8488       with_gnu_ld=no
8489     fi
8490     ;;
8491   interix*)
8492     # we just hope/assume this is gcc and not c89 (= MSVC++)
8493     with_gnu_ld=yes
8494     ;;
8495   openbsd*)
8496     with_gnu_ld=no
8497     ;;
8498   esac
8499
8500   ld_shlibs=yes
8501   if test "$with_gnu_ld" = yes; then
8502     # If archive_cmds runs LD, not CC, wlarc should be empty
8503     wlarc='${wl}'
8504
8505     # Set some defaults for GNU ld with shared library support. These
8506     # are reset later if shared libraries are not supported. Putting them
8507     # here allows them to be overridden if necessary.
8508     runpath_var=LD_RUN_PATH
8509     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8510     export_dynamic_flag_spec='${wl}--export-dynamic'
8511     # ancient GNU ld didn't support --whole-archive et. al.
8512     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8513       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8514     else
8515       whole_archive_flag_spec=
8516     fi
8517     supports_anon_versioning=no
8518     case `$LD -v 2>&1` in
8519       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8520       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8521       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8522       *\ 2.11.*) ;; # other 2.11 versions
8523       *) supports_anon_versioning=yes ;;
8524     esac
8525
8526     # See if GNU ld supports shared libraries.
8527     case $host_os in
8528     aix[3-9]*)
8529       # On AIX/PPC, the GNU linker is very broken
8530       if test "$host_cpu" != ia64; then
8531         ld_shlibs=no
8532         cat <<_LT_EOF 1>&2
8533
8534 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8535 *** to be unable to reliably create shared libraries on AIX.
8536 *** Therefore, libtool is disabling shared libraries support.  If you
8537 *** really care for shared libraries, you may want to modify your PATH
8538 *** so that a non-GNU linker is found, and then restart.
8539
8540 _LT_EOF
8541       fi
8542       ;;
8543
8544     amigaos*)
8545       case $host_cpu in
8546       powerpc)
8547             # see comment about AmigaOS4 .so support
8548             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549             archive_expsym_cmds=''
8550         ;;
8551       m68k)
8552             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)'
8553             hardcode_libdir_flag_spec='-L$libdir'
8554             hardcode_minus_L=yes
8555         ;;
8556       esac
8557       ;;
8558
8559     beos*)
8560       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8561         allow_undefined_flag=unsupported
8562         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8563         # support --undefined.  This deserves some investigation.  FIXME
8564         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8565       else
8566         ld_shlibs=no
8567       fi
8568       ;;
8569
8570     cygwin* | mingw* | pw32* | cegcc*)
8571       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8572       # as there is no search path for DLLs.
8573       hardcode_libdir_flag_spec='-L$libdir'
8574       allow_undefined_flag=unsupported
8575       always_export_symbols=no
8576       enable_shared_with_static_runtimes=yes
8577       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578
8579       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8580         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8581         # If the export-symbols file already is a .def file (1st line
8582         # is EXPORTS), use it as is; otherwise, prepend...
8583         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8584           cp $export_symbols $output_objdir/$soname.def;
8585         else
8586           echo EXPORTS > $output_objdir/$soname.def;
8587           cat $export_symbols >> $output_objdir/$soname.def;
8588         fi~
8589         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8590       else
8591         ld_shlibs=no
8592       fi
8593       ;;
8594
8595     interix[3-9]*)
8596       hardcode_direct=no
8597       hardcode_shlibpath_var=no
8598       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599       export_dynamic_flag_spec='${wl}-E'
8600       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8601       # Instead, shared libraries are loaded at an image base (0x10000000 by
8602       # default) and relocated if they conflict, which is a slow very memory
8603       # consuming and fragmenting process.  To avoid this, we pick a random,
8604       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8605       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8606       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8607       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'
8608       ;;
8609
8610     gnu* | linux* | tpf* | k*bsd*-gnu)
8611       tmp_diet=no
8612       if test "$host_os" = linux-dietlibc; then
8613         case $cc_basename in
8614           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8615         esac
8616       fi
8617       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8618          && test "$tmp_diet" = no
8619       then
8620         tmp_addflag=
8621         tmp_sharedflag='-shared'
8622         case $cc_basename,$host_cpu in
8623         pgcc*)                          # Portland Group C compiler
8624           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'
8625           tmp_addflag=' $pic_flag'
8626           ;;
8627         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8628           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'
8629           tmp_addflag=' $pic_flag -Mnomain' ;;
8630         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8631           tmp_addflag=' -i_dynamic' ;;
8632         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8633           tmp_addflag=' -i_dynamic -nofor_main' ;;
8634         ifc* | ifort*)                  # Intel Fortran compiler
8635           tmp_addflag=' -nofor_main' ;;
8636         lf95*)                          # Lahey Fortran 8.1
8637           whole_archive_flag_spec=
8638           tmp_sharedflag='--shared' ;;
8639         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8640           tmp_sharedflag='-qmkshrobj'
8641           tmp_addflag= ;;
8642         esac
8643         case `$CC -V 2>&1 | sed 5q` in
8644         *Sun\ C*)                       # Sun C 5.9
8645           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'
8646           compiler_needs_object=yes
8647           tmp_sharedflag='-G' ;;
8648         *Sun\ F*)                       # Sun Fortran 8.3
8649           tmp_sharedflag='-G' ;;
8650         esac
8651         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652
8653         if test "x$supports_anon_versioning" = xyes; then
8654           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8655             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8656             echo "local: *; };" >> $output_objdir/$libname.ver~
8657             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8658         fi
8659
8660         case $cc_basename in
8661         xlf*)
8662           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8663           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8664           hardcode_libdir_flag_spec=
8665           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8666           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8667           if test "x$supports_anon_versioning" = xyes; then
8668             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8669               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8670               echo "local: *; };" >> $output_objdir/$libname.ver~
8671               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8672           fi
8673           ;;
8674         esac
8675       else
8676         ld_shlibs=no
8677       fi
8678       ;;
8679
8680     netbsd*)
8681       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8682         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8683         wlarc=
8684       else
8685         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8686         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8687       fi
8688       ;;
8689
8690     solaris*)
8691       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8692         ld_shlibs=no
8693         cat <<_LT_EOF 1>&2
8694
8695 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8696 *** create shared libraries on Solaris systems.  Therefore, libtool
8697 *** is disabling shared libraries support.  We urge you to upgrade GNU
8698 *** binutils to release 2.9.1 or newer.  Another option is to modify
8699 *** your PATH or compiler configuration so that the native linker is
8700 *** used, and then restart.
8701
8702 _LT_EOF
8703       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8704         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8705         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8706       else
8707         ld_shlibs=no
8708       fi
8709       ;;
8710
8711     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8712       case `$LD -v 2>&1` in
8713         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8714         ld_shlibs=no
8715         cat <<_LT_EOF 1>&2
8716
8717 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8718 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8719 *** is disabling shared libraries support.  We urge you to upgrade GNU
8720 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8721 *** your PATH or compiler configuration so that the native linker is
8722 *** used, and then restart.
8723
8724 _LT_EOF
8725         ;;
8726         *)
8727           # For security reasons, it is highly recommended that you always
8728           # use absolute paths for naming shared libraries, and exclude the
8729           # DT_RUNPATH tag from executables and libraries.  But doing so
8730           # requires that you compile everything twice, which is a pain.
8731           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8732             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8733             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8734             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8735           else
8736             ld_shlibs=no
8737           fi
8738         ;;
8739       esac
8740       ;;
8741
8742     sunos4*)
8743       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8744       wlarc=
8745       hardcode_direct=yes
8746       hardcode_shlibpath_var=no
8747       ;;
8748
8749     *)
8750       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8751         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8752         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8753       else
8754         ld_shlibs=no
8755       fi
8756       ;;
8757     esac
8758
8759     if test "$ld_shlibs" = no; then
8760       runpath_var=
8761       hardcode_libdir_flag_spec=
8762       export_dynamic_flag_spec=
8763       whole_archive_flag_spec=
8764     fi
8765   else
8766     # PORTME fill in a description of your system's linker (not GNU ld)
8767     case $host_os in
8768     aix3*)
8769       allow_undefined_flag=unsupported
8770       always_export_symbols=yes
8771       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'
8772       # Note: this linker hardcodes the directories in LIBPATH if there
8773       # are no directories specified by -L.
8774       hardcode_minus_L=yes
8775       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8776         # Neither direct hardcoding nor static linking is supported with a
8777         # broken collect2.
8778         hardcode_direct=unsupported
8779       fi
8780       ;;
8781
8782     aix[4-9]*)
8783       if test "$host_cpu" = ia64; then
8784         # On IA64, the linker does run time linking by default, so we don't
8785         # have to do anything special.
8786         aix_use_runtimelinking=no
8787         exp_sym_flag='-Bexport'
8788         no_entry_flag=""
8789       else
8790         # If we're using GNU nm, then we don't want the "-C" option.
8791         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8792         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8793           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'
8794         else
8795           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'
8796         fi
8797         aix_use_runtimelinking=no
8798
8799         # Test if we are trying to use run time linking or normal
8800         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8801         # need to do runtime linking.
8802         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8803           for ld_flag in $LDFLAGS; do
8804           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8805             aix_use_runtimelinking=yes
8806             break
8807           fi
8808           done
8809           ;;
8810         esac
8811
8812         exp_sym_flag='-bexport'
8813         no_entry_flag='-bnoentry'
8814       fi
8815
8816       # When large executables or shared objects are built, AIX ld can
8817       # have problems creating the table of contents.  If linking a library
8818       # or program results in "error TOC overflow" add -mminimal-toc to
8819       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8820       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8821
8822       archive_cmds=''
8823       hardcode_direct=yes
8824       hardcode_direct_absolute=yes
8825       hardcode_libdir_separator=':'
8826       link_all_deplibs=yes
8827       file_list_spec='${wl}-f,'
8828
8829       if test "$GCC" = yes; then
8830         case $host_os in aix4.[012]|aix4.[012].*)
8831         # We only want to do this on AIX 4.2 and lower, the check
8832         # below for broken collect2 doesn't work under 4.3+
8833           collect2name=`${CC} -print-prog-name=collect2`
8834           if test -f "$collect2name" &&
8835            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8836           then
8837           # We have reworked collect2
8838           :
8839           else
8840           # We have old collect2
8841           hardcode_direct=unsupported
8842           # It fails to find uninstalled libraries when the uninstalled
8843           # path is not listed in the libpath.  Setting hardcode_minus_L
8844           # to unsupported forces relinking
8845           hardcode_minus_L=yes
8846           hardcode_libdir_flag_spec='-L$libdir'
8847           hardcode_libdir_separator=
8848           fi
8849           ;;
8850         esac
8851         shared_flag='-shared'
8852         if test "$aix_use_runtimelinking" = yes; then
8853           shared_flag="$shared_flag "'${wl}-G'
8854         fi
8855       else
8856         # not using gcc
8857         if test "$host_cpu" = ia64; then
8858         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8859         # chokes on -Wl,-G. The following line is correct:
8860           shared_flag='-G'
8861         else
8862           if test "$aix_use_runtimelinking" = yes; then
8863             shared_flag='${wl}-G'
8864           else
8865             shared_flag='${wl}-bM:SRE'
8866           fi
8867         fi
8868       fi
8869
8870       export_dynamic_flag_spec='${wl}-bexpall'
8871       # It seems that -bexpall does not export symbols beginning with
8872       # underscore (_), so it is better to generate a list of symbols to export.
8873       always_export_symbols=yes
8874       if test "$aix_use_runtimelinking" = yes; then
8875         # Warning - without using the other runtime loading flags (-brtl),
8876         # -berok will link without error, but may produce a broken library.
8877         allow_undefined_flag='-berok'
8878         # Determine the default libpath from the value encoded in an
8879         # empty executable.
8880         if test x$gcc_no_link = xyes; then
8881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8883    { (exit 1); exit 1; }; }
8884 fi
8885 cat >conftest.$ac_ext <<_ACEOF
8886 /* confdefs.h.  */
8887 _ACEOF
8888 cat confdefs.h >>conftest.$ac_ext
8889 cat >>conftest.$ac_ext <<_ACEOF
8890 /* end confdefs.h.  */
8891
8892 int
8893 main ()
8894 {
8895
8896   ;
8897   return 0;
8898 }
8899 _ACEOF
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8902   (eval $ac_link) 2>conftest.er1
8903   ac_status=$?
8904   grep -v '^ *+' conftest.er1 >conftest.err
8905   rm -f conftest.er1
8906   cat conftest.err >&5
8907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8908   (exit $ac_status); } &&
8909          { ac_try='test -z "$ac_c_werror_flag"
8910                          || test ! -s conftest.err'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; } &&
8916          { ac_try='test -s conftest$ac_exeext'
8917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918   (eval $ac_try) 2>&5
8919   ac_status=$?
8920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921   (exit $ac_status); }; }; then
8922
8923 lt_aix_libpath_sed='
8924     /Import File Strings/,/^$/ {
8925         /^0/ {
8926             s/^0  *\(.*\)$/\1/
8927             p
8928         }
8929     }'
8930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8931 # Check for a 64-bit object if we didn't find anything.
8932 if test -z "$aix_libpath"; then
8933   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 fi
8935 else
8936   echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.$ac_ext >&5
8938
8939 fi
8940 rm -f conftest.err conftest.$ac_objext \
8941       conftest$ac_exeext conftest.$ac_ext
8942 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943
8944         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8945         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"
8946       else
8947         if test "$host_cpu" = ia64; then
8948           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8949           allow_undefined_flag="-z nodefs"
8950           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"
8951         else
8952          # Determine the default libpath from the value encoded in an
8953          # empty executable.
8954          if test x$gcc_no_link = xyes; then
8955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8957    { (exit 1); exit 1; }; }
8958 fi
8959 cat >conftest.$ac_ext <<_ACEOF
8960 /* confdefs.h.  */
8961 _ACEOF
8962 cat confdefs.h >>conftest.$ac_ext
8963 cat >>conftest.$ac_ext <<_ACEOF
8964 /* end confdefs.h.  */
8965
8966 int
8967 main ()
8968 {
8969
8970   ;
8971   return 0;
8972 }
8973 _ACEOF
8974 rm -f conftest.$ac_objext conftest$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976   (eval $ac_link) 2>conftest.er1
8977   ac_status=$?
8978   grep -v '^ *+' conftest.er1 >conftest.err
8979   rm -f conftest.er1
8980   cat conftest.err >&5
8981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982   (exit $ac_status); } &&
8983          { ac_try='test -z "$ac_c_werror_flag"
8984                          || test ! -s conftest.err'
8985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986   (eval $ac_try) 2>&5
8987   ac_status=$?
8988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989   (exit $ac_status); }; } &&
8990          { ac_try='test -s conftest$ac_exeext'
8991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8992   (eval $ac_try) 2>&5
8993   ac_status=$?
8994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995   (exit $ac_status); }; }; then
8996
8997 lt_aix_libpath_sed='
8998     /Import File Strings/,/^$/ {
8999         /^0/ {
9000             s/^0  *\(.*\)$/\1/
9001             p
9002         }
9003     }'
9004 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9005 # Check for a 64-bit object if we didn't find anything.
9006 if test -z "$aix_libpath"; then
9007   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008 fi
9009 else
9010   echo "$as_me: failed program was:" >&5
9011 sed 's/^/| /' conftest.$ac_ext >&5
9012
9013 fi
9014 rm -f conftest.err conftest.$ac_objext \
9015       conftest$ac_exeext conftest.$ac_ext
9016 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9017
9018          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9019           # Warning - without using the other run time loading flags,
9020           # -berok will link without error, but may produce a broken library.
9021           no_undefined_flag=' ${wl}-bernotok'
9022           allow_undefined_flag=' ${wl}-berok'
9023           # Exported symbols can be pulled into shared objects from archives
9024           whole_archive_flag_spec='$convenience'
9025           archive_cmds_need_lc=yes
9026           # This is similar to how AIX traditionally builds its shared libraries.
9027           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'
9028         fi
9029       fi
9030       ;;
9031
9032     amigaos*)
9033       case $host_cpu in
9034       powerpc)
9035             # see comment about AmigaOS4 .so support
9036             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037             archive_expsym_cmds=''
9038         ;;
9039       m68k)
9040             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)'
9041             hardcode_libdir_flag_spec='-L$libdir'
9042             hardcode_minus_L=yes
9043         ;;
9044       esac
9045       ;;
9046
9047     bsdi[45]*)
9048       export_dynamic_flag_spec=-rdynamic
9049       ;;
9050
9051     cygwin* | mingw* | pw32* | cegcc*)
9052       # When not using gcc, we currently assume that we are using
9053       # Microsoft Visual C++.
9054       # hardcode_libdir_flag_spec is actually meaningless, as there is
9055       # no search path for DLLs.
9056       hardcode_libdir_flag_spec=' '
9057       allow_undefined_flag=unsupported
9058       # Tell ltmain to make .lib files, not .a files.
9059       libext=lib
9060       # Tell ltmain to make .dll files, not .so files.
9061       shrext_cmds=".dll"
9062       # FIXME: Setting linknames here is a bad hack.
9063       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9064       # The linker will automatically build a .lib file if we build a DLL.
9065       old_archive_from_new_cmds='true'
9066       # FIXME: Should let the user specify the lib program.
9067       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9068       fix_srcfile_path='`cygpath -w "$srcfile"`'
9069       enable_shared_with_static_runtimes=yes
9070       ;;
9071
9072     darwin* | rhapsody*)
9073
9074
9075   archive_cmds_need_lc=no
9076   hardcode_direct=no
9077   hardcode_automatic=yes
9078   hardcode_shlibpath_var=unsupported
9079   whole_archive_flag_spec=''
9080   link_all_deplibs=yes
9081   allow_undefined_flag="$_lt_dar_allow_undefined"
9082   case $cc_basename in
9083      ifort*) _lt_dar_can_shared=yes ;;
9084      *) _lt_dar_can_shared=$GCC ;;
9085   esac
9086   if test "$_lt_dar_can_shared" = "yes"; then
9087     output_verbose_link_cmd=echo
9088     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9089     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9090     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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9091     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9092
9093   else
9094   ld_shlibs=no
9095   fi
9096
9097       ;;
9098
9099     dgux*)
9100       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9101       hardcode_libdir_flag_spec='-L$libdir'
9102       hardcode_shlibpath_var=no
9103       ;;
9104
9105     freebsd1*)
9106       ld_shlibs=no
9107       ;;
9108
9109     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9110     # support.  Future versions do this automatically, but an explicit c++rt0.o
9111     # does not break anything, and helps significantly (at the cost of a little
9112     # extra space).
9113     freebsd2.2*)
9114       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9115       hardcode_libdir_flag_spec='-R$libdir'
9116       hardcode_direct=yes
9117       hardcode_shlibpath_var=no
9118       ;;
9119
9120     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9121     freebsd2*)
9122       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9123       hardcode_direct=yes
9124       hardcode_minus_L=yes
9125       hardcode_shlibpath_var=no
9126       ;;
9127
9128     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9129     freebsd* | dragonfly*)
9130       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9131       hardcode_libdir_flag_spec='-R$libdir'
9132       hardcode_direct=yes
9133       hardcode_shlibpath_var=no
9134       ;;
9135
9136     hpux9*)
9137       if test "$GCC" = yes; then
9138         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'
9139       else
9140         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'
9141       fi
9142       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9143       hardcode_libdir_separator=:
9144       hardcode_direct=yes
9145
9146       # hardcode_minus_L: Not really in the search PATH,
9147       # but as the default location of the library.
9148       hardcode_minus_L=yes
9149       export_dynamic_flag_spec='${wl}-E'
9150       ;;
9151
9152     hpux10*)
9153       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9154         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9155       else
9156         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157       fi
9158       if test "$with_gnu_ld" = no; then
9159         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9160         hardcode_libdir_flag_spec_ld='+b $libdir'
9161         hardcode_libdir_separator=:
9162         hardcode_direct=yes
9163         hardcode_direct_absolute=yes
9164         export_dynamic_flag_spec='${wl}-E'
9165         # hardcode_minus_L: Not really in the search PATH,
9166         # but as the default location of the library.
9167         hardcode_minus_L=yes
9168       fi
9169       ;;
9170
9171     hpux11*)
9172       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9173         case $host_cpu in
9174         hppa*64*)
9175           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9176           ;;
9177         ia64*)
9178           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9179           ;;
9180         *)
9181           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9182           ;;
9183         esac
9184       else
9185         case $host_cpu in
9186         hppa*64*)
9187           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9188           ;;
9189         ia64*)
9190           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9191           ;;
9192         *)
9193           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9194           ;;
9195         esac
9196       fi
9197       if test "$with_gnu_ld" = no; then
9198         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9199         hardcode_libdir_separator=:
9200
9201         case $host_cpu in
9202         hppa*64*|ia64*)
9203           hardcode_direct=no
9204           hardcode_shlibpath_var=no
9205           ;;
9206         *)
9207           hardcode_direct=yes
9208           hardcode_direct_absolute=yes
9209           export_dynamic_flag_spec='${wl}-E'
9210
9211           # hardcode_minus_L: Not really in the search PATH,
9212           # but as the default location of the library.
9213           hardcode_minus_L=yes
9214           ;;
9215         esac
9216       fi
9217       ;;
9218
9219     irix5* | irix6* | nonstopux*)
9220       if test "$GCC" = yes; then
9221         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'
9222         # Try to use the -exported_symbol ld option, if it does not
9223         # work, assume that -exports_file does not work either and
9224         # implicitly export all symbols.
9225         save_LDFLAGS="$LDFLAGS"
9226         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9227         if test x$gcc_no_link = xyes; then
9228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9230    { (exit 1); exit 1; }; }
9231 fi
9232 cat >conftest.$ac_ext <<_ACEOF
9233 int foo(void) {}
9234 _ACEOF
9235 rm -f conftest.$ac_objext conftest$ac_exeext
9236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9237   (eval $ac_link) 2>conftest.er1
9238   ac_status=$?
9239   grep -v '^ *+' conftest.er1 >conftest.err
9240   rm -f conftest.er1
9241   cat conftest.err >&5
9242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9243   (exit $ac_status); } &&
9244          { ac_try='test -z "$ac_c_werror_flag"
9245                          || test ! -s conftest.err'
9246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247   (eval $ac_try) 2>&5
9248   ac_status=$?
9249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250   (exit $ac_status); }; } &&
9251          { ac_try='test -s conftest$ac_exeext'
9252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9253   (eval $ac_try) 2>&5
9254   ac_status=$?
9255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256   (exit $ac_status); }; }; then
9257   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'
9258
9259 else
9260   echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9262
9263 fi
9264 rm -f conftest.err conftest.$ac_objext \
9265       conftest$ac_exeext conftest.$ac_ext
9266         LDFLAGS="$save_LDFLAGS"
9267       else
9268         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'
9269         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'
9270       fi
9271       archive_cmds_need_lc='no'
9272       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273       hardcode_libdir_separator=:
9274       inherit_rpath=yes
9275       link_all_deplibs=yes
9276       ;;
9277
9278     netbsd*)
9279       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9280         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9281       else
9282         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9283       fi
9284       hardcode_libdir_flag_spec='-R$libdir'
9285       hardcode_direct=yes
9286       hardcode_shlibpath_var=no
9287       ;;
9288
9289     newsos6)
9290       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9291       hardcode_direct=yes
9292       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293       hardcode_libdir_separator=:
9294       hardcode_shlibpath_var=no
9295       ;;
9296
9297     *nto* | *qnx*)
9298       ;;
9299
9300     openbsd*)
9301       if test -f /usr/libexec/ld.so; then
9302         hardcode_direct=yes
9303         hardcode_shlibpath_var=no
9304         hardcode_direct_absolute=yes
9305         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9306           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9307           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9308           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9309           export_dynamic_flag_spec='${wl}-E'
9310         else
9311           case $host_os in
9312            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9313              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9314              hardcode_libdir_flag_spec='-R$libdir'
9315              ;;
9316            *)
9317              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9318              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319              ;;
9320           esac
9321         fi
9322       else
9323         ld_shlibs=no
9324       fi
9325       ;;
9326
9327     os2*)
9328       hardcode_libdir_flag_spec='-L$libdir'
9329       hardcode_minus_L=yes
9330       allow_undefined_flag=unsupported
9331       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'
9332       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9333       ;;
9334
9335     osf3*)
9336       if test "$GCC" = yes; then
9337         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9338         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'
9339       else
9340         allow_undefined_flag=' -expect_unresolved \*'
9341         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'
9342       fi
9343       archive_cmds_need_lc='no'
9344       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345       hardcode_libdir_separator=:
9346       ;;
9347
9348     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9349       if test "$GCC" = yes; then
9350         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9351         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'
9352         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9353       else
9354         allow_undefined_flag=' -expect_unresolved \*'
9355         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'
9356         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~
9357         $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'
9358
9359         # Both c and cxx compiler support -rpath directly
9360         hardcode_libdir_flag_spec='-rpath $libdir'
9361       fi
9362       archive_cmds_need_lc='no'
9363       hardcode_libdir_separator=:
9364       ;;
9365
9366     solaris*)
9367       no_undefined_flag=' -z defs'
9368       if test "$GCC" = yes; then
9369         wlarc='${wl}'
9370         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9371         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9372           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9373       else
9374         case `$CC -V 2>&1` in
9375         *"Compilers 5.0"*)
9376           wlarc=''
9377           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9378           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9379           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9380           ;;
9381         *)
9382           wlarc='${wl}'
9383           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9384           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9385           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9386           ;;
9387         esac
9388       fi
9389       hardcode_libdir_flag_spec='-R$libdir'
9390       hardcode_shlibpath_var=no
9391       case $host_os in
9392       solaris2.[0-5] | solaris2.[0-5].*) ;;
9393       *)
9394         # The compiler driver will combine and reorder linker options,
9395         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9396         # but is careful enough not to reorder.
9397         # Supported since Solaris 2.6 (maybe 2.5.1?)
9398         if test "$GCC" = yes; then
9399           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9400         else
9401           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9402         fi
9403         ;;
9404       esac
9405       link_all_deplibs=yes
9406       ;;
9407
9408     sunos4*)
9409       if test "x$host_vendor" = xsequent; then
9410         # Use $CC to link under sequent, because it throws in some extra .o
9411         # files that make .init and .fini sections work.
9412         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9413       else
9414         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9415       fi
9416       hardcode_libdir_flag_spec='-L$libdir'
9417       hardcode_direct=yes
9418       hardcode_minus_L=yes
9419       hardcode_shlibpath_var=no
9420       ;;
9421
9422     sysv4)
9423       case $host_vendor in
9424         sni)
9425           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9426           hardcode_direct=yes # is this really true???
9427         ;;
9428         siemens)
9429           ## LD is ld it makes a PLAMLIB
9430           ## CC just makes a GrossModule.
9431           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9432           reload_cmds='$CC -r -o $output$reload_objs'
9433           hardcode_direct=no
9434         ;;
9435         motorola)
9436           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9437           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9438         ;;
9439       esac
9440       runpath_var='LD_RUN_PATH'
9441       hardcode_shlibpath_var=no
9442       ;;
9443
9444     sysv4.3*)
9445       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9446       hardcode_shlibpath_var=no
9447       export_dynamic_flag_spec='-Bexport'
9448       ;;
9449
9450     sysv4*MP*)
9451       if test -d /usr/nec; then
9452         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9453         hardcode_shlibpath_var=no
9454         runpath_var=LD_RUN_PATH
9455         hardcode_runpath_var=yes
9456         ld_shlibs=yes
9457       fi
9458       ;;
9459
9460     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9461       no_undefined_flag='${wl}-z,text'
9462       archive_cmds_need_lc=no
9463       hardcode_shlibpath_var=no
9464       runpath_var='LD_RUN_PATH'
9465
9466       if test "$GCC" = yes; then
9467         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9469       else
9470         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9471         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9472       fi
9473       ;;
9474
9475     sysv5* | sco3.2v5* | sco5v6*)
9476       # Note: We can NOT use -z defs as we might desire, because we do not
9477       # link with -lc, and that would cause any symbols used from libc to
9478       # always be unresolved, which means just about no library would
9479       # ever link correctly.  If we're not using GNU ld we use -z text
9480       # though, which does catch some bad symbols but isn't as heavy-handed
9481       # as -z defs.
9482       no_undefined_flag='${wl}-z,text'
9483       allow_undefined_flag='${wl}-z,nodefs'
9484       archive_cmds_need_lc=no
9485       hardcode_shlibpath_var=no
9486       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9487       hardcode_libdir_separator=':'
9488       link_all_deplibs=yes
9489       export_dynamic_flag_spec='${wl}-Bexport'
9490       runpath_var='LD_RUN_PATH'
9491
9492       if test "$GCC" = yes; then
9493         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9495       else
9496         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9497         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9498       fi
9499       ;;
9500
9501     uts4*)
9502       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503       hardcode_libdir_flag_spec='-L$libdir'
9504       hardcode_shlibpath_var=no
9505       ;;
9506
9507     *)
9508       ld_shlibs=no
9509       ;;
9510     esac
9511
9512     if test x$host_vendor = xsni; then
9513       case $host in
9514       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9515         export_dynamic_flag_spec='${wl}-Blargedynsym'
9516         ;;
9517       esac
9518     fi
9519   fi
9520
9521 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9522 echo "${ECHO_T}$ld_shlibs" >&6
9523 test "$ld_shlibs" = no && can_build_shared=no
9524
9525 with_gnu_ld=$with_gnu_ld
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541 #
9542 # Do we need to explicitly link libc?
9543 #
9544 case "x$archive_cmds_need_lc" in
9545 x|xyes)
9546   # Assume -lc should be added
9547   archive_cmds_need_lc=yes
9548
9549   if test "$enable_shared" = yes && test "$GCC" = yes; then
9550     case $archive_cmds in
9551     *'~'*)
9552       # FIXME: we may have to deal with multi-command sequences.
9553       ;;
9554     '$CC '*)
9555       # Test whether the compiler implicitly links with -lc since on some
9556       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9557       # to ld, don't add -lc before -lgcc.
9558       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9559 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9560 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9561   echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563   $RM conftest*
9564         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9565
9566         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9567   (eval $ac_compile) 2>&5
9568   ac_status=$?
9569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570   (exit $ac_status); } 2>conftest.err; then
9571           soname=conftest
9572           lib=conftest
9573           libobjs=conftest.$ac_objext
9574           deplibs=
9575           wl=$lt_prog_compiler_wl
9576           pic_flag=$lt_prog_compiler_pic
9577           compiler_flags=-v
9578           linker_flags=-v
9579           verstring=
9580           output_objdir=.
9581           libname=conftest
9582           lt_save_allow_undefined_flag=$allow_undefined_flag
9583           allow_undefined_flag=
9584           if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9585   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9586   ac_status=$?
9587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588   (exit $ac_status); }
9589           then
9590             lt_cv_archive_cmds_need_lc=no
9591           else
9592             lt_cv_archive_cmds_need_lc=yes
9593           fi
9594           allow_undefined_flag=$lt_save_allow_undefined_flag
9595         else
9596           cat conftest.err 1>&5
9597         fi
9598         $RM conftest*
9599
9600 fi
9601 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9602 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9603       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9604       ;;
9605     esac
9606   fi
9607   ;;
9608 esac
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9767 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9768
9769 if test "$GCC" = yes; then
9770   case $host_os in
9771     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9772     *) lt_awk_arg="/^libraries:/" ;;
9773   esac
9774   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9775   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9776     # if the path contains ";" then we assume it to be the separator
9777     # otherwise default to the standard path separator (i.e. ":") - it is
9778     # assumed that no part of a normal pathname contains ";" but that should
9779     # okay in the real world where ";" in dirpaths is itself problematic.
9780     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9781   else
9782     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9783   fi
9784   # Ok, now we have the path, separated by spaces, we can step through it
9785   # and add multilib dir if necessary.
9786   lt_tmp_lt_search_path_spec=
9787   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9788   for lt_sys_path in $lt_search_path_spec; do
9789     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9790       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9791     else
9792       test -d "$lt_sys_path" && \
9793         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9794     fi
9795   done
9796   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9797 BEGIN {RS=" "; FS="/|\n";} {
9798   lt_foo="";
9799   lt_count=0;
9800   for (lt_i = NF; lt_i > 0; lt_i--) {
9801     if ($lt_i != "" && $lt_i != ".") {
9802       if ($lt_i == "..") {
9803         lt_count++;
9804       } else {
9805         if (lt_count == 0) {
9806           lt_foo="/" $lt_i lt_foo;
9807         } else {
9808           lt_count--;
9809         }
9810       }
9811     }
9812   }
9813   if (lt_foo != "") { lt_freq[lt_foo]++; }
9814   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9815 }'`
9816   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9817 else
9818   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9819 fi
9820 library_names_spec=
9821 libname_spec='lib$name'
9822 soname_spec=
9823 shrext_cmds=".so"
9824 postinstall_cmds=
9825 postuninstall_cmds=
9826 finish_cmds=
9827 finish_eval=
9828 shlibpath_var=
9829 shlibpath_overrides_runpath=unknown
9830 version_type=none
9831 dynamic_linker="$host_os ld.so"
9832 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9833 need_lib_prefix=unknown
9834 hardcode_into_libs=no
9835
9836 # when you set need_version to no, make sure it does not cause -set_version
9837 # flags to be left without arguments
9838 need_version=unknown
9839
9840 case $host_os in
9841 aix3*)
9842   version_type=linux
9843   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9844   shlibpath_var=LIBPATH
9845
9846   # AIX 3 has no versioning support, so we append a major version to the name.
9847   soname_spec='${libname}${release}${shared_ext}$major'
9848   ;;
9849
9850 aix[4-9]*)
9851   version_type=linux
9852   need_lib_prefix=no
9853   need_version=no
9854   hardcode_into_libs=yes
9855   if test "$host_cpu" = ia64; then
9856     # AIX 5 supports IA64
9857     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9858     shlibpath_var=LD_LIBRARY_PATH
9859   else
9860     # With GCC up to 2.95.x, collect2 would create an import file
9861     # for dependence libraries.  The import file would start with
9862     # the line `#! .'.  This would cause the generated library to
9863     # depend on `.', always an invalid library.  This was fixed in
9864     # development snapshots of GCC prior to 3.0.
9865     case $host_os in
9866       aix4 | aix4.[01] | aix4.[01].*)
9867       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9868            echo ' yes '
9869            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9870         :
9871       else
9872         can_build_shared=no
9873       fi
9874       ;;
9875     esac
9876     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9877     # soname into executable. Probably we can add versioning support to
9878     # collect2, so additional links can be useful in future.
9879     if test "$aix_use_runtimelinking" = yes; then
9880       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9881       # instead of lib<name>.a to let people know that these are not
9882       # typical AIX shared libraries.
9883       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9884     else
9885       # We preserve .a as extension for shared libraries through AIX4.2
9886       # and later when we are not doing run time linking.
9887       library_names_spec='${libname}${release}.a $libname.a'
9888       soname_spec='${libname}${release}${shared_ext}$major'
9889     fi
9890     shlibpath_var=LIBPATH
9891   fi
9892   ;;
9893
9894 amigaos*)
9895   case $host_cpu in
9896   powerpc)
9897     # Since July 2007 AmigaOS4 officially supports .so libraries.
9898     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9899     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900     ;;
9901   m68k)
9902     library_names_spec='$libname.ixlibrary $libname.a'
9903     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9904     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'
9905     ;;
9906   esac
9907   ;;
9908
9909 beos*)
9910   library_names_spec='${libname}${shared_ext}'
9911   dynamic_linker="$host_os ld.so"
9912   shlibpath_var=LIBRARY_PATH
9913   ;;
9914
9915 bsdi[45]*)
9916   version_type=linux
9917   need_version=no
9918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9919   soname_spec='${libname}${release}${shared_ext}$major'
9920   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9921   shlibpath_var=LD_LIBRARY_PATH
9922   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9923   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9924   # the default ld.so.conf also contains /usr/contrib/lib and
9925   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9926   # libtool to hard-code these into programs
9927   ;;
9928
9929 cygwin* | mingw* | pw32* | cegcc*)
9930   version_type=windows
9931   shrext_cmds=".dll"
9932   need_version=no
9933   need_lib_prefix=no
9934
9935   case $GCC,$host_os in
9936   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9937     library_names_spec='$libname.dll.a'
9938     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9939     postinstall_cmds='base_file=`basename \${file}`~
9940       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9941       dldir=$destdir/`dirname \$dlpath`~
9942       test -d \$dldir || mkdir -p \$dldir~
9943       $install_prog $dir/$dlname \$dldir/$dlname~
9944       chmod a+x \$dldir/$dlname~
9945       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9946         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9947       fi'
9948     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9949       dlpath=$dir/\$dldll~
9950        $RM \$dlpath'
9951     shlibpath_overrides_runpath=yes
9952
9953     case $host_os in
9954     cygwin*)
9955       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9956       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9957       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9958       ;;
9959     mingw* | cegcc*)
9960       # MinGW DLLs use traditional 'lib' prefix
9961       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9962       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9963       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9964         # It is most probably a Windows format PATH printed by
9965         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9966         # path with ; separators, and with drive letters. We can handle the
9967         # drive letters (cygwin fileutils understands them), so leave them,
9968         # especially as we might pass files found there to a mingw objdump,
9969         # which wouldn't understand a cygwinified path. Ahh.
9970         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9971       else
9972         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9973       fi
9974       ;;
9975     pw32*)
9976       # pw32 DLLs use 'pw' prefix rather than 'lib'
9977       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9978       ;;
9979     esac
9980     ;;
9981
9982   *)
9983     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9984     ;;
9985   esac
9986   dynamic_linker='Win32 ld.exe'
9987   # FIXME: first we should search . and the directory the executable is in
9988   shlibpath_var=PATH
9989   ;;
9990
9991 darwin* | rhapsody*)
9992   dynamic_linker="$host_os dyld"
9993   version_type=darwin
9994   need_lib_prefix=no
9995   need_version=no
9996   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9997   soname_spec='${libname}${release}${major}$shared_ext'
9998   shlibpath_overrides_runpath=yes
9999   shlibpath_var=DYLD_LIBRARY_PATH
10000   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10001
10002   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10003   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10004   ;;
10005
10006 dgux*)
10007   version_type=linux
10008   need_lib_prefix=no
10009   need_version=no
10010   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10011   soname_spec='${libname}${release}${shared_ext}$major'
10012   shlibpath_var=LD_LIBRARY_PATH
10013   ;;
10014
10015 freebsd1*)
10016   dynamic_linker=no
10017   ;;
10018
10019 freebsd* | dragonfly*)
10020   # DragonFly does not have aout.  When/if they implement a new
10021   # versioning mechanism, adjust this.
10022   if test -x /usr/bin/objformat; then
10023     objformat=`/usr/bin/objformat`
10024   else
10025     case $host_os in
10026     freebsd[123]*) objformat=aout ;;
10027     *) objformat=elf ;;
10028     esac
10029   fi
10030   version_type=freebsd-$objformat
10031   case $version_type in
10032     freebsd-elf*)
10033       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10034       need_version=no
10035       need_lib_prefix=no
10036       ;;
10037     freebsd-*)
10038       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10039       need_version=yes
10040       ;;
10041   esac
10042   shlibpath_var=LD_LIBRARY_PATH
10043   case $host_os in
10044   freebsd2*)
10045     shlibpath_overrides_runpath=yes
10046     ;;
10047   freebsd3.[01]* | freebsdelf3.[01]*)
10048     shlibpath_overrides_runpath=yes
10049     hardcode_into_libs=yes
10050     ;;
10051   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10052   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10053     shlibpath_overrides_runpath=no
10054     hardcode_into_libs=yes
10055     ;;
10056   *) # from 4.6 on, and DragonFly
10057     shlibpath_overrides_runpath=yes
10058     hardcode_into_libs=yes
10059     ;;
10060   esac
10061   ;;
10062
10063 gnu*)
10064   version_type=linux
10065   need_lib_prefix=no
10066   need_version=no
10067   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10068   soname_spec='${libname}${release}${shared_ext}$major'
10069   shlibpath_var=LD_LIBRARY_PATH
10070   hardcode_into_libs=yes
10071   ;;
10072
10073 hpux9* | hpux10* | hpux11*)
10074   # Give a soname corresponding to the major version so that dld.sl refuses to
10075   # link against other versions.
10076   version_type=sunos
10077   need_lib_prefix=no
10078   need_version=no
10079   case $host_cpu in
10080   ia64*)
10081     shrext_cmds='.so'
10082     hardcode_into_libs=yes
10083     dynamic_linker="$host_os dld.so"
10084     shlibpath_var=LD_LIBRARY_PATH
10085     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10086     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087     soname_spec='${libname}${release}${shared_ext}$major'
10088     if test "X$HPUX_IA64_MODE" = X32; then
10089       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10090     else
10091       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10092     fi
10093     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094     ;;
10095   hppa*64*)
10096     shrext_cmds='.sl'
10097     hardcode_into_libs=yes
10098     dynamic_linker="$host_os dld.sl"
10099     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10100     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10101     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10102     soname_spec='${libname}${release}${shared_ext}$major'
10103     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10104     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10105     ;;
10106   *)
10107     shrext_cmds='.sl'
10108     dynamic_linker="$host_os dld.sl"
10109     shlibpath_var=SHLIB_PATH
10110     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10111     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10112     soname_spec='${libname}${release}${shared_ext}$major'
10113     ;;
10114   esac
10115   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10116   postinstall_cmds='chmod 555 $lib'
10117   ;;
10118
10119 interix[3-9]*)
10120   version_type=linux
10121   need_lib_prefix=no
10122   need_version=no
10123   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10124   soname_spec='${libname}${release}${shared_ext}$major'
10125   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10126   shlibpath_var=LD_LIBRARY_PATH
10127   shlibpath_overrides_runpath=no
10128   hardcode_into_libs=yes
10129   ;;
10130
10131 irix5* | irix6* | nonstopux*)
10132   case $host_os in
10133     nonstopux*) version_type=nonstopux ;;
10134     *)
10135         if test "$lt_cv_prog_gnu_ld" = yes; then
10136                 version_type=linux
10137         else
10138                 version_type=irix
10139         fi ;;
10140   esac
10141   need_lib_prefix=no
10142   need_version=no
10143   soname_spec='${libname}${release}${shared_ext}$major'
10144   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10145   case $host_os in
10146   irix5* | nonstopux*)
10147     libsuff= shlibsuff=
10148     ;;
10149   *)
10150     case $LD in # libtool.m4 will add one of these switches to LD
10151     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10152       libsuff= shlibsuff= libmagic=32-bit;;
10153     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10154       libsuff=32 shlibsuff=N32 libmagic=N32;;
10155     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10156       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10157     *) libsuff= shlibsuff= libmagic=never-match;;
10158     esac
10159     ;;
10160   esac
10161   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10162   shlibpath_overrides_runpath=no
10163   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10164   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10165   hardcode_into_libs=yes
10166   ;;
10167
10168 # No shared lib support for Linux oldld, aout, or coff.
10169 linux*oldld* | linux*aout* | linux*coff*)
10170   dynamic_linker=no
10171   ;;
10172
10173 # This must be Linux ELF.
10174 linux* | k*bsd*-gnu)
10175   version_type=linux
10176   need_lib_prefix=no
10177   need_version=no
10178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10179   soname_spec='${libname}${release}${shared_ext}$major'
10180   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10181   shlibpath_var=LD_LIBRARY_PATH
10182   shlibpath_overrides_runpath=no
10183
10184   # Some binutils ld are patched to set DT_RUNPATH
10185   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10186   echo $ECHO_N "(cached) $ECHO_C" >&6
10187 else
10188   lt_cv_shlibpath_overrides_runpath=no
10189     save_LDFLAGS=$LDFLAGS
10190     save_libdir=$libdir
10191     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10192          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10193     if test x$gcc_no_link = xyes; then
10194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10196    { (exit 1); exit 1; }; }
10197 fi
10198 cat >conftest.$ac_ext <<_ACEOF
10199 /* confdefs.h.  */
10200 _ACEOF
10201 cat confdefs.h >>conftest.$ac_ext
10202 cat >>conftest.$ac_ext <<_ACEOF
10203 /* end confdefs.h.  */
10204
10205 int
10206 main ()
10207 {
10208
10209   ;
10210   return 0;
10211 }
10212 _ACEOF
10213 rm -f conftest.$ac_objext conftest$ac_exeext
10214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10215   (eval $ac_link) 2>conftest.er1
10216   ac_status=$?
10217   grep -v '^ *+' conftest.er1 >conftest.err
10218   rm -f conftest.er1
10219   cat conftest.err >&5
10220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221   (exit $ac_status); } &&
10222          { ac_try='test -z "$ac_c_werror_flag"
10223                          || test ! -s conftest.err'
10224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10225   (eval $ac_try) 2>&5
10226   ac_status=$?
10227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228   (exit $ac_status); }; } &&
10229          { ac_try='test -s conftest$ac_exeext'
10230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10231   (eval $ac_try) 2>&5
10232   ac_status=$?
10233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234   (exit $ac_status); }; }; then
10235   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10236   lt_cv_shlibpath_overrides_runpath=yes
10237 fi
10238
10239 else
10240   echo "$as_me: failed program was:" >&5
10241 sed 's/^/| /' conftest.$ac_ext >&5
10242
10243 fi
10244 rm -f conftest.err conftest.$ac_objext \
10245       conftest$ac_exeext conftest.$ac_ext
10246     LDFLAGS=$save_LDFLAGS
10247     libdir=$save_libdir
10248
10249 fi
10250
10251   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10252
10253   # This implies no fast_install, which is unacceptable.
10254   # Some rework will be needed to allow for fast_install
10255   # before this can be enabled.
10256   hardcode_into_libs=yes
10257
10258   # Append ld.so.conf contents to the search path
10259   if test -f /etc/ld.so.conf; then
10260     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10261     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10262   fi
10263
10264   # We used to test for /lib/ld.so.1 and disable shared libraries on
10265   # powerpc, because MkLinux only supported shared libraries with the
10266   # GNU dynamic linker.  Since this was broken with cross compilers,
10267   # most powerpc-linux boxes support dynamic linking these days and
10268   # people can always --disable-shared, the test was removed, and we
10269   # assume the GNU/Linux dynamic linker is in use.
10270   dynamic_linker='GNU/Linux ld.so'
10271   ;;
10272
10273 netbsd*)
10274   version_type=sunos
10275   need_lib_prefix=no
10276   need_version=no
10277   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10278     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10279     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10280     dynamic_linker='NetBSD (a.out) ld.so'
10281   else
10282     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10283     soname_spec='${libname}${release}${shared_ext}$major'
10284     dynamic_linker='NetBSD ld.elf_so'
10285   fi
10286   shlibpath_var=LD_LIBRARY_PATH
10287   shlibpath_overrides_runpath=yes
10288   hardcode_into_libs=yes
10289   ;;
10290
10291 newsos6)
10292   version_type=linux
10293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10294   shlibpath_var=LD_LIBRARY_PATH
10295   shlibpath_overrides_runpath=yes
10296   ;;
10297
10298 *nto* | *qnx*)
10299   version_type=qnx
10300   need_lib_prefix=no
10301   need_version=no
10302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303   soname_spec='${libname}${release}${shared_ext}$major'
10304   shlibpath_var=LD_LIBRARY_PATH
10305   shlibpath_overrides_runpath=no
10306   hardcode_into_libs=yes
10307   dynamic_linker='ldqnx.so'
10308   ;;
10309
10310 openbsd*)
10311   version_type=sunos
10312   sys_lib_dlsearch_path_spec="/usr/lib"
10313   need_lib_prefix=no
10314   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10315   case $host_os in
10316     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10317     *)                          need_version=no  ;;
10318   esac
10319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10320   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10321   shlibpath_var=LD_LIBRARY_PATH
10322   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10323     case $host_os in
10324       openbsd2.[89] | openbsd2.[89].*)
10325         shlibpath_overrides_runpath=no
10326         ;;
10327       *)
10328         shlibpath_overrides_runpath=yes
10329         ;;
10330       esac
10331   else
10332     shlibpath_overrides_runpath=yes
10333   fi
10334   ;;
10335
10336 os2*)
10337   libname_spec='$name'
10338   shrext_cmds=".dll"
10339   need_lib_prefix=no
10340   library_names_spec='$libname${shared_ext} $libname.a'
10341   dynamic_linker='OS/2 ld.exe'
10342   shlibpath_var=LIBPATH
10343   ;;
10344
10345 osf3* | osf4* | osf5*)
10346   version_type=osf
10347   need_lib_prefix=no
10348   need_version=no
10349   soname_spec='${libname}${release}${shared_ext}$major'
10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351   shlibpath_var=LD_LIBRARY_PATH
10352   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10353   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10354   ;;
10355
10356 rdos*)
10357   dynamic_linker=no
10358   ;;
10359
10360 solaris*)
10361   version_type=linux
10362   need_lib_prefix=no
10363   need_version=no
10364   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365   soname_spec='${libname}${release}${shared_ext}$major'
10366   shlibpath_var=LD_LIBRARY_PATH
10367   shlibpath_overrides_runpath=yes
10368   hardcode_into_libs=yes
10369   # ldd complains unless libraries are executable
10370   postinstall_cmds='chmod +x $lib'
10371   ;;
10372
10373 sunos4*)
10374   version_type=sunos
10375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10376   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10377   shlibpath_var=LD_LIBRARY_PATH
10378   shlibpath_overrides_runpath=yes
10379   if test "$with_gnu_ld" = yes; then
10380     need_lib_prefix=no
10381   fi
10382   need_version=yes
10383   ;;
10384
10385 sysv4 | sysv4.3*)
10386   version_type=linux
10387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388   soname_spec='${libname}${release}${shared_ext}$major'
10389   shlibpath_var=LD_LIBRARY_PATH
10390   case $host_vendor in
10391     sni)
10392       shlibpath_overrides_runpath=no
10393       need_lib_prefix=no
10394       runpath_var=LD_RUN_PATH
10395       ;;
10396     siemens)
10397       need_lib_prefix=no
10398       ;;
10399     motorola)
10400       need_lib_prefix=no
10401       need_version=no
10402       shlibpath_overrides_runpath=no
10403       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10404       ;;
10405   esac
10406   ;;
10407
10408 sysv4*MP*)
10409   if test -d /usr/nec ;then
10410     version_type=linux
10411     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10412     soname_spec='$libname${shared_ext}.$major'
10413     shlibpath_var=LD_LIBRARY_PATH
10414   fi
10415   ;;
10416
10417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10418   version_type=freebsd-elf
10419   need_lib_prefix=no
10420   need_version=no
10421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10422   soname_spec='${libname}${release}${shared_ext}$major'
10423   shlibpath_var=LD_LIBRARY_PATH
10424   shlibpath_overrides_runpath=yes
10425   hardcode_into_libs=yes
10426   if test "$with_gnu_ld" = yes; then
10427     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10428   else
10429     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10430     case $host_os in
10431       sco3.2v5*)
10432         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10433         ;;
10434     esac
10435   fi
10436   sys_lib_dlsearch_path_spec='/usr/lib'
10437   ;;
10438
10439 tpf*)
10440   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10441   version_type=linux
10442   need_lib_prefix=no
10443   need_version=no
10444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445   shlibpath_var=LD_LIBRARY_PATH
10446   shlibpath_overrides_runpath=no
10447   hardcode_into_libs=yes
10448   ;;
10449
10450 uts4*)
10451   version_type=linux
10452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10453   soname_spec='${libname}${release}${shared_ext}$major'
10454   shlibpath_var=LD_LIBRARY_PATH
10455   ;;
10456
10457 *)
10458   dynamic_linker=no
10459   ;;
10460 esac
10461 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10462 echo "${ECHO_T}$dynamic_linker" >&6
10463 test "$dynamic_linker" = no && can_build_shared=no
10464
10465 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10466 if test "$GCC" = yes; then
10467   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10468 fi
10469
10470 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10471   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10472 fi
10473 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10474   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10475 fi
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10564 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10565 hardcode_action=
10566 if test -n "$hardcode_libdir_flag_spec" ||
10567    test -n "$runpath_var" ||
10568    test "X$hardcode_automatic" = "Xyes" ; then
10569
10570   # We can hardcode non-existent directories.
10571   if test "$hardcode_direct" != no &&
10572      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10573      # have to relink, otherwise we might link with an installed library
10574      # when we should be linking with a yet-to-be-installed one
10575      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10576      test "$hardcode_minus_L" != no; then
10577     # Linking always hardcodes the temporary library directory.
10578     hardcode_action=relink
10579   else
10580     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10581     hardcode_action=immediate
10582   fi
10583 else
10584   # We cannot hardcode anything, or else we can only hardcode existing
10585   # directories.
10586   hardcode_action=unsupported
10587 fi
10588 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10589 echo "${ECHO_T}$hardcode_action" >&6
10590
10591 if test "$hardcode_action" = relink ||
10592    test "$inherit_rpath" = yes; then
10593   # Fast installation is not supported
10594   enable_fast_install=no
10595 elif test "$shlibpath_overrides_runpath" = yes ||
10596      test "$enable_shared" = no; then
10597   # Fast installation is not necessary
10598   enable_fast_install=needless
10599 fi
10600
10601
10602
10603
10604
10605
10606   if test "x$enable_dlopen" != xyes; then
10607   enable_dlopen=unknown
10608   enable_dlopen_self=unknown
10609   enable_dlopen_self_static=unknown
10610 else
10611   lt_cv_dlopen=no
10612   lt_cv_dlopen_libs=
10613
10614   case $host_os in
10615   beos*)
10616     lt_cv_dlopen="load_add_on"
10617     lt_cv_dlopen_libs=
10618     lt_cv_dlopen_self=yes
10619     ;;
10620
10621   mingw* | pw32* | cegcc*)
10622     lt_cv_dlopen="LoadLibrary"
10623     lt_cv_dlopen_libs=
10624     ;;
10625
10626   cygwin*)
10627     lt_cv_dlopen="dlopen"
10628     lt_cv_dlopen_libs=
10629     ;;
10630
10631   darwin*)
10632   # if libdl is installed we need to link against it
10633     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10636   echo $ECHO_N "(cached) $ECHO_C" >&6
10637 else
10638   ac_check_lib_save_LIBS=$LIBS
10639 LIBS="-ldl  $LIBS"
10640 if test x$gcc_no_link = xyes; then
10641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10643    { (exit 1); exit 1; }; }
10644 fi
10645 cat >conftest.$ac_ext <<_ACEOF
10646 /* confdefs.h.  */
10647 _ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h.  */
10651
10652 /* Override any gcc2 internal prototype to avoid an error.  */
10653 #ifdef __cplusplus
10654 extern "C"
10655 #endif
10656 /* We use char because int might match the return type of a gcc2
10657    builtin and then its argument prototype would still apply.  */
10658 char dlopen ();
10659 int
10660 main ()
10661 {
10662 dlopen ();
10663   ;
10664   return 0;
10665 }
10666 _ACEOF
10667 rm -f conftest.$ac_objext conftest$ac_exeext
10668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10669   (eval $ac_link) 2>conftest.er1
10670   ac_status=$?
10671   grep -v '^ *+' conftest.er1 >conftest.err
10672   rm -f conftest.er1
10673   cat conftest.err >&5
10674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675   (exit $ac_status); } &&
10676          { ac_try='test -z "$ac_c_werror_flag"
10677                          || test ! -s conftest.err'
10678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679   (eval $ac_try) 2>&5
10680   ac_status=$?
10681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682   (exit $ac_status); }; } &&
10683          { ac_try='test -s conftest$ac_exeext'
10684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685   (eval $ac_try) 2>&5
10686   ac_status=$?
10687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688   (exit $ac_status); }; }; then
10689   ac_cv_lib_dl_dlopen=yes
10690 else
10691   echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 ac_cv_lib_dl_dlopen=no
10695 fi
10696 rm -f conftest.err conftest.$ac_objext \
10697       conftest$ac_exeext conftest.$ac_ext
10698 LIBS=$ac_check_lib_save_LIBS
10699 fi
10700 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10701 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10702 if test $ac_cv_lib_dl_dlopen = yes; then
10703   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10704 else
10705
10706     lt_cv_dlopen="dyld"
10707     lt_cv_dlopen_libs=
10708     lt_cv_dlopen_self=yes
10709
10710 fi
10711
10712     ;;
10713
10714   *)
10715     echo "$as_me:$LINENO: checking for shl_load" >&5
10716 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10717 if test "${ac_cv_func_shl_load+set}" = set; then
10718   echo $ECHO_N "(cached) $ECHO_C" >&6
10719 else
10720   if test x$gcc_no_link = xyes; then
10721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10723    { (exit 1); exit 1; }; }
10724 fi
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h.  */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h.  */
10731 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10733 #define shl_load innocuous_shl_load
10734
10735 /* System header to define __stub macros and hopefully few prototypes,
10736     which can conflict with char shl_load (); below.
10737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10738     <limits.h> exists even on freestanding compilers.  */
10739
10740 #ifdef __STDC__
10741 # include <limits.h>
10742 #else
10743 # include <assert.h>
10744 #endif
10745
10746 #undef shl_load
10747
10748 /* Override any gcc2 internal prototype to avoid an error.  */
10749 #ifdef __cplusplus
10750 extern "C"
10751 {
10752 #endif
10753 /* We use char because int might match the return type of a gcc2
10754    builtin and then its argument prototype would still apply.  */
10755 char shl_load ();
10756 /* The GNU C library defines this for functions which it implements
10757     to always fail with ENOSYS.  Some functions are actually named
10758     something starting with __ and the normal name is an alias.  */
10759 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10760 choke me
10761 #else
10762 char (*f) () = shl_load;
10763 #endif
10764 #ifdef __cplusplus
10765 }
10766 #endif
10767
10768 int
10769 main ()
10770 {
10771 return f != shl_load;
10772   ;
10773   return 0;
10774 }
10775 _ACEOF
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10778   (eval $ac_link) 2>conftest.er1
10779   ac_status=$?
10780   grep -v '^ *+' conftest.er1 >conftest.err
10781   rm -f conftest.er1
10782   cat conftest.err >&5
10783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784   (exit $ac_status); } &&
10785          { ac_try='test -z "$ac_c_werror_flag"
10786                          || test ! -s conftest.err'
10787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788   (eval $ac_try) 2>&5
10789   ac_status=$?
10790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791   (exit $ac_status); }; } &&
10792          { ac_try='test -s conftest$ac_exeext'
10793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794   (eval $ac_try) 2>&5
10795   ac_status=$?
10796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797   (exit $ac_status); }; }; then
10798   ac_cv_func_shl_load=yes
10799 else
10800   echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10802
10803 ac_cv_func_shl_load=no
10804 fi
10805 rm -f conftest.err conftest.$ac_objext \
10806       conftest$ac_exeext conftest.$ac_ext
10807 fi
10808 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10809 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10810 if test $ac_cv_func_shl_load = yes; then
10811   lt_cv_dlopen="shl_load"
10812 else
10813   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10814 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10815 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10816   echo $ECHO_N "(cached) $ECHO_C" >&6
10817 else
10818   ac_check_lib_save_LIBS=$LIBS
10819 LIBS="-ldld  $LIBS"
10820 if test x$gcc_no_link = xyes; then
10821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10823    { (exit 1); exit 1; }; }
10824 fi
10825 cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h.  */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h.  */
10831
10832 /* Override any gcc2 internal prototype to avoid an error.  */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 /* We use char because int might match the return type of a gcc2
10837    builtin and then its argument prototype would still apply.  */
10838 char shl_load ();
10839 int
10840 main ()
10841 {
10842 shl_load ();
10843   ;
10844   return 0;
10845 }
10846 _ACEOF
10847 rm -f conftest.$ac_objext conftest$ac_exeext
10848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10849   (eval $ac_link) 2>conftest.er1
10850   ac_status=$?
10851   grep -v '^ *+' conftest.er1 >conftest.err
10852   rm -f conftest.er1
10853   cat conftest.err >&5
10854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855   (exit $ac_status); } &&
10856          { ac_try='test -z "$ac_c_werror_flag"
10857                          || test ! -s conftest.err'
10858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859   (eval $ac_try) 2>&5
10860   ac_status=$?
10861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862   (exit $ac_status); }; } &&
10863          { ac_try='test -s conftest$ac_exeext'
10864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865   (eval $ac_try) 2>&5
10866   ac_status=$?
10867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868   (exit $ac_status); }; }; then
10869   ac_cv_lib_dld_shl_load=yes
10870 else
10871   echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.$ac_ext >&5
10873
10874 ac_cv_lib_dld_shl_load=no
10875 fi
10876 rm -f conftest.err conftest.$ac_objext \
10877       conftest$ac_exeext conftest.$ac_ext
10878 LIBS=$ac_check_lib_save_LIBS
10879 fi
10880 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10881 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10882 if test $ac_cv_lib_dld_shl_load = yes; then
10883   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10884 else
10885   echo "$as_me:$LINENO: checking for dlopen" >&5
10886 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10887 if test "${ac_cv_func_dlopen+set}" = set; then
10888   echo $ECHO_N "(cached) $ECHO_C" >&6
10889 else
10890   if test x$gcc_no_link = xyes; then
10891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10893    { (exit 1); exit 1; }; }
10894 fi
10895 cat >conftest.$ac_ext <<_ACEOF
10896 /* confdefs.h.  */
10897 _ACEOF
10898 cat confdefs.h >>conftest.$ac_ext
10899 cat >>conftest.$ac_ext <<_ACEOF
10900 /* end confdefs.h.  */
10901 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10903 #define dlopen innocuous_dlopen
10904
10905 /* System header to define __stub macros and hopefully few prototypes,
10906     which can conflict with char dlopen (); below.
10907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908     <limits.h> exists even on freestanding compilers.  */
10909
10910 #ifdef __STDC__
10911 # include <limits.h>
10912 #else
10913 # include <assert.h>
10914 #endif
10915
10916 #undef dlopen
10917
10918 /* Override any gcc2 internal prototype to avoid an error.  */
10919 #ifdef __cplusplus
10920 extern "C"
10921 {
10922 #endif
10923 /* We use char because int might match the return type of a gcc2
10924    builtin and then its argument prototype would still apply.  */
10925 char dlopen ();
10926 /* The GNU C library defines this for functions which it implements
10927     to always fail with ENOSYS.  Some functions are actually named
10928     something starting with __ and the normal name is an alias.  */
10929 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10930 choke me
10931 #else
10932 char (*f) () = dlopen;
10933 #endif
10934 #ifdef __cplusplus
10935 }
10936 #endif
10937
10938 int
10939 main ()
10940 {
10941 return f != dlopen;
10942   ;
10943   return 0;
10944 }
10945 _ACEOF
10946 rm -f conftest.$ac_objext conftest$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948   (eval $ac_link) 2>conftest.er1
10949   ac_status=$?
10950   grep -v '^ *+' conftest.er1 >conftest.err
10951   rm -f conftest.er1
10952   cat conftest.err >&5
10953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954   (exit $ac_status); } &&
10955          { ac_try='test -z "$ac_c_werror_flag"
10956                          || test ! -s conftest.err'
10957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958   (eval $ac_try) 2>&5
10959   ac_status=$?
10960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961   (exit $ac_status); }; } &&
10962          { ac_try='test -s conftest$ac_exeext'
10963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964   (eval $ac_try) 2>&5
10965   ac_status=$?
10966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967   (exit $ac_status); }; }; then
10968   ac_cv_func_dlopen=yes
10969 else
10970   echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10972
10973 ac_cv_func_dlopen=no
10974 fi
10975 rm -f conftest.err conftest.$ac_objext \
10976       conftest$ac_exeext conftest.$ac_ext
10977 fi
10978 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10979 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10980 if test $ac_cv_func_dlopen = yes; then
10981   lt_cv_dlopen="dlopen"
10982 else
10983   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10984 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10985 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10986   echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988   ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-ldl  $LIBS"
10990 if test x$gcc_no_link = xyes; then
10991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10993    { (exit 1); exit 1; }; }
10994 fi
10995 cat >conftest.$ac_ext <<_ACEOF
10996 /* confdefs.h.  */
10997 _ACEOF
10998 cat confdefs.h >>conftest.$ac_ext
10999 cat >>conftest.$ac_ext <<_ACEOF
11000 /* end confdefs.h.  */
11001
11002 /* Override any gcc2 internal prototype to avoid an error.  */
11003 #ifdef __cplusplus
11004 extern "C"
11005 #endif
11006 /* We use char because int might match the return type of a gcc2
11007    builtin and then its argument prototype would still apply.  */
11008 char dlopen ();
11009 int
11010 main ()
11011 {
11012 dlopen ();
11013   ;
11014   return 0;
11015 }
11016 _ACEOF
11017 rm -f conftest.$ac_objext conftest$ac_exeext
11018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11019   (eval $ac_link) 2>conftest.er1
11020   ac_status=$?
11021   grep -v '^ *+' conftest.er1 >conftest.err
11022   rm -f conftest.er1
11023   cat conftest.err >&5
11024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025   (exit $ac_status); } &&
11026          { ac_try='test -z "$ac_c_werror_flag"
11027                          || test ! -s conftest.err'
11028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029   (eval $ac_try) 2>&5
11030   ac_status=$?
11031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032   (exit $ac_status); }; } &&
11033          { ac_try='test -s conftest$ac_exeext'
11034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035   (eval $ac_try) 2>&5
11036   ac_status=$?
11037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038   (exit $ac_status); }; }; then
11039   ac_cv_lib_dl_dlopen=yes
11040 else
11041   echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 ac_cv_lib_dl_dlopen=no
11045 fi
11046 rm -f conftest.err conftest.$ac_objext \
11047       conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11049 fi
11050 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11051 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11052 if test $ac_cv_lib_dl_dlopen = yes; then
11053   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11054 else
11055   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11056 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11057 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11058   echo $ECHO_N "(cached) $ECHO_C" >&6
11059 else
11060   ac_check_lib_save_LIBS=$LIBS
11061 LIBS="-lsvld  $LIBS"
11062 if test x$gcc_no_link = xyes; then
11063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11065    { (exit 1); exit 1; }; }
11066 fi
11067 cat >conftest.$ac_ext <<_ACEOF
11068 /* confdefs.h.  */
11069 _ACEOF
11070 cat confdefs.h >>conftest.$ac_ext
11071 cat >>conftest.$ac_ext <<_ACEOF
11072 /* end confdefs.h.  */
11073
11074 /* Override any gcc2 internal prototype to avoid an error.  */
11075 #ifdef __cplusplus
11076 extern "C"
11077 #endif
11078 /* We use char because int might match the return type of a gcc2
11079    builtin and then its argument prototype would still apply.  */
11080 char dlopen ();
11081 int
11082 main ()
11083 {
11084 dlopen ();
11085   ;
11086   return 0;
11087 }
11088 _ACEOF
11089 rm -f conftest.$ac_objext conftest$ac_exeext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11091   (eval $ac_link) 2>conftest.er1
11092   ac_status=$?
11093   grep -v '^ *+' conftest.er1 >conftest.err
11094   rm -f conftest.er1
11095   cat conftest.err >&5
11096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097   (exit $ac_status); } &&
11098          { ac_try='test -z "$ac_c_werror_flag"
11099                          || test ! -s conftest.err'
11100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101   (eval $ac_try) 2>&5
11102   ac_status=$?
11103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104   (exit $ac_status); }; } &&
11105          { ac_try='test -s conftest$ac_exeext'
11106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107   (eval $ac_try) 2>&5
11108   ac_status=$?
11109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110   (exit $ac_status); }; }; then
11111   ac_cv_lib_svld_dlopen=yes
11112 else
11113   echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11115
11116 ac_cv_lib_svld_dlopen=no
11117 fi
11118 rm -f conftest.err conftest.$ac_objext \
11119       conftest$ac_exeext conftest.$ac_ext
11120 LIBS=$ac_check_lib_save_LIBS
11121 fi
11122 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11123 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11124 if test $ac_cv_lib_svld_dlopen = yes; then
11125   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11126 else
11127   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11128 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11129 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11130   echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132   ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldld  $LIBS"
11134 if test x$gcc_no_link = xyes; then
11135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11137    { (exit 1); exit 1; }; }
11138 fi
11139 cat >conftest.$ac_ext <<_ACEOF
11140 /* confdefs.h.  */
11141 _ACEOF
11142 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h.  */
11145
11146 /* Override any gcc2 internal prototype to avoid an error.  */
11147 #ifdef __cplusplus
11148 extern "C"
11149 #endif
11150 /* We use char because int might match the return type of a gcc2
11151    builtin and then its argument prototype would still apply.  */
11152 char dld_link ();
11153 int
11154 main ()
11155 {
11156 dld_link ();
11157   ;
11158   return 0;
11159 }
11160 _ACEOF
11161 rm -f conftest.$ac_objext conftest$ac_exeext
11162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11163   (eval $ac_link) 2>conftest.er1
11164   ac_status=$?
11165   grep -v '^ *+' conftest.er1 >conftest.err
11166   rm -f conftest.er1
11167   cat conftest.err >&5
11168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169   (exit $ac_status); } &&
11170          { ac_try='test -z "$ac_c_werror_flag"
11171                          || test ! -s conftest.err'
11172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173   (eval $ac_try) 2>&5
11174   ac_status=$?
11175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176   (exit $ac_status); }; } &&
11177          { ac_try='test -s conftest$ac_exeext'
11178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179   (eval $ac_try) 2>&5
11180   ac_status=$?
11181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182   (exit $ac_status); }; }; then
11183   ac_cv_lib_dld_dld_link=yes
11184 else
11185   echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.$ac_ext >&5
11187
11188 ac_cv_lib_dld_dld_link=no
11189 fi
11190 rm -f conftest.err conftest.$ac_objext \
11191       conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11193 fi
11194 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11195 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11196 if test $ac_cv_lib_dld_dld_link = yes; then
11197   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11198 fi
11199
11200
11201 fi
11202
11203
11204 fi
11205
11206
11207 fi
11208
11209
11210 fi
11211
11212
11213 fi
11214
11215     ;;
11216   esac
11217
11218   if test "x$lt_cv_dlopen" != xno; then
11219     enable_dlopen=yes
11220   else
11221     enable_dlopen=no
11222   fi
11223
11224   case $lt_cv_dlopen in
11225   dlopen)
11226     save_CPPFLAGS="$CPPFLAGS"
11227     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11228
11229     save_LDFLAGS="$LDFLAGS"
11230     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11231
11232     save_LIBS="$LIBS"
11233     LIBS="$lt_cv_dlopen_libs $LIBS"
11234
11235     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11236 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11237 if test "${lt_cv_dlopen_self+set}" = set; then
11238   echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240           if test "$cross_compiling" = yes; then :
11241   lt_cv_dlopen_self=cross
11242 else
11243   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11244   lt_status=$lt_dlunknown
11245   cat > conftest.$ac_ext <<_LT_EOF
11246 #line 11246 "configure"
11247 #include "confdefs.h"
11248
11249 #if HAVE_DLFCN_H
11250 #include <dlfcn.h>
11251 #endif
11252
11253 #include <stdio.h>
11254
11255 #ifdef RTLD_GLOBAL
11256 #  define LT_DLGLOBAL           RTLD_GLOBAL
11257 #else
11258 #  ifdef DL_GLOBAL
11259 #    define LT_DLGLOBAL         DL_GLOBAL
11260 #  else
11261 #    define LT_DLGLOBAL         0
11262 #  endif
11263 #endif
11264
11265 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11266    find out it does not work in some platform. */
11267 #ifndef LT_DLLAZY_OR_NOW
11268 #  ifdef RTLD_LAZY
11269 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11270 #  else
11271 #    ifdef DL_LAZY
11272 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11273 #    else
11274 #      ifdef RTLD_NOW
11275 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11276 #      else
11277 #        ifdef DL_NOW
11278 #          define LT_DLLAZY_OR_NOW      DL_NOW
11279 #        else
11280 #          define LT_DLLAZY_OR_NOW      0
11281 #        endif
11282 #      endif
11283 #    endif
11284 #  endif
11285 #endif
11286
11287 void fnord() { int i=42;}
11288 int main ()
11289 {
11290   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11291   int status = $lt_dlunknown;
11292
11293   if (self)
11294     {
11295       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11296       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11297       /* dlclose (self); */
11298     }
11299   else
11300     puts (dlerror ());
11301
11302   return status;
11303 }
11304 _LT_EOF
11305   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306   (eval $ac_link) 2>&5
11307   ac_status=$?
11308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11310     (./conftest; exit; ) >&5 2>/dev/null
11311     lt_status=$?
11312     case x$lt_status in
11313       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11314       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11315       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11316     esac
11317   else :
11318     # compilation failed
11319     lt_cv_dlopen_self=no
11320   fi
11321 fi
11322 rm -fr conftest*
11323
11324
11325 fi
11326 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11327 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11328
11329     if test "x$lt_cv_dlopen_self" = xyes; then
11330       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11331       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11332 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11333 if test "${lt_cv_dlopen_self_static+set}" = set; then
11334   echo $ECHO_N "(cached) $ECHO_C" >&6
11335 else
11336           if test "$cross_compiling" = yes; then :
11337   lt_cv_dlopen_self_static=cross
11338 else
11339   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11340   lt_status=$lt_dlunknown
11341   cat > conftest.$ac_ext <<_LT_EOF
11342 #line 11342 "configure"
11343 #include "confdefs.h"
11344
11345 #if HAVE_DLFCN_H
11346 #include <dlfcn.h>
11347 #endif
11348
11349 #include <stdio.h>
11350
11351 #ifdef RTLD_GLOBAL
11352 #  define LT_DLGLOBAL           RTLD_GLOBAL
11353 #else
11354 #  ifdef DL_GLOBAL
11355 #    define LT_DLGLOBAL         DL_GLOBAL
11356 #  else
11357 #    define LT_DLGLOBAL         0
11358 #  endif
11359 #endif
11360
11361 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11362    find out it does not work in some platform. */
11363 #ifndef LT_DLLAZY_OR_NOW
11364 #  ifdef RTLD_LAZY
11365 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11366 #  else
11367 #    ifdef DL_LAZY
11368 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11369 #    else
11370 #      ifdef RTLD_NOW
11371 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11372 #      else
11373 #        ifdef DL_NOW
11374 #          define LT_DLLAZY_OR_NOW      DL_NOW
11375 #        else
11376 #          define LT_DLLAZY_OR_NOW      0
11377 #        endif
11378 #      endif
11379 #    endif
11380 #  endif
11381 #endif
11382
11383 void fnord() { int i=42;}
11384 int main ()
11385 {
11386   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11387   int status = $lt_dlunknown;
11388
11389   if (self)
11390     {
11391       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11392       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11393       /* dlclose (self); */
11394     }
11395   else
11396     puts (dlerror ());
11397
11398   return status;
11399 }
11400 _LT_EOF
11401   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11402   (eval $ac_link) 2>&5
11403   ac_status=$?
11404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11406     (./conftest; exit; ) >&5 2>/dev/null
11407     lt_status=$?
11408     case x$lt_status in
11409       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11410       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11411       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11412     esac
11413   else :
11414     # compilation failed
11415     lt_cv_dlopen_self_static=no
11416   fi
11417 fi
11418 rm -fr conftest*
11419
11420
11421 fi
11422 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11423 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11424     fi
11425
11426     CPPFLAGS="$save_CPPFLAGS"
11427     LDFLAGS="$save_LDFLAGS"
11428     LIBS="$save_LIBS"
11429     ;;
11430   esac
11431
11432   case $lt_cv_dlopen_self in
11433   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11434   *) enable_dlopen_self=unknown ;;
11435   esac
11436
11437   case $lt_cv_dlopen_self_static in
11438   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11439   *) enable_dlopen_self_static=unknown ;;
11440   esac
11441 fi
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459 striplib=
11460 old_striplib=
11461 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11462 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11463 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11464   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11465   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11466   echo "$as_me:$LINENO: result: yes" >&5
11467 echo "${ECHO_T}yes" >&6
11468 else
11469 # FIXME - insert some real tests, host_os isn't really good enough
11470   case $host_os in
11471   darwin*)
11472     if test -n "$STRIP" ; then
11473       striplib="$STRIP -x"
11474       old_striplib="$STRIP -S"
11475       echo "$as_me:$LINENO: result: yes" >&5
11476 echo "${ECHO_T}yes" >&6
11477     else
11478       echo "$as_me:$LINENO: result: no" >&5
11479 echo "${ECHO_T}no" >&6
11480     fi
11481     ;;
11482   *)
11483     echo "$as_me:$LINENO: result: no" >&5
11484 echo "${ECHO_T}no" >&6
11485     ;;
11486   esac
11487 fi
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500   # Report which library types will actually be built
11501   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11502 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11503   echo "$as_me:$LINENO: result: $can_build_shared" >&5
11504 echo "${ECHO_T}$can_build_shared" >&6
11505
11506   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11507 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11508   test "$can_build_shared" = "no" && enable_shared=no
11509
11510   # On AIX, shared libraries and static libraries use the same namespace, and
11511   # are all built from PIC.
11512   case $host_os in
11513   aix3*)
11514     test "$enable_shared" = yes && enable_static=no
11515     if test -n "$RANLIB"; then
11516       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11517       postinstall_cmds='$RANLIB $lib'
11518     fi
11519     ;;
11520
11521   aix[4-9]*)
11522     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11523       test "$enable_shared" = yes && enable_static=no
11524     fi
11525     ;;
11526   esac
11527   echo "$as_me:$LINENO: result: $enable_shared" >&5
11528 echo "${ECHO_T}$enable_shared" >&6
11529
11530   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11531 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11532   # Make sure either enable_shared or enable_static is yes.
11533   test "$enable_shared" = yes || enable_static=yes
11534   echo "$as_me:$LINENO: result: $enable_static" >&5
11535 echo "${ECHO_T}$enable_static" >&6
11536
11537
11538
11539
11540 fi
11541 ac_ext=c
11542 ac_cpp='$CPP $CPPFLAGS'
11543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11546
11547 CC="$lt_save_CC"
11548
11549
11550 ac_ext=cc
11551 ac_cpp='$CXXCPP $CPPFLAGS'
11552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11555
11556 archive_cmds_need_lc_CXX=no
11557 allow_undefined_flag_CXX=
11558 always_export_symbols_CXX=no
11559 archive_expsym_cmds_CXX=
11560 compiler_needs_object_CXX=no
11561 export_dynamic_flag_spec_CXX=
11562 hardcode_direct_CXX=no
11563 hardcode_direct_absolute_CXX=no
11564 hardcode_libdir_flag_spec_CXX=
11565 hardcode_libdir_flag_spec_ld_CXX=
11566 hardcode_libdir_separator_CXX=
11567 hardcode_minus_L_CXX=no
11568 hardcode_shlibpath_var_CXX=unsupported
11569 hardcode_automatic_CXX=no
11570 inherit_rpath_CXX=no
11571 module_cmds_CXX=
11572 module_expsym_cmds_CXX=
11573 link_all_deplibs_CXX=unknown
11574 old_archive_cmds_CXX=$old_archive_cmds
11575 no_undefined_flag_CXX=
11576 whole_archive_flag_spec_CXX=
11577 enable_shared_with_static_runtimes_CXX=no
11578
11579 # Source file extension for C++ test sources.
11580 ac_ext=cpp
11581
11582 # Object file extension for compiled C++ test sources.
11583 objext=o
11584 objext_CXX=$objext
11585
11586 # No sense in running all these tests if we already determined that
11587 # the CXX compiler isn't working.  Some variables (like enable_shared)
11588 # are currently assumed to apply to all compilers on this platform,
11589 # and will be corrupted by setting them based on a non-working compiler.
11590 if test "$_lt_caught_CXX_error" != yes; then
11591   # Code to be used in simple compile tests
11592   lt_simple_compile_test_code="int some_variable = 0;"
11593
11594   # Code to be used in simple link tests
11595   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11596
11597   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11598
11599
11600
11601
11602
11603
11604 # If no C compiler was specified, use CC.
11605 LTCC=${LTCC-"$CC"}
11606
11607 # If no C compiler flags were specified, use CFLAGS.
11608 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11609
11610 # Allow CC to be a program name with arguments.
11611 compiler=$CC
11612
11613
11614   # save warnings/boilerplate of simple test code
11615   ac_outfile=conftest.$ac_objext
11616 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11617 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11618 _lt_compiler_boilerplate=`cat conftest.err`
11619 $RM conftest*
11620
11621   ac_outfile=conftest.$ac_objext
11622 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11623 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11624 _lt_linker_boilerplate=`cat conftest.err`
11625 $RM -r conftest*
11626
11627
11628   # Allow CC to be a program name with arguments.
11629   lt_save_CC=$CC
11630   lt_save_LD=$LD
11631   lt_save_GCC=$GCC
11632   GCC=$GXX
11633   lt_save_with_gnu_ld=$with_gnu_ld
11634   lt_save_path_LD=$lt_cv_path_LD
11635   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11636     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11637   else
11638     $as_unset lt_cv_prog_gnu_ld
11639   fi
11640   if test -n "${lt_cv_path_LDCXX+set}"; then
11641     lt_cv_path_LD=$lt_cv_path_LDCXX
11642   else
11643     $as_unset lt_cv_path_LD
11644   fi
11645   test -z "${LDCXX+set}" || LD=$LDCXX
11646   CC=${CXX-"c++"}
11647   compiler=$CC
11648   compiler_CXX=$CC
11649   for cc_temp in $compiler""; do
11650   case $cc_temp in
11651     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11652     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11653     \-*) ;;
11654     *) break;;
11655   esac
11656 done
11657 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11658
11659
11660   if test -n "$compiler"; then
11661     # We don't want -fno-exception when compiling C++ code, so set the
11662     # no_builtin_flag separately
11663     if test "$GXX" = yes; then
11664       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11665     else
11666       lt_prog_compiler_no_builtin_flag_CXX=
11667     fi
11668
11669     if test "$GXX" = yes; then
11670       # Set up default GNU C++ configuration
11671
11672
11673
11674 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11675 if test "${with_gnu_ld+set}" = set; then
11676   withval="$with_gnu_ld"
11677   test "$withval" = no || with_gnu_ld=yes
11678 else
11679   with_gnu_ld=no
11680 fi;
11681 ac_prog=ld
11682 if test "$GCC" = yes; then
11683   # Check if gcc -print-prog-name=ld gives a path.
11684   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11685 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11686   case $host in
11687   *-*-mingw*)
11688     # gcc leaves a trailing carriage return which upsets mingw
11689     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11690   *)
11691     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11692   esac
11693   case $ac_prog in
11694     # Accept absolute paths.
11695     [\\/]* | ?:[\\/]*)
11696       re_direlt='/[^/][^/]*/\.\./'
11697       # Canonicalize the pathname of ld
11698       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11699       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11700         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11701       done
11702       test -z "$LD" && LD="$ac_prog"
11703       ;;
11704   "")
11705     # If it fails, then pretend we aren't using GCC.
11706     ac_prog=ld
11707     ;;
11708   *)
11709     # If it is relative, then search for the first ld in PATH.
11710     with_gnu_ld=unknown
11711     ;;
11712   esac
11713 elif test "$with_gnu_ld" = yes; then
11714   echo "$as_me:$LINENO: checking for GNU ld" >&5
11715 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11716 else
11717   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11718 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11719 fi
11720 if test "${lt_cv_path_LD+set}" = set; then
11721   echo $ECHO_N "(cached) $ECHO_C" >&6
11722 else
11723   if test -z "$LD"; then
11724   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11725   for ac_dir in $PATH; do
11726     IFS="$lt_save_ifs"
11727     test -z "$ac_dir" && ac_dir=.
11728     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11729       lt_cv_path_LD="$ac_dir/$ac_prog"
11730       # Check to see if the program is GNU ld.  I'd rather use --version,
11731       # but apparently some variants of GNU ld only accept -v.
11732       # Break only if it was the GNU/non-GNU ld that we prefer.
11733       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11734       *GNU* | *'with BFD'*)
11735         test "$with_gnu_ld" != no && break
11736         ;;
11737       *)
11738         test "$with_gnu_ld" != yes && break
11739         ;;
11740       esac
11741     fi
11742   done
11743   IFS="$lt_save_ifs"
11744 else
11745   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11746 fi
11747 fi
11748
11749 LD="$lt_cv_path_LD"
11750 if test -n "$LD"; then
11751   echo "$as_me:$LINENO: result: $LD" >&5
11752 echo "${ECHO_T}$LD" >&6
11753 else
11754   echo "$as_me:$LINENO: result: no" >&5
11755 echo "${ECHO_T}no" >&6
11756 fi
11757 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11758 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11759    { (exit 1); exit 1; }; }
11760 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11761 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11762 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11763   echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11766 case `$LD -v 2>&1 </dev/null` in
11767 *GNU* | *'with BFD'*)
11768   lt_cv_prog_gnu_ld=yes
11769   ;;
11770 *)
11771   lt_cv_prog_gnu_ld=no
11772   ;;
11773 esac
11774 fi
11775 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11776 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11777 with_gnu_ld=$lt_cv_prog_gnu_ld
11778
11779
11780
11781
11782
11783
11784
11785       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11786       # archiving commands below assume that GNU ld is being used.
11787       if test "$with_gnu_ld" = yes; then
11788         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11789         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'
11790
11791         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11792         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11793
11794         # If archive_cmds runs LD, not CC, wlarc should be empty
11795         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11796         #     investigate it a little bit more. (MM)
11797         wlarc='${wl}'
11798
11799         # ancient GNU ld didn't support --whole-archive et. al.
11800         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11801           $GREP 'no-whole-archive' > /dev/null; then
11802           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11803         else
11804           whole_archive_flag_spec_CXX=
11805         fi
11806       else
11807         with_gnu_ld=no
11808         wlarc=
11809
11810         # A generic and very simple default shared library creation
11811         # command for GNU C++ for the case where it uses the native
11812         # linker, instead of GNU ld.  If possible, this setting should
11813         # overridden to take advantage of the native linker features on
11814         # the platform it is being used on.
11815         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11816       fi
11817
11818       # Commands to make compiler produce verbose output that lists
11819       # what "hidden" libraries, object files and flags are used when
11820       # linking a shared library.
11821       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11822
11823     else
11824       GXX=no
11825       with_gnu_ld=no
11826       wlarc=
11827     fi
11828
11829     # PORTME: fill in a description of your system's C++ link characteristics
11830     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11831 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11832     ld_shlibs_CXX=yes
11833     case $host_os in
11834       aix3*)
11835         # FIXME: insert proper C++ library support
11836         ld_shlibs_CXX=no
11837         ;;
11838       aix[4-9]*)
11839         if test "$host_cpu" = ia64; then
11840           # On IA64, the linker does run time linking by default, so we don't
11841           # have to do anything special.
11842           aix_use_runtimelinking=no
11843           exp_sym_flag='-Bexport'
11844           no_entry_flag=""
11845         else
11846           aix_use_runtimelinking=no
11847
11848           # Test if we are trying to use run time linking or normal
11849           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11850           # need to do runtime linking.
11851           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11852             for ld_flag in $LDFLAGS; do
11853               case $ld_flag in
11854               *-brtl*)
11855                 aix_use_runtimelinking=yes
11856                 break
11857                 ;;
11858               esac
11859             done
11860             ;;
11861           esac
11862
11863           exp_sym_flag='-bexport'
11864           no_entry_flag='-bnoentry'
11865         fi
11866
11867         # When large executables or shared objects are built, AIX ld can
11868         # have problems creating the table of contents.  If linking a library
11869         # or program results in "error TOC overflow" add -mminimal-toc to
11870         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11871         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11872
11873         archive_cmds_CXX=''
11874         hardcode_direct_CXX=yes
11875         hardcode_direct_absolute_CXX=yes
11876         hardcode_libdir_separator_CXX=':'
11877         link_all_deplibs_CXX=yes
11878         file_list_spec_CXX='${wl}-f,'
11879
11880         if test "$GXX" = yes; then
11881           case $host_os in aix4.[012]|aix4.[012].*)
11882           # We only want to do this on AIX 4.2 and lower, the check
11883           # below for broken collect2 doesn't work under 4.3+
11884           collect2name=`${CC} -print-prog-name=collect2`
11885           if test -f "$collect2name" &&
11886              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11887           then
11888             # We have reworked collect2
11889             :
11890           else
11891             # We have old collect2
11892             hardcode_direct_CXX=unsupported
11893             # It fails to find uninstalled libraries when the uninstalled
11894             # path is not listed in the libpath.  Setting hardcode_minus_L
11895             # to unsupported forces relinking
11896             hardcode_minus_L_CXX=yes
11897             hardcode_libdir_flag_spec_CXX='-L$libdir'
11898             hardcode_libdir_separator_CXX=
11899           fi
11900           esac
11901           shared_flag='-shared'
11902           if test "$aix_use_runtimelinking" = yes; then
11903             shared_flag="$shared_flag "'${wl}-G'
11904           fi
11905         else
11906           # not using gcc
11907           if test "$host_cpu" = ia64; then
11908           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11909           # chokes on -Wl,-G. The following line is correct:
11910           shared_flag='-G'
11911           else
11912             if test "$aix_use_runtimelinking" = yes; then
11913               shared_flag='${wl}-G'
11914             else
11915               shared_flag='${wl}-bM:SRE'
11916             fi
11917           fi
11918         fi
11919
11920         export_dynamic_flag_spec_CXX='${wl}-bexpall'
11921         # It seems that -bexpall does not export symbols beginning with
11922         # underscore (_), so it is better to generate a list of symbols to
11923         # export.
11924         always_export_symbols_CXX=yes
11925         if test "$aix_use_runtimelinking" = yes; then
11926           # Warning - without using the other runtime loading flags (-brtl),
11927           # -berok will link without error, but may produce a broken library.
11928           allow_undefined_flag_CXX='-berok'
11929           # Determine the default libpath from the value encoded in an empty
11930           # executable.
11931           if test x$gcc_no_link = xyes; then
11932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11934    { (exit 1); exit 1; }; }
11935 fi
11936 cat >conftest.$ac_ext <<_ACEOF
11937 /* confdefs.h.  */
11938 _ACEOF
11939 cat confdefs.h >>conftest.$ac_ext
11940 cat >>conftest.$ac_ext <<_ACEOF
11941 /* end confdefs.h.  */
11942
11943 int
11944 main ()
11945 {
11946
11947   ;
11948   return 0;
11949 }
11950 _ACEOF
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11953   (eval $ac_link) 2>conftest.er1
11954   ac_status=$?
11955   grep -v '^ *+' conftest.er1 >conftest.err
11956   rm -f conftest.er1
11957   cat conftest.err >&5
11958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959   (exit $ac_status); } &&
11960          { ac_try='test -z "$ac_cxx_werror_flag"
11961                          || test ! -s conftest.err'
11962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11963   (eval $ac_try) 2>&5
11964   ac_status=$?
11965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966   (exit $ac_status); }; } &&
11967          { ac_try='test -s conftest$ac_exeext'
11968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969   (eval $ac_try) 2>&5
11970   ac_status=$?
11971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972   (exit $ac_status); }; }; then
11973
11974 lt_aix_libpath_sed='
11975     /Import File Strings/,/^$/ {
11976         /^0/ {
11977             s/^0  *\(.*\)$/\1/
11978             p
11979         }
11980     }'
11981 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11982 # Check for a 64-bit object if we didn't find anything.
11983 if test -z "$aix_libpath"; then
11984   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11985 fi
11986 else
11987   echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11989
11990 fi
11991 rm -f conftest.err conftest.$ac_objext \
11992       conftest$ac_exeext conftest.$ac_ext
11993 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11994
11995           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11996
11997           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"
11998         else
11999           if test "$host_cpu" = ia64; then
12000             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12001             allow_undefined_flag_CXX="-z nodefs"
12002             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"
12003           else
12004             # Determine the default libpath from the value encoded in an
12005             # empty executable.
12006             if test x$gcc_no_link = xyes; then
12007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12009    { (exit 1); exit 1; }; }
12010 fi
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h.  */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h.  */
12017
12018 int
12019 main ()
12020 {
12021
12022   ;
12023   return 0;
12024 }
12025 _ACEOF
12026 rm -f conftest.$ac_objext conftest$ac_exeext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12028   (eval $ac_link) 2>conftest.er1
12029   ac_status=$?
12030   grep -v '^ *+' conftest.er1 >conftest.err
12031   rm -f conftest.er1
12032   cat conftest.err >&5
12033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034   (exit $ac_status); } &&
12035          { ac_try='test -z "$ac_cxx_werror_flag"
12036                          || test ! -s conftest.err'
12037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038   (eval $ac_try) 2>&5
12039   ac_status=$?
12040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041   (exit $ac_status); }; } &&
12042          { ac_try='test -s conftest$ac_exeext'
12043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044   (eval $ac_try) 2>&5
12045   ac_status=$?
12046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047   (exit $ac_status); }; }; then
12048
12049 lt_aix_libpath_sed='
12050     /Import File Strings/,/^$/ {
12051         /^0/ {
12052             s/^0  *\(.*\)$/\1/
12053             p
12054         }
12055     }'
12056 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12057 # Check for a 64-bit object if we didn't find anything.
12058 if test -z "$aix_libpath"; then
12059   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12060 fi
12061 else
12062   echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12064
12065 fi
12066 rm -f conftest.err conftest.$ac_objext \
12067       conftest$ac_exeext conftest.$ac_ext
12068 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12069
12070             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12071             # Warning - without using the other run time loading flags,
12072             # -berok will link without error, but may produce a broken library.
12073             no_undefined_flag_CXX=' ${wl}-bernotok'
12074             allow_undefined_flag_CXX=' ${wl}-berok'
12075             # Exported symbols can be pulled into shared objects from archives
12076             whole_archive_flag_spec_CXX='$convenience'
12077             archive_cmds_need_lc_CXX=yes
12078             # This is similar to how AIX traditionally builds its shared
12079             # libraries.
12080             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'
12081           fi
12082         fi
12083         ;;
12084
12085       beos*)
12086         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12087           allow_undefined_flag_CXX=unsupported
12088           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12089           # support --undefined.  This deserves some investigation.  FIXME
12090           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12091         else
12092           ld_shlibs_CXX=no
12093         fi
12094         ;;
12095
12096       chorus*)
12097         case $cc_basename in
12098           *)
12099           # FIXME: insert proper C++ library support
12100           ld_shlibs_CXX=no
12101           ;;
12102         esac
12103         ;;
12104
12105       cygwin* | mingw* | pw32* | cegcc*)
12106         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12107         # as there is no search path for DLLs.
12108         hardcode_libdir_flag_spec_CXX='-L$libdir'
12109         allow_undefined_flag_CXX=unsupported
12110         always_export_symbols_CXX=no
12111         enable_shared_with_static_runtimes_CXX=yes
12112
12113         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12114           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'
12115           # If the export-symbols file already is a .def file (1st line
12116           # is EXPORTS), use it as is; otherwise, prepend...
12117           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12118             cp $export_symbols $output_objdir/$soname.def;
12119           else
12120             echo EXPORTS > $output_objdir/$soname.def;
12121             cat $export_symbols >> $output_objdir/$soname.def;
12122           fi~
12123           $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'
12124         else
12125           ld_shlibs_CXX=no
12126         fi
12127         ;;
12128       darwin* | rhapsody*)
12129
12130
12131   archive_cmds_need_lc_CXX=no
12132   hardcode_direct_CXX=no
12133   hardcode_automatic_CXX=yes
12134   hardcode_shlibpath_var_CXX=unsupported
12135   whole_archive_flag_spec_CXX=''
12136   link_all_deplibs_CXX=yes
12137   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12138   case $cc_basename in
12139      ifort*) _lt_dar_can_shared=yes ;;
12140      *) _lt_dar_can_shared=$GCC ;;
12141   esac
12142   if test "$_lt_dar_can_shared" = "yes"; then
12143     output_verbose_link_cmd=echo
12144     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12145     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12146     archive_expsym_cmds_CXX="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12147     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12148        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12149       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${_lt_dsymutil}"
12150       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${_lt_dar_export_syms}${_lt_dsymutil}"
12151     fi
12152
12153   else
12154   ld_shlibs_CXX=no
12155   fi
12156
12157         ;;
12158
12159       dgux*)
12160         case $cc_basename in
12161           ec++*)
12162             # FIXME: insert proper C++ library support
12163             ld_shlibs_CXX=no
12164             ;;
12165           ghcx*)
12166             # Green Hills C++ Compiler
12167             # FIXME: insert proper C++ library support
12168             ld_shlibs_CXX=no
12169             ;;
12170           *)
12171             # FIXME: insert proper C++ library support
12172             ld_shlibs_CXX=no
12173             ;;
12174         esac
12175         ;;
12176
12177       freebsd[12]*)
12178         # C++ shared libraries reported to be fairly broken before
12179         # switch to ELF
12180         ld_shlibs_CXX=no
12181         ;;
12182
12183       freebsd-elf*)
12184         archive_cmds_need_lc_CXX=no
12185         ;;
12186
12187       freebsd* | dragonfly*)
12188         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12189         # conventions
12190         ld_shlibs_CXX=yes
12191         ;;
12192
12193       gnu*)
12194         ;;
12195
12196       hpux9*)
12197         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12198         hardcode_libdir_separator_CXX=:
12199         export_dynamic_flag_spec_CXX='${wl}-E'
12200         hardcode_direct_CXX=yes
12201         hardcode_minus_L_CXX=yes # Not in the search PATH,
12202                                              # but as the default
12203                                              # location of the library.
12204
12205         case $cc_basename in
12206           CC*)
12207             # FIXME: insert proper C++ library support
12208             ld_shlibs_CXX=no
12209             ;;
12210           aCC*)
12211             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'
12212             # Commands to make compiler produce verbose output that lists
12213             # what "hidden" libraries, object files and flags are used when
12214             # linking a shared library.
12215             #
12216             # There doesn't appear to be a way to prevent this compiler from
12217             # explicitly linking system object files so we need to strip them
12218             # from the output so that they don't get included in the library
12219             # dependencies.
12220             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'
12221             ;;
12222           *)
12223             if test "$GXX" = yes; then
12224               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'
12225             else
12226               # FIXME: insert proper C++ library support
12227               ld_shlibs_CXX=no
12228             fi
12229             ;;
12230         esac
12231         ;;
12232
12233       hpux10*|hpux11*)
12234         if test $with_gnu_ld = no; then
12235           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12236           hardcode_libdir_separator_CXX=:
12237
12238           case $host_cpu in
12239             hppa*64*|ia64*)
12240               ;;
12241             *)
12242               export_dynamic_flag_spec_CXX='${wl}-E'
12243               ;;
12244           esac
12245         fi
12246         case $host_cpu in
12247           hppa*64*|ia64*)
12248             hardcode_direct_CXX=no
12249             hardcode_shlibpath_var_CXX=no
12250             ;;
12251           *)
12252             hardcode_direct_CXX=yes
12253             hardcode_direct_absolute_CXX=yes
12254             hardcode_minus_L_CXX=yes # Not in the search PATH,
12255                                                  # but as the default
12256                                                  # location of the library.
12257             ;;
12258         esac
12259
12260         case $cc_basename in
12261           CC*)
12262             # FIXME: insert proper C++ library support
12263             ld_shlibs_CXX=no
12264             ;;
12265           aCC*)
12266             case $host_cpu in
12267               hppa*64*)
12268                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12269                 ;;
12270               ia64*)
12271                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12272                 ;;
12273               *)
12274                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12275                 ;;
12276             esac
12277             # Commands to make compiler produce verbose output that lists
12278             # what "hidden" libraries, object files and flags are used when
12279             # linking a shared library.
12280             #
12281             # There doesn't appear to be a way to prevent this compiler from
12282             # explicitly linking system object files so we need to strip them
12283             # from the output so that they don't get included in the library
12284             # dependencies.
12285             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'
12286             ;;
12287           *)
12288             if test "$GXX" = yes; then
12289               if test $with_gnu_ld = no; then
12290                 case $host_cpu in
12291                   hppa*64*)
12292                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12293                     ;;
12294                   ia64*)
12295                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12296                     ;;
12297                   *)
12298                     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'
12299                     ;;
12300                 esac
12301               fi
12302             else
12303               # FIXME: insert proper C++ library support
12304               ld_shlibs_CXX=no
12305             fi
12306             ;;
12307         esac
12308         ;;
12309
12310       interix[3-9]*)
12311         hardcode_direct_CXX=no
12312         hardcode_shlibpath_var_CXX=no
12313         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12314         export_dynamic_flag_spec_CXX='${wl}-E'
12315         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12316         # Instead, shared libraries are loaded at an image base (0x10000000 by
12317         # default) and relocated if they conflict, which is a slow very memory
12318         # consuming and fragmenting process.  To avoid this, we pick a random,
12319         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12320         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12321         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'
12322         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'
12323         ;;
12324       irix5* | irix6*)
12325         case $cc_basename in
12326           CC*)
12327             # SGI C++
12328             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'
12329
12330             # Archives containing C++ object files must be created using
12331             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12332             # necessary to make sure instantiated templates are included
12333             # in the archive.
12334             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12335             ;;
12336           *)
12337             if test "$GXX" = yes; then
12338               if test "$with_gnu_ld" = no; then
12339                 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'
12340               else
12341                 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'
12342               fi
12343             fi
12344             link_all_deplibs_CXX=yes
12345             ;;
12346         esac
12347         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12348         hardcode_libdir_separator_CXX=:
12349         inherit_rpath_CXX=yes
12350         ;;
12351
12352       linux* | k*bsd*-gnu)
12353         case $cc_basename in
12354           KCC*)
12355             # Kuck and Associates, Inc. (KAI) C++ Compiler
12356
12357             # KCC will only create a shared library if the output file
12358             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12359             # to its proper name (with version) after linking.
12360             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'
12361             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'
12362             # Commands to make compiler produce verbose output that lists
12363             # what "hidden" libraries, object files and flags are used when
12364             # linking a shared library.
12365             #
12366             # There doesn't appear to be a way to prevent this compiler from
12367             # explicitly linking system object files so we need to strip them
12368             # from the output so that they don't get included in the library
12369             # dependencies.
12370             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'
12371
12372             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12373             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12374
12375             # Archives containing C++ object files must be created using
12376             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12377             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12378             ;;
12379           icpc* | ecpc* )
12380             # Intel C++
12381             with_gnu_ld=yes
12382             # version 8.0 and above of icpc choke on multiply defined symbols
12383             # if we add $predep_objects and $postdep_objects, however 7.1 and
12384             # earlier do not add the objects themselves.
12385             case `$CC -V 2>&1` in
12386               *"Version 7."*)
12387                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12388                 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'
12389                 ;;
12390               *)  # Version 8.0 or newer
12391                 tmp_idyn=
12392                 case $host_cpu in
12393                   ia64*) tmp_idyn=' -i_dynamic';;
12394                 esac
12395                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12396                 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'
12397                 ;;
12398             esac
12399             archive_cmds_need_lc_CXX=no
12400             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12401             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12402             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12403             ;;
12404           pgCC* | pgcpp*)
12405             # Portland Group C++ compiler
12406             case `$CC -V` in
12407             *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12408               prelink_cmds_CXX='tpldir=Template.dir~
12409                 rm -rf $tpldir~
12410                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12411                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12412               old_archive_cmds_CXX='tpldir=Template.dir~
12413                 rm -rf $tpldir~
12414                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12415                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12416                 $RANLIB $oldlib'
12417               archive_cmds_CXX='tpldir=Template.dir~
12418                 rm -rf $tpldir~
12419                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12420                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12421               archive_expsym_cmds_CXX='tpldir=Template.dir~
12422                 rm -rf $tpldir~
12423                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12424                 $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'
12425               ;;
12426             *) # Version 6 will use weak symbols
12427               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12428               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'
12429               ;;
12430             esac
12431
12432             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12433             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12434             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'
12435             ;;
12436           cxx*)
12437             # Compaq C++
12438             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439             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'
12440
12441             runpath_var=LD_RUN_PATH
12442             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12443             hardcode_libdir_separator_CXX=:
12444
12445             # Commands to make compiler produce verbose output that lists
12446             # what "hidden" libraries, object files and flags are used when
12447             # linking a shared library.
12448             #
12449             # There doesn't appear to be a way to prevent this compiler from
12450             # explicitly linking system object files so we need to strip them
12451             # from the output so that they don't get included in the library
12452             # dependencies.
12453             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'
12454             ;;
12455           xl*)
12456             # IBM XL 8.0 on PPC, with GNU ld
12457             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12458             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12459             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12460             if test "x$supports_anon_versioning" = xyes; then
12461               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12462                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12463                 echo "local: *; };" >> $output_objdir/$libname.ver~
12464                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12465             fi
12466             ;;
12467           *)
12468             case `$CC -V 2>&1 | sed 5q` in
12469             *Sun\ C*)
12470               # Sun C++ 5.9
12471               no_undefined_flag_CXX=' -zdefs'
12472               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12473               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'
12474               hardcode_libdir_flag_spec_CXX='-R$libdir'
12475               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'
12476               compiler_needs_object_CXX=yes
12477
12478               # Not sure whether something based on
12479               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12480               # would be better.
12481               output_verbose_link_cmd='echo'
12482
12483               # Archives containing C++ object files must be created using
12484               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12485               # necessary to make sure instantiated templates are included
12486               # in the archive.
12487               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12488               ;;
12489             esac
12490             ;;
12491         esac
12492         ;;
12493
12494       lynxos*)
12495         # FIXME: insert proper C++ library support
12496         ld_shlibs_CXX=no
12497         ;;
12498
12499       m88k*)
12500         # FIXME: insert proper C++ library support
12501         ld_shlibs_CXX=no
12502         ;;
12503
12504       mvs*)
12505         case $cc_basename in
12506           cxx*)
12507             # FIXME: insert proper C++ library support
12508             ld_shlibs_CXX=no
12509             ;;
12510           *)
12511             # FIXME: insert proper C++ library support
12512             ld_shlibs_CXX=no
12513             ;;
12514         esac
12515         ;;
12516
12517       netbsd*)
12518         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12519           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12520           wlarc=
12521           hardcode_libdir_flag_spec_CXX='-R$libdir'
12522           hardcode_direct_CXX=yes
12523           hardcode_shlibpath_var_CXX=no
12524         fi
12525         # Workaround some broken pre-1.5 toolchains
12526         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12527         ;;
12528
12529       *nto* | *qnx*)
12530         ld_shlibs_CXX=yes
12531         ;;
12532
12533       openbsd2*)
12534         # C++ shared libraries are fairly broken
12535         ld_shlibs_CXX=no
12536         ;;
12537
12538       openbsd*)
12539         if test -f /usr/libexec/ld.so; then
12540           hardcode_direct_CXX=yes
12541           hardcode_shlibpath_var_CXX=no
12542           hardcode_direct_absolute_CXX=yes
12543           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12544           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12545           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12546             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12547             export_dynamic_flag_spec_CXX='${wl}-E'
12548             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12549           fi
12550           output_verbose_link_cmd=echo
12551         else
12552           ld_shlibs_CXX=no
12553         fi
12554         ;;
12555
12556       osf3* | osf4* | osf5*)
12557         case $cc_basename in
12558           KCC*)
12559             # Kuck and Associates, Inc. (KAI) C++ Compiler
12560
12561             # KCC will only create a shared library if the output file
12562             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12563             # to its proper name (with version) after linking.
12564             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'
12565
12566             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12567             hardcode_libdir_separator_CXX=:
12568
12569             # Archives containing C++ object files must be created using
12570             # the KAI C++ compiler.
12571             case $host in
12572               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12573               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12574             esac
12575             ;;
12576           RCC*)
12577             # Rational C++ 2.4.1
12578             # FIXME: insert proper C++ library support
12579             ld_shlibs_CXX=no
12580             ;;
12581           cxx*)
12582             case $host in
12583               osf3*)
12584                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12585                 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'
12586                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12587                 ;;
12588               *)
12589                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12590                 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'
12591                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12592                   echo "-hidden">> $lib.exp~
12593                   $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~
12594                   $RM $lib.exp'
12595                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12596                 ;;
12597             esac
12598
12599             hardcode_libdir_separator_CXX=:
12600
12601             # Commands to make compiler produce verbose output that lists
12602             # what "hidden" libraries, object files and flags are used when
12603             # linking a shared library.
12604             #
12605             # There doesn't appear to be a way to prevent this compiler from
12606             # explicitly linking system object files so we need to strip them
12607             # from the output so that they don't get included in the library
12608             # dependencies.
12609             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'
12610             ;;
12611           *)
12612             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12613               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12614               case $host in
12615                 osf3*)
12616                   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'
12617                   ;;
12618                 *)
12619                   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'
12620                   ;;
12621               esac
12622
12623               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12624               hardcode_libdir_separator_CXX=:
12625
12626               # Commands to make compiler produce verbose output that lists
12627               # what "hidden" libraries, object files and flags are used when
12628               # linking a shared library.
12629               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12630
12631             else
12632               # FIXME: insert proper C++ library support
12633               ld_shlibs_CXX=no
12634             fi
12635             ;;
12636         esac
12637         ;;
12638
12639       psos*)
12640         # FIXME: insert proper C++ library support
12641         ld_shlibs_CXX=no
12642         ;;
12643
12644       sunos4*)
12645         case $cc_basename in
12646           CC*)
12647             # Sun C++ 4.x
12648             # FIXME: insert proper C++ library support
12649             ld_shlibs_CXX=no
12650             ;;
12651           lcc*)
12652             # Lucid
12653             # FIXME: insert proper C++ library support
12654             ld_shlibs_CXX=no
12655             ;;
12656           *)
12657             # FIXME: insert proper C++ library support
12658             ld_shlibs_CXX=no
12659             ;;
12660         esac
12661         ;;
12662
12663       solaris*)
12664         case $cc_basename in
12665           CC*)
12666             # Sun C++ 4.2, 5.x and Centerline C++
12667             archive_cmds_need_lc_CXX=yes
12668             no_undefined_flag_CXX=' -zdefs'
12669             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12671               $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'
12672
12673             hardcode_libdir_flag_spec_CXX='-R$libdir'
12674             hardcode_shlibpath_var_CXX=no
12675             case $host_os in
12676               solaris2.[0-5] | solaris2.[0-5].*) ;;
12677               *)
12678                 # The compiler driver will combine and reorder linker options,
12679                 # but understands `-z linker_flag'.
12680                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12681                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12682                 ;;
12683             esac
12684             link_all_deplibs_CXX=yes
12685
12686             output_verbose_link_cmd='echo'
12687
12688             # Archives containing C++ object files must be created using
12689             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12690             # necessary to make sure instantiated templates are included
12691             # in the archive.
12692             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12693             ;;
12694           gcx*)
12695             # Green Hills C++ Compiler
12696             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12697
12698             # The C++ compiler must be used to create the archive.
12699             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12700             ;;
12701           *)
12702             # GNU C++ compiler with Solaris linker
12703             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12704               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12705               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12706                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12707                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12708                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12709
12710                 # Commands to make compiler produce verbose output that lists
12711                 # what "hidden" libraries, object files and flags are used when
12712                 # linking a shared library.
12713                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12714               else
12715                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12716                 # platform.
12717                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12718                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12719                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12720
12721                 # Commands to make compiler produce verbose output that lists
12722                 # what "hidden" libraries, object files and flags are used when
12723                 # linking a shared library.
12724                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12725               fi
12726
12727               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12728               case $host_os in
12729                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12730                 *)
12731                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12732                   ;;
12733               esac
12734             fi
12735             ;;
12736         esac
12737         ;;
12738
12739     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12740       no_undefined_flag_CXX='${wl}-z,text'
12741       archive_cmds_need_lc_CXX=no
12742       hardcode_shlibpath_var_CXX=no
12743       runpath_var='LD_RUN_PATH'
12744
12745       case $cc_basename in
12746         CC*)
12747           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12748           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12749           ;;
12750         *)
12751           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12752           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12753           ;;
12754       esac
12755       ;;
12756
12757       sysv5* | sco3.2v5* | sco5v6*)
12758         # Note: We can NOT use -z defs as we might desire, because we do not
12759         # link with -lc, and that would cause any symbols used from libc to
12760         # always be unresolved, which means just about no library would
12761         # ever link correctly.  If we're not using GNU ld we use -z text
12762         # though, which does catch some bad symbols but isn't as heavy-handed
12763         # as -z defs.
12764         no_undefined_flag_CXX='${wl}-z,text'
12765         allow_undefined_flag_CXX='${wl}-z,nodefs'
12766         archive_cmds_need_lc_CXX=no
12767         hardcode_shlibpath_var_CXX=no
12768         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12769         hardcode_libdir_separator_CXX=':'
12770         link_all_deplibs_CXX=yes
12771         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12772         runpath_var='LD_RUN_PATH'
12773
12774         case $cc_basename in
12775           CC*)
12776             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12777             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12778             ;;
12779           *)
12780             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12781             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12782             ;;
12783         esac
12784       ;;
12785
12786       tandem*)
12787         case $cc_basename in
12788           NCC*)
12789             # NonStop-UX NCC 3.20
12790             # FIXME: insert proper C++ library support
12791             ld_shlibs_CXX=no
12792             ;;
12793           *)
12794             # FIXME: insert proper C++ library support
12795             ld_shlibs_CXX=no
12796             ;;
12797         esac
12798         ;;
12799
12800       vxworks*)
12801         # FIXME: insert proper C++ library support
12802         ld_shlibs_CXX=no
12803         ;;
12804
12805       *)
12806         # FIXME: insert proper C++ library support
12807         ld_shlibs_CXX=no
12808         ;;
12809     esac
12810
12811     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12812 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12813     test "$ld_shlibs_CXX" = no && can_build_shared=no
12814
12815     GCC_CXX="$GXX"
12816     LD_CXX="$LD"
12817
12818     ## CAVEAT EMPTOR:
12819     ## There is no encapsulation within the following macros, do not change
12820     ## the running order or otherwise move them around unless you know exactly
12821     ## what you are doing...
12822     # Dependencies to place before and after the object being linked:
12823 predep_objects_CXX=
12824 postdep_objects_CXX=
12825 predeps_CXX=
12826 postdeps_CXX=
12827 compiler_lib_search_path_CXX=
12828
12829 cat > conftest.$ac_ext <<_LT_EOF
12830 class Foo
12831 {
12832 public:
12833   Foo (void) { a = 0; }
12834 private:
12835   int a;
12836 };
12837 _LT_EOF
12838
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840   (eval $ac_compile) 2>&5
12841   ac_status=$?
12842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843   (exit $ac_status); }; then
12844   # Parse the compiler output and extract the necessary
12845   # objects, libraries and library flags.
12846
12847   # Sentinel used to keep track of whether or not we are before
12848   # the conftest object file.
12849   pre_test_object_deps_done=no
12850
12851   for p in `eval "$output_verbose_link_cmd"`; do
12852     case $p in
12853
12854     -L* | -R* | -l*)
12855        # Some compilers place space between "-{L,R}" and the path.
12856        # Remove the space.
12857        if test $p = "-L" ||
12858           test $p = "-R"; then
12859          prev=$p
12860          continue
12861        else
12862          prev=
12863        fi
12864
12865        if test "$pre_test_object_deps_done" = no; then
12866          case $p in
12867          -L* | -R*)
12868            # Internal compiler library paths should come after those
12869            # provided the user.  The postdeps already come after the
12870            # user supplied libs so there is no need to process them.
12871            if test -z "$compiler_lib_search_path_CXX"; then
12872              compiler_lib_search_path_CXX="${prev}${p}"
12873            else
12874              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12875            fi
12876            ;;
12877          # The "-l" case would never come before the object being
12878          # linked, so don't bother handling this case.
12879          esac
12880        else
12881          if test -z "$postdeps_CXX"; then
12882            postdeps_CXX="${prev}${p}"
12883          else
12884            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12885          fi
12886        fi
12887        ;;
12888
12889     *.$objext)
12890        # This assumes that the test object file only shows up
12891        # once in the compiler output.
12892        if test "$p" = "conftest.$objext"; then
12893          pre_test_object_deps_done=yes
12894          continue
12895        fi
12896
12897        if test "$pre_test_object_deps_done" = no; then
12898          if test -z "$predep_objects_CXX"; then
12899            predep_objects_CXX="$p"
12900          else
12901            predep_objects_CXX="$predep_objects_CXX $p"
12902          fi
12903        else
12904          if test -z "$postdep_objects_CXX"; then
12905            postdep_objects_CXX="$p"
12906          else
12907            postdep_objects_CXX="$postdep_objects_CXX $p"
12908          fi
12909        fi
12910        ;;
12911
12912     *) ;; # Ignore the rest.
12913
12914     esac
12915   done
12916
12917   # Clean up.
12918   rm -f a.out a.exe
12919 else
12920   echo "libtool.m4: error: problem compiling CXX test program"
12921 fi
12922
12923 $RM -f confest.$objext
12924
12925 # PORTME: override above test on systems where it is broken
12926 case $host_os in
12927 interix[3-9]*)
12928   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12929   # hack all around it, let's just trust "g++" to DTRT.
12930   predep_objects_CXX=
12931   postdep_objects_CXX=
12932   postdeps_CXX=
12933   ;;
12934
12935 linux*)
12936   case `$CC -V 2>&1 | sed 5q` in
12937   *Sun\ C*)
12938     # Sun C++ 5.9
12939
12940     # The more standards-conforming stlport4 library is
12941     # incompatible with the Cstd library. Avoid specifying
12942     # it if it's in CXXFLAGS. Ignore libCrun as
12943     # -library=stlport4 depends on it.
12944     case " $CXX $CXXFLAGS " in
12945     *" -library=stlport4 "*)
12946       solaris_use_stlport4=yes
12947       ;;
12948     esac
12949
12950     if test "$solaris_use_stlport4" != yes; then
12951       postdeps_CXX='-library=Cstd -library=Crun'
12952     fi
12953     ;;
12954   esac
12955   ;;
12956
12957 solaris*)
12958   case $cc_basename in
12959   CC*)
12960     # The more standards-conforming stlport4 library is
12961     # incompatible with the Cstd library. Avoid specifying
12962     # it if it's in CXXFLAGS. Ignore libCrun as
12963     # -library=stlport4 depends on it.
12964     case " $CXX $CXXFLAGS " in
12965     *" -library=stlport4 "*)
12966       solaris_use_stlport4=yes
12967       ;;
12968     esac
12969
12970     # Adding this requires a known-good setup of shared libraries for
12971     # Sun compiler versions before 5.6, else PIC objects from an old
12972     # archive will be linked into the output, leading to subtle bugs.
12973     if test "$solaris_use_stlport4" != yes; then
12974       postdeps_CXX='-library=Cstd -library=Crun'
12975     fi
12976     ;;
12977   esac
12978   ;;
12979 esac
12980
12981
12982 case " $postdeps_CXX " in
12983 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12984 esac
12985  compiler_lib_search_dirs_CXX=
12986 if test -n "${compiler_lib_search_path_CXX}"; then
12987  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12988 fi
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     lt_prog_compiler_wl_CXX=
13021 lt_prog_compiler_pic_CXX=
13022 lt_prog_compiler_static_CXX=
13023
13024 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13025 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13026
13027   # C++ specific cases for pic, static, wl, etc.
13028   if test "$GXX" = yes; then
13029     lt_prog_compiler_wl_CXX='-Wl,'
13030     lt_prog_compiler_static_CXX='-static'
13031
13032     case $host_os in
13033     aix*)
13034       # All AIX code is PIC.
13035       if test "$host_cpu" = ia64; then
13036         # AIX 5 now supports IA64 processor
13037         lt_prog_compiler_static_CXX='-Bstatic'
13038       fi
13039       ;;
13040
13041     amigaos*)
13042       case $host_cpu in
13043       powerpc)
13044             # see comment about AmigaOS4 .so support
13045             lt_prog_compiler_pic_CXX='-fPIC'
13046         ;;
13047       m68k)
13048             # FIXME: we need at least 68020 code to build shared libraries, but
13049             # adding the `-m68020' flag to GCC prevents building anything better,
13050             # like `-m68040'.
13051             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13052         ;;
13053       esac
13054       ;;
13055
13056     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13057       # PIC is the default for these OSes.
13058       ;;
13059     mingw* | cygwin* | os2* | pw32* | cegcc*)
13060       # This hack is so that the source file can tell whether it is being
13061       # built for inclusion in a dll (and should export symbols for example).
13062       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13063       # (--disable-auto-import) libraries
13064       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13065       ;;
13066     darwin* | rhapsody*)
13067       # PIC is the default on this platform
13068       # Common symbols not allowed in MH_DYLIB files
13069       lt_prog_compiler_pic_CXX='-fno-common'
13070       ;;
13071     *djgpp*)
13072       # DJGPP does not support shared libraries at all
13073       lt_prog_compiler_pic_CXX=
13074       ;;
13075     interix[3-9]*)
13076       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13077       # Instead, we relocate shared libraries at runtime.
13078       ;;
13079     sysv4*MP*)
13080       if test -d /usr/nec; then
13081         lt_prog_compiler_pic_CXX=-Kconform_pic
13082       fi
13083       ;;
13084     hpux*)
13085       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13086       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13087       # sets the default TLS model and affects inlining.
13088       case $host_cpu in
13089       hppa*64*)
13090         ;;
13091       *)
13092         lt_prog_compiler_pic_CXX='-fPIC'
13093         ;;
13094       esac
13095       ;;
13096     *qnx* | *nto*)
13097       # QNX uses GNU C++, but need to define -shared option too, otherwise
13098       # it will coredump.
13099       lt_prog_compiler_pic_CXX='-fPIC -shared'
13100       ;;
13101     *)
13102       lt_prog_compiler_pic_CXX='-fPIC'
13103       ;;
13104     esac
13105   else
13106     case $host_os in
13107       aix[4-9]*)
13108         # All AIX code is PIC.
13109         if test "$host_cpu" = ia64; then
13110           # AIX 5 now supports IA64 processor
13111           lt_prog_compiler_static_CXX='-Bstatic'
13112         else
13113           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13114         fi
13115         ;;
13116       chorus*)
13117         case $cc_basename in
13118         cxch68*)
13119           # Green Hills C++ Compiler
13120           # _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"
13121           ;;
13122         esac
13123         ;;
13124       dgux*)
13125         case $cc_basename in
13126           ec++*)
13127             lt_prog_compiler_pic_CXX='-KPIC'
13128             ;;
13129           ghcx*)
13130             # Green Hills C++ Compiler
13131             lt_prog_compiler_pic_CXX='-pic'
13132             ;;
13133           *)
13134             ;;
13135         esac
13136         ;;
13137       freebsd* | dragonfly*)
13138         # FreeBSD uses GNU C++
13139         ;;
13140       hpux9* | hpux10* | hpux11*)
13141         case $cc_basename in
13142           CC*)
13143             lt_prog_compiler_wl_CXX='-Wl,'
13144             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13145             if test "$host_cpu" != ia64; then
13146               lt_prog_compiler_pic_CXX='+Z'
13147             fi
13148             ;;
13149           aCC*)
13150             lt_prog_compiler_wl_CXX='-Wl,'
13151             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13152             case $host_cpu in
13153             hppa*64*|ia64*)
13154               # +Z the default
13155               ;;
13156             *)
13157               lt_prog_compiler_pic_CXX='+Z'
13158               ;;
13159             esac
13160             ;;
13161           *)
13162             ;;
13163         esac
13164         ;;
13165       interix*)
13166         # This is c89, which is MS Visual C++ (no shared libs)
13167         # Anyone wants to do a port?
13168         ;;
13169       irix5* | irix6* | nonstopux*)
13170         case $cc_basename in
13171           CC*)
13172             lt_prog_compiler_wl_CXX='-Wl,'
13173             lt_prog_compiler_static_CXX='-non_shared'
13174             # CC pic flag -KPIC is the default.
13175             ;;
13176           *)
13177             ;;
13178         esac
13179         ;;
13180       linux* | k*bsd*-gnu)
13181         case $cc_basename in
13182           KCC*)
13183             # KAI C++ Compiler
13184             lt_prog_compiler_wl_CXX='--backend -Wl,'
13185             lt_prog_compiler_pic_CXX='-fPIC'
13186             ;;
13187           ecpc* )
13188             # old Intel C++ for x86_64 which still supported -KPIC.
13189             lt_prog_compiler_wl_CXX='-Wl,'
13190             lt_prog_compiler_pic_CXX='-KPIC'
13191             lt_prog_compiler_static_CXX='-static'
13192             ;;
13193           icpc* )
13194             # Intel C++, used to be incompatible with GCC.
13195             # ICC 10 doesn't accept -KPIC any more.
13196             lt_prog_compiler_wl_CXX='-Wl,'
13197             lt_prog_compiler_pic_CXX='-fPIC'
13198             lt_prog_compiler_static_CXX='-static'
13199             ;;
13200           pgCC* | pgcpp*)
13201             # Portland Group C++ compiler
13202             lt_prog_compiler_wl_CXX='-Wl,'
13203             lt_prog_compiler_pic_CXX='-fpic'
13204             lt_prog_compiler_static_CXX='-Bstatic'
13205             ;;
13206           cxx*)
13207             # Compaq C++
13208             # Make sure the PIC flag is empty.  It appears that all Alpha
13209             # Linux and Compaq Tru64 Unix objects are PIC.
13210             lt_prog_compiler_pic_CXX=
13211             lt_prog_compiler_static_CXX='-non_shared'
13212             ;;
13213           xlc* | xlC*)
13214             # IBM XL 8.0 on PPC
13215             lt_prog_compiler_wl_CXX='-Wl,'
13216             lt_prog_compiler_pic_CXX='-qpic'
13217             lt_prog_compiler_static_CXX='-qstaticlink'
13218             ;;
13219           *)
13220             case `$CC -V 2>&1 | sed 5q` in
13221             *Sun\ C*)
13222               # Sun C++ 5.9
13223               lt_prog_compiler_pic_CXX='-KPIC'
13224               lt_prog_compiler_static_CXX='-Bstatic'
13225               lt_prog_compiler_wl_CXX='-Qoption ld '
13226               ;;
13227             esac
13228             ;;
13229         esac
13230         ;;
13231       lynxos*)
13232         ;;
13233       m88k*)
13234         ;;
13235       mvs*)
13236         case $cc_basename in
13237           cxx*)
13238             lt_prog_compiler_pic_CXX='-W c,exportall'
13239             ;;
13240           *)
13241             ;;
13242         esac
13243         ;;
13244       netbsd*)
13245         ;;
13246       *qnx* | *nto*)
13247         # QNX uses GNU C++, but need to define -shared option too, otherwise
13248         # it will coredump.
13249         lt_prog_compiler_pic_CXX='-fPIC -shared'
13250         ;;
13251       osf3* | osf4* | osf5*)
13252         case $cc_basename in
13253           KCC*)
13254             lt_prog_compiler_wl_CXX='--backend -Wl,'
13255             ;;
13256           RCC*)
13257             # Rational C++ 2.4.1
13258             lt_prog_compiler_pic_CXX='-pic'
13259             ;;
13260           cxx*)
13261             # Digital/Compaq C++
13262             lt_prog_compiler_wl_CXX='-Wl,'
13263             # Make sure the PIC flag is empty.  It appears that all Alpha
13264             # Linux and Compaq Tru64 Unix objects are PIC.
13265             lt_prog_compiler_pic_CXX=
13266             lt_prog_compiler_static_CXX='-non_shared'
13267             ;;
13268           *)
13269             ;;
13270         esac
13271         ;;
13272       psos*)
13273         ;;
13274       solaris*)
13275         case $cc_basename in
13276           CC*)
13277             # Sun C++ 4.2, 5.x and Centerline C++
13278             lt_prog_compiler_pic_CXX='-KPIC'
13279             lt_prog_compiler_static_CXX='-Bstatic'
13280             lt_prog_compiler_wl_CXX='-Qoption ld '
13281             ;;
13282           gcx*)
13283             # Green Hills C++ Compiler
13284             lt_prog_compiler_pic_CXX='-PIC'
13285             ;;
13286           *)
13287             ;;
13288         esac
13289         ;;
13290       sunos4*)
13291         case $cc_basename in
13292           CC*)
13293             # Sun C++ 4.x
13294             lt_prog_compiler_pic_CXX='-pic'
13295             lt_prog_compiler_static_CXX='-Bstatic'
13296             ;;
13297           lcc*)
13298             # Lucid
13299             lt_prog_compiler_pic_CXX='-pic'
13300             ;;
13301           *)
13302             ;;
13303         esac
13304         ;;
13305       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13306         case $cc_basename in
13307           CC*)
13308             lt_prog_compiler_wl_CXX='-Wl,'
13309             lt_prog_compiler_pic_CXX='-KPIC'
13310             lt_prog_compiler_static_CXX='-Bstatic'
13311             ;;
13312         esac
13313         ;;
13314       tandem*)
13315         case $cc_basename in
13316           NCC*)
13317             # NonStop-UX NCC 3.20
13318             lt_prog_compiler_pic_CXX='-KPIC'
13319             ;;
13320           *)
13321             ;;
13322         esac
13323         ;;
13324       vxworks*)
13325         ;;
13326       *)
13327         lt_prog_compiler_can_build_shared_CXX=no
13328         ;;
13329     esac
13330   fi
13331
13332 case $host_os in
13333   # For platforms which do not support PIC, -DPIC is meaningless:
13334   *djgpp*)
13335     lt_prog_compiler_pic_CXX=
13336     ;;
13337   *)
13338     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13339     ;;
13340 esac
13341 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13342 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13343
13344
13345
13346 #
13347 # Check to make sure the PIC flag actually works.
13348 #
13349 if test -n "$lt_prog_compiler_pic_CXX"; then
13350   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13351 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13352 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13353   echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355   lt_cv_prog_compiler_pic_works_CXX=no
13356    ac_outfile=conftest.$ac_objext
13357    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13358    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13359    # Insert the option either (1) after the last *FLAGS variable, or
13360    # (2) before a word containing "conftest.", or (3) at the end.
13361    # Note that $ac_compile itself does not contain backslashes and begins
13362    # with a dollar sign (not a hyphen), so the echo should work correctly.
13363    # The option is referenced via a variable to avoid confusing sed.
13364    lt_compile=`echo "$ac_compile" | $SED \
13365    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13366    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13367    -e 's:$: $lt_compiler_flag:'`
13368    (eval echo "\"\$as_me:13368: $lt_compile\"" >&5)
13369    (eval "$lt_compile" 2>conftest.err)
13370    ac_status=$?
13371    cat conftest.err >&5
13372    echo "$as_me:13372: \$? = $ac_status" >&5
13373    if (exit $ac_status) && test -s "$ac_outfile"; then
13374      # The compiler can only warn and ignore the option if not recognized
13375      # So say no if there are warnings other than the usual output.
13376      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13377      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13378      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13379        lt_cv_prog_compiler_pic_works_CXX=yes
13380      fi
13381    fi
13382    $RM conftest*
13383
13384 fi
13385 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13386 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13387
13388 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13389     case $lt_prog_compiler_pic_CXX in
13390      "" | " "*) ;;
13391      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13392      esac
13393 else
13394     lt_prog_compiler_pic_CXX=
13395      lt_prog_compiler_can_build_shared_CXX=no
13396 fi
13397
13398 fi
13399
13400
13401
13402 #
13403 # Check to make sure the static flag actually works.
13404 #
13405 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13406 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13407 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13408 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13409   echo $ECHO_N "(cached) $ECHO_C" >&6
13410 else
13411   lt_cv_prog_compiler_static_works_CXX=no
13412    save_LDFLAGS="$LDFLAGS"
13413    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13414    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13415    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13416      # The linker can only warn and ignore the option if not recognized
13417      # So say no if there are warnings
13418      if test -s conftest.err; then
13419        # Append any errors to the config.log.
13420        cat conftest.err 1>&5
13421        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13422        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13423        if diff conftest.exp conftest.er2 >/dev/null; then
13424          lt_cv_prog_compiler_static_works_CXX=yes
13425        fi
13426      else
13427        lt_cv_prog_compiler_static_works_CXX=yes
13428      fi
13429    fi
13430    $RM -r conftest*
13431    LDFLAGS="$save_LDFLAGS"
13432
13433 fi
13434 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13435 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13436
13437 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13438     :
13439 else
13440     lt_prog_compiler_static_CXX=
13441 fi
13442
13443
13444
13445
13446     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13447 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13448 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13449   echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451   lt_cv_prog_compiler_c_o_CXX=no
13452    $RM -r conftest 2>/dev/null
13453    mkdir conftest
13454    cd conftest
13455    mkdir out
13456    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13457
13458    lt_compiler_flag="-o out/conftest2.$ac_objext"
13459    # Insert the option either (1) after the last *FLAGS variable, or
13460    # (2) before a word containing "conftest.", or (3) at the end.
13461    # Note that $ac_compile itself does not contain backslashes and begins
13462    # with a dollar sign (not a hyphen), so the echo should work correctly.
13463    lt_compile=`echo "$ac_compile" | $SED \
13464    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13465    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13466    -e 's:$: $lt_compiler_flag:'`
13467    (eval echo "\"\$as_me:13467: $lt_compile\"" >&5)
13468    (eval "$lt_compile" 2>out/conftest.err)
13469    ac_status=$?
13470    cat out/conftest.err >&5
13471    echo "$as_me:13471: \$? = $ac_status" >&5
13472    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13473    then
13474      # The compiler can only warn and ignore the option if not recognized
13475      # So say no if there are warnings
13476      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13477      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13478      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13479        lt_cv_prog_compiler_c_o_CXX=yes
13480      fi
13481    fi
13482    chmod u+w . 2>&5
13483    $RM conftest*
13484    # SGI C++ compiler will create directory out/ii_files/ for
13485    # template instantiation
13486    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13487    $RM out/* && rmdir out
13488    cd ..
13489    $RM -r conftest
13490    $RM conftest*
13491
13492 fi
13493 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13494 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13495
13496
13497
13498     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13499 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13500 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13501   echo $ECHO_N "(cached) $ECHO_C" >&6
13502 else
13503   lt_cv_prog_compiler_c_o_CXX=no
13504    $RM -r conftest 2>/dev/null
13505    mkdir conftest
13506    cd conftest
13507    mkdir out
13508    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13509
13510    lt_compiler_flag="-o out/conftest2.$ac_objext"
13511    # Insert the option either (1) after the last *FLAGS variable, or
13512    # (2) before a word containing "conftest.", or (3) at the end.
13513    # Note that $ac_compile itself does not contain backslashes and begins
13514    # with a dollar sign (not a hyphen), so the echo should work correctly.
13515    lt_compile=`echo "$ac_compile" | $SED \
13516    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13517    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13518    -e 's:$: $lt_compiler_flag:'`
13519    (eval echo "\"\$as_me:13519: $lt_compile\"" >&5)
13520    (eval "$lt_compile" 2>out/conftest.err)
13521    ac_status=$?
13522    cat out/conftest.err >&5
13523    echo "$as_me:13523: \$? = $ac_status" >&5
13524    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13525    then
13526      # The compiler can only warn and ignore the option if not recognized
13527      # So say no if there are warnings
13528      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13529      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13530      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13531        lt_cv_prog_compiler_c_o_CXX=yes
13532      fi
13533    fi
13534    chmod u+w . 2>&5
13535    $RM conftest*
13536    # SGI C++ compiler will create directory out/ii_files/ for
13537    # template instantiation
13538    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13539    $RM out/* && rmdir out
13540    cd ..
13541    $RM -r conftest
13542    $RM conftest*
13543
13544 fi
13545 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13546 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13547
13548
13549
13550
13551 hard_links="nottested"
13552 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13553   # do not overwrite the value of need_locks provided by the user
13554   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13555 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13556   hard_links=yes
13557   $RM conftest*
13558   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13559   touch conftest.a
13560   ln conftest.a conftest.b 2>&5 || hard_links=no
13561   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13562   echo "$as_me:$LINENO: result: $hard_links" >&5
13563 echo "${ECHO_T}$hard_links" >&6
13564   if test "$hard_links" = no; then
13565     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13566 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13567     need_locks=warn
13568   fi
13569 else
13570   need_locks=no
13571 fi
13572
13573
13574
13575     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13576 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13577
13578   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13579   case $host_os in
13580   aix[4-9]*)
13581     # If we're using GNU nm, then we don't want the "-C" option.
13582     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13583     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13584       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'
13585     else
13586       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'
13587     fi
13588     ;;
13589   pw32*)
13590     export_symbols_cmds_CXX="$ltdll_cmds"
13591   ;;
13592   cygwin* | mingw* | cegcc*)
13593     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'
13594   ;;
13595   *)
13596     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13597   ;;
13598   esac
13599   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13600
13601 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13602 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13603 test "$ld_shlibs_CXX" = no && can_build_shared=no
13604
13605 with_gnu_ld_CXX=$with_gnu_ld
13606
13607
13608
13609
13610
13611
13612 #
13613 # Do we need to explicitly link libc?
13614 #
13615 case "x$archive_cmds_need_lc_CXX" in
13616 x|xyes)
13617   # Assume -lc should be added
13618   archive_cmds_need_lc_CXX=yes
13619
13620   if test "$enable_shared" = yes && test "$GCC" = yes; then
13621     case $archive_cmds_CXX in
13622     *'~'*)
13623       # FIXME: we may have to deal with multi-command sequences.
13624       ;;
13625     '$CC '*)
13626       # Test whether the compiler implicitly links with -lc since on some
13627       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13628       # to ld, don't add -lc before -lgcc.
13629       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13630 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13631 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13632   echo $ECHO_N "(cached) $ECHO_C" >&6
13633 else
13634   $RM conftest*
13635         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13636
13637         if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13638   (eval $ac_compile) 2>&5
13639   ac_status=$?
13640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641   (exit $ac_status); } 2>conftest.err; then
13642           soname=conftest
13643           lib=conftest
13644           libobjs=conftest.$ac_objext
13645           deplibs=
13646           wl=$lt_prog_compiler_wl_CXX
13647           pic_flag=$lt_prog_compiler_pic_CXX
13648           compiler_flags=-v
13649           linker_flags=-v
13650           verstring=
13651           output_objdir=.
13652           libname=conftest
13653           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13654           allow_undefined_flag_CXX=
13655           if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13656   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13657   ac_status=$?
13658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659   (exit $ac_status); }
13660           then
13661             lt_cv_archive_cmds_need_lc_CXX=no
13662           else
13663             lt_cv_archive_cmds_need_lc_CXX=yes
13664           fi
13665           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13666         else
13667           cat conftest.err 1>&5
13668         fi
13669         $RM conftest*
13670
13671 fi
13672 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13673 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13674       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13675       ;;
13676     esac
13677   fi
13678   ;;
13679 esac
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13745 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13746
13747 library_names_spec=
13748 libname_spec='lib$name'
13749 soname_spec=
13750 shrext_cmds=".so"
13751 postinstall_cmds=
13752 postuninstall_cmds=
13753 finish_cmds=
13754 finish_eval=
13755 shlibpath_var=
13756 shlibpath_overrides_runpath=unknown
13757 version_type=none
13758 dynamic_linker="$host_os ld.so"
13759 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13760 need_lib_prefix=unknown
13761 hardcode_into_libs=no
13762
13763 # when you set need_version to no, make sure it does not cause -set_version
13764 # flags to be left without arguments
13765 need_version=unknown
13766
13767 case $host_os in
13768 aix3*)
13769   version_type=linux
13770   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13771   shlibpath_var=LIBPATH
13772
13773   # AIX 3 has no versioning support, so we append a major version to the name.
13774   soname_spec='${libname}${release}${shared_ext}$major'
13775   ;;
13776
13777 aix[4-9]*)
13778   version_type=linux
13779   need_lib_prefix=no
13780   need_version=no
13781   hardcode_into_libs=yes
13782   if test "$host_cpu" = ia64; then
13783     # AIX 5 supports IA64
13784     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13785     shlibpath_var=LD_LIBRARY_PATH
13786   else
13787     # With GCC up to 2.95.x, collect2 would create an import file
13788     # for dependence libraries.  The import file would start with
13789     # the line `#! .'.  This would cause the generated library to
13790     # depend on `.', always an invalid library.  This was fixed in
13791     # development snapshots of GCC prior to 3.0.
13792     case $host_os in
13793       aix4 | aix4.[01] | aix4.[01].*)
13794       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13795            echo ' yes '
13796            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13797         :
13798       else
13799         can_build_shared=no
13800       fi
13801       ;;
13802     esac
13803     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13804     # soname into executable. Probably we can add versioning support to
13805     # collect2, so additional links can be useful in future.
13806     if test "$aix_use_runtimelinking" = yes; then
13807       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13808       # instead of lib<name>.a to let people know that these are not
13809       # typical AIX shared libraries.
13810       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13811     else
13812       # We preserve .a as extension for shared libraries through AIX4.2
13813       # and later when we are not doing run time linking.
13814       library_names_spec='${libname}${release}.a $libname.a'
13815       soname_spec='${libname}${release}${shared_ext}$major'
13816     fi
13817     shlibpath_var=LIBPATH
13818   fi
13819   ;;
13820
13821 amigaos*)
13822   case $host_cpu in
13823   powerpc)
13824     # Since July 2007 AmigaOS4 officially supports .so libraries.
13825     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13826     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827     ;;
13828   m68k)
13829     library_names_spec='$libname.ixlibrary $libname.a'
13830     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13831     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'
13832     ;;
13833   esac
13834   ;;
13835
13836 beos*)
13837   library_names_spec='${libname}${shared_ext}'
13838   dynamic_linker="$host_os ld.so"
13839   shlibpath_var=LIBRARY_PATH
13840   ;;
13841
13842 bsdi[45]*)
13843   version_type=linux
13844   need_version=no
13845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13846   soname_spec='${libname}${release}${shared_ext}$major'
13847   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13848   shlibpath_var=LD_LIBRARY_PATH
13849   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13850   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13851   # the default ld.so.conf also contains /usr/contrib/lib and
13852   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13853   # libtool to hard-code these into programs
13854   ;;
13855
13856 cygwin* | mingw* | pw32* | cegcc*)
13857   version_type=windows
13858   shrext_cmds=".dll"
13859   need_version=no
13860   need_lib_prefix=no
13861
13862   case $GCC,$host_os in
13863   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13864     library_names_spec='$libname.dll.a'
13865     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13866     postinstall_cmds='base_file=`basename \${file}`~
13867       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13868       dldir=$destdir/`dirname \$dlpath`~
13869       test -d \$dldir || mkdir -p \$dldir~
13870       $install_prog $dir/$dlname \$dldir/$dlname~
13871       chmod a+x \$dldir/$dlname~
13872       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13873         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13874       fi'
13875     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13876       dlpath=$dir/\$dldll~
13877        $RM \$dlpath'
13878     shlibpath_overrides_runpath=yes
13879
13880     case $host_os in
13881     cygwin*)
13882       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13883       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13884       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13885       ;;
13886     mingw* | cegcc*)
13887       # MinGW DLLs use traditional 'lib' prefix
13888       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13889       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13890       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13891         # It is most probably a Windows format PATH printed by
13892         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13893         # path with ; separators, and with drive letters. We can handle the
13894         # drive letters (cygwin fileutils understands them), so leave them,
13895         # especially as we might pass files found there to a mingw objdump,
13896         # which wouldn't understand a cygwinified path. Ahh.
13897         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13898       else
13899         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13900       fi
13901       ;;
13902     pw32*)
13903       # pw32 DLLs use 'pw' prefix rather than 'lib'
13904       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13905       ;;
13906     esac
13907     ;;
13908
13909   *)
13910     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13911     ;;
13912   esac
13913   dynamic_linker='Win32 ld.exe'
13914   # FIXME: first we should search . and the directory the executable is in
13915   shlibpath_var=PATH
13916   ;;
13917
13918 darwin* | rhapsody*)
13919   dynamic_linker="$host_os dyld"
13920   version_type=darwin
13921   need_lib_prefix=no
13922   need_version=no
13923   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13924   soname_spec='${libname}${release}${major}$shared_ext'
13925   shlibpath_overrides_runpath=yes
13926   shlibpath_var=DYLD_LIBRARY_PATH
13927   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13928
13929   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13930   ;;
13931
13932 dgux*)
13933   version_type=linux
13934   need_lib_prefix=no
13935   need_version=no
13936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13937   soname_spec='${libname}${release}${shared_ext}$major'
13938   shlibpath_var=LD_LIBRARY_PATH
13939   ;;
13940
13941 freebsd1*)
13942   dynamic_linker=no
13943   ;;
13944
13945 freebsd* | dragonfly*)
13946   # DragonFly does not have aout.  When/if they implement a new
13947   # versioning mechanism, adjust this.
13948   if test -x /usr/bin/objformat; then
13949     objformat=`/usr/bin/objformat`
13950   else
13951     case $host_os in
13952     freebsd[123]*) objformat=aout ;;
13953     *) objformat=elf ;;
13954     esac
13955   fi
13956   version_type=freebsd-$objformat
13957   case $version_type in
13958     freebsd-elf*)
13959       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13960       need_version=no
13961       need_lib_prefix=no
13962       ;;
13963     freebsd-*)
13964       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13965       need_version=yes
13966       ;;
13967   esac
13968   shlibpath_var=LD_LIBRARY_PATH
13969   case $host_os in
13970   freebsd2*)
13971     shlibpath_overrides_runpath=yes
13972     ;;
13973   freebsd3.[01]* | freebsdelf3.[01]*)
13974     shlibpath_overrides_runpath=yes
13975     hardcode_into_libs=yes
13976     ;;
13977   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13978   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13979     shlibpath_overrides_runpath=no
13980     hardcode_into_libs=yes
13981     ;;
13982   *) # from 4.6 on, and DragonFly
13983     shlibpath_overrides_runpath=yes
13984     hardcode_into_libs=yes
13985     ;;
13986   esac
13987   ;;
13988
13989 gnu*)
13990   version_type=linux
13991   need_lib_prefix=no
13992   need_version=no
13993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13994   soname_spec='${libname}${release}${shared_ext}$major'
13995   shlibpath_var=LD_LIBRARY_PATH
13996   hardcode_into_libs=yes
13997   ;;
13998
13999 hpux9* | hpux10* | hpux11*)
14000   # Give a soname corresponding to the major version so that dld.sl refuses to
14001   # link against other versions.
14002   version_type=sunos
14003   need_lib_prefix=no
14004   need_version=no
14005   case $host_cpu in
14006   ia64*)
14007     shrext_cmds='.so'
14008     hardcode_into_libs=yes
14009     dynamic_linker="$host_os dld.so"
14010     shlibpath_var=LD_LIBRARY_PATH
14011     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14012     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013     soname_spec='${libname}${release}${shared_ext}$major'
14014     if test "X$HPUX_IA64_MODE" = X32; then
14015       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14016     else
14017       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14018     fi
14019     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14020     ;;
14021   hppa*64*)
14022     shrext_cmds='.sl'
14023     hardcode_into_libs=yes
14024     dynamic_linker="$host_os dld.sl"
14025     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14026     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14027     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14028     soname_spec='${libname}${release}${shared_ext}$major'
14029     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14030     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14031     ;;
14032   *)
14033     shrext_cmds='.sl'
14034     dynamic_linker="$host_os dld.sl"
14035     shlibpath_var=SHLIB_PATH
14036     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14037     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14038     soname_spec='${libname}${release}${shared_ext}$major'
14039     ;;
14040   esac
14041   # HP-UX runs *really* slowly unless shared libraries are mode 555.
14042   postinstall_cmds='chmod 555 $lib'
14043   ;;
14044
14045 interix[3-9]*)
14046   version_type=linux
14047   need_lib_prefix=no
14048   need_version=no
14049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14050   soname_spec='${libname}${release}${shared_ext}$major'
14051   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14052   shlibpath_var=LD_LIBRARY_PATH
14053   shlibpath_overrides_runpath=no
14054   hardcode_into_libs=yes
14055   ;;
14056
14057 irix5* | irix6* | nonstopux*)
14058   case $host_os in
14059     nonstopux*) version_type=nonstopux ;;
14060     *)
14061         if test "$lt_cv_prog_gnu_ld" = yes; then
14062                 version_type=linux
14063         else
14064                 version_type=irix
14065         fi ;;
14066   esac
14067   need_lib_prefix=no
14068   need_version=no
14069   soname_spec='${libname}${release}${shared_ext}$major'
14070   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14071   case $host_os in
14072   irix5* | nonstopux*)
14073     libsuff= shlibsuff=
14074     ;;
14075   *)
14076     case $LD in # libtool.m4 will add one of these switches to LD
14077     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14078       libsuff= shlibsuff= libmagic=32-bit;;
14079     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14080       libsuff=32 shlibsuff=N32 libmagic=N32;;
14081     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14082       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14083     *) libsuff= shlibsuff= libmagic=never-match;;
14084     esac
14085     ;;
14086   esac
14087   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14088   shlibpath_overrides_runpath=no
14089   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14090   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14091   hardcode_into_libs=yes
14092   ;;
14093
14094 # No shared lib support for Linux oldld, aout, or coff.
14095 linux*oldld* | linux*aout* | linux*coff*)
14096   dynamic_linker=no
14097   ;;
14098
14099 # This must be Linux ELF.
14100 linux* | k*bsd*-gnu)
14101   version_type=linux
14102   need_lib_prefix=no
14103   need_version=no
14104   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14105   soname_spec='${libname}${release}${shared_ext}$major'
14106   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14107   shlibpath_var=LD_LIBRARY_PATH
14108   shlibpath_overrides_runpath=no
14109
14110   # Some binutils ld are patched to set DT_RUNPATH
14111   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14112   echo $ECHO_N "(cached) $ECHO_C" >&6
14113 else
14114   lt_cv_shlibpath_overrides_runpath=no
14115     save_LDFLAGS=$LDFLAGS
14116     save_libdir=$libdir
14117     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14118          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14119     if test x$gcc_no_link = xyes; then
14120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14122    { (exit 1); exit 1; }; }
14123 fi
14124 cat >conftest.$ac_ext <<_ACEOF
14125 /* confdefs.h.  */
14126 _ACEOF
14127 cat confdefs.h >>conftest.$ac_ext
14128 cat >>conftest.$ac_ext <<_ACEOF
14129 /* end confdefs.h.  */
14130
14131 int
14132 main ()
14133 {
14134
14135   ;
14136   return 0;
14137 }
14138 _ACEOF
14139 rm -f conftest.$ac_objext conftest$ac_exeext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14141   (eval $ac_link) 2>conftest.er1
14142   ac_status=$?
14143   grep -v '^ *+' conftest.er1 >conftest.err
14144   rm -f conftest.er1
14145   cat conftest.err >&5
14146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147   (exit $ac_status); } &&
14148          { ac_try='test -z "$ac_cxx_werror_flag"
14149                          || test ! -s conftest.err'
14150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151   (eval $ac_try) 2>&5
14152   ac_status=$?
14153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154   (exit $ac_status); }; } &&
14155          { ac_try='test -s conftest$ac_exeext'
14156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14157   (eval $ac_try) 2>&5
14158   ac_status=$?
14159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160   (exit $ac_status); }; }; then
14161   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14162   lt_cv_shlibpath_overrides_runpath=yes
14163 fi
14164
14165 else
14166   echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.$ac_ext >&5
14168
14169 fi
14170 rm -f conftest.err conftest.$ac_objext \
14171       conftest$ac_exeext conftest.$ac_ext
14172     LDFLAGS=$save_LDFLAGS
14173     libdir=$save_libdir
14174
14175 fi
14176
14177   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14178
14179   # This implies no fast_install, which is unacceptable.
14180   # Some rework will be needed to allow for fast_install
14181   # before this can be enabled.
14182   hardcode_into_libs=yes
14183
14184   # Append ld.so.conf contents to the search path
14185   if test -f /etc/ld.so.conf; then
14186     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/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14187     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14188   fi
14189
14190   # We used to test for /lib/ld.so.1 and disable shared libraries on
14191   # powerpc, because MkLinux only supported shared libraries with the
14192   # GNU dynamic linker.  Since this was broken with cross compilers,
14193   # most powerpc-linux boxes support dynamic linking these days and
14194   # people can always --disable-shared, the test was removed, and we
14195   # assume the GNU/Linux dynamic linker is in use.
14196   dynamic_linker='GNU/Linux ld.so'
14197   ;;
14198
14199 netbsd*)
14200   version_type=sunos
14201   need_lib_prefix=no
14202   need_version=no
14203   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14204     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14205     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14206     dynamic_linker='NetBSD (a.out) ld.so'
14207   else
14208     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14209     soname_spec='${libname}${release}${shared_ext}$major'
14210     dynamic_linker='NetBSD ld.elf_so'
14211   fi
14212   shlibpath_var=LD_LIBRARY_PATH
14213   shlibpath_overrides_runpath=yes
14214   hardcode_into_libs=yes
14215   ;;
14216
14217 newsos6)
14218   version_type=linux
14219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14220   shlibpath_var=LD_LIBRARY_PATH
14221   shlibpath_overrides_runpath=yes
14222   ;;
14223
14224 *nto* | *qnx*)
14225   version_type=qnx
14226   need_lib_prefix=no
14227   need_version=no
14228   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229   soname_spec='${libname}${release}${shared_ext}$major'
14230   shlibpath_var=LD_LIBRARY_PATH
14231   shlibpath_overrides_runpath=no
14232   hardcode_into_libs=yes
14233   dynamic_linker='ldqnx.so'
14234   ;;
14235
14236 openbsd*)
14237   version_type=sunos
14238   sys_lib_dlsearch_path_spec="/usr/lib"
14239   need_lib_prefix=no
14240   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14241   case $host_os in
14242     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14243     *)                          need_version=no  ;;
14244   esac
14245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14246   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14247   shlibpath_var=LD_LIBRARY_PATH
14248   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14249     case $host_os in
14250       openbsd2.[89] | openbsd2.[89].*)
14251         shlibpath_overrides_runpath=no
14252         ;;
14253       *)
14254         shlibpath_overrides_runpath=yes
14255         ;;
14256       esac
14257   else
14258     shlibpath_overrides_runpath=yes
14259   fi
14260   ;;
14261
14262 os2*)
14263   libname_spec='$name'
14264   shrext_cmds=".dll"
14265   need_lib_prefix=no
14266   library_names_spec='$libname${shared_ext} $libname.a'
14267   dynamic_linker='OS/2 ld.exe'
14268   shlibpath_var=LIBPATH
14269   ;;
14270
14271 osf3* | osf4* | osf5*)
14272   version_type=osf
14273   need_lib_prefix=no
14274   need_version=no
14275   soname_spec='${libname}${release}${shared_ext}$major'
14276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14277   shlibpath_var=LD_LIBRARY_PATH
14278   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14279   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14280   ;;
14281
14282 rdos*)
14283   dynamic_linker=no
14284   ;;
14285
14286 solaris*)
14287   version_type=linux
14288   need_lib_prefix=no
14289   need_version=no
14290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14291   soname_spec='${libname}${release}${shared_ext}$major'
14292   shlibpath_var=LD_LIBRARY_PATH
14293   shlibpath_overrides_runpath=yes
14294   hardcode_into_libs=yes
14295   # ldd complains unless libraries are executable
14296   postinstall_cmds='chmod +x $lib'
14297   ;;
14298
14299 sunos4*)
14300   version_type=sunos
14301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14302   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14303   shlibpath_var=LD_LIBRARY_PATH
14304   shlibpath_overrides_runpath=yes
14305   if test "$with_gnu_ld" = yes; then
14306     need_lib_prefix=no
14307   fi
14308   need_version=yes
14309   ;;
14310
14311 sysv4 | sysv4.3*)
14312   version_type=linux
14313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14314   soname_spec='${libname}${release}${shared_ext}$major'
14315   shlibpath_var=LD_LIBRARY_PATH
14316   case $host_vendor in
14317     sni)
14318       shlibpath_overrides_runpath=no
14319       need_lib_prefix=no
14320       runpath_var=LD_RUN_PATH
14321       ;;
14322     siemens)
14323       need_lib_prefix=no
14324       ;;
14325     motorola)
14326       need_lib_prefix=no
14327       need_version=no
14328       shlibpath_overrides_runpath=no
14329       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14330       ;;
14331   esac
14332   ;;
14333
14334 sysv4*MP*)
14335   if test -d /usr/nec ;then
14336     version_type=linux
14337     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14338     soname_spec='$libname${shared_ext}.$major'
14339     shlibpath_var=LD_LIBRARY_PATH
14340   fi
14341   ;;
14342
14343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14344   version_type=freebsd-elf
14345   need_lib_prefix=no
14346   need_version=no
14347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14348   soname_spec='${libname}${release}${shared_ext}$major'
14349   shlibpath_var=LD_LIBRARY_PATH
14350   shlibpath_overrides_runpath=yes
14351   hardcode_into_libs=yes
14352   if test "$with_gnu_ld" = yes; then
14353     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14354   else
14355     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14356     case $host_os in
14357       sco3.2v5*)
14358         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14359         ;;
14360     esac
14361   fi
14362   sys_lib_dlsearch_path_spec='/usr/lib'
14363   ;;
14364
14365 tpf*)
14366   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14367   version_type=linux
14368   need_lib_prefix=no
14369   need_version=no
14370   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14371   shlibpath_var=LD_LIBRARY_PATH
14372   shlibpath_overrides_runpath=no
14373   hardcode_into_libs=yes
14374   ;;
14375
14376 uts4*)
14377   version_type=linux
14378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379   soname_spec='${libname}${release}${shared_ext}$major'
14380   shlibpath_var=LD_LIBRARY_PATH
14381   ;;
14382
14383 *)
14384   dynamic_linker=no
14385   ;;
14386 esac
14387 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14388 echo "${ECHO_T}$dynamic_linker" >&6
14389 test "$dynamic_linker" = no && can_build_shared=no
14390
14391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14392 if test "$GCC" = yes; then
14393   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14394 fi
14395
14396 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14397   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14398 fi
14399 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14400   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14401 fi
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14439 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14440 hardcode_action_CXX=
14441 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14442    test -n "$runpath_var_CXX" ||
14443    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14444
14445   # We can hardcode non-existent directories.
14446   if test "$hardcode_direct_CXX" != no &&
14447      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14448      # have to relink, otherwise we might link with an installed library
14449      # when we should be linking with a yet-to-be-installed one
14450      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14451      test "$hardcode_minus_L_CXX" != no; then
14452     # Linking always hardcodes the temporary library directory.
14453     hardcode_action_CXX=relink
14454   else
14455     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14456     hardcode_action_CXX=immediate
14457   fi
14458 else
14459   # We cannot hardcode anything, or else we can only hardcode existing
14460   # directories.
14461   hardcode_action_CXX=unsupported
14462 fi
14463 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14464 echo "${ECHO_T}$hardcode_action_CXX" >&6
14465
14466 if test "$hardcode_action_CXX" = relink ||
14467    test "$inherit_rpath_CXX" = yes; then
14468   # Fast installation is not supported
14469   enable_fast_install=no
14470 elif test "$shlibpath_overrides_runpath" = yes ||
14471      test "$enable_shared" = no; then
14472   # Fast installation is not necessary
14473   enable_fast_install=needless
14474 fi
14475
14476
14477
14478
14479
14480
14481
14482   fi # test -n "$compiler"
14483
14484   CC=$lt_save_CC
14485   LDCXX=$LD
14486   LD=$lt_save_LD
14487   GCC=$lt_save_GCC
14488   with_gnu_ld=$lt_save_with_gnu_ld
14489   lt_cv_path_LDCXX=$lt_cv_path_LD
14490   lt_cv_path_LD=$lt_save_path_LD
14491   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14492   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14493 fi # test "$_lt_caught_CXX_error" != yes
14494
14495 ac_ext=c
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513                   ac_config_commands="$ac_config_commands libtool"
14514
14515
14516
14517
14518 # Only expand once:
14519
14520
14521
14522
14523
14524 # Possibly disable most of the library.
14525 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14526 ## than just ignoring the results.  Faster /and/ more correct, win win.
14527
14528   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14529 if test "${enable_hosted_libstdcxx+set}" = set; then
14530   enableval="$enable_hosted_libstdcxx"
14531
14532 else
14533   case "$host" in
14534         arm*-*-symbianelf*)
14535             enable_hosted_libstdcxx=no
14536             ;;
14537         *)
14538             enable_hosted_libstdcxx=yes
14539             ;;
14540      esac
14541 fi;
14542   if test "$enable_hosted_libstdcxx" = no; then
14543     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14544 echo "$as_me: Only freestanding libraries will be built" >&6;}
14545     is_hosted=no
14546     hosted_define=0
14547     enable_abi_check=no
14548     enable_libstdcxx_pch=no
14549   else
14550     is_hosted=yes
14551     hosted_define=1
14552   fi
14553
14554
14555 cat >>confdefs.h <<_ACEOF
14556 #define _GLIBCXX_HOSTED $hosted_define
14557 _ACEOF
14558
14559
14560
14561 # Enable compiler support that doesn't require linking.
14562
14563   echo "$as_me:$LINENO: checking for exception model to use" >&5
14564 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14565
14566
14567   ac_ext=cc
14568 ac_cpp='$CXXCPP $CPPFLAGS'
14569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14572
14573    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14574 if test "${enable_sjlj_exceptions+set}" = set; then
14575   enableval="$enable_sjlj_exceptions"
14576
14577       case "$enableval" in
14578        yes|no|auto) ;;
14579        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14580 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14581    { (exit 1); exit 1; }; } ;;
14582                           esac
14583
14584 else
14585   enable_sjlj_exceptions=auto
14586 fi;
14587
14588
14589   if test $enable_sjlj_exceptions = auto; then
14590     # Botheration.  Now we've got to detect the exception model.  Link tests
14591     # against libgcc.a are problematic since we've not been given proper -L
14592     # bits for single-tree newlib and libgloss.
14593     #
14594     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14595     cat > conftest.$ac_ext << EOF
14596 #line 14596 "configure"
14597 struct S { ~S(); };
14598 void bar();
14599 void foo()
14600 {
14601   S s;
14602   bar();
14603 }
14604 EOF
14605     old_CXXFLAGS="$CXXFLAGS"
14606     CXXFLAGS=-S
14607     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14608   (eval $ac_compile) 2>&5
14609   ac_status=$?
14610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611   (exit $ac_status); }; then
14612       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14613         enable_sjlj_exceptions=yes
14614       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14615         enable_sjlj_exceptions=no
14616       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14617         enable_sjlj_exceptions=no
14618       fi
14619     fi
14620     CXXFLAGS="$old_CXXFLAGS"
14621     rm -f conftest*
14622   fi
14623
14624   # This is a tad weird, for hysterical raisins.  We have to map
14625   # enable/disable to two different models.
14626   case $enable_sjlj_exceptions in
14627     yes)
14628
14629 cat >>confdefs.h <<\_ACEOF
14630 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14631 _ACEOF
14632
14633       ac_exception_model_name=sjlj
14634       ;;
14635     no)
14636       ac_exception_model_name="call frame"
14637       ;;
14638     *)
14639       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14640 echo "$as_me: error: unable to detect exception model" >&2;}
14641    { (exit 1); exit 1; }; }
14642       ;;
14643   esac
14644  ac_ext=c
14645 ac_cpp='$CPP $CPPFLAGS'
14646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14649
14650  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14651 echo "${ECHO_T}$ac_exception_model_name" >&6
14652
14653
14654    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14655 if test "${enable_libstdcxx_pch+set}" = set; then
14656   enableval="$enable_libstdcxx_pch"
14657
14658       case "$enableval" in
14659        yes|no) ;;
14660        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14661 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14662    { (exit 1); exit 1; }; } ;;
14663       esac
14664
14665 else
14666   enable_libstdcxx_pch=$is_hosted
14667 fi;
14668
14669   if test $enable_libstdcxx_pch = yes; then
14670     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14671 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14672 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14673   echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675   ac_save_CXXFLAGS="$CXXFLAGS"
14676        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14677
14678
14679        ac_ext=cc
14680 ac_cpp='$CXXCPP $CPPFLAGS'
14681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684
14685        echo '#include <math.h>' > conftest.h
14686        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14687                           -o conftest.h.gch 1>&5 2>&1 &&
14688                 echo '#error "pch failed"' > conftest.h &&
14689           echo '#include "conftest.h"' > conftest.cc &&
14690                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14691        then
14692          glibcxx_cv_prog_CXX_pch=yes
14693        else
14694          glibcxx_cv_prog_CXX_pch=no
14695        fi
14696        rm -f conftest*
14697        CXXFLAGS=$ac_save_CXXFLAGS
14698        ac_ext=c
14699 ac_cpp='$CPP $CPPFLAGS'
14700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14703
14704
14705 fi
14706 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14707 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14708     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14709   fi
14710
14711   echo "$as_me:$LINENO: checking for enabled PCH" >&5
14712 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14713   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14714 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14715
14716
14717   if test $enable_libstdcxx_pch = yes; then
14718     glibcxx_PCHFLAGS="-include bits/stdc++.h"
14719   else
14720     glibcxx_PCHFLAGS=""
14721   fi
14722
14723
14724
14725   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14726 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14727   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14728   echo "$as_me:$LINENO: result: $target_thread_file" >&5
14729 echo "${ECHO_T}$target_thread_file" >&6
14730
14731   if test $target_thread_file != single; then
14732
14733 cat >>confdefs.h <<\_ACEOF
14734 #define HAVE_GTHR_DEFAULT 1
14735 _ACEOF
14736
14737   fi
14738
14739   glibcxx_thread_h=gthr-$target_thread_file.h
14740
14741     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14742   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14743     enable_thread=yes
14744   else
14745    enable_thread=no
14746   fi
14747
14748
14749
14750
14751
14752
14753   ac_ext=cc
14754 ac_cpp='$CXXCPP $CPPFLAGS'
14755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14758
14759   old_CXXFLAGS="$CXXFLAGS"
14760
14761   # Compile unoptimized.
14762   CXXFLAGS='-O0 -S'
14763
14764   # Fake what AC_TRY_COMPILE does, without linking as this is
14765   # unnecessary for a builtins test.
14766
14767     cat > conftest.$ac_ext << EOF
14768 #line 14768 "configure"
14769 int main()
14770 {
14771   typedef bool atomic_type;
14772   atomic_type c1;
14773   atomic_type c2;
14774   const atomic_type c3(0);
14775   __sync_fetch_and_add(&c1, c2);
14776   __sync_val_compare_and_swap(&c1, c3, c2);
14777   __sync_lock_test_and_set(&c1, c3);
14778   __sync_lock_release(&c1);
14779   __sync_synchronize();
14780   return 0;
14781 }
14782 EOF
14783
14784     echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14785 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14786     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787   (eval $ac_compile) 2>&5
14788   ac_status=$?
14789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790   (exit $ac_status); }; then
14791       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14792         enable_atomic_builtinsb=no
14793       else
14794
14795 cat >>confdefs.h <<\_ACEOF
14796 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14797 _ACEOF
14798
14799         enable_atomic_builtinsb=yes
14800       fi
14801     fi
14802     echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14803 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14804     rm -f conftest*
14805
14806     cat > conftest.$ac_ext << EOF
14807 #line 14807 "configure"
14808 int main()
14809 {
14810   typedef short atomic_type;
14811   atomic_type c1;
14812   atomic_type c2;
14813   const atomic_type c3(0);
14814   __sync_fetch_and_add(&c1, c2);
14815   __sync_val_compare_and_swap(&c1, c3, c2);
14816   __sync_lock_test_and_set(&c1, c3);
14817   __sync_lock_release(&c1);
14818   __sync_synchronize();
14819   return 0;
14820 }
14821 EOF
14822
14823     echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14824 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14825     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826   (eval $ac_compile) 2>&5
14827   ac_status=$?
14828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829   (exit $ac_status); }; then
14830       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14831         enable_atomic_builtinss=no
14832       else
14833
14834 cat >>confdefs.h <<\_ACEOF
14835 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14836 _ACEOF
14837
14838         enable_atomic_builtinss=yes
14839       fi
14840     fi
14841     echo "$as_me:$LINENO: result: $enable_atomic_builtinss" >&5
14842 echo "${ECHO_T}$enable_atomic_builtinss" >&6
14843     rm -f conftest*
14844
14845     cat > conftest.$ac_ext << EOF
14846 #line 14846 "configure"
14847 int main()
14848 {
14849   // NB: _Atomic_word not necessarily int.
14850   typedef int atomic_type;
14851   atomic_type c1;
14852   atomic_type c2;
14853   const atomic_type c3(0);
14854   __sync_fetch_and_add(&c1, c2);
14855   __sync_val_compare_and_swap(&c1, c3, c2);
14856   __sync_lock_test_and_set(&c1, c3);
14857   __sync_lock_release(&c1);
14858   __sync_synchronize();
14859   return 0;
14860 }
14861 EOF
14862
14863     echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14864 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14865     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14866   (eval $ac_compile) 2>&5
14867   ac_status=$?
14868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869   (exit $ac_status); }; then
14870       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14871         enable_atomic_builtinsi=no
14872       else
14873
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14876 _ACEOF
14877
14878         enable_atomic_builtinsi=yes
14879       fi
14880     fi
14881     echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14882 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14883     rm -f conftest*
14884
14885     cat > conftest.$ac_ext << EOF
14886 #line 14886 "configure"
14887 int main()
14888 {
14889   typedef long long atomic_type;
14890   atomic_type c1;
14891   atomic_type c2;
14892   const atomic_type c3(0);
14893   __sync_fetch_and_add(&c1, c2);
14894   __sync_val_compare_and_swap(&c1, c3, c2);
14895   __sync_lock_test_and_set(&c1, c3);
14896   __sync_lock_release(&c1);
14897   __sync_synchronize();
14898   return 0;
14899 }
14900 EOF
14901
14902     echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
14903 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
14904     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905   (eval $ac_compile) 2>&5
14906   ac_status=$?
14907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908   (exit $ac_status); }; then
14909       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14910         enable_atomic_builtinsll=no
14911       else
14912
14913 cat >>confdefs.h <<\_ACEOF
14914 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
14915 _ACEOF
14916
14917         enable_atomic_builtinsll=yes
14918       fi
14919     fi
14920     echo "$as_me:$LINENO: result: $enable_atomic_builtinsll" >&5
14921 echo "${ECHO_T}$enable_atomic_builtinsll" >&6
14922     rm -f conftest*
14923
14924
14925   CXXFLAGS="$old_CXXFLAGS"
14926   ac_ext=c
14927 ac_cpp='$CPP $CPPFLAGS'
14928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14931
14932
14933   # Set atomicity_dir to builtins if either of above tests pass.
14934   if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14935     atomicity_dir=cpu/generic/atomicity_builtins
14936   fi
14937
14938   # If still generic, set to mutex.
14939   if test $atomicity_dir = "cpu/generic" ; then
14940     atomicity_dir=cpu/generic/atomicity_mutex
14941     { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14942 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14943       if test "x$target_thread_file" = xsingle; then
14944         { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14945 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14946         { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14947 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14948       else
14949         { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14950 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14951         { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14952 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14953       fi
14954   fi
14955
14956
14957
14958 # Checks for compiler support that doesn't require linking.
14959
14960   # All these tests are for C++; save the language and the compiler flags.
14961   # The CXXFLAGS thing is suspicious, but based on similar bits previously
14962   # found in GLIBCXX_CONFIGURE.
14963
14964
14965   ac_ext=cc
14966 ac_cpp='$CXXCPP $CPPFLAGS'
14967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14970
14971   ac_test_CXXFLAGS="${CXXFLAGS+set}"
14972   ac_save_CXXFLAGS="$CXXFLAGS"
14973
14974   # Check for maintainer-mode bits.
14975   if test x"$USE_MAINTAINER_MODE" = xno; then
14976     WERROR=''
14977   else
14978     WERROR='-Werror'
14979   fi
14980
14981   # Check for -ffunction-sections -fdata-sections
14982   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14983 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14984   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14985   cat >conftest.$ac_ext <<_ACEOF
14986 /* confdefs.h.  */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h.  */
14991 int foo; void bar() { };
14992 int
14993 main ()
14994 {
14995
14996   ;
14997   return 0;
14998 }
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002   (eval $ac_compile) 2>conftest.er1
15003   ac_status=$?
15004   grep -v '^ *+' conftest.er1 >conftest.err
15005   rm -f conftest.er1
15006   cat conftest.err >&5
15007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008   (exit $ac_status); } &&
15009          { ac_try='test -z "$ac_cxx_werror_flag"
15010                          || test ! -s conftest.err'
15011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012   (eval $ac_try) 2>&5
15013   ac_status=$?
15014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015   (exit $ac_status); }; } &&
15016          { ac_try='test -s conftest.$ac_objext'
15017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018   (eval $ac_try) 2>&5
15019   ac_status=$?
15020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021   (exit $ac_status); }; }; then
15022   ac_fdsections=yes
15023 else
15024   echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15026
15027 ac_fdsections=no
15028 fi
15029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15030   if test "$ac_test_CXXFLAGS" = set; then
15031     CXXFLAGS="$ac_save_CXXFLAGS"
15032   else
15033     # this is the suspicious part
15034     CXXFLAGS=''
15035   fi
15036   if test x"$ac_fdsections" = x"yes"; then
15037     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15038   fi
15039   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15040 echo "${ECHO_T}$ac_fdsections" >&6
15041
15042   ac_ext=c
15043 ac_cpp='$CPP $CPPFLAGS'
15044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15047
15048
15049
15050
15051
15052 # Enable all the variable C++ runtime options that don't require linking.
15053
15054   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15055 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15056    # Check whether --enable-cstdio or --disable-cstdio was given.
15057 if test "${enable_cstdio+set}" = set; then
15058   enableval="$enable_cstdio"
15059
15060       case "$enableval" in
15061        stdio) ;;
15062        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15063 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15064    { (exit 1); exit 1; }; } ;;
15065                           esac
15066
15067 else
15068   enable_cstdio=stdio
15069 fi;
15070
15071
15072   # Now that libio has been removed, you can have any color you want as long
15073   # as it's black.  This is one big no-op until other packages are added, but
15074   # showing the framework never hurts.
15075   case ${enable_cstdio} in
15076     stdio)
15077       CSTDIO_H=config/io/c_io_stdio.h
15078       BASIC_FILE_H=config/io/basic_file_stdio.h
15079       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15080       echo "$as_me:$LINENO: result: stdio" >&5
15081 echo "${ECHO_T}stdio" >&6
15082       ;;
15083   esac
15084
15085
15086
15087
15088
15089
15090    # Check whether --enable-clocale or --disable-clocale was given.
15091 if test "${enable_clocale+set}" = set; then
15092   enableval="$enable_clocale"
15093
15094       case "$enableval" in
15095        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15096        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15097 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15098    { (exit 1); exit 1; }; } ;;
15099                           esac
15100
15101 else
15102   enable_clocale=auto
15103 fi;
15104
15105
15106   # Deal with gettext issues.  Default to not using it (=no) until we detect
15107   # support for it later.  Let the user turn it off via --e/d, but let that
15108   # default to on for easier handling.
15109   USE_NLS=no
15110   # Check whether --enable-nls or --disable-nls was given.
15111 if test "${enable_nls+set}" = set; then
15112   enableval="$enable_nls"
15113
15114 else
15115   enable_nls=yes
15116 fi;
15117
15118   # Either a known packaage, or "auto"
15119   if test $enable_clocale = no || test $enable_clocale = yes; then
15120      enable_clocale=auto
15121   fi
15122   enable_clocale_flag=$enable_clocale
15123
15124   # Probe for locale model to use if none specified.
15125   # Default to "generic".
15126   if test $enable_clocale_flag = auto; then
15127     case ${target_os} in
15128       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15129         enable_clocale_flag=gnu
15130         ;;
15131       darwin* | freebsd*)
15132         enable_clocale_flag=darwin
15133         ;;
15134       *)
15135         enable_clocale_flag=generic
15136         ;;
15137     esac
15138   fi
15139
15140   # Sanity check model, and test for special functionality.
15141   if test $enable_clocale_flag = gnu; then
15142     cat >conftest.$ac_ext <<_ACEOF
15143 /* confdefs.h.  */
15144 _ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h.  */
15148
15149     #include <features.h>
15150     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15151       _GLIBCXX_ok
15152     #endif
15153
15154 _ACEOF
15155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15156   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15157   enable_clocale_flag=gnu
15158 else
15159   enable_clocale_flag=generic
15160 fi
15161 rm -f conftest*
15162
15163
15164     if test $enable_clocale = auto; then
15165       # Test for bugs early in glibc-2.2.x series
15166       if test "$cross_compiling" = yes; then
15167   enable_clocale_flag=generic
15168 else
15169   cat >conftest.$ac_ext <<_ACEOF
15170 /* confdefs.h.  */
15171 _ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h.  */
15175
15176       #define _GNU_SOURCE 1
15177       #include <locale.h>
15178       #include <string.h>
15179       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15180       extern __typeof(newlocale) __newlocale;
15181       extern __typeof(duplocale) __duplocale;
15182       extern __typeof(strcoll_l) __strcoll_l;
15183       #endif
15184       int main()
15185       {
15186         const char __one[] = "Äuglein Augmen";
15187         const char __two[] = "Äuglein";
15188         int i;
15189         int j;
15190         __locale_t        loc;
15191         __locale_t        loc_dup;
15192         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15193         loc_dup = __duplocale(loc);
15194         i = __strcoll_l(__one, __two, loc);
15195         j = __strcoll_l(__one, __two, loc_dup);
15196         return 0;
15197       }
15198
15199 _ACEOF
15200 rm -f conftest$ac_exeext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15202   (eval $ac_link) 2>&5
15203   ac_status=$?
15204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15207   (eval $ac_try) 2>&5
15208   ac_status=$?
15209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210   (exit $ac_status); }; }; then
15211   enable_clocale_flag=gnu
15212 else
15213   echo "$as_me: program exited with status $ac_status" >&5
15214 echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.$ac_ext >&5
15216
15217 ( exit $ac_status )
15218 enable_clocale_flag=generic
15219 fi
15220 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15221 fi
15222     fi
15223
15224     # Set it to scream when it hurts.
15225     ac_save_CFLAGS="$CFLAGS"
15226     CFLAGS="-Wimplicit-function-declaration -Werror"
15227
15228     # Use strxfrm_l if available.
15229     cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h.  */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h.  */
15235 #define _GNU_SOURCE 1
15236                     #include <string.h>
15237                     #include <locale.h>
15238 int
15239 main ()
15240 {
15241 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15242   ;
15243   return 0;
15244 }
15245 _ACEOF
15246 rm -f conftest.$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248   (eval $ac_compile) 2>conftest.er1
15249   ac_status=$?
15250   grep -v '^ *+' conftest.er1 >conftest.err
15251   rm -f conftest.er1
15252   cat conftest.err >&5
15253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254   (exit $ac_status); } &&
15255          { ac_try='test -z "$ac_c_werror_flag"
15256                          || test ! -s conftest.err'
15257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258   (eval $ac_try) 2>&5
15259   ac_status=$?
15260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261   (exit $ac_status); }; } &&
15262          { ac_try='test -s conftest.$ac_objext'
15263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264   (eval $ac_try) 2>&5
15265   ac_status=$?
15266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267   (exit $ac_status); }; }; then
15268
15269 cat >>confdefs.h <<\_ACEOF
15270 #define HAVE_STRXFRM_L 1
15271 _ACEOF
15272
15273 else
15274   echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15276
15277 fi
15278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15279
15280     # Use strerror_l if available.
15281     cat >conftest.$ac_ext <<_ACEOF
15282 /* confdefs.h.  */
15283 _ACEOF
15284 cat confdefs.h >>conftest.$ac_ext
15285 cat >>conftest.$ac_ext <<_ACEOF
15286 /* end confdefs.h.  */
15287 #define _GNU_SOURCE 1
15288                     #include <string.h>
15289                     #include <locale.h>
15290 int
15291 main ()
15292 {
15293 __locale_t loc; strerror_l(5, loc);
15294   ;
15295   return 0;
15296 }
15297 _ACEOF
15298 rm -f conftest.$ac_objext
15299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15300   (eval $ac_compile) 2>conftest.er1
15301   ac_status=$?
15302   grep -v '^ *+' conftest.er1 >conftest.err
15303   rm -f conftest.er1
15304   cat conftest.err >&5
15305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306   (exit $ac_status); } &&
15307          { ac_try='test -z "$ac_c_werror_flag"
15308                          || test ! -s conftest.err'
15309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310   (eval $ac_try) 2>&5
15311   ac_status=$?
15312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313   (exit $ac_status); }; } &&
15314          { ac_try='test -s conftest.$ac_objext'
15315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15316   (eval $ac_try) 2>&5
15317   ac_status=$?
15318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319   (exit $ac_status); }; }; then
15320
15321 cat >>confdefs.h <<\_ACEOF
15322 #define HAVE_STRERROR_L 1
15323 _ACEOF
15324
15325 else
15326   echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15328
15329 fi
15330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15331
15332     CFLAGS="$ac_save_CFLAGS"
15333   fi
15334
15335   # Perhaps use strerror_r if available, and strerror_l isn't.
15336   ac_save_CFLAGS="$CFLAGS"
15337   CFLAGS="-Wimplicit-function-declaration -Werror"
15338   cat >conftest.$ac_ext <<_ACEOF
15339 /* confdefs.h.  */
15340 _ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h.  */
15344 #define _GNU_SOURCE 1
15345                   #include <string.h>
15346                   #include <locale.h>
15347 int
15348 main ()
15349 {
15350 char s[128]; strerror_r(5, s, 128);
15351   ;
15352   return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357   (eval $ac_compile) 2>conftest.er1
15358   ac_status=$?
15359   grep -v '^ *+' conftest.er1 >conftest.err
15360   rm -f conftest.er1
15361   cat conftest.err >&5
15362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363   (exit $ac_status); } &&
15364          { ac_try='test -z "$ac_c_werror_flag"
15365                          || test ! -s conftest.err'
15366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367   (eval $ac_try) 2>&5
15368   ac_status=$?
15369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370   (exit $ac_status); }; } &&
15371          { ac_try='test -s conftest.$ac_objext'
15372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373   (eval $ac_try) 2>&5
15374   ac_status=$?
15375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376   (exit $ac_status); }; }; then
15377
15378 cat >>confdefs.h <<\_ACEOF
15379 #define HAVE_STRERROR_R 1
15380 _ACEOF
15381
15382 else
15383   echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 fi
15387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15388   CFLAGS="$ac_save_CFLAGS"
15389
15390   # Set configure bits for specified locale package
15391   echo "$as_me:$LINENO: checking for C locale to use" >&5
15392 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15393   case ${enable_clocale_flag} in
15394     generic)
15395       echo "$as_me:$LINENO: result: generic" >&5
15396 echo "${ECHO_T}generic" >&6
15397
15398       CLOCALE_H=config/locale/generic/c_locale.h
15399       CLOCALE_CC=config/locale/generic/c_locale.cc
15400       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15401       CCOLLATE_CC=config/locale/generic/collate_members.cc
15402       CCTYPE_CC=config/locale/generic/ctype_members.cc
15403       CMESSAGES_H=config/locale/generic/messages_members.h
15404       CMESSAGES_CC=config/locale/generic/messages_members.cc
15405       CMONEY_CC=config/locale/generic/monetary_members.cc
15406       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15407       CTIME_H=config/locale/generic/time_members.h
15408       CTIME_CC=config/locale/generic/time_members.cc
15409       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15410       ;;
15411     darwin)
15412       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15413 echo "${ECHO_T}darwin or freebsd" >&6
15414
15415       CLOCALE_H=config/locale/generic/c_locale.h
15416       CLOCALE_CC=config/locale/generic/c_locale.cc
15417       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15418       CCOLLATE_CC=config/locale/generic/collate_members.cc
15419       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15420       CMESSAGES_H=config/locale/generic/messages_members.h
15421       CMESSAGES_CC=config/locale/generic/messages_members.cc
15422       CMONEY_CC=config/locale/generic/monetary_members.cc
15423       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15424       CTIME_H=config/locale/generic/time_members.h
15425       CTIME_CC=config/locale/generic/time_members.cc
15426       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15427       ;;
15428
15429     gnu)
15430       echo "$as_me:$LINENO: result: gnu" >&5
15431 echo "${ECHO_T}gnu" >&6
15432
15433       # Declare intention to use gettext, and add support for specific
15434       # languages.
15435       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15436       ALL_LINGUAS="de fr"
15437
15438       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15439       # Extract the first word of "msgfmt", so it can be a program name with args.
15440 set dummy msgfmt; ac_word=$2
15441 echo "$as_me:$LINENO: checking for $ac_word" >&5
15442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15443 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15444   echo $ECHO_N "(cached) $ECHO_C" >&6
15445 else
15446   if test -n "$check_msgfmt"; then
15447   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15448 else
15449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15450 for as_dir in $PATH
15451 do
15452   IFS=$as_save_IFS
15453   test -z "$as_dir" && as_dir=.
15454   for ac_exec_ext in '' $ac_executable_extensions; do
15455   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15456     ac_cv_prog_check_msgfmt="yes"
15457     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15458     break 2
15459   fi
15460 done
15461 done
15462
15463   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15464 fi
15465 fi
15466 check_msgfmt=$ac_cv_prog_check_msgfmt
15467 if test -n "$check_msgfmt"; then
15468   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15469 echo "${ECHO_T}$check_msgfmt" >&6
15470 else
15471   echo "$as_me:$LINENO: result: no" >&5
15472 echo "${ECHO_T}no" >&6
15473 fi
15474
15475       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15476         USE_NLS=yes
15477       fi
15478       # Export the build objects.
15479       for ling in $ALL_LINGUAS; do \
15480         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15481         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15482       done
15483
15484
15485
15486       CLOCALE_H=config/locale/gnu/c_locale.h
15487       CLOCALE_CC=config/locale/gnu/c_locale.cc
15488       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15489       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15490       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15491       CMESSAGES_H=config/locale/gnu/messages_members.h
15492       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15493       CMONEY_CC=config/locale/gnu/monetary_members.cc
15494       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15495       CTIME_H=config/locale/gnu/time_members.h
15496       CTIME_CC=config/locale/gnu/time_members.cc
15497       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15498       ;;
15499     ieee_1003.1-2001)
15500       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15501 echo "${ECHO_T}IEEE 1003.1" >&6
15502
15503       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15504       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15505       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15506       CCOLLATE_CC=config/locale/generic/collate_members.cc
15507       CCTYPE_CC=config/locale/generic/ctype_members.cc
15508       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15509       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15510       CMONEY_CC=config/locale/generic/monetary_members.cc
15511       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15512       CTIME_H=config/locale/generic/time_members.h
15513       CTIME_CC=config/locale/generic/time_members.cc
15514       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15515       ;;
15516   esac
15517
15518   # This is where the testsuite looks for locale catalogs, using the
15519   # -DLOCALEDIR define during testsuite compilation.
15520   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15521
15522
15523   # A standalone libintl (e.g., GNU libintl) may be in use.
15524   if test $USE_NLS = yes; then
15525
15526 for ac_header in libintl.h
15527 do
15528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15530   echo "$as_me:$LINENO: checking for $ac_header" >&5
15531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15533   echo $ECHO_N "(cached) $ECHO_C" >&6
15534 fi
15535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15537 else
15538   # Is the header compilable?
15539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h.  */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h.  */
15547 $ac_includes_default
15548 #include <$ac_header>
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15552   (eval $ac_compile) 2>conftest.er1
15553   ac_status=$?
15554   grep -v '^ *+' conftest.er1 >conftest.err
15555   rm -f conftest.er1
15556   cat conftest.err >&5
15557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558   (exit $ac_status); } &&
15559          { ac_try='test -z "$ac_c_werror_flag"
15560                          || test ! -s conftest.err'
15561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562   (eval $ac_try) 2>&5
15563   ac_status=$?
15564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565   (exit $ac_status); }; } &&
15566          { ac_try='test -s conftest.$ac_objext'
15567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568   (eval $ac_try) 2>&5
15569   ac_status=$?
15570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571   (exit $ac_status); }; }; then
15572   ac_header_compiler=yes
15573 else
15574   echo "$as_me: failed program was:" >&5
15575 sed 's/^/| /' conftest.$ac_ext >&5
15576
15577 ac_header_compiler=no
15578 fi
15579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15581 echo "${ECHO_T}$ac_header_compiler" >&6
15582
15583 # Is the header present?
15584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15586 cat >conftest.$ac_ext <<_ACEOF
15587 /* confdefs.h.  */
15588 _ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h.  */
15592 #include <$ac_header>
15593 _ACEOF
15594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15595   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15596   ac_status=$?
15597   grep -v '^ *+' conftest.er1 >conftest.err
15598   rm -f conftest.er1
15599   cat conftest.err >&5
15600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601   (exit $ac_status); } >/dev/null; then
15602   if test -s conftest.err; then
15603     ac_cpp_err=$ac_c_preproc_warn_flag
15604     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15605   else
15606     ac_cpp_err=
15607   fi
15608 else
15609   ac_cpp_err=yes
15610 fi
15611 if test -z "$ac_cpp_err"; then
15612   ac_header_preproc=yes
15613 else
15614   echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15616
15617   ac_header_preproc=no
15618 fi
15619 rm -f conftest.err conftest.$ac_ext
15620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15621 echo "${ECHO_T}$ac_header_preproc" >&6
15622
15623 # So?  What about this header?
15624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15625   yes:no: )
15626     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15628     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15630     ac_header_preproc=yes
15631     ;;
15632   no:yes:* )
15633     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15635     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15636 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15637     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15639     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15640 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15641     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15643     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15645     (
15646       cat <<\_ASBOX
15647 ## ----------------------------------------- ##
15648 ## Report this to the package-unused lists.  ##
15649 ## ----------------------------------------- ##
15650 _ASBOX
15651     ) |
15652       sed "s/^/$as_me: WARNING:     /" >&2
15653     ;;
15654 esac
15655 echo "$as_me:$LINENO: checking for $ac_header" >&5
15656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15658   echo $ECHO_N "(cached) $ECHO_C" >&6
15659 else
15660   eval "$as_ac_Header=\$ac_header_preproc"
15661 fi
15662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15664
15665 fi
15666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15667   cat >>confdefs.h <<_ACEOF
15668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15669 _ACEOF
15670
15671 else
15672   USE_NLS=no
15673 fi
15674
15675 done
15676
15677     echo "$as_me:$LINENO: checking for library containing gettext" >&5
15678 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15679 if test "${ac_cv_search_gettext+set}" = set; then
15680   echo $ECHO_N "(cached) $ECHO_C" >&6
15681 else
15682   ac_func_search_save_LIBS=$LIBS
15683 ac_cv_search_gettext=no
15684 if test x$gcc_no_link = xyes; then
15685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15687    { (exit 1); exit 1; }; }
15688 fi
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h.  */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h.  */
15695
15696 /* Override any gcc2 internal prototype to avoid an error.  */
15697 #ifdef __cplusplus
15698 extern "C"
15699 #endif
15700 /* We use char because int might match the return type of a gcc2
15701    builtin and then its argument prototype would still apply.  */
15702 char gettext ();
15703 int
15704 main ()
15705 {
15706 gettext ();
15707   ;
15708   return 0;
15709 }
15710 _ACEOF
15711 rm -f conftest.$ac_objext conftest$ac_exeext
15712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15713   (eval $ac_link) 2>conftest.er1
15714   ac_status=$?
15715   grep -v '^ *+' conftest.er1 >conftest.err
15716   rm -f conftest.er1
15717   cat conftest.err >&5
15718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719   (exit $ac_status); } &&
15720          { ac_try='test -z "$ac_c_werror_flag"
15721                          || test ! -s conftest.err'
15722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723   (eval $ac_try) 2>&5
15724   ac_status=$?
15725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726   (exit $ac_status); }; } &&
15727          { ac_try='test -s conftest$ac_exeext'
15728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729   (eval $ac_try) 2>&5
15730   ac_status=$?
15731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732   (exit $ac_status); }; }; then
15733   ac_cv_search_gettext="none required"
15734 else
15735   echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 fi
15739 rm -f conftest.err conftest.$ac_objext \
15740       conftest$ac_exeext conftest.$ac_ext
15741 if test "$ac_cv_search_gettext" = no; then
15742   for ac_lib in intl; do
15743     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15744     if test x$gcc_no_link = xyes; then
15745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15747    { (exit 1); exit 1; }; }
15748 fi
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h.  */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h.  */
15755
15756 /* Override any gcc2 internal prototype to avoid an error.  */
15757 #ifdef __cplusplus
15758 extern "C"
15759 #endif
15760 /* We use char because int might match the return type of a gcc2
15761    builtin and then its argument prototype would still apply.  */
15762 char gettext ();
15763 int
15764 main ()
15765 {
15766 gettext ();
15767   ;
15768   return 0;
15769 }
15770 _ACEOF
15771 rm -f conftest.$ac_objext conftest$ac_exeext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15773   (eval $ac_link) 2>conftest.er1
15774   ac_status=$?
15775   grep -v '^ *+' conftest.er1 >conftest.err
15776   rm -f conftest.er1
15777   cat conftest.err >&5
15778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779   (exit $ac_status); } &&
15780          { ac_try='test -z "$ac_c_werror_flag"
15781                          || test ! -s conftest.err'
15782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783   (eval $ac_try) 2>&5
15784   ac_status=$?
15785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786   (exit $ac_status); }; } &&
15787          { ac_try='test -s conftest$ac_exeext'
15788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789   (eval $ac_try) 2>&5
15790   ac_status=$?
15791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792   (exit $ac_status); }; }; then
15793   ac_cv_search_gettext="-l$ac_lib"
15794 break
15795 else
15796   echo "$as_me: failed program was:" >&5
15797 sed 's/^/| /' conftest.$ac_ext >&5
15798
15799 fi
15800 rm -f conftest.err conftest.$ac_objext \
15801       conftest$ac_exeext conftest.$ac_ext
15802   done
15803 fi
15804 LIBS=$ac_func_search_save_LIBS
15805 fi
15806 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15807 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15808 if test "$ac_cv_search_gettext" != no; then
15809   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15810
15811 else
15812   USE_NLS=no
15813 fi
15814
15815   fi
15816   if test $USE_NLS = yes; then
15817
15818 cat >>confdefs.h <<\_ACEOF
15819 #define _GLIBCXX_USE_NLS 1
15820 _ACEOF
15821
15822   fi
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15840 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15841    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15842 if test "${enable_libstdcxx_allocator+set}" = set; then
15843   enableval="$enable_libstdcxx_allocator"
15844
15845       case "$enableval" in
15846        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15847        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15848 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15849    { (exit 1); exit 1; }; } ;;
15850                           esac
15851
15852 else
15853   enable_libstdcxx_allocator=auto
15854 fi;
15855
15856
15857   # If they didn't use this option switch, or if they specified --enable
15858   # with no specific model, we'll have to look for one.  If they
15859   # specified --disable (???), do likewise.
15860   if test $enable_libstdcxx_allocator = no ||
15861      test $enable_libstdcxx_allocator = yes;
15862   then
15863      enable_libstdcxx_allocator=auto
15864   fi
15865
15866   # Either a known package, or "auto". Auto implies the default choice
15867   # for a particular platform.
15868   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15869
15870   # Probe for host-specific support if no specific model is specified.
15871   # Default to "new".
15872   if test $enable_libstdcxx_allocator_flag = auto; then
15873     case ${target_os} in
15874       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15875         enable_libstdcxx_allocator_flag=new
15876         ;;
15877       *)
15878         enable_libstdcxx_allocator_flag=new
15879         ;;
15880     esac
15881   fi
15882   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15883 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15884
15885
15886   # Set configure bits for specified locale package
15887   case ${enable_libstdcxx_allocator_flag} in
15888     bitmap)
15889       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15890       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15891       ;;
15892     malloc)
15893       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15894       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15895       ;;
15896     mt)
15897       ALLOCATOR_H=config/allocator/mt_allocator_base.h
15898       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15899       ;;
15900     new)
15901       ALLOCATOR_H=config/allocator/new_allocator_base.h
15902       ALLOCATOR_NAME=__gnu_cxx::new_allocator
15903       ;;
15904     pool)
15905       ALLOCATOR_H=config/allocator/pool_allocator_base.h
15906       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15907       ;;
15908   esac
15909
15910
15911
15912
15913
15914    # Check whether --enable-cheaders or --disable-cheaders was given.
15915 if test "${enable_cheaders+set}" = set; then
15916   enableval="$enable_cheaders"
15917
15918       case "$enableval" in
15919        c|c_std|c_global) ;;
15920        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15921 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15922    { (exit 1); exit 1; }; } ;;
15923                           esac
15924
15925 else
15926   enable_cheaders=$c_model
15927 fi;
15928
15929   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15930 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15931
15932   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15933
15934   # Allow overrides to configure.host here.
15935   if test $enable_cheaders = c_global; then
15936      c_compatibility=yes
15937   fi
15938
15939   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15940      c_extra=yes
15941   fi
15942
15943
15944
15945
15946
15947
15948
15949
15950    # Check whether --enable-long-long or --disable-long-long was given.
15951 if test "${enable_long_long+set}" = set; then
15952   enableval="$enable_long_long"
15953
15954       case "$enableval" in
15955        yes|no) ;;
15956        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15957 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15958    { (exit 1); exit 1; }; } ;;
15959       esac
15960
15961 else
15962   enable_long_long=yes
15963 fi;
15964
15965   if test $enable_long_long = yes; then
15966
15967 cat >>confdefs.h <<\_ACEOF
15968 #define _GLIBCXX_USE_LONG_LONG 1
15969 _ACEOF
15970
15971   fi
15972   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15973 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15974   echo "$as_me:$LINENO: result: $enable_long_long" >&5
15975 echo "${ECHO_T}$enable_long_long" >&6
15976
15977
15978    # Check whether --enable-wchar_t or --disable-wchar_t was given.
15979 if test "${enable_wchar_t+set}" = set; then
15980   enableval="$enable_wchar_t"
15981
15982       case "$enableval" in
15983        yes|no) ;;
15984        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15985 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15986    { (exit 1); exit 1; }; } ;;
15987       esac
15988
15989 else
15990   enable_wchar_t=yes
15991 fi;
15992
15993
15994   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15995
15996 for ac_header in wchar.h
15997 do
15998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16000   echo "$as_me:$LINENO: checking for $ac_header" >&5
16001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16003   echo $ECHO_N "(cached) $ECHO_C" >&6
16004 fi
16005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16007 else
16008   # Is the header compilable?
16009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h.  */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h.  */
16017 $ac_includes_default
16018 #include <$ac_header>
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16022   (eval $ac_compile) 2>conftest.er1
16023   ac_status=$?
16024   grep -v '^ *+' conftest.er1 >conftest.err
16025   rm -f conftest.er1
16026   cat conftest.err >&5
16027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028   (exit $ac_status); } &&
16029          { ac_try='test -z "$ac_c_werror_flag"
16030                          || test ! -s conftest.err'
16031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032   (eval $ac_try) 2>&5
16033   ac_status=$?
16034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035   (exit $ac_status); }; } &&
16036          { ac_try='test -s conftest.$ac_objext'
16037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038   (eval $ac_try) 2>&5
16039   ac_status=$?
16040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041   (exit $ac_status); }; }; then
16042   ac_header_compiler=yes
16043 else
16044   echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_header_compiler=no
16048 fi
16049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16051 echo "${ECHO_T}$ac_header_compiler" >&6
16052
16053 # Is the header present?
16054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16056 cat >conftest.$ac_ext <<_ACEOF
16057 /* confdefs.h.  */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h.  */
16062 #include <$ac_header>
16063 _ACEOF
16064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16065   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16066   ac_status=$?
16067   grep -v '^ *+' conftest.er1 >conftest.err
16068   rm -f conftest.er1
16069   cat conftest.err >&5
16070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071   (exit $ac_status); } >/dev/null; then
16072   if test -s conftest.err; then
16073     ac_cpp_err=$ac_c_preproc_warn_flag
16074     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16075   else
16076     ac_cpp_err=
16077   fi
16078 else
16079   ac_cpp_err=yes
16080 fi
16081 if test -z "$ac_cpp_err"; then
16082   ac_header_preproc=yes
16083 else
16084   echo "$as_me: failed program was:" >&5
16085 sed 's/^/| /' conftest.$ac_ext >&5
16086
16087   ac_header_preproc=no
16088 fi
16089 rm -f conftest.err conftest.$ac_ext
16090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16091 echo "${ECHO_T}$ac_header_preproc" >&6
16092
16093 # So?  What about this header?
16094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16095   yes:no: )
16096     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16098     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16100     ac_header_preproc=yes
16101     ;;
16102   no:yes:* )
16103     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16105     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16106 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16107     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16109     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16110 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16111     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16113     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16115     (
16116       cat <<\_ASBOX
16117 ## ----------------------------------------- ##
16118 ## Report this to the package-unused lists.  ##
16119 ## ----------------------------------------- ##
16120 _ASBOX
16121     ) |
16122       sed "s/^/$as_me: WARNING:     /" >&2
16123     ;;
16124 esac
16125 echo "$as_me:$LINENO: checking for $ac_header" >&5
16126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16128   echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16130   eval "$as_ac_Header=\$ac_header_preproc"
16131 fi
16132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16134
16135 fi
16136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16137   cat >>confdefs.h <<_ACEOF
16138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16139 _ACEOF
16140  ac_has_wchar_h=yes
16141 else
16142   ac_has_wchar_h=no
16143 fi
16144
16145 done
16146
16147   echo "$as_me:$LINENO: checking for mbstate_t" >&5
16148 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16149   cat >conftest.$ac_ext <<_ACEOF
16150 /* confdefs.h.  */
16151 _ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h.  */
16155 #include <wchar.h>
16156 int
16157 main ()
16158 {
16159 mbstate_t teststate;
16160   ;
16161   return 0;
16162 }
16163 _ACEOF
16164 rm -f conftest.$ac_objext
16165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16166   (eval $ac_compile) 2>conftest.er1
16167   ac_status=$?
16168   grep -v '^ *+' conftest.er1 >conftest.err
16169   rm -f conftest.er1
16170   cat conftest.err >&5
16171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172   (exit $ac_status); } &&
16173          { ac_try='test -z "$ac_c_werror_flag"
16174                          || test ! -s conftest.err'
16175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176   (eval $ac_try) 2>&5
16177   ac_status=$?
16178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179   (exit $ac_status); }; } &&
16180          { ac_try='test -s conftest.$ac_objext'
16181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182   (eval $ac_try) 2>&5
16183   ac_status=$?
16184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185   (exit $ac_status); }; }; then
16186   have_mbstate_t=yes
16187 else
16188   echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.$ac_ext >&5
16190
16191 have_mbstate_t=no
16192 fi
16193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16194   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16195 echo "${ECHO_T}$have_mbstate_t" >&6
16196   if test x"$have_mbstate_t" = xyes; then
16197
16198 cat >>confdefs.h <<\_ACEOF
16199 #define HAVE_MBSTATE_T 1
16200 _ACEOF
16201
16202   fi
16203
16204   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16205   # ac_has_wchar_h.
16206
16207 for ac_header in wctype.h
16208 do
16209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16211   echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214   echo $ECHO_N "(cached) $ECHO_C" >&6
16215 fi
16216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16218 else
16219   # Is the header compilable?
16220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16222 cat >conftest.$ac_ext <<_ACEOF
16223 /* confdefs.h.  */
16224 _ACEOF
16225 cat confdefs.h >>conftest.$ac_ext
16226 cat >>conftest.$ac_ext <<_ACEOF
16227 /* end confdefs.h.  */
16228 $ac_includes_default
16229 #include <$ac_header>
16230 _ACEOF
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233   (eval $ac_compile) 2>conftest.er1
16234   ac_status=$?
16235   grep -v '^ *+' conftest.er1 >conftest.err
16236   rm -f conftest.er1
16237   cat conftest.err >&5
16238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239   (exit $ac_status); } &&
16240          { ac_try='test -z "$ac_c_werror_flag"
16241                          || test ! -s conftest.err'
16242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243   (eval $ac_try) 2>&5
16244   ac_status=$?
16245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246   (exit $ac_status); }; } &&
16247          { ac_try='test -s conftest.$ac_objext'
16248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249   (eval $ac_try) 2>&5
16250   ac_status=$?
16251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252   (exit $ac_status); }; }; then
16253   ac_header_compiler=yes
16254 else
16255   echo "$as_me: failed program was:" >&5
16256 sed 's/^/| /' conftest.$ac_ext >&5
16257
16258 ac_header_compiler=no
16259 fi
16260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16262 echo "${ECHO_T}$ac_header_compiler" >&6
16263
16264 # Is the header present?
16265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16267 cat >conftest.$ac_ext <<_ACEOF
16268 /* confdefs.h.  */
16269 _ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h.  */
16273 #include <$ac_header>
16274 _ACEOF
16275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16276   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16277   ac_status=$?
16278   grep -v '^ *+' conftest.er1 >conftest.err
16279   rm -f conftest.er1
16280   cat conftest.err >&5
16281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282   (exit $ac_status); } >/dev/null; then
16283   if test -s conftest.err; then
16284     ac_cpp_err=$ac_c_preproc_warn_flag
16285     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16286   else
16287     ac_cpp_err=
16288   fi
16289 else
16290   ac_cpp_err=yes
16291 fi
16292 if test -z "$ac_cpp_err"; then
16293   ac_header_preproc=yes
16294 else
16295   echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16297
16298   ac_header_preproc=no
16299 fi
16300 rm -f conftest.err conftest.$ac_ext
16301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16302 echo "${ECHO_T}$ac_header_preproc" >&6
16303
16304 # So?  What about this header?
16305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16306   yes:no: )
16307     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16309     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16311     ac_header_preproc=yes
16312     ;;
16313   no:yes:* )
16314     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16316     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16317 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16318     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16320     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16321 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16322     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16324     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16326     (
16327       cat <<\_ASBOX
16328 ## ----------------------------------------- ##
16329 ## Report this to the package-unused lists.  ##
16330 ## ----------------------------------------- ##
16331 _ASBOX
16332     ) |
16333       sed "s/^/$as_me: WARNING:     /" >&2
16334     ;;
16335 esac
16336 echo "$as_me:$LINENO: checking for $ac_header" >&5
16337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16339   echo $ECHO_N "(cached) $ECHO_C" >&6
16340 else
16341   eval "$as_ac_Header=\$ac_header_preproc"
16342 fi
16343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16345
16346 fi
16347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16348   cat >>confdefs.h <<_ACEOF
16349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16350 _ACEOF
16351  ac_has_wctype_h=yes
16352 else
16353   ac_has_wctype_h=no
16354 fi
16355
16356 done
16357
16358
16359   if test x"$enable_wchar_t" = x"yes"; then
16360
16361
16362
16363     ac_ext=cc
16364 ac_cpp='$CXXCPP $CPPFLAGS'
16365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16368
16369
16370     if test x"$ac_has_wchar_h" = xyes &&
16371        test x"$ac_has_wctype_h" = xyes; then
16372       cat >conftest.$ac_ext <<_ACEOF
16373 /* confdefs.h.  */
16374 _ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h.  */
16378 #include <wchar.h>
16379                       #include <stddef.h>
16380                       wint_t i;
16381                       long l = WEOF;
16382                       long j = WCHAR_MIN;
16383                       long k = WCHAR_MAX;
16384                       namespace test
16385                       {
16386                         using ::btowc;
16387                         using ::fgetwc;
16388                         using ::fgetws;
16389                         using ::fputwc;
16390                         using ::fputws;
16391                         using ::fwide;
16392                         using ::fwprintf;
16393                         using ::fwscanf;
16394                         using ::getwc;
16395                         using ::getwchar;
16396                         using ::mbrlen;
16397                         using ::mbrtowc;
16398                         using ::mbsinit;
16399                         using ::mbsrtowcs;
16400                         using ::putwc;
16401                         using ::putwchar;
16402                         using ::swprintf;
16403                         using ::swscanf;
16404                         using ::ungetwc;
16405                         using ::vfwprintf;
16406                         using ::vswprintf;
16407                         using ::vwprintf;
16408                         using ::wcrtomb;
16409                         using ::wcscat;
16410                         using ::wcschr;
16411                         using ::wcscmp;
16412                         using ::wcscoll;
16413                         using ::wcscpy;
16414                         using ::wcscspn;
16415                         using ::wcsftime;
16416                         using ::wcslen;
16417                         using ::wcsncat;
16418                         using ::wcsncmp;
16419                         using ::wcsncpy;
16420                         using ::wcspbrk;
16421                         using ::wcsrchr;
16422                         using ::wcsrtombs;
16423                         using ::wcsspn;
16424                         using ::wcsstr;
16425                         using ::wcstod;
16426                         using ::wcstok;
16427                         using ::wcstol;
16428                         using ::wcstoul;
16429                         using ::wcsxfrm;
16430                         using ::wctob;
16431                         using ::wmemchr;
16432                         using ::wmemcmp;
16433                         using ::wmemcpy;
16434                         using ::wmemmove;
16435                         using ::wmemset;
16436                         using ::wprintf;
16437                         using ::wscanf;
16438                       }
16439
16440 int
16441 main ()
16442 {
16443
16444   ;
16445   return 0;
16446 }
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16450   (eval $ac_compile) 2>conftest.er1
16451   ac_status=$?
16452   grep -v '^ *+' conftest.er1 >conftest.err
16453   rm -f conftest.er1
16454   cat conftest.err >&5
16455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456   (exit $ac_status); } &&
16457          { ac_try='test -z "$ac_cxx_werror_flag"
16458                          || test ! -s conftest.err'
16459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16460   (eval $ac_try) 2>&5
16461   ac_status=$?
16462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16463   (exit $ac_status); }; } &&
16464          { ac_try='test -s conftest.$ac_objext'
16465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466   (eval $ac_try) 2>&5
16467   ac_status=$?
16468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469   (exit $ac_status); }; }; then
16470   :
16471 else
16472   echo "$as_me: failed program was:" >&5
16473 sed 's/^/| /' conftest.$ac_ext >&5
16474
16475 enable_wchar_t=no
16476 fi
16477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16478     else
16479       enable_wchar_t=no
16480     fi
16481
16482     ac_ext=c
16483 ac_cpp='$CPP $CPPFLAGS'
16484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16487
16488   fi
16489
16490   if test x"$enable_wchar_t" = x"yes"; then
16491
16492 cat >>confdefs.h <<\_ACEOF
16493 #define _GLIBCXX_USE_WCHAR_T 1
16494 _ACEOF
16495
16496   fi
16497
16498   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16499 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16500   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16501 echo "${ECHO_T}$enable_wchar_t" >&6
16502
16503
16504
16505    # Check whether --enable-c99 or --disable-c99 was given.
16506 if test "${enable_c99+set}" = set; then
16507   enableval="$enable_c99"
16508
16509       case "$enableval" in
16510        yes|no) ;;
16511        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16512 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16513    { (exit 1); exit 1; }; } ;;
16514       esac
16515
16516 else
16517   enable_c99=yes
16518 fi;
16519
16520
16521   if test x"$enable_c99" = x"yes"; then
16522
16523
16524
16525   ac_ext=cc
16526 ac_cpp='$CXXCPP $CPPFLAGS'
16527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16530
16531
16532   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16533   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16534   # spuriously enabled.
16535   # Long term, -std=c++0x could be even better, could manage to explicitely
16536   # request C99 facilities to the underlying C headers.
16537   ac_save_CXXFLAGS="$CXXFLAGS"
16538   CXXFLAGS="$CXXFLAGS -std=c++98"
16539   ac_save_LIBS="$LIBS"
16540   ac_save_gcc_no_link="$gcc_no_link"
16541
16542   if test x$gcc_no_link != xyes; then
16543     # Use -fno-exceptions to that the C driver can link these tests without
16544     # hitting undefined references to personality routines.
16545     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16546     echo "$as_me:$LINENO: checking for sin in -lm" >&5
16547 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16548 if test "${ac_cv_lib_m_sin+set}" = set; then
16549   echo $ECHO_N "(cached) $ECHO_C" >&6
16550 else
16551   ac_check_lib_save_LIBS=$LIBS
16552 LIBS="-lm  $LIBS"
16553 if test x$gcc_no_link = xyes; then
16554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16556    { (exit 1); exit 1; }; }
16557 fi
16558 cat >conftest.$ac_ext <<_ACEOF
16559 /* confdefs.h.  */
16560 _ACEOF
16561 cat confdefs.h >>conftest.$ac_ext
16562 cat >>conftest.$ac_ext <<_ACEOF
16563 /* end confdefs.h.  */
16564
16565 /* Override any gcc2 internal prototype to avoid an error.  */
16566 #ifdef __cplusplus
16567 extern "C"
16568 #endif
16569 /* We use char because int might match the return type of a gcc2
16570    builtin and then its argument prototype would still apply.  */
16571 char sin ();
16572 int
16573 main ()
16574 {
16575 sin ();
16576   ;
16577   return 0;
16578 }
16579 _ACEOF
16580 rm -f conftest.$ac_objext conftest$ac_exeext
16581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16582   (eval $ac_link) 2>conftest.er1
16583   ac_status=$?
16584   grep -v '^ *+' conftest.er1 >conftest.err
16585   rm -f conftest.er1
16586   cat conftest.err >&5
16587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588   (exit $ac_status); } &&
16589          { ac_try='test -z "$ac_cxx_werror_flag"
16590                          || test ! -s conftest.err'
16591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592   (eval $ac_try) 2>&5
16593   ac_status=$?
16594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595   (exit $ac_status); }; } &&
16596          { ac_try='test -s conftest$ac_exeext'
16597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598   (eval $ac_try) 2>&5
16599   ac_status=$?
16600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601   (exit $ac_status); }; }; then
16602   ac_cv_lib_m_sin=yes
16603 else
16604   echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16606
16607 ac_cv_lib_m_sin=no
16608 fi
16609 rm -f conftest.err conftest.$ac_objext \
16610       conftest$ac_exeext conftest.$ac_ext
16611 LIBS=$ac_check_lib_save_LIBS
16612 fi
16613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16614 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16615 if test $ac_cv_lib_m_sin = yes; then
16616
16617       LIBS="$LIBS -lm"
16618
16619 else
16620
16621       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16622       gcc_no_link=yes
16623
16624 fi
16625
16626   fi
16627
16628   # Check for the existence of <math.h> functions used if C99 is enabled.
16629   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16630 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16631   if test "${glibcxx_cv_c99_math+set}" = set; then
16632   echo $ECHO_N "(cached) $ECHO_C" >&6
16633 else
16634
16635   if test x$gcc_no_link = xyes; then
16636   cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h.  */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h.  */
16642 #include <math.h>
16643       volatile double d1, d2;
16644       volatile int i;
16645 int
16646 main ()
16647 {
16648 i = fpclassify(d1);
16649       i = isfinite(d1);
16650       i = isinf(d1);
16651       i = isnan(d1);
16652       i = isnormal(d1);
16653       i = signbit(d1);
16654       i = isgreater(d1, d2);
16655       i = isgreaterequal(d1, d2);
16656       i = isless(d1, d2);
16657       i = islessequal(d1, d2);
16658       i = islessgreater(d1, d2);
16659       i = islessgreater(d1, d2);
16660       i = isunordered(d1, d2);
16661
16662   ;
16663   return 0;
16664 }
16665 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16668   (eval $ac_compile) 2>conftest.er1
16669   ac_status=$?
16670   grep -v '^ *+' conftest.er1 >conftest.err
16671   rm -f conftest.er1
16672   cat conftest.err >&5
16673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674   (exit $ac_status); } &&
16675          { ac_try='test -z "$ac_cxx_werror_flag"
16676                          || test ! -s conftest.err'
16677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678   (eval $ac_try) 2>&5
16679   ac_status=$?
16680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681   (exit $ac_status); }; } &&
16682          { ac_try='test -s conftest.$ac_objext'
16683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16684   (eval $ac_try) 2>&5
16685   ac_status=$?
16686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687   (exit $ac_status); }; }; then
16688   glibcxx_cv_c99_math=yes
16689 else
16690   echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16692
16693 glibcxx_cv_c99_math=no
16694 fi
16695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16696 else
16697   if test x$gcc_no_link = xyes; then
16698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16700    { (exit 1); exit 1; }; }
16701 fi
16702 cat >conftest.$ac_ext <<_ACEOF
16703 /* confdefs.h.  */
16704 _ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h.  */
16708 #include <math.h>
16709       volatile double d1, d2;
16710       volatile int i;
16711 int
16712 main ()
16713 {
16714 i = fpclassify(d1);
16715       i = isfinite(d1);
16716       i = isinf(d1);
16717       i = isnan(d1);
16718       i = isnormal(d1);
16719       i = signbit(d1);
16720       i = isgreater(d1, d2);
16721       i = isgreaterequal(d1, d2);
16722       i = isless(d1, d2);
16723       i = islessequal(d1, d2);
16724       i = islessgreater(d1, d2);
16725       i = islessgreater(d1, d2);
16726       i = isunordered(d1, d2);
16727
16728   ;
16729   return 0;
16730 }
16731 _ACEOF
16732 rm -f conftest.$ac_objext conftest$ac_exeext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16734   (eval $ac_link) 2>conftest.er1
16735   ac_status=$?
16736   grep -v '^ *+' conftest.er1 >conftest.err
16737   rm -f conftest.er1
16738   cat conftest.err >&5
16739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740   (exit $ac_status); } &&
16741          { ac_try='test -z "$ac_cxx_werror_flag"
16742                          || test ! -s conftest.err'
16743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744   (eval $ac_try) 2>&5
16745   ac_status=$?
16746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747   (exit $ac_status); }; } &&
16748          { ac_try='test -s conftest$ac_exeext'
16749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750   (eval $ac_try) 2>&5
16751   ac_status=$?
16752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753   (exit $ac_status); }; }; then
16754   glibcxx_cv_c99_math=yes
16755 else
16756   echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16758
16759 glibcxx_cv_c99_math=no
16760 fi
16761 rm -f conftest.err conftest.$ac_objext \
16762       conftest$ac_exeext conftest.$ac_ext
16763 fi
16764
16765 fi
16766
16767   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16768 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16769   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16770
16771 cat >>confdefs.h <<\_ACEOF
16772 #define _GLIBCXX_USE_C99_MATH 1
16773 _ACEOF
16774
16775   fi
16776
16777   # Check for the existence of <complex.h> complex math functions.
16778   # This is necessary even though libstdc++ uses the builtin versions
16779   # of these functions, because if the builtin cannot be used, a reference
16780   # to the library function is emitted.
16781
16782 for ac_header in tgmath.h
16783 do
16784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16786   echo "$as_me:$LINENO: checking for $ac_header" >&5
16787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16789   echo $ECHO_N "(cached) $ECHO_C" >&6
16790 fi
16791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16793 else
16794   # Is the header compilable?
16795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16797 cat >conftest.$ac_ext <<_ACEOF
16798 /* confdefs.h.  */
16799 _ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h.  */
16803 $ac_includes_default
16804 #include <$ac_header>
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808   (eval $ac_compile) 2>conftest.er1
16809   ac_status=$?
16810   grep -v '^ *+' conftest.er1 >conftest.err
16811   rm -f conftest.er1
16812   cat conftest.err >&5
16813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814   (exit $ac_status); } &&
16815          { ac_try='test -z "$ac_cxx_werror_flag"
16816                          || test ! -s conftest.err'
16817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818   (eval $ac_try) 2>&5
16819   ac_status=$?
16820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821   (exit $ac_status); }; } &&
16822          { ac_try='test -s conftest.$ac_objext'
16823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824   (eval $ac_try) 2>&5
16825   ac_status=$?
16826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827   (exit $ac_status); }; }; then
16828   ac_header_compiler=yes
16829 else
16830   echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16832
16833 ac_header_compiler=no
16834 fi
16835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16837 echo "${ECHO_T}$ac_header_compiler" >&6
16838
16839 # Is the header present?
16840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16842 cat >conftest.$ac_ext <<_ACEOF
16843 /* confdefs.h.  */
16844 _ACEOF
16845 cat confdefs.h >>conftest.$ac_ext
16846 cat >>conftest.$ac_ext <<_ACEOF
16847 /* end confdefs.h.  */
16848 #include <$ac_header>
16849 _ACEOF
16850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16851   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16852   ac_status=$?
16853   grep -v '^ *+' conftest.er1 >conftest.err
16854   rm -f conftest.er1
16855   cat conftest.err >&5
16856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857   (exit $ac_status); } >/dev/null; then
16858   if test -s conftest.err; then
16859     ac_cpp_err=$ac_cxx_preproc_warn_flag
16860     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16861   else
16862     ac_cpp_err=
16863   fi
16864 else
16865   ac_cpp_err=yes
16866 fi
16867 if test -z "$ac_cpp_err"; then
16868   ac_header_preproc=yes
16869 else
16870   echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.$ac_ext >&5
16872
16873   ac_header_preproc=no
16874 fi
16875 rm -f conftest.err conftest.$ac_ext
16876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16877 echo "${ECHO_T}$ac_header_preproc" >&6
16878
16879 # So?  What about this header?
16880 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16881   yes:no: )
16882     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16884     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16886     ac_header_preproc=yes
16887     ;;
16888   no:yes:* )
16889     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16891     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
16892 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
16893     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16895     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
16896 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
16897     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16899     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16901     (
16902       cat <<\_ASBOX
16903 ## ----------------------------------------- ##
16904 ## Report this to the package-unused lists.  ##
16905 ## ----------------------------------------- ##
16906 _ASBOX
16907     ) |
16908       sed "s/^/$as_me: WARNING:     /" >&2
16909     ;;
16910 esac
16911 echo "$as_me:$LINENO: checking for $ac_header" >&5
16912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16914   echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else
16916   eval "$as_ac_Header=\$ac_header_preproc"
16917 fi
16918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16920
16921 fi
16922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16923   cat >>confdefs.h <<_ACEOF
16924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16925 _ACEOF
16926  ac_has_tgmath_h=yes
16927 else
16928   ac_has_tgmath_h=no
16929 fi
16930
16931 done
16932
16933
16934 for ac_header in complex.h
16935 do
16936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16938   echo "$as_me:$LINENO: checking for $ac_header" >&5
16939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16941   echo $ECHO_N "(cached) $ECHO_C" >&6
16942 fi
16943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16945 else
16946   # Is the header compilable?
16947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16949 cat >conftest.$ac_ext <<_ACEOF
16950 /* confdefs.h.  */
16951 _ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h.  */
16955 $ac_includes_default
16956 #include <$ac_header>
16957 _ACEOF
16958 rm -f conftest.$ac_objext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16960   (eval $ac_compile) 2>conftest.er1
16961   ac_status=$?
16962   grep -v '^ *+' conftest.er1 >conftest.err
16963   rm -f conftest.er1
16964   cat conftest.err >&5
16965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966   (exit $ac_status); } &&
16967          { ac_try='test -z "$ac_cxx_werror_flag"
16968                          || test ! -s conftest.err'
16969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970   (eval $ac_try) 2>&5
16971   ac_status=$?
16972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973   (exit $ac_status); }; } &&
16974          { ac_try='test -s conftest.$ac_objext'
16975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976   (eval $ac_try) 2>&5
16977   ac_status=$?
16978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979   (exit $ac_status); }; }; then
16980   ac_header_compiler=yes
16981 else
16982   echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16984
16985 ac_header_compiler=no
16986 fi
16987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16989 echo "${ECHO_T}$ac_header_compiler" >&6
16990
16991 # Is the header present?
16992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16994 cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h.  */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h.  */
17000 #include <$ac_header>
17001 _ACEOF
17002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17004   ac_status=$?
17005   grep -v '^ *+' conftest.er1 >conftest.err
17006   rm -f conftest.er1
17007   cat conftest.err >&5
17008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009   (exit $ac_status); } >/dev/null; then
17010   if test -s conftest.err; then
17011     ac_cpp_err=$ac_cxx_preproc_warn_flag
17012     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17013   else
17014     ac_cpp_err=
17015   fi
17016 else
17017   ac_cpp_err=yes
17018 fi
17019 if test -z "$ac_cpp_err"; then
17020   ac_header_preproc=yes
17021 else
17022   echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17024
17025   ac_header_preproc=no
17026 fi
17027 rm -f conftest.err conftest.$ac_ext
17028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17029 echo "${ECHO_T}$ac_header_preproc" >&6
17030
17031 # So?  What about this header?
17032 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17033   yes:no: )
17034     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17036     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17037 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17038     ac_header_preproc=yes
17039     ;;
17040   no:yes:* )
17041     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17042 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17043     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
17044 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
17045     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17046 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17047     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
17048 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
17049     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17051     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17052 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17053     (
17054       cat <<\_ASBOX
17055 ## ----------------------------------------- ##
17056 ## Report this to the package-unused lists.  ##
17057 ## ----------------------------------------- ##
17058 _ASBOX
17059     ) |
17060       sed "s/^/$as_me: WARNING:     /" >&2
17061     ;;
17062 esac
17063 echo "$as_me:$LINENO: checking for $ac_header" >&5
17064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066   echo $ECHO_N "(cached) $ECHO_C" >&6
17067 else
17068   eval "$as_ac_Header=\$ac_header_preproc"
17069 fi
17070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17072
17073 fi
17074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17075   cat >>confdefs.h <<_ACEOF
17076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17077 _ACEOF
17078  ac_has_complex_h=yes
17079 else
17080   ac_has_complex_h=no
17081 fi
17082
17083 done
17084
17085   glibcxx_cv_c99_complex=no;
17086   if test x"$ac_has_complex_h" = x"yes"; then
17087     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17088 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17089     if test x$gcc_no_link = xyes; then
17090   cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h.  */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h.  */
17096 #include <complex.h>
17097         typedef __complex__ float float_type;
17098         typedef __complex__ double double_type;
17099         typedef __complex__ long double ld_type;
17100         volatile float_type tmpf;
17101         volatile double_type tmpd;
17102         volatile ld_type tmpld;
17103         volatile float f;
17104         volatile double d;
17105         volatile long double ld;
17106 int
17107 main ()
17108 {
17109 f = cabsf(tmpf);
17110         f = cargf(tmpf);
17111         tmpf = ccosf(tmpf);
17112         tmpf = ccoshf(tmpf);
17113         tmpf = cexpf(tmpf);
17114         tmpf = clogf(tmpf);
17115         tmpf = csinf(tmpf);
17116         tmpf = csinhf(tmpf);
17117         tmpf = csqrtf(tmpf);
17118         tmpf = ctanf(tmpf);
17119         tmpf = ctanhf(tmpf);
17120         tmpf = cpowf(tmpf, tmpf);
17121         tmpf = cprojf(tmpf);
17122         d = cabs(tmpd);
17123         d = carg(tmpd);
17124         tmpd = ccos(tmpd);
17125         tmpd = ccosh(tmpd);
17126         tmpd = cexp(tmpd);
17127         tmpd = clog(tmpd);
17128         tmpd = csin(tmpd);
17129         tmpd = csinh(tmpd);
17130         tmpd = csqrt(tmpd);
17131         tmpd = ctan(tmpd);
17132         tmpd = ctanh(tmpd);
17133         tmpd = cpow(tmpd, tmpd);
17134         tmpd = cproj(tmpd);
17135         ld = cabsl(tmpld);
17136         ld = cargl(tmpld);
17137         tmpld = ccosl(tmpld);
17138         tmpld = ccoshl(tmpld);
17139         tmpld = cexpl(tmpld);
17140         tmpld = clogl(tmpld);
17141         tmpld = csinl(tmpld);
17142         tmpld = csinhl(tmpld);
17143         tmpld = csqrtl(tmpld);
17144         tmpld = ctanl(tmpld);
17145         tmpld = ctanhl(tmpld);
17146         tmpld = cpowl(tmpld, tmpld);
17147         tmpld = cprojl(tmpld);
17148
17149   ;
17150   return 0;
17151 }
17152 _ACEOF
17153 rm -f conftest.$ac_objext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17155   (eval $ac_compile) 2>conftest.er1
17156   ac_status=$?
17157   grep -v '^ *+' conftest.er1 >conftest.err
17158   rm -f conftest.er1
17159   cat conftest.err >&5
17160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161   (exit $ac_status); } &&
17162          { ac_try='test -z "$ac_cxx_werror_flag"
17163                          || test ! -s conftest.err'
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); }; } &&
17169          { ac_try='test -s conftest.$ac_objext'
17170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171   (eval $ac_try) 2>&5
17172   ac_status=$?
17173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174   (exit $ac_status); }; }; then
17175   glibcxx_cv_c99_complex=yes
17176 else
17177   echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17179
17180 glibcxx_cv_c99_complex=no
17181 fi
17182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17183 else
17184   if test x$gcc_no_link = xyes; then
17185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17187    { (exit 1); exit 1; }; }
17188 fi
17189 cat >conftest.$ac_ext <<_ACEOF
17190 /* confdefs.h.  */
17191 _ACEOF
17192 cat confdefs.h >>conftest.$ac_ext
17193 cat >>conftest.$ac_ext <<_ACEOF
17194 /* end confdefs.h.  */
17195 #include <complex.h>
17196         typedef __complex__ float float_type;
17197         typedef __complex__ double double_type;
17198         typedef __complex__ long double ld_type;
17199         volatile float_type tmpf;
17200         volatile double_type tmpd;
17201         volatile ld_type tmpld;
17202         volatile float f;
17203         volatile double d;
17204         volatile long double ld;
17205 int
17206 main ()
17207 {
17208 f = cabsf(tmpf);
17209         f = cargf(tmpf);
17210         tmpf = ccosf(tmpf);
17211         tmpf = ccoshf(tmpf);
17212         tmpf = cexpf(tmpf);
17213         tmpf = clogf(tmpf);
17214         tmpf = csinf(tmpf);
17215         tmpf = csinhf(tmpf);
17216         tmpf = csqrtf(tmpf);
17217         tmpf = ctanf(tmpf);
17218         tmpf = ctanhf(tmpf);
17219         tmpf = cpowf(tmpf, tmpf);
17220         tmpf = cprojf(tmpf);
17221         d = cabs(tmpd);
17222         d = carg(tmpd);
17223         tmpd = ccos(tmpd);
17224         tmpd = ccosh(tmpd);
17225         tmpd = cexp(tmpd);
17226         tmpd = clog(tmpd);
17227         tmpd = csin(tmpd);
17228         tmpd = csinh(tmpd);
17229         tmpd = csqrt(tmpd);
17230         tmpd = ctan(tmpd);
17231         tmpd = ctanh(tmpd);
17232         tmpd = cpow(tmpd, tmpd);
17233         tmpd = cproj(tmpd);
17234         ld = cabsl(tmpld);
17235         ld = cargl(tmpld);
17236         tmpld = ccosl(tmpld);
17237         tmpld = ccoshl(tmpld);
17238         tmpld = cexpl(tmpld);
17239         tmpld = clogl(tmpld);
17240         tmpld = csinl(tmpld);
17241         tmpld = csinhl(tmpld);
17242         tmpld = csqrtl(tmpld);
17243         tmpld = ctanl(tmpld);
17244         tmpld = ctanhl(tmpld);
17245         tmpld = cpowl(tmpld, tmpld);
17246         tmpld = cprojl(tmpld);
17247
17248   ;
17249   return 0;
17250 }
17251 _ACEOF
17252 rm -f conftest.$ac_objext conftest$ac_exeext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17254   (eval $ac_link) 2>conftest.er1
17255   ac_status=$?
17256   grep -v '^ *+' conftest.er1 >conftest.err
17257   rm -f conftest.er1
17258   cat conftest.err >&5
17259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260   (exit $ac_status); } &&
17261          { ac_try='test -z "$ac_cxx_werror_flag"
17262                          || test ! -s conftest.err'
17263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264   (eval $ac_try) 2>&5
17265   ac_status=$?
17266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267   (exit $ac_status); }; } &&
17268          { ac_try='test -s conftest$ac_exeext'
17269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270   (eval $ac_try) 2>&5
17271   ac_status=$?
17272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273   (exit $ac_status); }; }; then
17274   glibcxx_cv_c99_complex=yes
17275 else
17276   echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 glibcxx_cv_c99_complex=no
17280 fi
17281 rm -f conftest.err conftest.$ac_objext \
17282       conftest$ac_exeext conftest.$ac_ext
17283 fi
17284   fi
17285   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17286 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17287   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17288
17289 cat >>confdefs.h <<\_ACEOF
17290 #define _GLIBCXX_USE_C99_COMPLEX 1
17291 _ACEOF
17292
17293   fi
17294
17295   # Check for the existence in <stdio.h> of vscanf, et. al.
17296   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17297 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17298   if test "${glibcxx_cv_c99_stdio+set}" = set; then
17299   echo $ECHO_N "(cached) $ECHO_C" >&6
17300 else
17301
17302   if test x$gcc_no_link = xyes; then
17303   cat >conftest.$ac_ext <<_ACEOF
17304 /* confdefs.h.  */
17305 _ACEOF
17306 cat confdefs.h >>conftest.$ac_ext
17307 cat >>conftest.$ac_ext <<_ACEOF
17308 /* end confdefs.h.  */
17309 #include <stdio.h>
17310       #include <stdarg.h>
17311       void foo(char* fmt, ...)
17312       {
17313         va_list args; va_start(args, fmt);
17314         vfscanf(stderr, "%i", args);
17315         vscanf("%i", args);
17316         vsnprintf(fmt, 0, "%i", args);
17317         vsscanf(fmt, "%i", args);
17318       }
17319 int
17320 main ()
17321 {
17322 snprintf("12", 0, "%i");
17323   ;
17324   return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest.$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329   (eval $ac_compile) 2>conftest.er1
17330   ac_status=$?
17331   grep -v '^ *+' conftest.er1 >conftest.err
17332   rm -f conftest.er1
17333   cat conftest.err >&5
17334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335   (exit $ac_status); } &&
17336          { ac_try='test -z "$ac_cxx_werror_flag"
17337                          || test ! -s conftest.err'
17338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339   (eval $ac_try) 2>&5
17340   ac_status=$?
17341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342   (exit $ac_status); }; } &&
17343          { ac_try='test -s conftest.$ac_objext'
17344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345   (eval $ac_try) 2>&5
17346   ac_status=$?
17347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348   (exit $ac_status); }; }; then
17349   glibcxx_cv_c99_stdio=yes
17350 else
17351   echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.$ac_ext >&5
17353
17354 glibcxx_cv_c99_stdio=no
17355 fi
17356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17357 else
17358   if test x$gcc_no_link = xyes; then
17359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17361    { (exit 1); exit 1; }; }
17362 fi
17363 cat >conftest.$ac_ext <<_ACEOF
17364 /* confdefs.h.  */
17365 _ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h.  */
17369 #include <stdio.h>
17370       #include <stdarg.h>
17371       void foo(char* fmt, ...)
17372       {
17373         va_list args; va_start(args, fmt);
17374         vfscanf(stderr, "%i", args);
17375         vscanf("%i", args);
17376         vsnprintf(fmt, 0, "%i", args);
17377         vsscanf(fmt, "%i", args);
17378       }
17379 int
17380 main ()
17381 {
17382 snprintf("12", 0, "%i");
17383   ;
17384   return 0;
17385 }
17386 _ACEOF
17387 rm -f conftest.$ac_objext conftest$ac_exeext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389   (eval $ac_link) 2>conftest.er1
17390   ac_status=$?
17391   grep -v '^ *+' conftest.er1 >conftest.err
17392   rm -f conftest.er1
17393   cat conftest.err >&5
17394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395   (exit $ac_status); } &&
17396          { ac_try='test -z "$ac_cxx_werror_flag"
17397                          || test ! -s conftest.err'
17398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399   (eval $ac_try) 2>&5
17400   ac_status=$?
17401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402   (exit $ac_status); }; } &&
17403          { ac_try='test -s conftest$ac_exeext'
17404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405   (eval $ac_try) 2>&5
17406   ac_status=$?
17407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408   (exit $ac_status); }; }; then
17409   glibcxx_cv_c99_stdio=yes
17410 else
17411   echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 glibcxx_cv_c99_stdio=no
17415 fi
17416 rm -f conftest.err conftest.$ac_objext \
17417       conftest$ac_exeext conftest.$ac_ext
17418 fi
17419
17420 fi
17421
17422   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17423 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17424
17425   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17426   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17427 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17428   if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17429   echo $ECHO_N "(cached) $ECHO_C" >&6
17430 else
17431
17432   if test x$gcc_no_link = xyes; then
17433   cat >conftest.$ac_ext <<_ACEOF
17434 /* confdefs.h.  */
17435 _ACEOF
17436 cat confdefs.h >>conftest.$ac_ext
17437 cat >>conftest.$ac_ext <<_ACEOF
17438 /* end confdefs.h.  */
17439 #include <stdlib.h>
17440       volatile float f;
17441       volatile long double ld;
17442       volatile unsigned long long ll;
17443       lldiv_t mydivt;
17444 int
17445 main ()
17446 {
17447 char* tmp;
17448       f = strtof("gnu", &tmp);
17449       ld = strtold("gnu", &tmp);
17450       ll = strtoll("gnu", &tmp, 10);
17451       ll = strtoull("gnu", &tmp, 10);
17452       ll = llabs(10);
17453       mydivt = lldiv(10,1);
17454       ll = mydivt.quot;
17455       ll = mydivt.rem;
17456       ll = atoll("10");
17457       _Exit(0);
17458
17459   ;
17460   return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465   (eval $ac_compile) 2>conftest.er1
17466   ac_status=$?
17467   grep -v '^ *+' conftest.er1 >conftest.err
17468   rm -f conftest.er1
17469   cat conftest.err >&5
17470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471   (exit $ac_status); } &&
17472          { ac_try='test -z "$ac_cxx_werror_flag"
17473                          || test ! -s conftest.err'
17474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17475   (eval $ac_try) 2>&5
17476   ac_status=$?
17477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478   (exit $ac_status); }; } &&
17479          { ac_try='test -s conftest.$ac_objext'
17480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17481   (eval $ac_try) 2>&5
17482   ac_status=$?
17483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484   (exit $ac_status); }; }; then
17485   glibcxx_cv_c99_stdlib=yes
17486 else
17487   echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17489
17490 glibcxx_cv_c99_stdlib=no
17491 fi
17492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17493 else
17494   if test x$gcc_no_link = xyes; then
17495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17497    { (exit 1); exit 1; }; }
17498 fi
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h.  */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h.  */
17505 #include <stdlib.h>
17506       volatile float f;
17507       volatile long double ld;
17508       volatile unsigned long long ll;
17509       lldiv_t mydivt;
17510 int
17511 main ()
17512 {
17513 char* tmp;
17514       f = strtof("gnu", &tmp);
17515       ld = strtold("gnu", &tmp);
17516       ll = strtoll("gnu", &tmp, 10);
17517       ll = strtoull("gnu", &tmp, 10);
17518       ll = llabs(10);
17519       mydivt = lldiv(10,1);
17520       ll = mydivt.quot;
17521       ll = mydivt.rem;
17522       ll = atoll("10");
17523       _Exit(0);
17524
17525   ;
17526   return 0;
17527 }
17528 _ACEOF
17529 rm -f conftest.$ac_objext conftest$ac_exeext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17531   (eval $ac_link) 2>conftest.er1
17532   ac_status=$?
17533   grep -v '^ *+' conftest.er1 >conftest.err
17534   rm -f conftest.er1
17535   cat conftest.err >&5
17536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537   (exit $ac_status); } &&
17538          { ac_try='test -z "$ac_cxx_werror_flag"
17539                          || test ! -s conftest.err'
17540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541   (eval $ac_try) 2>&5
17542   ac_status=$?
17543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544   (exit $ac_status); }; } &&
17545          { ac_try='test -s conftest$ac_exeext'
17546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547   (eval $ac_try) 2>&5
17548   ac_status=$?
17549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550   (exit $ac_status); }; }; then
17551   glibcxx_cv_c99_stdlib=yes
17552 else
17553   echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17555
17556 glibcxx_cv_c99_stdlib=no
17557 fi
17558 rm -f conftest.err conftest.$ac_objext \
17559       conftest$ac_exeext conftest.$ac_ext
17560 fi
17561
17562 fi
17563
17564   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17565 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17566
17567   # Check for the existence in <wchar.h> of wcstold, etc.
17568   glibcxx_cv_c99_wchar=no;
17569   if test x"$ac_has_wchar_h" = xyes &&
17570      test x"$ac_has_wctype_h" = xyes; then
17571     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17572 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17573     cat >conftest.$ac_ext <<_ACEOF
17574 /* confdefs.h.  */
17575 _ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h.  */
17579 #include <wchar.h>
17580                     namespace test
17581                     {
17582                       using ::wcstold;
17583                       using ::wcstoll;
17584                       using ::wcstoull;
17585                     }
17586
17587 int
17588 main ()
17589 {
17590
17591   ;
17592   return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17597   (eval $ac_compile) 2>conftest.er1
17598   ac_status=$?
17599   grep -v '^ *+' conftest.er1 >conftest.err
17600   rm -f conftest.er1
17601   cat conftest.err >&5
17602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603   (exit $ac_status); } &&
17604          { ac_try='test -z "$ac_cxx_werror_flag"
17605                          || test ! -s conftest.err'
17606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607   (eval $ac_try) 2>&5
17608   ac_status=$?
17609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610   (exit $ac_status); }; } &&
17611          { ac_try='test -s conftest.$ac_objext'
17612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613   (eval $ac_try) 2>&5
17614   ac_status=$?
17615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616   (exit $ac_status); }; }; then
17617   glibcxx_cv_c99_wchar=yes
17618 else
17619   echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.$ac_ext >&5
17621
17622 glibcxx_cv_c99_wchar=no
17623 fi
17624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17625
17626     # Checks for wide character functions that may not be present.
17627     # Injection of these is wrapped with guard macros.
17628     # NB: only put functions here, instead of immediately above, if
17629     # absolutely necessary.
17630     cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h.  */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h.  */
17636 #include <wchar.h>
17637                     namespace test { using ::vfwscanf; }
17638 int
17639 main ()
17640 {
17641
17642   ;
17643   return 0;
17644 }
17645 _ACEOF
17646 rm -f conftest.$ac_objext
17647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17648   (eval $ac_compile) 2>conftest.er1
17649   ac_status=$?
17650   grep -v '^ *+' conftest.er1 >conftest.err
17651   rm -f conftest.er1
17652   cat conftest.err >&5
17653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654   (exit $ac_status); } &&
17655          { ac_try='test -z "$ac_cxx_werror_flag"
17656                          || test ! -s conftest.err'
17657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658   (eval $ac_try) 2>&5
17659   ac_status=$?
17660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661   (exit $ac_status); }; } &&
17662          { ac_try='test -s conftest.$ac_objext'
17663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17664   (eval $ac_try) 2>&5
17665   ac_status=$?
17666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667   (exit $ac_status); }; }; then
17668
17669 cat >>confdefs.h <<\_ACEOF
17670 #define HAVE_VFWSCANF 1
17671 _ACEOF
17672
17673 else
17674   echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17676
17677 fi
17678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679
17680     cat >conftest.$ac_ext <<_ACEOF
17681 /* confdefs.h.  */
17682 _ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h.  */
17686 #include <wchar.h>
17687                     namespace test { using ::vswscanf; }
17688 int
17689 main ()
17690 {
17691
17692   ;
17693   return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698   (eval $ac_compile) 2>conftest.er1
17699   ac_status=$?
17700   grep -v '^ *+' conftest.er1 >conftest.err
17701   rm -f conftest.er1
17702   cat conftest.err >&5
17703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704   (exit $ac_status); } &&
17705          { ac_try='test -z "$ac_cxx_werror_flag"
17706                          || test ! -s conftest.err'
17707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708   (eval $ac_try) 2>&5
17709   ac_status=$?
17710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711   (exit $ac_status); }; } &&
17712          { ac_try='test -s conftest.$ac_objext'
17713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714   (eval $ac_try) 2>&5
17715   ac_status=$?
17716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717   (exit $ac_status); }; }; then
17718
17719 cat >>confdefs.h <<\_ACEOF
17720 #define HAVE_VSWSCANF 1
17721 _ACEOF
17722
17723 else
17724   echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 fi
17728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729
17730     cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h.  */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h.  */
17736 #include <wchar.h>
17737                     namespace test { using ::vwscanf; }
17738 int
17739 main ()
17740 {
17741
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748   (eval $ac_compile) 2>conftest.er1
17749   ac_status=$?
17750   grep -v '^ *+' conftest.er1 >conftest.err
17751   rm -f conftest.er1
17752   cat conftest.err >&5
17753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754   (exit $ac_status); } &&
17755          { ac_try='test -z "$ac_cxx_werror_flag"
17756                          || test ! -s conftest.err'
17757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758   (eval $ac_try) 2>&5
17759   ac_status=$?
17760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761   (exit $ac_status); }; } &&
17762          { ac_try='test -s conftest.$ac_objext'
17763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764   (eval $ac_try) 2>&5
17765   ac_status=$?
17766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767   (exit $ac_status); }; }; then
17768
17769 cat >>confdefs.h <<\_ACEOF
17770 #define HAVE_VWSCANF 1
17771 _ACEOF
17772
17773 else
17774   echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17776
17777 fi
17778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780     cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h.  */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h.  */
17786 #include <wchar.h>
17787                     namespace test { using ::wcstof; }
17788 int
17789 main ()
17790 {
17791
17792   ;
17793   return 0;
17794 }
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17798   (eval $ac_compile) 2>conftest.er1
17799   ac_status=$?
17800   grep -v '^ *+' conftest.er1 >conftest.err
17801   rm -f conftest.er1
17802   cat conftest.err >&5
17803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804   (exit $ac_status); } &&
17805          { ac_try='test -z "$ac_cxx_werror_flag"
17806                          || test ! -s conftest.err'
17807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808   (eval $ac_try) 2>&5
17809   ac_status=$?
17810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811   (exit $ac_status); }; } &&
17812          { ac_try='test -s conftest.$ac_objext'
17813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814   (eval $ac_try) 2>&5
17815   ac_status=$?
17816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817   (exit $ac_status); }; }; then
17818
17819 cat >>confdefs.h <<\_ACEOF
17820 #define HAVE_WCSTOF 1
17821 _ACEOF
17822
17823 else
17824   echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 fi
17828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17829
17830     cat >conftest.$ac_ext <<_ACEOF
17831 /* confdefs.h.  */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h.  */
17836 #include <wctype.h>
17837 int
17838 main ()
17839 {
17840  wint_t t; int i = iswblank(t);
17841   ;
17842   return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847   (eval $ac_compile) 2>conftest.er1
17848   ac_status=$?
17849   grep -v '^ *+' conftest.er1 >conftest.err
17850   rm -f conftest.er1
17851   cat conftest.err >&5
17852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853   (exit $ac_status); } &&
17854          { ac_try='test -z "$ac_cxx_werror_flag"
17855                          || test ! -s conftest.err'
17856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857   (eval $ac_try) 2>&5
17858   ac_status=$?
17859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860   (exit $ac_status); }; } &&
17861          { ac_try='test -s conftest.$ac_objext'
17862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863   (eval $ac_try) 2>&5
17864   ac_status=$?
17865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866   (exit $ac_status); }; }; then
17867
17868 cat >>confdefs.h <<\_ACEOF
17869 #define HAVE_ISWBLANK 1
17870 _ACEOF
17871
17872 else
17873   echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17875
17876 fi
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878
17879     echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17880 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17881   fi
17882
17883   # Option parsed, now set things appropriately.
17884   if test x"$glibcxx_cv_c99_math" = x"no" ||
17885      test x"$glibcxx_cv_c99_complex" = x"no" ||
17886      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17887      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17888      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17889     enable_c99=no;
17890   else
17891
17892 cat >>confdefs.h <<\_ACEOF
17893 #define _GLIBCXX_USE_C99 1
17894 _ACEOF
17895
17896   fi
17897
17898   gcc_no_link="$ac_save_gcc_no_link"
17899   LIBS="$ac_save_LIBS"
17900   CXXFLAGS="$ac_save_CXXFLAGS"
17901   ac_ext=c
17902 ac_cpp='$CPP $CPPFLAGS'
17903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17906
17907   fi
17908
17909   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17910 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17911   echo "$as_me:$LINENO: result: $enable_c99" >&5
17912 echo "${ECHO_T}$enable_c99" >&6
17913
17914
17915    # Check whether --enable-concept-checks or --disable-concept-checks was given.
17916 if test "${enable_concept_checks+set}" = set; then
17917   enableval="$enable_concept_checks"
17918
17919       case "$enableval" in
17920        yes|no) ;;
17921        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17922 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17923    { (exit 1); exit 1; }; } ;;
17924       esac
17925
17926 else
17927   enable_concept_checks=no
17928 fi;
17929
17930   if test $enable_concept_checks = yes; then
17931
17932 cat >>confdefs.h <<\_ACEOF
17933 #define _GLIBCXX_CONCEPT_CHECKS 1
17934 _ACEOF
17935
17936   fi
17937
17938
17939    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17940 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17941   enableval="$enable_libstdcxx_debug_flags"
17942   case "x$enable_libstdcxx_debug_flags" in
17943       xno | x)    enable_libstdcxx_debug_flags= ;;
17944       x-*)        ;;
17945       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17946 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17947    { (exit 1); exit 1; }; } ;;
17948      esac
17949 else
17950   enable_libstdcxx_debug_flags="-g3 -O0"
17951 fi;
17952
17953
17954   # Option parsed, now set things appropriately
17955   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17956
17957
17958   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17959 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17960
17961
17962   echo "$as_me:$LINENO: checking for additional debug build" >&5
17963 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17964    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17965 if test "${enable_libstdcxx_debug+set}" = set; then
17966   enableval="$enable_libstdcxx_debug"
17967
17968       case "$enableval" in
17969        yes|no) ;;
17970        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17971 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17972    { (exit 1); exit 1; }; } ;;
17973       esac
17974
17975 else
17976   enable_libstdcxx_debug=no
17977 fi;
17978
17979   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17980 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17981
17982
17983
17984
17985   enable_parallel=no;
17986
17987   # See if configured libgomp/omp.h exists. (libgomp may be in
17988   # noconfigdirs but not explicitly disabled.)
17989   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17990     enable_parallel=yes;
17991   else
17992     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17993 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17994   fi
17995
17996   echo "$as_me:$LINENO: checking for parallel mode support" >&5
17997 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17998   echo "$as_me:$LINENO: result: $enable_parallel" >&5
17999 echo "${ECHO_T}$enable_parallel" >&6
18000
18001
18002   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18003 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18004    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18005 if test "${enable_cxx_flags+set}" = set; then
18006   enableval="$enable_cxx_flags"
18007   case "x$enable_cxx_flags" in
18008       xno | x)   enable_cxx_flags= ;;
18009       x-*)       ;;
18010       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18011 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18012    { (exit 1); exit 1; }; } ;;
18013      esac
18014 else
18015   enable_cxx_flags=
18016 fi;
18017
18018
18019   # Run through flags (either default or command-line) and set anything
18020   # extra (e.g., #defines) that must accompany particular g++ options.
18021   if test -n "$enable_cxx_flags"; then
18022     for f in $enable_cxx_flags; do
18023       case "$f" in
18024         -fhonor-std)  ;;
18025         -*)  ;;
18026         *)   # and we're trying to pass /what/ exactly?
18027              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18028 echo "$as_me: error: compiler flags start with a -" >&2;}
18029    { (exit 1); exit 1; }; } ;;
18030       esac
18031     done
18032   fi
18033
18034   EXTRA_CXX_FLAGS="$enable_cxx_flags"
18035   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18036 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18037
18038
18039
18040    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18041 if test "${enable_fully_dynamic_string+set}" = set; then
18042   enableval="$enable_fully_dynamic_string"
18043
18044       case "$enableval" in
18045        yes|no) ;;
18046        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18047 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18048    { (exit 1); exit 1; }; } ;;
18049       esac
18050
18051 else
18052   enable_fully_dynamic_string=no
18053 fi;
18054
18055   if test $enable_fully_dynamic_string = yes; then
18056
18057 cat >>confdefs.h <<\_ACEOF
18058 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18059 _ACEOF
18060
18061   fi
18062
18063
18064 # Checks for operating systems support that doesn't require linking.
18065
18066
18067 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18068 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18069 if test "${glibcxx_cv_system_error1+set}" = set; then
18070   echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072
18073 cat >conftest.$ac_ext <<_ACEOF
18074 /* confdefs.h.  */
18075 _ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h.  */
18079 #include <errno.h>
18080 int
18081 main ()
18082 {
18083 int i = EOWNERDEAD;
18084   ;
18085   return 0;
18086 }
18087 _ACEOF
18088 rm -f conftest.$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090   (eval $ac_compile) 2>conftest.er1
18091   ac_status=$?
18092   grep -v '^ *+' conftest.er1 >conftest.err
18093   rm -f conftest.er1
18094   cat conftest.err >&5
18095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096   (exit $ac_status); } &&
18097          { ac_try='test -z "$ac_c_werror_flag"
18098                          || test ! -s conftest.err'
18099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100   (eval $ac_try) 2>&5
18101   ac_status=$?
18102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103   (exit $ac_status); }; } &&
18104          { ac_try='test -s conftest.$ac_objext'
18105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106   (eval $ac_try) 2>&5
18107   ac_status=$?
18108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109   (exit $ac_status); }; }; then
18110   glibcxx_cv_system_error1=yes
18111 else
18112   echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18114
18115 glibcxx_cv_system_error1=no
18116 fi
18117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18118
18119 fi
18120
18121 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18122 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18123 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18124
18125 cat >>confdefs.h <<\_ACEOF
18126 #define HAVE_EOWNERDEAD 1
18127 _ACEOF
18128
18129 fi
18130 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18131 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18132 if test "${glibcxx_cv_system_error2+set}" = set; then
18133   echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135
18136 cat >conftest.$ac_ext <<_ACEOF
18137 /* confdefs.h.  */
18138 _ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h.  */
18142 #include <errno.h>
18143 int
18144 main ()
18145 {
18146 int i = ENOTRECOVERABLE;
18147   ;
18148   return 0;
18149 }
18150 _ACEOF
18151 rm -f conftest.$ac_objext
18152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18153   (eval $ac_compile) 2>conftest.er1
18154   ac_status=$?
18155   grep -v '^ *+' conftest.er1 >conftest.err
18156   rm -f conftest.er1
18157   cat conftest.err >&5
18158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159   (exit $ac_status); } &&
18160          { ac_try='test -z "$ac_c_werror_flag"
18161                          || test ! -s conftest.err'
18162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163   (eval $ac_try) 2>&5
18164   ac_status=$?
18165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166   (exit $ac_status); }; } &&
18167          { ac_try='test -s conftest.$ac_objext'
18168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18169   (eval $ac_try) 2>&5
18170   ac_status=$?
18171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172   (exit $ac_status); }; }; then
18173   glibcxx_cv_system_error2=yes
18174 else
18175   echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 glibcxx_cv_system_error2=no
18179 fi
18180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18181
18182 fi
18183
18184 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18185 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18186 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18187
18188 cat >>confdefs.h <<\_ACEOF
18189 #define HAVE_ENOTRECOVERABLE 1
18190 _ACEOF
18191
18192 fi
18193 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18194 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18195 if test "${glibcxx_cv_system_error3+set}" = set; then
18196   echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198
18199 cat >conftest.$ac_ext <<_ACEOF
18200 /* confdefs.h.  */
18201 _ACEOF
18202 cat confdefs.h >>conftest.$ac_ext
18203 cat >>conftest.$ac_ext <<_ACEOF
18204 /* end confdefs.h.  */
18205 #include <errno.h>
18206 int
18207 main ()
18208 {
18209 int i = ENOLINK;
18210   ;
18211   return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216   (eval $ac_compile) 2>conftest.er1
18217   ac_status=$?
18218   grep -v '^ *+' conftest.er1 >conftest.err
18219   rm -f conftest.er1
18220   cat conftest.err >&5
18221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222   (exit $ac_status); } &&
18223          { ac_try='test -z "$ac_c_werror_flag"
18224                          || test ! -s conftest.err'
18225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226   (eval $ac_try) 2>&5
18227   ac_status=$?
18228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229   (exit $ac_status); }; } &&
18230          { ac_try='test -s conftest.$ac_objext'
18231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232   (eval $ac_try) 2>&5
18233   ac_status=$?
18234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235   (exit $ac_status); }; }; then
18236   glibcxx_cv_system_error3=yes
18237 else
18238   echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 glibcxx_cv_system_error3=no
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244
18245 fi
18246
18247 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18248 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18249 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18250
18251 cat >>confdefs.h <<\_ACEOF
18252 #define HAVE_ENOLINK 1
18253 _ACEOF
18254
18255 fi
18256 echo "$as_me:$LINENO: checking for EPROTO" >&5
18257 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18258 if test "${glibcxx_cv_system_error4+set}" = set; then
18259   echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h.  */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h.  */
18268 #include <errno.h>
18269 int
18270 main ()
18271 {
18272 int i = EPROTO;
18273   ;
18274   return 0;
18275 }
18276 _ACEOF
18277 rm -f conftest.$ac_objext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18279   (eval $ac_compile) 2>conftest.er1
18280   ac_status=$?
18281   grep -v '^ *+' conftest.er1 >conftest.err
18282   rm -f conftest.er1
18283   cat conftest.err >&5
18284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285   (exit $ac_status); } &&
18286          { ac_try='test -z "$ac_c_werror_flag"
18287                          || test ! -s conftest.err'
18288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289   (eval $ac_try) 2>&5
18290   ac_status=$?
18291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292   (exit $ac_status); }; } &&
18293          { ac_try='test -s conftest.$ac_objext'
18294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295   (eval $ac_try) 2>&5
18296   ac_status=$?
18297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298   (exit $ac_status); }; }; then
18299   glibcxx_cv_system_error4=yes
18300 else
18301   echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 glibcxx_cv_system_error4=no
18305 fi
18306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18307
18308 fi
18309
18310 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18311 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18312 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18313
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_EPROTO 1
18316 _ACEOF
18317
18318 fi
18319 echo "$as_me:$LINENO: checking for ENODATA" >&5
18320 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18321 if test "${glibcxx_cv_system_error5+set}" = set; then
18322   echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h.  */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h.  */
18331 #include <errno.h>
18332 int
18333 main ()
18334 {
18335 int i = ENODATA;
18336   ;
18337   return 0;
18338 }
18339 _ACEOF
18340 rm -f conftest.$ac_objext
18341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18342   (eval $ac_compile) 2>conftest.er1
18343   ac_status=$?
18344   grep -v '^ *+' conftest.er1 >conftest.err
18345   rm -f conftest.er1
18346   cat conftest.err >&5
18347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348   (exit $ac_status); } &&
18349          { ac_try='test -z "$ac_c_werror_flag"
18350                          || test ! -s conftest.err'
18351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18352   (eval $ac_try) 2>&5
18353   ac_status=$?
18354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355   (exit $ac_status); }; } &&
18356          { ac_try='test -s conftest.$ac_objext'
18357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18358   (eval $ac_try) 2>&5
18359   ac_status=$?
18360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361   (exit $ac_status); }; }; then
18362   glibcxx_cv_system_error5=yes
18363 else
18364   echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18366
18367 glibcxx_cv_system_error5=no
18368 fi
18369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18370
18371 fi
18372
18373 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18374 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18375 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18376
18377 cat >>confdefs.h <<\_ACEOF
18378 #define HAVE_ENODATA 1
18379 _ACEOF
18380
18381 fi
18382 echo "$as_me:$LINENO: checking for ENOSR" >&5
18383 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18384 if test "${glibcxx_cv_system_error6+set}" = set; then
18385   echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h.  */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h.  */
18394 #include <errno.h>
18395 int
18396 main ()
18397 {
18398 int i = ENOSR;
18399   ;
18400   return 0;
18401 }
18402 _ACEOF
18403 rm -f conftest.$ac_objext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18405   (eval $ac_compile) 2>conftest.er1
18406   ac_status=$?
18407   grep -v '^ *+' conftest.er1 >conftest.err
18408   rm -f conftest.er1
18409   cat conftest.err >&5
18410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411   (exit $ac_status); } &&
18412          { ac_try='test -z "$ac_c_werror_flag"
18413                          || test ! -s conftest.err'
18414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18415   (eval $ac_try) 2>&5
18416   ac_status=$?
18417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418   (exit $ac_status); }; } &&
18419          { ac_try='test -s conftest.$ac_objext'
18420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421   (eval $ac_try) 2>&5
18422   ac_status=$?
18423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424   (exit $ac_status); }; }; then
18425   glibcxx_cv_system_error6=yes
18426 else
18427   echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18429
18430 glibcxx_cv_system_error6=no
18431 fi
18432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18433
18434 fi
18435
18436 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18437 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18438 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18439
18440 cat >>confdefs.h <<\_ACEOF
18441 #define HAVE_ENOSR 1
18442 _ACEOF
18443
18444 fi
18445 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18446 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18447 if test "${glibcxx_cv_system_error7+set}" = set; then
18448   echo $ECHO_N "(cached) $ECHO_C" >&6
18449 else
18450
18451 cat >conftest.$ac_ext <<_ACEOF
18452 /* confdefs.h.  */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h.  */
18457 #include <errno.h>
18458 int
18459 main ()
18460 {
18461 int i = ENOSTR;
18462   ;
18463   return 0;
18464 }
18465 _ACEOF
18466 rm -f conftest.$ac_objext
18467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468   (eval $ac_compile) 2>conftest.er1
18469   ac_status=$?
18470   grep -v '^ *+' conftest.er1 >conftest.err
18471   rm -f conftest.er1
18472   cat conftest.err >&5
18473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474   (exit $ac_status); } &&
18475          { ac_try='test -z "$ac_c_werror_flag"
18476                          || test ! -s conftest.err'
18477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478   (eval $ac_try) 2>&5
18479   ac_status=$?
18480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481   (exit $ac_status); }; } &&
18482          { ac_try='test -s conftest.$ac_objext'
18483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18484   (eval $ac_try) 2>&5
18485   ac_status=$?
18486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487   (exit $ac_status); }; }; then
18488   glibcxx_cv_system_error7=yes
18489 else
18490   echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18492
18493 glibcxx_cv_system_error7=no
18494 fi
18495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18496
18497 fi
18498
18499 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18500 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18501 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18502
18503 cat >>confdefs.h <<\_ACEOF
18504 #define HAVE_ENOSTR 1
18505 _ACEOF
18506
18507 fi
18508 echo "$as_me:$LINENO: checking for ETIME" >&5
18509 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18510 if test "${glibcxx_cv_system_error8+set}" = set; then
18511   echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513
18514 cat >conftest.$ac_ext <<_ACEOF
18515 /* confdefs.h.  */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h.  */
18520 #include <errno.h>
18521 int
18522 main ()
18523 {
18524 int i = ETIME;
18525   ;
18526   return 0;
18527 }
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18531   (eval $ac_compile) 2>conftest.er1
18532   ac_status=$?
18533   grep -v '^ *+' conftest.er1 >conftest.err
18534   rm -f conftest.er1
18535   cat conftest.err >&5
18536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537   (exit $ac_status); } &&
18538          { ac_try='test -z "$ac_c_werror_flag"
18539                          || test ! -s conftest.err'
18540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541   (eval $ac_try) 2>&5
18542   ac_status=$?
18543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544   (exit $ac_status); }; } &&
18545          { ac_try='test -s conftest.$ac_objext'
18546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547   (eval $ac_try) 2>&5
18548   ac_status=$?
18549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550   (exit $ac_status); }; }; then
18551   glibcxx_cv_system_error8=yes
18552 else
18553   echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18555
18556 glibcxx_cv_system_error8=no
18557 fi
18558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18559
18560 fi
18561
18562 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18563 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18564 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18565
18566 cat >>confdefs.h <<\_ACEOF
18567 #define HAVE_ETIME 1
18568 _ACEOF
18569
18570 fi
18571 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18572 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18573 if test "${glibcxx_cv_system_error9+set}" = set; then
18574   echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576
18577 cat >conftest.$ac_ext <<_ACEOF
18578 /* confdefs.h.  */
18579 _ACEOF
18580 cat confdefs.h >>conftest.$ac_ext
18581 cat >>conftest.$ac_ext <<_ACEOF
18582 /* end confdefs.h.  */
18583 #include <errno.h>
18584 int
18585 main ()
18586 {
18587 int i = EBADMSG;
18588   ;
18589   return 0;
18590 }
18591 _ACEOF
18592 rm -f conftest.$ac_objext
18593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18594   (eval $ac_compile) 2>conftest.er1
18595   ac_status=$?
18596   grep -v '^ *+' conftest.er1 >conftest.err
18597   rm -f conftest.er1
18598   cat conftest.err >&5
18599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600   (exit $ac_status); } &&
18601          { ac_try='test -z "$ac_c_werror_flag"
18602                          || test ! -s conftest.err'
18603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18604   (eval $ac_try) 2>&5
18605   ac_status=$?
18606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607   (exit $ac_status); }; } &&
18608          { ac_try='test -s conftest.$ac_objext'
18609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610   (eval $ac_try) 2>&5
18611   ac_status=$?
18612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613   (exit $ac_status); }; }; then
18614   glibcxx_cv_system_error9=yes
18615 else
18616   echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18618
18619 glibcxx_cv_system_error9=no
18620 fi
18621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18622
18623 fi
18624
18625 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18626 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18627 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18628
18629 cat >>confdefs.h <<\_ACEOF
18630 #define HAVE_EBADMSG 1
18631 _ACEOF
18632
18633 fi
18634 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18635 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18636 if test "${glibcxx_cv_system_error10+set}" = set; then
18637   echo $ECHO_N "(cached) $ECHO_C" >&6
18638 else
18639
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h.  */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h.  */
18646 #include <errno.h>
18647 int
18648 main ()
18649 {
18650 int i = ECANCELED;
18651   ;
18652   return 0;
18653 }
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18657   (eval $ac_compile) 2>conftest.er1
18658   ac_status=$?
18659   grep -v '^ *+' conftest.er1 >conftest.err
18660   rm -f conftest.er1
18661   cat conftest.err >&5
18662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663   (exit $ac_status); } &&
18664          { ac_try='test -z "$ac_c_werror_flag"
18665                          || test ! -s conftest.err'
18666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667   (eval $ac_try) 2>&5
18668   ac_status=$?
18669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670   (exit $ac_status); }; } &&
18671          { ac_try='test -s conftest.$ac_objext'
18672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673   (eval $ac_try) 2>&5
18674   ac_status=$?
18675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676   (exit $ac_status); }; }; then
18677   glibcxx_cv_system_error10=yes
18678 else
18679   echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 glibcxx_cv_system_error10=no
18683 fi
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685
18686 fi
18687
18688 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18689 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18690 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18691
18692 cat >>confdefs.h <<\_ACEOF
18693 #define HAVE_ECANCELED 1
18694 _ACEOF
18695
18696 fi
18697 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18698 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18699 if test "${glibcxx_cv_system_error11+set}" = set; then
18700   echo $ECHO_N "(cached) $ECHO_C" >&6
18701 else
18702
18703 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h.  */
18705 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h.  */
18709 #include <errno.h>
18710 int
18711 main ()
18712 {
18713 int i = EOVERFLOW;
18714   ;
18715   return 0;
18716 }
18717 _ACEOF
18718 rm -f conftest.$ac_objext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720   (eval $ac_compile) 2>conftest.er1
18721   ac_status=$?
18722   grep -v '^ *+' conftest.er1 >conftest.err
18723   rm -f conftest.er1
18724   cat conftest.err >&5
18725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726   (exit $ac_status); } &&
18727          { ac_try='test -z "$ac_c_werror_flag"
18728                          || test ! -s conftest.err'
18729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18730   (eval $ac_try) 2>&5
18731   ac_status=$?
18732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733   (exit $ac_status); }; } &&
18734          { ac_try='test -s conftest.$ac_objext'
18735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736   (eval $ac_try) 2>&5
18737   ac_status=$?
18738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739   (exit $ac_status); }; }; then
18740   glibcxx_cv_system_error11=yes
18741 else
18742   echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18744
18745 glibcxx_cv_system_error11=no
18746 fi
18747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18748
18749 fi
18750
18751 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18752 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18753 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18754
18755 cat >>confdefs.h <<\_ACEOF
18756 #define HAVE_EOVERFLOW 1
18757 _ACEOF
18758
18759 fi
18760 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18761 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18762 if test "${glibcxx_cv_system_error12+set}" = set; then
18763   echo $ECHO_N "(cached) $ECHO_C" >&6
18764 else
18765
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h.  */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h.  */
18772 #include <errno.h>
18773 int
18774 main ()
18775 {
18776 int i = ENOTSUP;
18777   ;
18778   return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783   (eval $ac_compile) 2>conftest.er1
18784   ac_status=$?
18785   grep -v '^ *+' conftest.er1 >conftest.err
18786   rm -f conftest.er1
18787   cat conftest.err >&5
18788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789   (exit $ac_status); } &&
18790          { ac_try='test -z "$ac_c_werror_flag"
18791                          || test ! -s conftest.err'
18792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793   (eval $ac_try) 2>&5
18794   ac_status=$?
18795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796   (exit $ac_status); }; } &&
18797          { ac_try='test -s conftest.$ac_objext'
18798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799   (eval $ac_try) 2>&5
18800   ac_status=$?
18801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802   (exit $ac_status); }; }; then
18803   glibcxx_cv_system_error12=yes
18804 else
18805   echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18807
18808 glibcxx_cv_system_error12=no
18809 fi
18810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18811
18812 fi
18813
18814 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18815 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18816 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18817
18818 cat >>confdefs.h <<\_ACEOF
18819 #define HAVE_ENOTSUP 1
18820 _ACEOF
18821
18822 fi
18823 echo "$as_me:$LINENO: checking for EIDRM" >&5
18824 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18825 if test "${glibcxx_cv_system_error13+set}" = set; then
18826   echo $ECHO_N "(cached) $ECHO_C" >&6
18827 else
18828
18829 cat >conftest.$ac_ext <<_ACEOF
18830 /* confdefs.h.  */
18831 _ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h.  */
18835 #include <errno.h>
18836 int
18837 main ()
18838 {
18839 int i = EIDRM;
18840   ;
18841   return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846   (eval $ac_compile) 2>conftest.er1
18847   ac_status=$?
18848   grep -v '^ *+' conftest.er1 >conftest.err
18849   rm -f conftest.er1
18850   cat conftest.err >&5
18851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852   (exit $ac_status); } &&
18853          { ac_try='test -z "$ac_c_werror_flag"
18854                          || test ! -s conftest.err'
18855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856   (eval $ac_try) 2>&5
18857   ac_status=$?
18858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859   (exit $ac_status); }; } &&
18860          { ac_try='test -s conftest.$ac_objext'
18861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862   (eval $ac_try) 2>&5
18863   ac_status=$?
18864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865   (exit $ac_status); }; }; then
18866   glibcxx_cv_system_error13=yes
18867 else
18868   echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 glibcxx_cv_system_error13=no
18872 fi
18873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18874
18875 fi
18876
18877 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18878 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18879 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18880
18881 cat >>confdefs.h <<\_ACEOF
18882 #define HAVE_EIDRM 1
18883 _ACEOF
18884
18885 fi
18886 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18887 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18888 if test "${glibcxx_cv_system_error14+set}" = set; then
18889   echo $ECHO_N "(cached) $ECHO_C" >&6
18890 else
18891
18892 cat >conftest.$ac_ext <<_ACEOF
18893 /* confdefs.h.  */
18894 _ACEOF
18895 cat confdefs.h >>conftest.$ac_ext
18896 cat >>conftest.$ac_ext <<_ACEOF
18897 /* end confdefs.h.  */
18898 #include <errno.h>
18899 int
18900 main ()
18901 {
18902 int i = ETXTBSY;
18903   ;
18904   return 0;
18905 }
18906 _ACEOF
18907 rm -f conftest.$ac_objext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18909   (eval $ac_compile) 2>conftest.er1
18910   ac_status=$?
18911   grep -v '^ *+' conftest.er1 >conftest.err
18912   rm -f conftest.er1
18913   cat conftest.err >&5
18914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915   (exit $ac_status); } &&
18916          { ac_try='test -z "$ac_c_werror_flag"
18917                          || test ! -s conftest.err'
18918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919   (eval $ac_try) 2>&5
18920   ac_status=$?
18921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922   (exit $ac_status); }; } &&
18923          { ac_try='test -s conftest.$ac_objext'
18924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925   (eval $ac_try) 2>&5
18926   ac_status=$?
18927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928   (exit $ac_status); }; }; then
18929   glibcxx_cv_system_error14=yes
18930 else
18931   echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.$ac_ext >&5
18933
18934 glibcxx_cv_system_error14=no
18935 fi
18936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18937
18938 fi
18939
18940 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18941 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18942 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18943
18944 cat >>confdefs.h <<\_ACEOF
18945 #define HAVE_ETXTBSY 1
18946 _ACEOF
18947
18948 fi
18949
18950
18951
18952 # For the streamoff typedef.
18953
18954
18955
18956
18957   ac_ext=cc
18958 ac_cpp='$CXXCPP $CPPFLAGS'
18959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18962
18963
18964   echo "$as_me:$LINENO: checking for int64_t" >&5
18965 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18966   if test "${glibcxx_cv_INT64_T+set}" = set; then
18967   echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969
18970     cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h.  */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h.  */
18976 #include <stdint.h>
18977 int
18978 main ()
18979 {
18980 int64_t var;
18981   ;
18982   return 0;
18983 }
18984 _ACEOF
18985 rm -f conftest.$ac_objext
18986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18987   (eval $ac_compile) 2>conftest.er1
18988   ac_status=$?
18989   grep -v '^ *+' conftest.er1 >conftest.err
18990   rm -f conftest.er1
18991   cat conftest.err >&5
18992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993   (exit $ac_status); } &&
18994          { ac_try='test -z "$ac_cxx_werror_flag"
18995                          || test ! -s conftest.err'
18996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18997   (eval $ac_try) 2>&5
18998   ac_status=$?
18999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000   (exit $ac_status); }; } &&
19001          { ac_try='test -s conftest.$ac_objext'
19002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19003   (eval $ac_try) 2>&5
19004   ac_status=$?
19005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006   (exit $ac_status); }; }; then
19007   glibcxx_cv_INT64_T=yes
19008 else
19009   echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 glibcxx_cv_INT64_T=no
19013 fi
19014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016 fi
19017
19018
19019   if test $glibcxx_cv_INT64_T = yes; then
19020
19021 cat >>confdefs.h <<\_ACEOF
19022 #define HAVE_INT64_T 1
19023 _ACEOF
19024
19025     echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19026 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19027
19028     echo "$as_me:$LINENO: checking for int64_t as long" >&5
19029 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19030     if test "${glibcxx_cv_int64_t_long+set}" = set; then
19031   echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033
19034       cat >conftest.$ac_ext <<_ACEOF
19035 /* confdefs.h.  */
19036 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h.  */
19040 #include <stdint.h>
19041         template<typename, typename> struct same { enum { value = -1 }; };
19042         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19043         int array[same<int64_t, long>::value];
19044 int
19045 main ()
19046 {
19047
19048   ;
19049   return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054   (eval $ac_compile) 2>conftest.er1
19055   ac_status=$?
19056   grep -v '^ *+' conftest.er1 >conftest.err
19057   rm -f conftest.er1
19058   cat conftest.err >&5
19059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060   (exit $ac_status); } &&
19061          { ac_try='test -z "$ac_cxx_werror_flag"
19062                          || test ! -s conftest.err'
19063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064   (eval $ac_try) 2>&5
19065   ac_status=$?
19066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067   (exit $ac_status); }; } &&
19068          { ac_try='test -s conftest.$ac_objext'
19069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070   (eval $ac_try) 2>&5
19071   ac_status=$?
19072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073   (exit $ac_status); }; }; then
19074   glibcxx_cv_int64_t_long=yes
19075 else
19076   echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19078
19079 glibcxx_cv_int64_t_long=no
19080 fi
19081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19082
19083 fi
19084
19085
19086     if test $glibcxx_cv_int64_t_long = yes; then
19087
19088 cat >>confdefs.h <<\_ACEOF
19089 #define HAVE_INT64_T_LONG 1
19090 _ACEOF
19091
19092       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19093 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19094     fi
19095
19096     echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19097 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19098     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19099   echo $ECHO_N "(cached) $ECHO_C" >&6
19100 else
19101
19102       cat >conftest.$ac_ext <<_ACEOF
19103 /* confdefs.h.  */
19104 _ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h.  */
19108 #include <stdint.h>
19109         template<typename, typename> struct same { enum { value = -1 }; };
19110         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19111         int array[same<int64_t, long long>::value];
19112 int
19113 main ()
19114 {
19115
19116   ;
19117   return 0;
19118 }
19119 _ACEOF
19120 rm -f conftest.$ac_objext
19121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19122   (eval $ac_compile) 2>conftest.er1
19123   ac_status=$?
19124   grep -v '^ *+' conftest.er1 >conftest.err
19125   rm -f conftest.er1
19126   cat conftest.err >&5
19127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128   (exit $ac_status); } &&
19129          { ac_try='test -z "$ac_cxx_werror_flag"
19130                          || test ! -s conftest.err'
19131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132   (eval $ac_try) 2>&5
19133   ac_status=$?
19134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135   (exit $ac_status); }; } &&
19136          { ac_try='test -s conftest.$ac_objext'
19137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138   (eval $ac_try) 2>&5
19139   ac_status=$?
19140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141   (exit $ac_status); }; }; then
19142   glibcxx_cv_int64_t_long_long=yes
19143 else
19144   echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 glibcxx_cv_int64_t_long_long=no
19148 fi
19149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19150
19151 fi
19152
19153
19154     if test $glibcxx_cv_int64_t_long_long = yes; then
19155
19156 cat >>confdefs.h <<\_ACEOF
19157 #define HAVE_INT64_T_LONG_LONG 1
19158 _ACEOF
19159
19160       echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19161 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19162     fi
19163   fi
19164
19165   ac_ext=c
19166 ac_cpp='$CPP $CPPFLAGS'
19167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19170
19171
19172
19173 # For LFS support.
19174
19175
19176
19177   ac_ext=cc
19178 ac_cpp='$CXXCPP $CPPFLAGS'
19179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182
19183   ac_save_CXXFLAGS="$CXXFLAGS"
19184   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19185   echo "$as_me:$LINENO: checking for LFS support" >&5
19186 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19187   if test "${glibcxx_cv_LFS+set}" = set; then
19188   echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190
19191     if test x$gcc_no_link = xyes; then
19192   cat >conftest.$ac_ext <<_ACEOF
19193 /* confdefs.h.  */
19194 _ACEOF
19195 cat confdefs.h >>conftest.$ac_ext
19196 cat >>conftest.$ac_ext <<_ACEOF
19197 /* end confdefs.h.  */
19198 #include <unistd.h>
19199        #include <stdio.h>
19200        #include <sys/stat.h>
19201
19202 int
19203 main ()
19204 {
19205 FILE* fp;
19206        fopen64("t", "w");
19207        fseeko64(fp, 0, SEEK_CUR);
19208        ftello64(fp);
19209        lseek64(1, 0, SEEK_CUR);
19210        struct stat64 buf;
19211        fstat64(1, &buf);
19212   ;
19213   return 0;
19214 }
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19218   (eval $ac_compile) 2>conftest.er1
19219   ac_status=$?
19220   grep -v '^ *+' conftest.er1 >conftest.err
19221   rm -f conftest.er1
19222   cat conftest.err >&5
19223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224   (exit $ac_status); } &&
19225          { ac_try='test -z "$ac_cxx_werror_flag"
19226                          || test ! -s conftest.err'
19227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228   (eval $ac_try) 2>&5
19229   ac_status=$?
19230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231   (exit $ac_status); }; } &&
19232          { ac_try='test -s conftest.$ac_objext'
19233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234   (eval $ac_try) 2>&5
19235   ac_status=$?
19236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237   (exit $ac_status); }; }; then
19238   glibcxx_cv_LFS=yes
19239 else
19240   echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19242
19243 glibcxx_cv_LFS=no
19244 fi
19245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19246 else
19247   if test x$gcc_no_link = xyes; then
19248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19250    { (exit 1); exit 1; }; }
19251 fi
19252 cat >conftest.$ac_ext <<_ACEOF
19253 /* confdefs.h.  */
19254 _ACEOF
19255 cat confdefs.h >>conftest.$ac_ext
19256 cat >>conftest.$ac_ext <<_ACEOF
19257 /* end confdefs.h.  */
19258 #include <unistd.h>
19259        #include <stdio.h>
19260        #include <sys/stat.h>
19261
19262 int
19263 main ()
19264 {
19265 FILE* fp;
19266        fopen64("t", "w");
19267        fseeko64(fp, 0, SEEK_CUR);
19268        ftello64(fp);
19269        lseek64(1, 0, SEEK_CUR);
19270        struct stat64 buf;
19271        fstat64(1, &buf);
19272   ;
19273   return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext conftest$ac_exeext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19278   (eval $ac_link) 2>conftest.er1
19279   ac_status=$?
19280   grep -v '^ *+' conftest.er1 >conftest.err
19281   rm -f conftest.er1
19282   cat conftest.err >&5
19283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284   (exit $ac_status); } &&
19285          { ac_try='test -z "$ac_cxx_werror_flag"
19286                          || test ! -s conftest.err'
19287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288   (eval $ac_try) 2>&5
19289   ac_status=$?
19290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291   (exit $ac_status); }; } &&
19292          { ac_try='test -s conftest$ac_exeext'
19293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294   (eval $ac_try) 2>&5
19295   ac_status=$?
19296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297   (exit $ac_status); }; }; then
19298   glibcxx_cv_LFS=yes
19299 else
19300   echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 glibcxx_cv_LFS=no
19304 fi
19305 rm -f conftest.err conftest.$ac_objext \
19306       conftest$ac_exeext conftest.$ac_ext
19307 fi
19308
19309 fi
19310
19311   if test $glibcxx_cv_LFS = yes; then
19312
19313 cat >>confdefs.h <<\_ACEOF
19314 #define _GLIBCXX_USE_LFS 1
19315 _ACEOF
19316
19317   fi
19318   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19319 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19320   CXXFLAGS="$ac_save_CXXFLAGS"
19321   ac_ext=c
19322 ac_cpp='$CPP $CPPFLAGS'
19323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19326
19327
19328
19329 # For showmanyc_helper().
19330
19331
19332 for ac_header in sys/ioctl.h sys/filio.h
19333 do
19334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19336   echo "$as_me:$LINENO: checking for $ac_header" >&5
19337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19339   echo $ECHO_N "(cached) $ECHO_C" >&6
19340 fi
19341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19343 else
19344   # Is the header compilable?
19345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19347 cat >conftest.$ac_ext <<_ACEOF
19348 /* confdefs.h.  */
19349 _ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h.  */
19353 $ac_includes_default
19354 #include <$ac_header>
19355 _ACEOF
19356 rm -f conftest.$ac_objext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19358   (eval $ac_compile) 2>conftest.er1
19359   ac_status=$?
19360   grep -v '^ *+' conftest.er1 >conftest.err
19361   rm -f conftest.er1
19362   cat conftest.err >&5
19363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364   (exit $ac_status); } &&
19365          { ac_try='test -z "$ac_c_werror_flag"
19366                          || test ! -s conftest.err'
19367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368   (eval $ac_try) 2>&5
19369   ac_status=$?
19370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371   (exit $ac_status); }; } &&
19372          { ac_try='test -s conftest.$ac_objext'
19373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374   (eval $ac_try) 2>&5
19375   ac_status=$?
19376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377   (exit $ac_status); }; }; then
19378   ac_header_compiler=yes
19379 else
19380   echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 ac_header_compiler=no
19384 fi
19385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19387 echo "${ECHO_T}$ac_header_compiler" >&6
19388
19389 # Is the header present?
19390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h.  */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h.  */
19398 #include <$ac_header>
19399 _ACEOF
19400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19401   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19402   ac_status=$?
19403   grep -v '^ *+' conftest.er1 >conftest.err
19404   rm -f conftest.er1
19405   cat conftest.err >&5
19406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407   (exit $ac_status); } >/dev/null; then
19408   if test -s conftest.err; then
19409     ac_cpp_err=$ac_c_preproc_warn_flag
19410     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19411   else
19412     ac_cpp_err=
19413   fi
19414 else
19415   ac_cpp_err=yes
19416 fi
19417 if test -z "$ac_cpp_err"; then
19418   ac_header_preproc=yes
19419 else
19420   echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423   ac_header_preproc=no
19424 fi
19425 rm -f conftest.err conftest.$ac_ext
19426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19427 echo "${ECHO_T}$ac_header_preproc" >&6
19428
19429 # So?  What about this header?
19430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19431   yes:no: )
19432     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19434     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19436     ac_header_preproc=yes
19437     ;;
19438   no:yes:* )
19439     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19441     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19442 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19443     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19445     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19446 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19447     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19449     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19451     (
19452       cat <<\_ASBOX
19453 ## ----------------------------------------- ##
19454 ## Report this to the package-unused lists.  ##
19455 ## ----------------------------------------- ##
19456 _ASBOX
19457     ) |
19458       sed "s/^/$as_me: WARNING:     /" >&2
19459     ;;
19460 esac
19461 echo "$as_me:$LINENO: checking for $ac_header" >&5
19462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19464   echo $ECHO_N "(cached) $ECHO_C" >&6
19465 else
19466   eval "$as_ac_Header=\$ac_header_preproc"
19467 fi
19468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19470
19471 fi
19472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473   cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19475 _ACEOF
19476
19477 fi
19478
19479 done
19480
19481
19482
19483
19484
19485   ac_ext=cc
19486 ac_cpp='$CXXCPP $CPPFLAGS'
19487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19490
19491   ac_save_CXXFLAGS="$CXXFLAGS"
19492   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19493
19494   echo "$as_me:$LINENO: checking for poll" >&5
19495 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19496   if test "${glibcxx_cv_POLL+set}" = set; then
19497   echo $ECHO_N "(cached) $ECHO_C" >&6
19498 else
19499
19500     if test x$gcc_no_link = xyes; then
19501   cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h.  */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h.  */
19507 #include <poll.h>
19508 int
19509 main ()
19510 {
19511 struct pollfd pfd[1];
19512        pfd[0].events = POLLIN;
19513        poll(pfd, 1, 0);
19514   ;
19515   return 0;
19516 }
19517 _ACEOF
19518 rm -f conftest.$ac_objext
19519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19520   (eval $ac_compile) 2>conftest.er1
19521   ac_status=$?
19522   grep -v '^ *+' conftest.er1 >conftest.err
19523   rm -f conftest.er1
19524   cat conftest.err >&5
19525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526   (exit $ac_status); } &&
19527          { ac_try='test -z "$ac_cxx_werror_flag"
19528                          || test ! -s conftest.err'
19529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530   (eval $ac_try) 2>&5
19531   ac_status=$?
19532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533   (exit $ac_status); }; } &&
19534          { ac_try='test -s conftest.$ac_objext'
19535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536   (eval $ac_try) 2>&5
19537   ac_status=$?
19538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539   (exit $ac_status); }; }; then
19540   glibcxx_cv_POLL=yes
19541 else
19542   echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 glibcxx_cv_POLL=no
19546 fi
19547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19548 else
19549   if test x$gcc_no_link = xyes; then
19550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19552    { (exit 1); exit 1; }; }
19553 fi
19554 cat >conftest.$ac_ext <<_ACEOF
19555 /* confdefs.h.  */
19556 _ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h.  */
19560 #include <poll.h>
19561 int
19562 main ()
19563 {
19564 struct pollfd pfd[1];
19565        pfd[0].events = POLLIN;
19566        poll(pfd, 1, 0);
19567   ;
19568   return 0;
19569 }
19570 _ACEOF
19571 rm -f conftest.$ac_objext conftest$ac_exeext
19572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19573   (eval $ac_link) 2>conftest.er1
19574   ac_status=$?
19575   grep -v '^ *+' conftest.er1 >conftest.err
19576   rm -f conftest.er1
19577   cat conftest.err >&5
19578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579   (exit $ac_status); } &&
19580          { ac_try='test -z "$ac_cxx_werror_flag"
19581                          || test ! -s conftest.err'
19582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583   (eval $ac_try) 2>&5
19584   ac_status=$?
19585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586   (exit $ac_status); }; } &&
19587          { ac_try='test -s conftest$ac_exeext'
19588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589   (eval $ac_try) 2>&5
19590   ac_status=$?
19591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592   (exit $ac_status); }; }; then
19593   glibcxx_cv_POLL=yes
19594 else
19595   echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 glibcxx_cv_POLL=no
19599 fi
19600 rm -f conftest.err conftest.$ac_objext \
19601       conftest$ac_exeext conftest.$ac_ext
19602 fi
19603
19604 fi
19605
19606   if test $glibcxx_cv_POLL = yes; then
19607
19608 cat >>confdefs.h <<\_ACEOF
19609 #define HAVE_POLL 1
19610 _ACEOF
19611
19612   fi
19613   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19614 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19615
19616   CXXFLAGS="$ac_save_CXXFLAGS"
19617   ac_ext=c
19618 ac_cpp='$CPP $CPPFLAGS'
19619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19622
19623
19624
19625
19626
19627
19628   ac_ext=cc
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19633
19634   ac_save_CXXFLAGS="$CXXFLAGS"
19635   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19636
19637   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19638 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19639   if test "${glibcxx_cv_S_ISREG+set}" = set; then
19640   echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642
19643     if test x$gcc_no_link = xyes; then
19644   cat >conftest.$ac_ext <<_ACEOF
19645 /* confdefs.h.  */
19646 _ACEOF
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h.  */
19650 #include <sys/stat.h>
19651 int
19652 main ()
19653 {
19654 struct stat buffer;
19655        fstat(0, &buffer);
19656        S_ISREG(buffer.st_mode);
19657   ;
19658   return 0;
19659 }
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663   (eval $ac_compile) 2>conftest.er1
19664   ac_status=$?
19665   grep -v '^ *+' conftest.er1 >conftest.err
19666   rm -f conftest.er1
19667   cat conftest.err >&5
19668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669   (exit $ac_status); } &&
19670          { ac_try='test -z "$ac_cxx_werror_flag"
19671                          || test ! -s conftest.err'
19672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673   (eval $ac_try) 2>&5
19674   ac_status=$?
19675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676   (exit $ac_status); }; } &&
19677          { ac_try='test -s conftest.$ac_objext'
19678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679   (eval $ac_try) 2>&5
19680   ac_status=$?
19681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682   (exit $ac_status); }; }; then
19683   glibcxx_cv_S_ISREG=yes
19684 else
19685   echo "$as_me: failed program was:" >&5
19686 sed 's/^/| /' conftest.$ac_ext >&5
19687
19688 glibcxx_cv_S_ISREG=no
19689 fi
19690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19691 else
19692   if test x$gcc_no_link = xyes; then
19693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19695    { (exit 1); exit 1; }; }
19696 fi
19697 cat >conftest.$ac_ext <<_ACEOF
19698 /* confdefs.h.  */
19699 _ACEOF
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h.  */
19703 #include <sys/stat.h>
19704 int
19705 main ()
19706 {
19707 struct stat buffer;
19708        fstat(0, &buffer);
19709        S_ISREG(buffer.st_mode);
19710   ;
19711   return 0;
19712 }
19713 _ACEOF
19714 rm -f conftest.$ac_objext conftest$ac_exeext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19716   (eval $ac_link) 2>conftest.er1
19717   ac_status=$?
19718   grep -v '^ *+' conftest.er1 >conftest.err
19719   rm -f conftest.er1
19720   cat conftest.err >&5
19721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722   (exit $ac_status); } &&
19723          { ac_try='test -z "$ac_cxx_werror_flag"
19724                          || test ! -s conftest.err'
19725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726   (eval $ac_try) 2>&5
19727   ac_status=$?
19728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729   (exit $ac_status); }; } &&
19730          { ac_try='test -s conftest$ac_exeext'
19731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732   (eval $ac_try) 2>&5
19733   ac_status=$?
19734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735   (exit $ac_status); }; }; then
19736   glibcxx_cv_S_ISREG=yes
19737 else
19738   echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 glibcxx_cv_S_ISREG=no
19742 fi
19743 rm -f conftest.err conftest.$ac_objext \
19744       conftest$ac_exeext conftest.$ac_ext
19745 fi
19746
19747 fi
19748
19749   if test "${glibcxx_cv_S_IFREG+set}" = set; then
19750   echo $ECHO_N "(cached) $ECHO_C" >&6
19751 else
19752
19753     if test x$gcc_no_link = xyes; then
19754   cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h.  */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h.  */
19760 #include <sys/stat.h>
19761 int
19762 main ()
19763 {
19764 struct stat buffer;
19765        fstat(0, &buffer);
19766        S_IFREG & buffer.st_mode;
19767   ;
19768   return 0;
19769 }
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773   (eval $ac_compile) 2>conftest.er1
19774   ac_status=$?
19775   grep -v '^ *+' conftest.er1 >conftest.err
19776   rm -f conftest.er1
19777   cat conftest.err >&5
19778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779   (exit $ac_status); } &&
19780          { ac_try='test -z "$ac_cxx_werror_flag"
19781                          || test ! -s conftest.err'
19782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783   (eval $ac_try) 2>&5
19784   ac_status=$?
19785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786   (exit $ac_status); }; } &&
19787          { ac_try='test -s conftest.$ac_objext'
19788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789   (eval $ac_try) 2>&5
19790   ac_status=$?
19791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792   (exit $ac_status); }; }; then
19793   glibcxx_cv_S_IFREG=yes
19794 else
19795   echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19797
19798 glibcxx_cv_S_IFREG=no
19799 fi
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19801 else
19802   if test x$gcc_no_link = xyes; then
19803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19805    { (exit 1); exit 1; }; }
19806 fi
19807 cat >conftest.$ac_ext <<_ACEOF
19808 /* confdefs.h.  */
19809 _ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h.  */
19813 #include <sys/stat.h>
19814 int
19815 main ()
19816 {
19817 struct stat buffer;
19818        fstat(0, &buffer);
19819        S_IFREG & buffer.st_mode;
19820   ;
19821   return 0;
19822 }
19823 _ACEOF
19824 rm -f conftest.$ac_objext conftest$ac_exeext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19826   (eval $ac_link) 2>conftest.er1
19827   ac_status=$?
19828   grep -v '^ *+' conftest.er1 >conftest.err
19829   rm -f conftest.er1
19830   cat conftest.err >&5
19831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832   (exit $ac_status); } &&
19833          { ac_try='test -z "$ac_cxx_werror_flag"
19834                          || test ! -s conftest.err'
19835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836   (eval $ac_try) 2>&5
19837   ac_status=$?
19838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839   (exit $ac_status); }; } &&
19840          { ac_try='test -s conftest$ac_exeext'
19841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842   (eval $ac_try) 2>&5
19843   ac_status=$?
19844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845   (exit $ac_status); }; }; then
19846   glibcxx_cv_S_IFREG=yes
19847 else
19848   echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19850
19851 glibcxx_cv_S_IFREG=no
19852 fi
19853 rm -f conftest.err conftest.$ac_objext \
19854       conftest$ac_exeext conftest.$ac_ext
19855 fi
19856
19857 fi
19858
19859   res=no
19860   if test $glibcxx_cv_S_ISREG = yes; then
19861
19862 cat >>confdefs.h <<\_ACEOF
19863 #define HAVE_S_ISREG 1
19864 _ACEOF
19865
19866     res=S_ISREG
19867   elif test $glibcxx_cv_S_IFREG = yes; then
19868
19869 cat >>confdefs.h <<\_ACEOF
19870 #define HAVE_S_IFREG 1
19871 _ACEOF
19872
19873     res=S_IFREG
19874   fi
19875   echo "$as_me:$LINENO: result: $res" >&5
19876 echo "${ECHO_T}$res" >&6
19877
19878   CXXFLAGS="$ac_save_CXXFLAGS"
19879   ac_ext=c
19880 ac_cpp='$CPP $CPPFLAGS'
19881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19884
19885
19886
19887 # For xsputn_2().
19888
19889 for ac_header in sys/uio.h
19890 do
19891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19893   echo "$as_me:$LINENO: checking for $ac_header" >&5
19894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19896   echo $ECHO_N "(cached) $ECHO_C" >&6
19897 fi
19898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19900 else
19901   # Is the header compilable?
19902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19904 cat >conftest.$ac_ext <<_ACEOF
19905 /* confdefs.h.  */
19906 _ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h.  */
19910 $ac_includes_default
19911 #include <$ac_header>
19912 _ACEOF
19913 rm -f conftest.$ac_objext
19914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19915   (eval $ac_compile) 2>conftest.er1
19916   ac_status=$?
19917   grep -v '^ *+' conftest.er1 >conftest.err
19918   rm -f conftest.er1
19919   cat conftest.err >&5
19920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921   (exit $ac_status); } &&
19922          { ac_try='test -z "$ac_c_werror_flag"
19923                          || test ! -s conftest.err'
19924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925   (eval $ac_try) 2>&5
19926   ac_status=$?
19927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928   (exit $ac_status); }; } &&
19929          { ac_try='test -s conftest.$ac_objext'
19930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931   (eval $ac_try) 2>&5
19932   ac_status=$?
19933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934   (exit $ac_status); }; }; then
19935   ac_header_compiler=yes
19936 else
19937   echo "$as_me: failed program was:" >&5
19938 sed 's/^/| /' conftest.$ac_ext >&5
19939
19940 ac_header_compiler=no
19941 fi
19942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19944 echo "${ECHO_T}$ac_header_compiler" >&6
19945
19946 # Is the header present?
19947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19949 cat >conftest.$ac_ext <<_ACEOF
19950 /* confdefs.h.  */
19951 _ACEOF
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h.  */
19955 #include <$ac_header>
19956 _ACEOF
19957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19958   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19959   ac_status=$?
19960   grep -v '^ *+' conftest.er1 >conftest.err
19961   rm -f conftest.er1
19962   cat conftest.err >&5
19963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964   (exit $ac_status); } >/dev/null; then
19965   if test -s conftest.err; then
19966     ac_cpp_err=$ac_c_preproc_warn_flag
19967     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19968   else
19969     ac_cpp_err=
19970   fi
19971 else
19972   ac_cpp_err=yes
19973 fi
19974 if test -z "$ac_cpp_err"; then
19975   ac_header_preproc=yes
19976 else
19977   echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980   ac_header_preproc=no
19981 fi
19982 rm -f conftest.err conftest.$ac_ext
19983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19984 echo "${ECHO_T}$ac_header_preproc" >&6
19985
19986 # So?  What about this header?
19987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19988   yes:no: )
19989     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19991     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19993     ac_header_preproc=yes
19994     ;;
19995   no:yes:* )
19996     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19998     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19999 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20000     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20002     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20003 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20004     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20006     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20008     (
20009       cat <<\_ASBOX
20010 ## ----------------------------------------- ##
20011 ## Report this to the package-unused lists.  ##
20012 ## ----------------------------------------- ##
20013 _ASBOX
20014     ) |
20015       sed "s/^/$as_me: WARNING:     /" >&2
20016     ;;
20017 esac
20018 echo "$as_me:$LINENO: checking for $ac_header" >&5
20019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20021   echo $ECHO_N "(cached) $ECHO_C" >&6
20022 else
20023   eval "$as_ac_Header=\$ac_header_preproc"
20024 fi
20025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20027
20028 fi
20029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20030   cat >>confdefs.h <<_ACEOF
20031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20032 _ACEOF
20033
20034 fi
20035
20036 done
20037
20038
20039
20040
20041
20042   ac_ext=cc
20043 ac_cpp='$CXXCPP $CPPFLAGS'
20044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20047
20048   ac_save_CXXFLAGS="$CXXFLAGS"
20049   CXXFLAGS="$CXXFLAGS -fno-exceptions"
20050
20051   echo "$as_me:$LINENO: checking for writev" >&5
20052 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20053   if test "${glibcxx_cv_WRITEV+set}" = set; then
20054   echo $ECHO_N "(cached) $ECHO_C" >&6
20055 else
20056
20057     if test x$gcc_no_link = xyes; then
20058   cat >conftest.$ac_ext <<_ACEOF
20059 /* confdefs.h.  */
20060 _ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h.  */
20064 #include <sys/uio.h>
20065 int
20066 main ()
20067 {
20068 struct iovec iov[2];
20069        writev(0, iov, 0);
20070   ;
20071   return 0;
20072 }
20073 _ACEOF
20074 rm -f conftest.$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076   (eval $ac_compile) 2>conftest.er1
20077   ac_status=$?
20078   grep -v '^ *+' conftest.er1 >conftest.err
20079   rm -f conftest.er1
20080   cat conftest.err >&5
20081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082   (exit $ac_status); } &&
20083          { ac_try='test -z "$ac_cxx_werror_flag"
20084                          || test ! -s conftest.err'
20085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086   (eval $ac_try) 2>&5
20087   ac_status=$?
20088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089   (exit $ac_status); }; } &&
20090          { ac_try='test -s conftest.$ac_objext'
20091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092   (eval $ac_try) 2>&5
20093   ac_status=$?
20094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095   (exit $ac_status); }; }; then
20096   glibcxx_cv_WRITEV=yes
20097 else
20098   echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20100
20101 glibcxx_cv_WRITEV=no
20102 fi
20103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20104 else
20105   if test x$gcc_no_link = xyes; then
20106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20108    { (exit 1); exit 1; }; }
20109 fi
20110 cat >conftest.$ac_ext <<_ACEOF
20111 /* confdefs.h.  */
20112 _ACEOF
20113 cat confdefs.h >>conftest.$ac_ext
20114 cat >>conftest.$ac_ext <<_ACEOF
20115 /* end confdefs.h.  */
20116 #include <sys/uio.h>
20117 int
20118 main ()
20119 {
20120 struct iovec iov[2];
20121        writev(0, iov, 0);
20122   ;
20123   return 0;
20124 }
20125 _ACEOF
20126 rm -f conftest.$ac_objext conftest$ac_exeext
20127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20128   (eval $ac_link) 2>conftest.er1
20129   ac_status=$?
20130   grep -v '^ *+' conftest.er1 >conftest.err
20131   rm -f conftest.er1
20132   cat conftest.err >&5
20133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134   (exit $ac_status); } &&
20135          { ac_try='test -z "$ac_cxx_werror_flag"
20136                          || test ! -s conftest.err'
20137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20138   (eval $ac_try) 2>&5
20139   ac_status=$?
20140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141   (exit $ac_status); }; } &&
20142          { ac_try='test -s conftest$ac_exeext'
20143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20144   (eval $ac_try) 2>&5
20145   ac_status=$?
20146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147   (exit $ac_status); }; }; then
20148   glibcxx_cv_WRITEV=yes
20149 else
20150   echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20152
20153 glibcxx_cv_WRITEV=no
20154 fi
20155 rm -f conftest.err conftest.$ac_objext \
20156       conftest$ac_exeext conftest.$ac_ext
20157 fi
20158
20159 fi
20160
20161   if test $glibcxx_cv_WRITEV = yes; then
20162
20163 cat >>confdefs.h <<\_ACEOF
20164 #define HAVE_WRITEV 1
20165 _ACEOF
20166
20167   fi
20168   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20169 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20170
20171   CXXFLAGS="$ac_save_CXXFLAGS"
20172   ac_ext=c
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20177
20178
20179
20180 # For C99 support to TR1.
20181
20182
20183
20184
20185   ac_ext=cc
20186 ac_cpp='$CXXCPP $CPPFLAGS'
20187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20190
20191
20192   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20193   # undefined and fake C99 facilities may be spuriously enabled.
20194   ac_save_CXXFLAGS="$CXXFLAGS"
20195   CXXFLAGS="$CXXFLAGS -std=c++98"
20196
20197   # Check for the existence of <complex.h> complex math functions used
20198   # by tr1/complex.
20199
20200 for ac_header in complex.h
20201 do
20202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20204   echo "$as_me:$LINENO: checking for $ac_header" >&5
20205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20207   echo $ECHO_N "(cached) $ECHO_C" >&6
20208 fi
20209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20211 else
20212   # Is the header compilable?
20213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20215 cat >conftest.$ac_ext <<_ACEOF
20216 /* confdefs.h.  */
20217 _ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h.  */
20221 $ac_includes_default
20222 #include <$ac_header>
20223 _ACEOF
20224 rm -f conftest.$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226   (eval $ac_compile) 2>conftest.er1
20227   ac_status=$?
20228   grep -v '^ *+' conftest.er1 >conftest.err
20229   rm -f conftest.er1
20230   cat conftest.err >&5
20231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232   (exit $ac_status); } &&
20233          { ac_try='test -z "$ac_cxx_werror_flag"
20234                          || test ! -s conftest.err'
20235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20236   (eval $ac_try) 2>&5
20237   ac_status=$?
20238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20239   (exit $ac_status); }; } &&
20240          { ac_try='test -s conftest.$ac_objext'
20241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20242   (eval $ac_try) 2>&5
20243   ac_status=$?
20244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20245   (exit $ac_status); }; }; then
20246   ac_header_compiler=yes
20247 else
20248   echo "$as_me: failed program was:" >&5
20249 sed 's/^/| /' conftest.$ac_ext >&5
20250
20251 ac_header_compiler=no
20252 fi
20253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20254 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20255 echo "${ECHO_T}$ac_header_compiler" >&6
20256
20257 # Is the header present?
20258 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20259 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20260 cat >conftest.$ac_ext <<_ACEOF
20261 /* confdefs.h.  */
20262 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h.  */
20266 #include <$ac_header>
20267 _ACEOF
20268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20269   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20270   ac_status=$?
20271   grep -v '^ *+' conftest.er1 >conftest.err
20272   rm -f conftest.er1
20273   cat conftest.err >&5
20274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275   (exit $ac_status); } >/dev/null; then
20276   if test -s conftest.err; then
20277     ac_cpp_err=$ac_cxx_preproc_warn_flag
20278     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20279   else
20280     ac_cpp_err=
20281   fi
20282 else
20283   ac_cpp_err=yes
20284 fi
20285 if test -z "$ac_cpp_err"; then
20286   ac_header_preproc=yes
20287 else
20288   echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291   ac_header_preproc=no
20292 fi
20293 rm -f conftest.err conftest.$ac_ext
20294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20295 echo "${ECHO_T}$ac_header_preproc" >&6
20296
20297 # So?  What about this header?
20298 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20299   yes:no: )
20300     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20302     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20303 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20304     ac_header_preproc=yes
20305     ;;
20306   no:yes:* )
20307     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20309     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20310 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20311     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20312 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20313     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20314 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20315     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20316 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20317     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20318 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20319     (
20320       cat <<\_ASBOX
20321 ## ----------------------------------------- ##
20322 ## Report this to the package-unused lists.  ##
20323 ## ----------------------------------------- ##
20324 _ASBOX
20325     ) |
20326       sed "s/^/$as_me: WARNING:     /" >&2
20327     ;;
20328 esac
20329 echo "$as_me:$LINENO: checking for $ac_header" >&5
20330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20332   echo $ECHO_N "(cached) $ECHO_C" >&6
20333 else
20334   eval "$as_ac_Header=\$ac_header_preproc"
20335 fi
20336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20337 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20338
20339 fi
20340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20341   cat >>confdefs.h <<_ACEOF
20342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20343 _ACEOF
20344  ac_has_complex_h=yes
20345 else
20346   ac_has_complex_h=no
20347 fi
20348
20349 done
20350
20351   ac_c99_complex_tr1=no;
20352   if test x"$ac_has_complex_h" = x"yes"; then
20353     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20354 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20355     cat >conftest.$ac_ext <<_ACEOF
20356 /* confdefs.h.  */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h.  */
20361 #include <complex.h>
20362 int
20363 main ()
20364 {
20365 typedef __complex__ float float_type; float_type tmpf;
20366                     cacosf(tmpf);
20367                     casinf(tmpf);
20368                     catanf(tmpf);
20369                     cacoshf(tmpf);
20370                     casinhf(tmpf);
20371                     catanhf(tmpf);
20372                     typedef __complex__ double double_type; double_type tmpd;
20373                     cacos(tmpd);
20374                     casin(tmpd);
20375                     catan(tmpd);
20376                     cacosh(tmpd);
20377                     casinh(tmpd);
20378                     catanh(tmpd);
20379                     typedef __complex__ long double ld_type; ld_type tmpld;
20380                     cacosl(tmpld);
20381                     casinl(tmpld);
20382                     catanl(tmpld);
20383                     cacoshl(tmpld);
20384                     casinhl(tmpld);
20385                     catanhl(tmpld);
20386
20387   ;
20388   return 0;
20389 }
20390 _ACEOF
20391 rm -f conftest.$ac_objext
20392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20393   (eval $ac_compile) 2>conftest.er1
20394   ac_status=$?
20395   grep -v '^ *+' conftest.er1 >conftest.err
20396   rm -f conftest.er1
20397   cat conftest.err >&5
20398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399   (exit $ac_status); } &&
20400          { ac_try='test -z "$ac_cxx_werror_flag"
20401                          || test ! -s conftest.err'
20402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403   (eval $ac_try) 2>&5
20404   ac_status=$?
20405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406   (exit $ac_status); }; } &&
20407          { ac_try='test -s conftest.$ac_objext'
20408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409   (eval $ac_try) 2>&5
20410   ac_status=$?
20411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412   (exit $ac_status); }; }; then
20413   ac_c99_complex_tr1=yes
20414 else
20415   echo "$as_me: failed program was:" >&5
20416 sed 's/^/| /' conftest.$ac_ext >&5
20417
20418 ac_c99_complex_tr1=no
20419 fi
20420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20421   fi
20422   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20423 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20424   if test x"$ac_c99_complex_tr1" = x"yes"; then
20425
20426 cat >>confdefs.h <<\_ACEOF
20427 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20428 _ACEOF
20429
20430   fi
20431
20432   # Check for the existence of <ctype.h> functions.
20433   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20434 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20435   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20436   echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438
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 #include <ctype.h>
20446 int
20447 main ()
20448 {
20449 int ch;
20450                   int ret;
20451                   ret = isblank(ch);
20452
20453   ;
20454   return 0;
20455 }
20456 _ACEOF
20457 rm -f conftest.$ac_objext
20458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20459   (eval $ac_compile) 2>conftest.er1
20460   ac_status=$?
20461   grep -v '^ *+' conftest.er1 >conftest.err
20462   rm -f conftest.er1
20463   cat conftest.err >&5
20464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465   (exit $ac_status); } &&
20466          { ac_try='test -z "$ac_cxx_werror_flag"
20467                          || test ! -s conftest.err'
20468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469   (eval $ac_try) 2>&5
20470   ac_status=$?
20471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472   (exit $ac_status); }; } &&
20473          { ac_try='test -s conftest.$ac_objext'
20474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475   (eval $ac_try) 2>&5
20476   ac_status=$?
20477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478   (exit $ac_status); }; }; then
20479   glibcxx_cv_c99_ctype_tr1=yes
20480 else
20481   echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20483
20484 glibcxx_cv_c99_ctype_tr1=no
20485 fi
20486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20487
20488 fi
20489
20490   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20491 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20492   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20493
20494 cat >>confdefs.h <<\_ACEOF
20495 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20496 _ACEOF
20497
20498   fi
20499
20500   # Check for the existence of <fenv.h> functions.
20501
20502 for ac_header in fenv.h
20503 do
20504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20506   echo "$as_me:$LINENO: checking for $ac_header" >&5
20507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20509   echo $ECHO_N "(cached) $ECHO_C" >&6
20510 fi
20511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20513 else
20514   # Is the header compilable?
20515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20517 cat >conftest.$ac_ext <<_ACEOF
20518 /* confdefs.h.  */
20519 _ACEOF
20520 cat confdefs.h >>conftest.$ac_ext
20521 cat >>conftest.$ac_ext <<_ACEOF
20522 /* end confdefs.h.  */
20523 $ac_includes_default
20524 #include <$ac_header>
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528   (eval $ac_compile) 2>conftest.er1
20529   ac_status=$?
20530   grep -v '^ *+' conftest.er1 >conftest.err
20531   rm -f conftest.er1
20532   cat conftest.err >&5
20533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534   (exit $ac_status); } &&
20535          { ac_try='test -z "$ac_cxx_werror_flag"
20536                          || test ! -s conftest.err'
20537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538   (eval $ac_try) 2>&5
20539   ac_status=$?
20540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541   (exit $ac_status); }; } &&
20542          { ac_try='test -s conftest.$ac_objext'
20543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544   (eval $ac_try) 2>&5
20545   ac_status=$?
20546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547   (exit $ac_status); }; }; then
20548   ac_header_compiler=yes
20549 else
20550   echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.$ac_ext >&5
20552
20553 ac_header_compiler=no
20554 fi
20555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20557 echo "${ECHO_T}$ac_header_compiler" >&6
20558
20559 # Is the header present?
20560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20562 cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h.  */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h.  */
20568 #include <$ac_header>
20569 _ACEOF
20570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20571   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20572   ac_status=$?
20573   grep -v '^ *+' conftest.er1 >conftest.err
20574   rm -f conftest.er1
20575   cat conftest.err >&5
20576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577   (exit $ac_status); } >/dev/null; then
20578   if test -s conftest.err; then
20579     ac_cpp_err=$ac_cxx_preproc_warn_flag
20580     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20581   else
20582     ac_cpp_err=
20583   fi
20584 else
20585   ac_cpp_err=yes
20586 fi
20587 if test -z "$ac_cpp_err"; then
20588   ac_header_preproc=yes
20589 else
20590   echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.$ac_ext >&5
20592
20593   ac_header_preproc=no
20594 fi
20595 rm -f conftest.err conftest.$ac_ext
20596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20597 echo "${ECHO_T}$ac_header_preproc" >&6
20598
20599 # So?  What about this header?
20600 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20601   yes:no: )
20602     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20604     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20606     ac_header_preproc=yes
20607     ;;
20608   no:yes:* )
20609     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20611     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20612 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20613     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20615     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20616 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20617     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20619     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20621     (
20622       cat <<\_ASBOX
20623 ## ----------------------------------------- ##
20624 ## Report this to the package-unused lists.  ##
20625 ## ----------------------------------------- ##
20626 _ASBOX
20627     ) |
20628       sed "s/^/$as_me: WARNING:     /" >&2
20629     ;;
20630 esac
20631 echo "$as_me:$LINENO: checking for $ac_header" >&5
20632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20634   echo $ECHO_N "(cached) $ECHO_C" >&6
20635 else
20636   eval "$as_ac_Header=\$ac_header_preproc"
20637 fi
20638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20640
20641 fi
20642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20643   cat >>confdefs.h <<_ACEOF
20644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20645 _ACEOF
20646  ac_has_fenv_h=yes
20647 else
20648   ac_has_fenv_h=no
20649 fi
20650
20651 done
20652
20653   ac_c99_fenv_tr1=no;
20654   if test x"$ac_has_fenv_h" = x"yes"; then
20655     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20656 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20657     cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h.  */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h.  */
20663 #include <fenv.h>
20664 int
20665 main ()
20666 {
20667 int except, mode;
20668                     fexcept_t* pflag;
20669                     fenv_t* penv;
20670                     int ret;
20671                     ret = feclearexcept(except);
20672                     ret = fegetexceptflag(pflag, except);
20673                     ret = feraiseexcept(except);
20674                     ret = fesetexceptflag(pflag, except);
20675                     ret = fetestexcept(except);
20676                     ret = fegetround();
20677                     ret = fesetround(mode);
20678                     ret = fegetenv(penv);
20679                     ret = feholdexcept(penv);
20680                     ret = fesetenv(penv);
20681                     ret = feupdateenv(penv);
20682
20683   ;
20684   return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest.$ac_objext
20688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20689   (eval $ac_compile) 2>conftest.er1
20690   ac_status=$?
20691   grep -v '^ *+' conftest.er1 >conftest.err
20692   rm -f conftest.er1
20693   cat conftest.err >&5
20694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695   (exit $ac_status); } &&
20696          { ac_try='test -z "$ac_cxx_werror_flag"
20697                          || test ! -s conftest.err'
20698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699   (eval $ac_try) 2>&5
20700   ac_status=$?
20701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702   (exit $ac_status); }; } &&
20703          { ac_try='test -s conftest.$ac_objext'
20704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705   (eval $ac_try) 2>&5
20706   ac_status=$?
20707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708   (exit $ac_status); }; }; then
20709   ac_c99_fenv_tr1=yes
20710 else
20711   echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20713
20714 ac_c99_fenv_tr1=no
20715 fi
20716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20717   fi
20718   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20719 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20720   if test x"$ac_c99_fenv_tr1" = x"yes"; then
20721
20722 cat >>confdefs.h <<\_ACEOF
20723 #define _GLIBCXX_USE_C99_FENV_TR1 1
20724 _ACEOF
20725
20726   fi
20727
20728   # Check for the existence of <stdint.h> types.
20729   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20730 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20731   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20732   echo $ECHO_N "(cached) $ECHO_C" >&6
20733 else
20734
20735   cat >conftest.$ac_ext <<_ACEOF
20736 /* confdefs.h.  */
20737 _ACEOF
20738 cat confdefs.h >>conftest.$ac_ext
20739 cat >>conftest.$ac_ext <<_ACEOF
20740 /* end confdefs.h.  */
20741 #define __STDC_LIMIT_MACROS
20742                   #define __STDC_CONSTANT_MACROS
20743                   #include <stdint.h>
20744 int
20745 main ()
20746 {
20747 typedef int8_t          my_int8_t;
20748                   my_int8_t               i8 = INT8_MIN;
20749                   i8 = INT8_MAX;
20750                   typedef int16_t         my_int16_t;
20751                   my_int16_t              i16 = INT16_MIN;
20752                   i16 = INT16_MAX;
20753                   typedef int32_t         my_int32_t;
20754                   my_int32_t              i32 = INT32_MIN;
20755                   i32 = INT32_MAX;
20756                   typedef int64_t         my_int64_t;
20757                   my_int64_t              i64 = INT64_MIN;
20758                   i64 = INT64_MAX;
20759                   typedef int_fast8_t     my_int_fast8_t;
20760                   my_int_fast8_t          if8 = INT_FAST8_MIN;
20761                   if8 = INT_FAST8_MAX;
20762                   typedef int_fast16_t    my_int_fast16_t;
20763                   my_int_fast16_t         if16 = INT_FAST16_MIN;
20764                   if16 = INT_FAST16_MAX;
20765                   typedef int_fast32_t    my_int_fast32_t;
20766                   my_int_fast32_t         if32 = INT_FAST32_MIN;
20767                   if32 = INT_FAST32_MAX;
20768                   typedef int_fast64_t    my_int_fast64_t;
20769                   my_int_fast64_t         if64 = INT_FAST64_MIN;
20770                   if64 = INT_FAST64_MAX;
20771                   typedef int_least8_t    my_int_least8_t;
20772                   my_int_least8_t         il8 = INT_LEAST8_MIN;
20773                   il8 = INT_LEAST8_MAX;
20774                   typedef int_least16_t   my_int_least16_t;
20775                   my_int_least16_t        il16 = INT_LEAST16_MIN;
20776                   il16 = INT_LEAST16_MAX;
20777                   typedef int_least32_t   my_int_least32_t;
20778                   my_int_least32_t        il32 = INT_LEAST32_MIN;
20779                   il32 = INT_LEAST32_MAX;
20780                   typedef int_least64_t   my_int_least64_t;
20781                   my_int_least64_t        il64 = INT_LEAST64_MIN;
20782                   il64 = INT_LEAST64_MAX;
20783                   typedef intmax_t        my_intmax_t;
20784                   my_intmax_t             im = INTMAX_MAX;
20785                   im = INTMAX_MIN;
20786                   typedef intptr_t        my_intptr_t;
20787                   my_intptr_t             ip = INTPTR_MAX;
20788                   ip = INTPTR_MIN;
20789                   typedef uint8_t         my_uint8_t;
20790                   my_uint8_t              ui8 = UINT8_MAX;
20791                   ui8 = UINT8_MAX;
20792                   typedef uint16_t        my_uint16_t;
20793                   my_uint16_t             ui16 = UINT16_MAX;
20794                   ui16 = UINT16_MAX;
20795                   typedef uint32_t        my_uint32_t;
20796                   my_uint32_t             ui32 = UINT32_MAX;
20797                   ui32 = UINT32_MAX;
20798                   typedef uint64_t        my_uint64_t;
20799                   my_uint64_t             ui64 = UINT64_MAX;
20800                   ui64 = UINT64_MAX;
20801                   typedef uint_fast8_t    my_uint_fast8_t;
20802                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
20803                   uif8 = UINT_FAST8_MAX;
20804                   typedef uint_fast16_t   my_uint_fast16_t;
20805                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
20806                   uif16 = UINT_FAST16_MAX;
20807                   typedef uint_fast32_t   my_uint_fast32_t;
20808                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
20809                   uif32 = UINT_FAST32_MAX;
20810                   typedef uint_fast64_t   my_uint_fast64_t;
20811                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
20812                   uif64 = UINT_FAST64_MAX;
20813                   typedef uint_least8_t   my_uint_least8_t;
20814                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
20815                   uil8 = UINT_LEAST8_MAX;
20816                   typedef uint_least16_t  my_uint_least16_t;
20817                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
20818                   uil16 = UINT_LEAST16_MAX;
20819                   typedef uint_least32_t  my_uint_least32_t;
20820                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
20821                   uil32 = UINT_LEAST32_MAX;
20822                   typedef uint_least64_t  my_uint_least64_t;
20823                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
20824                   uil64 = UINT_LEAST64_MAX;
20825                   typedef uintmax_t       my_uintmax_t;
20826                   my_uintmax_t            uim = UINTMAX_MAX;
20827                   uim = UINTMAX_MAX;
20828                   typedef uintptr_t       my_uintptr_t;
20829                   my_uintptr_t            uip = UINTPTR_MAX;
20830                   uip = UINTPTR_MAX;
20831
20832   ;
20833   return 0;
20834 }
20835 _ACEOF
20836 rm -f conftest.$ac_objext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20838   (eval $ac_compile) 2>conftest.er1
20839   ac_status=$?
20840   grep -v '^ *+' conftest.er1 >conftest.err
20841   rm -f conftest.er1
20842   cat conftest.err >&5
20843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844   (exit $ac_status); } &&
20845          { ac_try='test -z "$ac_cxx_werror_flag"
20846                          || test ! -s conftest.err'
20847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848   (eval $ac_try) 2>&5
20849   ac_status=$?
20850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851   (exit $ac_status); }; } &&
20852          { ac_try='test -s conftest.$ac_objext'
20853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854   (eval $ac_try) 2>&5
20855   ac_status=$?
20856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857   (exit $ac_status); }; }; then
20858   glibcxx_cv_c99_stdint_tr1=yes
20859 else
20860   echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 glibcxx_cv_c99_stdint_tr1=no
20864 fi
20865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20866
20867 fi
20868
20869   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20870 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20871   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20872
20873 cat >>confdefs.h <<\_ACEOF
20874 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20875 _ACEOF
20876
20877   fi
20878
20879   # Check for the existence of <math.h> functions.
20880   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20881 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20882   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20883   echo $ECHO_N "(cached) $ECHO_C" >&6
20884 else
20885
20886   cat >conftest.$ac_ext <<_ACEOF
20887 /* confdefs.h.  */
20888 _ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h.  */
20892 #include <math.h>
20893 int
20894 main ()
20895 {
20896 typedef double_t  my_double_t;
20897                   typedef float_t   my_float_t;
20898                   acosh(0.0);
20899                   acoshf(0.0f);
20900                   acoshl(0.0l);
20901                   asinh(0.0);
20902                   asinhf(0.0f);
20903                   asinhl(0.0l);
20904                   atanh(0.0);
20905                   atanhf(0.0f);
20906                   atanhl(0.0l);
20907                   cbrt(0.0);
20908                   cbrtf(0.0f);
20909                   cbrtl(0.0l);
20910                   copysign(0.0, 0.0);
20911                   copysignf(0.0f, 0.0f);
20912                   copysignl(0.0l, 0.0l);
20913                   erf(0.0);
20914                   erff(0.0f);
20915                   erfl(0.0l);
20916                   erfc(0.0);
20917                   erfcf(0.0f);
20918                   erfcl(0.0l);
20919                   exp2(0.0);
20920                   exp2f(0.0f);
20921                   exp2l(0.0l);
20922                   expm1(0.0);
20923                   expm1f(0.0f);
20924                   expm1l(0.0l);
20925                   fdim(0.0, 0.0);
20926                   fdimf(0.0f, 0.0f);
20927                   fdiml(0.0l, 0.0l);
20928                   fma(0.0, 0.0, 0.0);
20929                   fmaf(0.0f, 0.0f, 0.0f);
20930                   fmal(0.0l, 0.0l, 0.0l);
20931                   fmax(0.0, 0.0);
20932                   fmaxf(0.0f, 0.0f);
20933                   fmaxl(0.0l, 0.0l);
20934                   fmin(0.0, 0.0);
20935                   fminf(0.0f, 0.0f);
20936                   fminl(0.0l, 0.0l);
20937                   hypot(0.0, 0.0);
20938                   hypotf(0.0f, 0.0f);
20939                   hypotl(0.0l, 0.0l);
20940                   ilogb(0.0);
20941                   ilogbf(0.0f);
20942                   ilogbl(0.0l);
20943                   lgamma(0.0);
20944                   lgammaf(0.0f);
20945                   lgammal(0.0l);
20946                   llrint(0.0);
20947                   llrintf(0.0f);
20948                   llrintl(0.0l);
20949                   llround(0.0);
20950                   llroundf(0.0f);
20951                   llroundl(0.0l);
20952                   log1p(0.0);
20953                   log1pf(0.0f);
20954                   log1pl(0.0l);
20955                   log2(0.0);
20956                   log2f(0.0f);
20957                   log2l(0.0l);
20958                   logb(0.0);
20959                   logbf(0.0f);
20960                   logbl(0.0l);
20961                   lrint(0.0);
20962                   lrintf(0.0f);
20963                   lrintl(0.0l);
20964                   lround(0.0);
20965                   lroundf(0.0f);
20966                   lroundl(0.0l);
20967                   nan(0);
20968                   nanf(0);
20969                   nanl(0);
20970                   nearbyint(0.0);
20971                   nearbyintf(0.0f);
20972                   nearbyintl(0.0l);
20973                   nextafter(0.0, 0.0);
20974                   nextafterf(0.0f, 0.0f);
20975                   nextafterl(0.0l, 0.0l);
20976                   nexttoward(0.0, 0.0);
20977                   nexttowardf(0.0f, 0.0f);
20978                   nexttowardl(0.0l, 0.0l);
20979                   remainder(0.0, 0.0);
20980                   remainderf(0.0f, 0.0f);
20981                   remainderl(0.0l, 0.0l);
20982                   remquo(0.0, 0.0, 0);
20983                   remquof(0.0f, 0.0f, 0);
20984                   remquol(0.0l, 0.0l, 0);
20985                   rint(0.0);
20986                   rintf(0.0f);
20987                   rintl(0.0l);
20988                   round(0.0);
20989                   roundf(0.0f);
20990                   roundl(0.0l);
20991                   scalbln(0.0, 0l);
20992                   scalblnf(0.0f, 0l);
20993                   scalblnl(0.0l, 0l);
20994                   scalbn(0.0, 0);
20995                   scalbnf(0.0f, 0);
20996                   scalbnl(0.0l, 0);
20997                   tgamma(0.0);
20998                   tgammaf(0.0f);
20999                   tgammal(0.0l);
21000                   trunc(0.0);
21001                   truncf(0.0f);
21002                   truncl(0.0l);
21003
21004   ;
21005   return 0;
21006 }
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010   (eval $ac_compile) 2>conftest.er1
21011   ac_status=$?
21012   grep -v '^ *+' conftest.er1 >conftest.err
21013   rm -f conftest.er1
21014   cat conftest.err >&5
21015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016   (exit $ac_status); } &&
21017          { ac_try='test -z "$ac_cxx_werror_flag"
21018                          || test ! -s conftest.err'
21019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21020   (eval $ac_try) 2>&5
21021   ac_status=$?
21022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023   (exit $ac_status); }; } &&
21024          { ac_try='test -s conftest.$ac_objext'
21025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026   (eval $ac_try) 2>&5
21027   ac_status=$?
21028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029   (exit $ac_status); }; }; then
21030   glibcxx_cv_c99_math_tr1=yes
21031 else
21032   echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 glibcxx_cv_c99_math_tr1=no
21036 fi
21037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21038
21039 fi
21040
21041   echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21042 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21043   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21044
21045 cat >>confdefs.h <<\_ACEOF
21046 #define _GLIBCXX_USE_C99_MATH_TR1 1
21047 _ACEOF
21048
21049   fi
21050
21051   # Check for the existence of <inttypes.h> functions (NB: doesn't make
21052   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21053   ac_c99_inttypes_tr1=no;
21054   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21055     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21056 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21057     cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h.  */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h.  */
21063 #include <inttypes.h>
21064 int
21065 main ()
21066 {
21067 intmax_t i, numer, denom, base;
21068                     const char* s;
21069                     char** endptr;
21070                     intmax_t ret = imaxabs(i);
21071                     imaxdiv_t dret = imaxdiv(numer, denom);
21072                     ret = strtoimax(s, endptr, base);
21073                     uintmax_t uret = strtoumax(s, endptr, base);
21074
21075   ;
21076   return 0;
21077 }
21078 _ACEOF
21079 rm -f conftest.$ac_objext
21080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21081   (eval $ac_compile) 2>conftest.er1
21082   ac_status=$?
21083   grep -v '^ *+' conftest.er1 >conftest.err
21084   rm -f conftest.er1
21085   cat conftest.err >&5
21086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087   (exit $ac_status); } &&
21088          { ac_try='test -z "$ac_cxx_werror_flag"
21089                          || test ! -s conftest.err'
21090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21091   (eval $ac_try) 2>&5
21092   ac_status=$?
21093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094   (exit $ac_status); }; } &&
21095          { ac_try='test -s conftest.$ac_objext'
21096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097   (eval $ac_try) 2>&5
21098   ac_status=$?
21099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100   (exit $ac_status); }; }; then
21101   ac_c99_inttypes_tr1=yes
21102 else
21103   echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21105
21106 ac_c99_inttypes_tr1=no
21107 fi
21108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21109   fi
21110   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21111 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21112   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21113
21114 cat >>confdefs.h <<\_ACEOF
21115 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21116 _ACEOF
21117
21118   fi
21119
21120   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21121   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21122   ac_c99_inttypes_wchar_t_tr1=no;
21123   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21124     echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21125 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21126     cat >conftest.$ac_ext <<_ACEOF
21127 /* confdefs.h.  */
21128 _ACEOF
21129 cat confdefs.h >>conftest.$ac_ext
21130 cat >>conftest.$ac_ext <<_ACEOF
21131 /* end confdefs.h.  */
21132 #include <inttypes.h>
21133 int
21134 main ()
21135 {
21136 intmax_t base;
21137                     const wchar_t* s;
21138                     wchar_t** endptr;
21139                     intmax_t ret = wcstoimax(s, endptr, base);
21140                     uintmax_t uret = wcstoumax(s, endptr, base);
21141
21142   ;
21143   return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest.$ac_objext
21147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21148   (eval $ac_compile) 2>conftest.er1
21149   ac_status=$?
21150   grep -v '^ *+' conftest.er1 >conftest.err
21151   rm -f conftest.er1
21152   cat conftest.err >&5
21153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154   (exit $ac_status); } &&
21155          { ac_try='test -z "$ac_cxx_werror_flag"
21156                          || test ! -s conftest.err'
21157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158   (eval $ac_try) 2>&5
21159   ac_status=$?
21160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161   (exit $ac_status); }; } &&
21162          { ac_try='test -s conftest.$ac_objext'
21163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164   (eval $ac_try) 2>&5
21165   ac_status=$?
21166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167   (exit $ac_status); }; }; then
21168   ac_c99_inttypes_wchar_t_tr1=yes
21169 else
21170   echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.$ac_ext >&5
21172
21173 ac_c99_inttypes_wchar_t_tr1=no
21174 fi
21175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21176   fi
21177   echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21178 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21179   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21180
21181 cat >>confdefs.h <<\_ACEOF
21182 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21183 _ACEOF
21184
21185   fi
21186
21187   # Check for the existence of the <stdbool.h> header.
21188
21189 for ac_header in stdbool.h
21190 do
21191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21193   echo "$as_me:$LINENO: checking for $ac_header" >&5
21194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21196   echo $ECHO_N "(cached) $ECHO_C" >&6
21197 fi
21198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21200 else
21201   # Is the header compilable?
21202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h.  */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h.  */
21210 $ac_includes_default
21211 #include <$ac_header>
21212 _ACEOF
21213 rm -f conftest.$ac_objext
21214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21215   (eval $ac_compile) 2>conftest.er1
21216   ac_status=$?
21217   grep -v '^ *+' conftest.er1 >conftest.err
21218   rm -f conftest.er1
21219   cat conftest.err >&5
21220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221   (exit $ac_status); } &&
21222          { ac_try='test -z "$ac_cxx_werror_flag"
21223                          || test ! -s conftest.err'
21224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225   (eval $ac_try) 2>&5
21226   ac_status=$?
21227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228   (exit $ac_status); }; } &&
21229          { ac_try='test -s conftest.$ac_objext'
21230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231   (eval $ac_try) 2>&5
21232   ac_status=$?
21233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234   (exit $ac_status); }; }; then
21235   ac_header_compiler=yes
21236 else
21237   echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21239
21240 ac_header_compiler=no
21241 fi
21242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21244 echo "${ECHO_T}$ac_header_compiler" >&6
21245
21246 # Is the header present?
21247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21249 cat >conftest.$ac_ext <<_ACEOF
21250 /* confdefs.h.  */
21251 _ACEOF
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h.  */
21255 #include <$ac_header>
21256 _ACEOF
21257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21258   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21259   ac_status=$?
21260   grep -v '^ *+' conftest.er1 >conftest.err
21261   rm -f conftest.er1
21262   cat conftest.err >&5
21263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264   (exit $ac_status); } >/dev/null; then
21265   if test -s conftest.err; then
21266     ac_cpp_err=$ac_cxx_preproc_warn_flag
21267     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21268   else
21269     ac_cpp_err=
21270   fi
21271 else
21272   ac_cpp_err=yes
21273 fi
21274 if test -z "$ac_cpp_err"; then
21275   ac_header_preproc=yes
21276 else
21277   echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21279
21280   ac_header_preproc=no
21281 fi
21282 rm -f conftest.err conftest.$ac_ext
21283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21284 echo "${ECHO_T}$ac_header_preproc" >&6
21285
21286 # So?  What about this header?
21287 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21288   yes:no: )
21289     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21291     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21293     ac_header_preproc=yes
21294     ;;
21295   no:yes:* )
21296     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21298     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21299 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21300     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21302     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21303 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21304     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21306     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21308     (
21309       cat <<\_ASBOX
21310 ## ----------------------------------------- ##
21311 ## Report this to the package-unused lists.  ##
21312 ## ----------------------------------------- ##
21313 _ASBOX
21314     ) |
21315       sed "s/^/$as_me: WARNING:     /" >&2
21316     ;;
21317 esac
21318 echo "$as_me:$LINENO: checking for $ac_header" >&5
21319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21321   echo $ECHO_N "(cached) $ECHO_C" >&6
21322 else
21323   eval "$as_ac_Header=\$ac_header_preproc"
21324 fi
21325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21327
21328 fi
21329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21330   cat >>confdefs.h <<_ACEOF
21331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21332 _ACEOF
21333
21334 fi
21335
21336 done
21337
21338
21339   CXXFLAGS="$ac_save_CXXFLAGS"
21340   ac_ext=c
21341 ac_cpp='$CPP $CPPFLAGS'
21342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21345
21346
21347
21348 # For common values of EOF, SEEK_CUR, SEEK_END.
21349
21350
21351   echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21352 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21353   if test "${glibcxx_cv_stdio_macros+set}" = set; then
21354   echo $ECHO_N "(cached) $ECHO_C" >&6
21355 else
21356
21357   cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h.  */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h.  */
21363 #include <stdio.h>
21364 int
21365 main ()
21366 {
21367 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21368                     unusual values...
21369                   #endif
21370
21371   ;
21372   return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21377   (eval $ac_compile) 2>conftest.er1
21378   ac_status=$?
21379   grep -v '^ *+' conftest.er1 >conftest.err
21380   rm -f conftest.er1
21381   cat conftest.err >&5
21382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383   (exit $ac_status); } &&
21384          { ac_try='test -z "$ac_c_werror_flag"
21385                          || test ! -s conftest.err'
21386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387   (eval $ac_try) 2>&5
21388   ac_status=$?
21389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390   (exit $ac_status); }; } &&
21391          { ac_try='test -s conftest.$ac_objext'
21392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393   (eval $ac_try) 2>&5
21394   ac_status=$?
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); }; }; then
21397   glibcxx_cv_stdio_macros=yes
21398 else
21399   echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21401
21402 glibcxx_cv_stdio_macros=no
21403 fi
21404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21405
21406 fi
21407
21408   echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21409 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21410   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21411
21412 cat >>confdefs.h <<\_ACEOF
21413 #define _GLIBCXX_STDIO_MACROS 1
21414 _ACEOF
21415
21416   fi
21417
21418
21419
21420 # For gettimeofday support.
21421
21422
21423   echo "$as_me:$LINENO: checking for gettimeofday" >&5
21424 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21425
21426
21427
21428   ac_ext=cc
21429 ac_cpp='$CXXCPP $CPPFLAGS'
21430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21433
21434   ac_save_CXXFLAGS="$CXXFLAGS"
21435   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21436
21437   ac_has_gettimeofday=no;
21438
21439 for ac_header in sys/time.h
21440 do
21441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21443   echo "$as_me:$LINENO: checking for $ac_header" >&5
21444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21446   echo $ECHO_N "(cached) $ECHO_C" >&6
21447 fi
21448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21450 else
21451   # Is the header compilable?
21452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h.  */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h.  */
21460 $ac_includes_default
21461 #include <$ac_header>
21462 _ACEOF
21463 rm -f conftest.$ac_objext
21464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21465   (eval $ac_compile) 2>conftest.er1
21466   ac_status=$?
21467   grep -v '^ *+' conftest.er1 >conftest.err
21468   rm -f conftest.er1
21469   cat conftest.err >&5
21470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471   (exit $ac_status); } &&
21472          { ac_try='test -z "$ac_cxx_werror_flag"
21473                          || test ! -s conftest.err'
21474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475   (eval $ac_try) 2>&5
21476   ac_status=$?
21477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478   (exit $ac_status); }; } &&
21479          { ac_try='test -s conftest.$ac_objext'
21480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481   (eval $ac_try) 2>&5
21482   ac_status=$?
21483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484   (exit $ac_status); }; }; then
21485   ac_header_compiler=yes
21486 else
21487   echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.$ac_ext >&5
21489
21490 ac_header_compiler=no
21491 fi
21492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21494 echo "${ECHO_T}$ac_header_compiler" >&6
21495
21496 # Is the header present?
21497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21499 cat >conftest.$ac_ext <<_ACEOF
21500 /* confdefs.h.  */
21501 _ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h.  */
21505 #include <$ac_header>
21506 _ACEOF
21507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21508   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21509   ac_status=$?
21510   grep -v '^ *+' conftest.er1 >conftest.err
21511   rm -f conftest.er1
21512   cat conftest.err >&5
21513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514   (exit $ac_status); } >/dev/null; then
21515   if test -s conftest.err; then
21516     ac_cpp_err=$ac_cxx_preproc_warn_flag
21517     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21518   else
21519     ac_cpp_err=
21520   fi
21521 else
21522   ac_cpp_err=yes
21523 fi
21524 if test -z "$ac_cpp_err"; then
21525   ac_header_preproc=yes
21526 else
21527   echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21529
21530   ac_header_preproc=no
21531 fi
21532 rm -f conftest.err conftest.$ac_ext
21533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21534 echo "${ECHO_T}$ac_header_preproc" >&6
21535
21536 # So?  What about this header?
21537 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21538   yes:no: )
21539     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21541     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21543     ac_header_preproc=yes
21544     ;;
21545   no:yes:* )
21546     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21548     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21549 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21550     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21551 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21552     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21553 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21554     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21556     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21557 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21558     (
21559       cat <<\_ASBOX
21560 ## ----------------------------------------- ##
21561 ## Report this to the package-unused lists.  ##
21562 ## ----------------------------------------- ##
21563 _ASBOX
21564     ) |
21565       sed "s/^/$as_me: WARNING:     /" >&2
21566     ;;
21567 esac
21568 echo "$as_me:$LINENO: checking for $ac_header" >&5
21569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21571   echo $ECHO_N "(cached) $ECHO_C" >&6
21572 else
21573   eval "$as_ac_Header=\$ac_header_preproc"
21574 fi
21575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21577
21578 fi
21579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21580   cat >>confdefs.h <<_ACEOF
21581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21582 _ACEOF
21583  ac_has_sys_time_h=yes
21584 else
21585   ac_has_sys_time_h=no
21586 fi
21587
21588 done
21589
21590   if test x"$ac_has_sys_time_h" = x"yes"; then
21591     echo "$as_me:$LINENO: checking for gettimeofday" >&5
21592 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21593     if test x$gcc_no_link = xyes; then
21594   cat >conftest.$ac_ext <<_ACEOF
21595 /* confdefs.h.  */
21596 _ACEOF
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h.  */
21600 #include <sys/time.h>
21601 int
21602 main ()
21603 {
21604 timeval tv; gettimeofday(&tv, 0);
21605   ;
21606   return 0;
21607 }
21608 _ACEOF
21609 rm -f conftest.$ac_objext
21610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21611   (eval $ac_compile) 2>conftest.er1
21612   ac_status=$?
21613   grep -v '^ *+' conftest.er1 >conftest.err
21614   rm -f conftest.er1
21615   cat conftest.err >&5
21616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617   (exit $ac_status); } &&
21618          { ac_try='test -z "$ac_cxx_werror_flag"
21619                          || test ! -s conftest.err'
21620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21621   (eval $ac_try) 2>&5
21622   ac_status=$?
21623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624   (exit $ac_status); }; } &&
21625          { ac_try='test -s conftest.$ac_objext'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; }; then
21631   ac_has_gettimeofday=yes
21632 else
21633   echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 ac_has_gettimeofday=no
21637 fi
21638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21639 else
21640   if test x$gcc_no_link = xyes; then
21641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21643    { (exit 1); exit 1; }; }
21644 fi
21645 cat >conftest.$ac_ext <<_ACEOF
21646 /* confdefs.h.  */
21647 _ACEOF
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h.  */
21651 #include <sys/time.h>
21652 int
21653 main ()
21654 {
21655 timeval tv; gettimeofday(&tv, 0);
21656   ;
21657   return 0;
21658 }
21659 _ACEOF
21660 rm -f conftest.$ac_objext conftest$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662   (eval $ac_link) 2>conftest.er1
21663   ac_status=$?
21664   grep -v '^ *+' conftest.er1 >conftest.err
21665   rm -f conftest.er1
21666   cat conftest.err >&5
21667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668   (exit $ac_status); } &&
21669          { ac_try='test -z "$ac_cxx_werror_flag"
21670                          || test ! -s conftest.err'
21671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672   (eval $ac_try) 2>&5
21673   ac_status=$?
21674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675   (exit $ac_status); }; } &&
21676          { ac_try='test -s conftest$ac_exeext'
21677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21678   (eval $ac_try) 2>&5
21679   ac_status=$?
21680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681   (exit $ac_status); }; }; then
21682   ac_has_gettimeofday=yes
21683 else
21684   echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 ac_has_gettimeofday=no
21688 fi
21689 rm -f conftest.err conftest.$ac_objext \
21690       conftest$ac_exeext conftest.$ac_ext
21691 fi
21692
21693     echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21694 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21695   fi
21696
21697   if test x"$ac_has_gettimeofday" = x"yes"; then
21698
21699 cat >>confdefs.h <<\_ACEOF
21700 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21701 _ACEOF
21702
21703   fi
21704
21705   CXXFLAGS="$ac_save_CXXFLAGS"
21706   ac_ext=c
21707 ac_cpp='$CPP $CPPFLAGS'
21708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21711
21712
21713
21714 # For clock_gettime support.
21715 # NB: The default is [no], because otherwise it requires linking.
21716
21717
21718   echo "$as_me:$LINENO: checking for clock_gettime clocks" >&5
21719 echo $ECHO_N "checking for clock_gettime clocks... $ECHO_C" >&6
21720    # Check whether --enable-clock-gettime or --disable-clock-gettime was given.
21721 if test "${enable_clock_gettime+set}" = set; then
21722   enableval="$enable_clock_gettime"
21723
21724       case "$enableval" in
21725        yes|no|rt) ;;
21726        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clock-gettime" >&5
21727 echo "$as_me: error: Unknown argument to enable/disable clock-gettime" >&2;}
21728    { (exit 1); exit 1; }; } ;;
21729                           esac
21730
21731 else
21732   enable_clock_gettime=no
21733 fi;
21734
21735
21736
21737
21738   ac_ext=cc
21739 ac_cpp='$CXXCPP $CPPFLAGS'
21740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21743
21744   ac_save_CXXFLAGS="$CXXFLAGS"
21745   CXXFLAGS="$CXXFLAGS -fno-exceptions"
21746   ac_save_LIBS="$LIBS"
21747
21748   ac_has_clock_monotonic=no;
21749   ac_has_clock_realtime=no;
21750
21751   if test x"$enable_clock_gettime" != x"no"; then
21752
21753     if test x"$enable_clock_gettime" = x"rt"; then
21754       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21755 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21756 if test "${ac_cv_search_clock_gettime+set}" = set; then
21757   echo $ECHO_N "(cached) $ECHO_C" >&6
21758 else
21759   ac_func_search_save_LIBS=$LIBS
21760 ac_cv_search_clock_gettime=no
21761 if test x$gcc_no_link = xyes; then
21762   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21764    { (exit 1); exit 1; }; }
21765 fi
21766 cat >conftest.$ac_ext <<_ACEOF
21767 /* confdefs.h.  */
21768 _ACEOF
21769 cat confdefs.h >>conftest.$ac_ext
21770 cat >>conftest.$ac_ext <<_ACEOF
21771 /* end confdefs.h.  */
21772
21773 /* Override any gcc2 internal prototype to avoid an error.  */
21774 #ifdef __cplusplus
21775 extern "C"
21776 #endif
21777 /* We use char because int might match the return type of a gcc2
21778    builtin and then its argument prototype would still apply.  */
21779 char clock_gettime ();
21780 int
21781 main ()
21782 {
21783 clock_gettime ();
21784   ;
21785   return 0;
21786 }
21787 _ACEOF
21788 rm -f conftest.$ac_objext conftest$ac_exeext
21789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21790   (eval $ac_link) 2>conftest.er1
21791   ac_status=$?
21792   grep -v '^ *+' conftest.er1 >conftest.err
21793   rm -f conftest.er1
21794   cat conftest.err >&5
21795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796   (exit $ac_status); } &&
21797          { ac_try='test -z "$ac_cxx_werror_flag"
21798                          || test ! -s conftest.err'
21799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21800   (eval $ac_try) 2>&5
21801   ac_status=$?
21802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803   (exit $ac_status); }; } &&
21804          { ac_try='test -s conftest$ac_exeext'
21805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806   (eval $ac_try) 2>&5
21807   ac_status=$?
21808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809   (exit $ac_status); }; }; then
21810   ac_cv_search_clock_gettime="none required"
21811 else
21812   echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21814
21815 fi
21816 rm -f conftest.err conftest.$ac_objext \
21817       conftest$ac_exeext conftest.$ac_ext
21818 if test "$ac_cv_search_clock_gettime" = no; then
21819   for ac_lib in rt posix4; do
21820     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21821     if test x$gcc_no_link = xyes; then
21822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21824    { (exit 1); exit 1; }; }
21825 fi
21826 cat >conftest.$ac_ext <<_ACEOF
21827 /* confdefs.h.  */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h.  */
21832
21833 /* Override any gcc2 internal prototype to avoid an error.  */
21834 #ifdef __cplusplus
21835 extern "C"
21836 #endif
21837 /* We use char because int might match the return type of a gcc2
21838    builtin and then its argument prototype would still apply.  */
21839 char clock_gettime ();
21840 int
21841 main ()
21842 {
21843 clock_gettime ();
21844   ;
21845   return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext conftest$ac_exeext
21849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21850   (eval $ac_link) 2>conftest.er1
21851   ac_status=$?
21852   grep -v '^ *+' conftest.er1 >conftest.err
21853   rm -f conftest.er1
21854   cat conftest.err >&5
21855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856   (exit $ac_status); } &&
21857          { ac_try='test -z "$ac_cxx_werror_flag"
21858                          || test ! -s conftest.err'
21859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860   (eval $ac_try) 2>&5
21861   ac_status=$?
21862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863   (exit $ac_status); }; } &&
21864          { ac_try='test -s conftest$ac_exeext'
21865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21866   (eval $ac_try) 2>&5
21867   ac_status=$?
21868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869   (exit $ac_status); }; }; then
21870   ac_cv_search_clock_gettime="-l$ac_lib"
21871 break
21872 else
21873   echo "$as_me: failed program was:" >&5
21874 sed 's/^/| /' conftest.$ac_ext >&5
21875
21876 fi
21877 rm -f conftest.err conftest.$ac_objext \
21878       conftest$ac_exeext conftest.$ac_ext
21879   done
21880 fi
21881 LIBS=$ac_func_search_save_LIBS
21882 fi
21883 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21884 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21885 if test "$ac_cv_search_clock_gettime" != no; then
21886   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21887
21888 fi
21889
21890     else
21891       echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21892 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21893 if test "${ac_cv_search_clock_gettime+set}" = set; then
21894   echo $ECHO_N "(cached) $ECHO_C" >&6
21895 else
21896   ac_func_search_save_LIBS=$LIBS
21897 ac_cv_search_clock_gettime=no
21898 if test x$gcc_no_link = xyes; then
21899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21901    { (exit 1); exit 1; }; }
21902 fi
21903 cat >conftest.$ac_ext <<_ACEOF
21904 /* confdefs.h.  */
21905 _ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h.  */
21909
21910 /* Override any gcc2 internal prototype to avoid an error.  */
21911 #ifdef __cplusplus
21912 extern "C"
21913 #endif
21914 /* We use char because int might match the return type of a gcc2
21915    builtin and then its argument prototype would still apply.  */
21916 char clock_gettime ();
21917 int
21918 main ()
21919 {
21920 clock_gettime ();
21921   ;
21922   return 0;
21923 }
21924 _ACEOF
21925 rm -f conftest.$ac_objext conftest$ac_exeext
21926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21927   (eval $ac_link) 2>conftest.er1
21928   ac_status=$?
21929   grep -v '^ *+' conftest.er1 >conftest.err
21930   rm -f conftest.er1
21931   cat conftest.err >&5
21932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933   (exit $ac_status); } &&
21934          { ac_try='test -z "$ac_cxx_werror_flag"
21935                          || test ! -s conftest.err'
21936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21937   (eval $ac_try) 2>&5
21938   ac_status=$?
21939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940   (exit $ac_status); }; } &&
21941          { ac_try='test -s conftest$ac_exeext'
21942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943   (eval $ac_try) 2>&5
21944   ac_status=$?
21945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946   (exit $ac_status); }; }; then
21947   ac_cv_search_clock_gettime="none required"
21948 else
21949   echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21951
21952 fi
21953 rm -f conftest.err conftest.$ac_objext \
21954       conftest$ac_exeext conftest.$ac_ext
21955 if test "$ac_cv_search_clock_gettime" = no; then
21956   for ac_lib in posix4; do
21957     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
21958     if test x$gcc_no_link = xyes; then
21959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21961    { (exit 1); exit 1; }; }
21962 fi
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h.  */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h.  */
21969
21970 /* Override any gcc2 internal prototype to avoid an error.  */
21971 #ifdef __cplusplus
21972 extern "C"
21973 #endif
21974 /* We use char because int might match the return type of a gcc2
21975    builtin and then its argument prototype would still apply.  */
21976 char clock_gettime ();
21977 int
21978 main ()
21979 {
21980 clock_gettime ();
21981   ;
21982   return 0;
21983 }
21984 _ACEOF
21985 rm -f conftest.$ac_objext conftest$ac_exeext
21986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21987   (eval $ac_link) 2>conftest.er1
21988   ac_status=$?
21989   grep -v '^ *+' conftest.er1 >conftest.err
21990   rm -f conftest.er1
21991   cat conftest.err >&5
21992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993   (exit $ac_status); } &&
21994          { ac_try='test -z "$ac_cxx_werror_flag"
21995                          || test ! -s conftest.err'
21996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997   (eval $ac_try) 2>&5
21998   ac_status=$?
21999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000   (exit $ac_status); }; } &&
22001          { ac_try='test -s conftest$ac_exeext'
22002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22003   (eval $ac_try) 2>&5
22004   ac_status=$?
22005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006   (exit $ac_status); }; }; then
22007   ac_cv_search_clock_gettime="-l$ac_lib"
22008 break
22009 else
22010   echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22012
22013 fi
22014 rm -f conftest.err conftest.$ac_objext \
22015       conftest$ac_exeext conftest.$ac_ext
22016   done
22017 fi
22018 LIBS=$ac_func_search_save_LIBS
22019 fi
22020 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22021 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22022 if test "$ac_cv_search_clock_gettime" != no; then
22023   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22024
22025 fi
22026
22027     fi
22028
22029     case "$ac_cv_search_clock_gettime" in
22030       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22031     esac
22032
22033
22034 for ac_header in unistd.h
22035 do
22036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22038   echo "$as_me:$LINENO: checking for $ac_header" >&5
22039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22041   echo $ECHO_N "(cached) $ECHO_C" >&6
22042 fi
22043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22045 else
22046   # Is the header compilable?
22047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h.  */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h.  */
22055 $ac_includes_default
22056 #include <$ac_header>
22057 _ACEOF
22058 rm -f conftest.$ac_objext
22059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22060   (eval $ac_compile) 2>conftest.er1
22061   ac_status=$?
22062   grep -v '^ *+' conftest.er1 >conftest.err
22063   rm -f conftest.er1
22064   cat conftest.err >&5
22065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066   (exit $ac_status); } &&
22067          { ac_try='test -z "$ac_cxx_werror_flag"
22068                          || test ! -s conftest.err'
22069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070   (eval $ac_try) 2>&5
22071   ac_status=$?
22072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073   (exit $ac_status); }; } &&
22074          { ac_try='test -s conftest.$ac_objext'
22075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22076   (eval $ac_try) 2>&5
22077   ac_status=$?
22078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079   (exit $ac_status); }; }; then
22080   ac_header_compiler=yes
22081 else
22082   echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_header_compiler=no
22086 fi
22087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22089 echo "${ECHO_T}$ac_header_compiler" >&6
22090
22091 # Is the header present?
22092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22094 cat >conftest.$ac_ext <<_ACEOF
22095 /* confdefs.h.  */
22096 _ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h.  */
22100 #include <$ac_header>
22101 _ACEOF
22102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22103   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22104   ac_status=$?
22105   grep -v '^ *+' conftest.er1 >conftest.err
22106   rm -f conftest.er1
22107   cat conftest.err >&5
22108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109   (exit $ac_status); } >/dev/null; then
22110   if test -s conftest.err; then
22111     ac_cpp_err=$ac_cxx_preproc_warn_flag
22112     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22113   else
22114     ac_cpp_err=
22115   fi
22116 else
22117   ac_cpp_err=yes
22118 fi
22119 if test -z "$ac_cpp_err"; then
22120   ac_header_preproc=yes
22121 else
22122   echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125   ac_header_preproc=no
22126 fi
22127 rm -f conftest.err conftest.$ac_ext
22128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22129 echo "${ECHO_T}$ac_header_preproc" >&6
22130
22131 # So?  What about this header?
22132 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22133   yes:no: )
22134     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22136     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22138     ac_header_preproc=yes
22139     ;;
22140   no:yes:* )
22141     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22143     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22144 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22145     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22147     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22148 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22149     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22151     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22153     (
22154       cat <<\_ASBOX
22155 ## ----------------------------------------- ##
22156 ## Report this to the package-unused lists.  ##
22157 ## ----------------------------------------- ##
22158 _ASBOX
22159     ) |
22160       sed "s/^/$as_me: WARNING:     /" >&2
22161     ;;
22162 esac
22163 echo "$as_me:$LINENO: checking for $ac_header" >&5
22164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22166   echo $ECHO_N "(cached) $ECHO_C" >&6
22167 else
22168   eval "$as_ac_Header=\$ac_header_preproc"
22169 fi
22170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22172
22173 fi
22174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22175   cat >>confdefs.h <<_ACEOF
22176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22177 _ACEOF
22178  ac_has_unistd_h=yes
22179 else
22180   ac_has_unistd_h=no
22181 fi
22182
22183 done
22184
22185
22186     if test x"$ac_has_unistd_h" = x"yes"; then
22187       echo "$as_me:$LINENO: checking for monotonic clock" >&5
22188 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22189       if test x$gcc_no_link = xyes; then
22190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22192    { (exit 1); exit 1; }; }
22193 fi
22194 cat >conftest.$ac_ext <<_ACEOF
22195 /* confdefs.h.  */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h.  */
22200 #include <unistd.h>
22201          #include <time.h>
22202
22203 int
22204 main ()
22205 {
22206 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22207           timespec tp;
22208          #endif
22209           clock_gettime(CLOCK_MONOTONIC, &tp);
22210
22211   ;
22212   return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext conftest$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217   (eval $ac_link) 2>conftest.er1
22218   ac_status=$?
22219   grep -v '^ *+' conftest.er1 >conftest.err
22220   rm -f conftest.er1
22221   cat conftest.err >&5
22222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223   (exit $ac_status); } &&
22224          { ac_try='test -z "$ac_cxx_werror_flag"
22225                          || test ! -s conftest.err'
22226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227   (eval $ac_try) 2>&5
22228   ac_status=$?
22229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230   (exit $ac_status); }; } &&
22231          { ac_try='test -s conftest$ac_exeext'
22232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233   (eval $ac_try) 2>&5
22234   ac_status=$?
22235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236   (exit $ac_status); }; }; then
22237   ac_has_clock_monotonic=yes
22238 else
22239   echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 ac_has_clock_monotonic=no
22243 fi
22244 rm -f conftest.err conftest.$ac_objext \
22245       conftest$ac_exeext conftest.$ac_ext
22246
22247       echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22248 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22249
22250       echo "$as_me:$LINENO: checking for realtime clock" >&5
22251 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22252       if test x$gcc_no_link = xyes; then
22253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22255    { (exit 1); exit 1; }; }
22256 fi
22257 cat >conftest.$ac_ext <<_ACEOF
22258 /* confdefs.h.  */
22259 _ACEOF
22260 cat confdefs.h >>conftest.$ac_ext
22261 cat >>conftest.$ac_ext <<_ACEOF
22262 /* end confdefs.h.  */
22263 #include <unistd.h>
22264          #include <time.h>
22265
22266 int
22267 main ()
22268 {
22269 #if _POSIX_TIMERS > 0
22270           timespec tp;
22271          #endif
22272           clock_gettime(CLOCK_REALTIME, &tp);
22273
22274   ;
22275   return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext conftest$ac_exeext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22280   (eval $ac_link) 2>conftest.er1
22281   ac_status=$?
22282   grep -v '^ *+' conftest.er1 >conftest.err
22283   rm -f conftest.er1
22284   cat conftest.err >&5
22285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286   (exit $ac_status); } &&
22287          { ac_try='test -z "$ac_cxx_werror_flag"
22288                          || test ! -s conftest.err'
22289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290   (eval $ac_try) 2>&5
22291   ac_status=$?
22292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293   (exit $ac_status); }; } &&
22294          { ac_try='test -s conftest$ac_exeext'
22295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296   (eval $ac_try) 2>&5
22297   ac_status=$?
22298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299   (exit $ac_status); }; }; then
22300   ac_has_clock_realtime=yes
22301 else
22302   echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.$ac_ext >&5
22304
22305 ac_has_clock_realtime=no
22306 fi
22307 rm -f conftest.err conftest.$ac_objext \
22308       conftest$ac_exeext conftest.$ac_ext
22309
22310       echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22311 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22312     fi
22313
22314   fi
22315
22316   if test x"$ac_has_clock_monotonic" = x"yes"; then
22317
22318 cat >>confdefs.h <<\_ACEOF
22319 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22320 _ACEOF
22321
22322   fi
22323
22324   if test x"$ac_has_clock_realtime" = x"yes"; then
22325
22326 cat >>confdefs.h <<\_ACEOF
22327 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22328 _ACEOF
22329
22330   fi
22331
22332
22333
22334   CXXFLAGS="$ac_save_CXXFLAGS"
22335   LIBS="$ac_save_LIBS"
22336   ac_ext=c
22337 ac_cpp='$CPP $CPPFLAGS'
22338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22341
22342
22343
22344 # For gthread support
22345
22346
22347
22348   ac_ext=cc
22349 ac_cpp='$CXXCPP $CPPFLAGS'
22350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22353
22354
22355   ac_save_CXXFLAGS="$CXXFLAGS"
22356   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22357
22358   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22359   case $target_thread_file in
22360     posix)
22361       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22362   esac
22363
22364   echo "$as_me:$LINENO: checking for gthreads library" >&5
22365 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22366
22367   cat >conftest.$ac_ext <<_ACEOF
22368 /* confdefs.h.  */
22369 _ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h.  */
22373 #include "gthr.h"
22374 int
22375 main ()
22376 {
22377
22378       #ifndef __GTHREADS_CXX0X
22379       #error
22380       #endif
22381
22382       // In case of POSIX threads check _POSIX_TIMEOUTS too.
22383       #if (defined(_PTHREADS) \
22384            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22385       #error
22386       #endif
22387
22388   ;
22389   return 0;
22390 }
22391 _ACEOF
22392 rm -f conftest.$ac_objext
22393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22394   (eval $ac_compile) 2>conftest.er1
22395   ac_status=$?
22396   grep -v '^ *+' conftest.er1 >conftest.err
22397   rm -f conftest.er1
22398   cat conftest.err >&5
22399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22400   (exit $ac_status); } &&
22401          { ac_try='test -z "$ac_cxx_werror_flag"
22402                          || test ! -s conftest.err'
22403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404   (eval $ac_try) 2>&5
22405   ac_status=$?
22406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407   (exit $ac_status); }; } &&
22408          { ac_try='test -s conftest.$ac_objext'
22409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410   (eval $ac_try) 2>&5
22411   ac_status=$?
22412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413   (exit $ac_status); }; }; then
22414   ac_has_gthreads=yes
22415 else
22416   echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22418
22419 ac_has_gthreads=no
22420 fi
22421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22422
22423   echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22424 echo "${ECHO_T}$ac_has_gthreads" >&6
22425
22426   if test x"$ac_has_gthreads" = x"yes"; then
22427
22428 cat >>confdefs.h <<\_ACEOF
22429 #define _GLIBCXX_HAS_GTHREADS 1
22430 _ACEOF
22431
22432   fi
22433
22434   CXXFLAGS="$ac_save_CXXFLAGS"
22435   ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442
22443 # For nanosleep support
22444
22445
22446   echo "$as_me:$LINENO: checking for nanosleep" >&5
22447 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22448
22449
22450
22451   ac_ext=cc
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22456
22457   ac_save_CXXFLAGS="$CXXFLAGS"
22458   CXXFLAGS="$CXXFLAGS -fno-exceptions"
22459
22460   ac_has_nanosleep=no;
22461
22462 for ac_header in time.h
22463 do
22464 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22466   echo "$as_me:$LINENO: checking for $ac_header" >&5
22467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22469   echo $ECHO_N "(cached) $ECHO_C" >&6
22470 fi
22471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22473 else
22474   # Is the header compilable?
22475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22477 cat >conftest.$ac_ext <<_ACEOF
22478 /* confdefs.h.  */
22479 _ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h.  */
22483 $ac_includes_default
22484 #include <$ac_header>
22485 _ACEOF
22486 rm -f conftest.$ac_objext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22488   (eval $ac_compile) 2>conftest.er1
22489   ac_status=$?
22490   grep -v '^ *+' conftest.er1 >conftest.err
22491   rm -f conftest.er1
22492   cat conftest.err >&5
22493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494   (exit $ac_status); } &&
22495          { ac_try='test -z "$ac_cxx_werror_flag"
22496                          || test ! -s conftest.err'
22497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498   (eval $ac_try) 2>&5
22499   ac_status=$?
22500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501   (exit $ac_status); }; } &&
22502          { ac_try='test -s conftest.$ac_objext'
22503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504   (eval $ac_try) 2>&5
22505   ac_status=$?
22506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507   (exit $ac_status); }; }; then
22508   ac_header_compiler=yes
22509 else
22510   echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22512
22513 ac_header_compiler=no
22514 fi
22515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22517 echo "${ECHO_T}$ac_header_compiler" >&6
22518
22519 # Is the header present?
22520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22522 cat >conftest.$ac_ext <<_ACEOF
22523 /* confdefs.h.  */
22524 _ACEOF
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h.  */
22528 #include <$ac_header>
22529 _ACEOF
22530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22531   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22532   ac_status=$?
22533   grep -v '^ *+' conftest.er1 >conftest.err
22534   rm -f conftest.er1
22535   cat conftest.err >&5
22536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537   (exit $ac_status); } >/dev/null; then
22538   if test -s conftest.err; then
22539     ac_cpp_err=$ac_cxx_preproc_warn_flag
22540     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22541   else
22542     ac_cpp_err=
22543   fi
22544 else
22545   ac_cpp_err=yes
22546 fi
22547 if test -z "$ac_cpp_err"; then
22548   ac_header_preproc=yes
22549 else
22550   echo "$as_me: failed program was:" >&5
22551 sed 's/^/| /' conftest.$ac_ext >&5
22552
22553   ac_header_preproc=no
22554 fi
22555 rm -f conftest.err conftest.$ac_ext
22556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22557 echo "${ECHO_T}$ac_header_preproc" >&6
22558
22559 # So?  What about this header?
22560 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22561   yes:no: )
22562     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22564     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22566     ac_header_preproc=yes
22567     ;;
22568   no:yes:* )
22569     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22571     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22572 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22573     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22575     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22576 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22577     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22579     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22581     (
22582       cat <<\_ASBOX
22583 ## ----------------------------------------- ##
22584 ## Report this to the package-unused lists.  ##
22585 ## ----------------------------------------- ##
22586 _ASBOX
22587     ) |
22588       sed "s/^/$as_me: WARNING:     /" >&2
22589     ;;
22590 esac
22591 echo "$as_me:$LINENO: checking for $ac_header" >&5
22592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22594   echo $ECHO_N "(cached) $ECHO_C" >&6
22595 else
22596   eval "$as_ac_Header=\$ac_header_preproc"
22597 fi
22598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22600
22601 fi
22602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22603   cat >>confdefs.h <<_ACEOF
22604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22605 _ACEOF
22606  ac_has_time_h=yes
22607 else
22608   ac_has_time_h=no
22609 fi
22610
22611 done
22612
22613   if test x"$ac_has_time_h" = x"yes"; then
22614     echo "$as_me:$LINENO: checking for nanosleep" >&5
22615 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22616     cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h.  */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h.  */
22622 #include <time.h>
22623 int
22624 main ()
22625 {
22626 timespec ts; nanosleep(&ts, 0);
22627   ;
22628   return 0;
22629 }
22630 _ACEOF
22631 rm -f conftest.$ac_objext
22632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22633   (eval $ac_compile) 2>conftest.er1
22634   ac_status=$?
22635   grep -v '^ *+' conftest.er1 >conftest.err
22636   rm -f conftest.er1
22637   cat conftest.err >&5
22638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639   (exit $ac_status); } &&
22640          { ac_try='test -z "$ac_cxx_werror_flag"
22641                          || test ! -s conftest.err'
22642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643   (eval $ac_try) 2>&5
22644   ac_status=$?
22645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646   (exit $ac_status); }; } &&
22647          { ac_try='test -s conftest.$ac_objext'
22648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649   (eval $ac_try) 2>&5
22650   ac_status=$?
22651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652   (exit $ac_status); }; }; then
22653   ac_has_nanosleep=yes
22654 else
22655   echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_has_nanosleep=no
22659 fi
22660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22661
22662     echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22663 echo "${ECHO_T}$ac_has_nanosleep" >&6
22664   fi
22665
22666   if test x"$ac_has_nanosleep" = x"yes"; then
22667
22668 cat >>confdefs.h <<\_ACEOF
22669 #define _GLIBCXX_USE_NANOSLEEP 1
22670 _ACEOF
22671
22672   fi
22673
22674   CXXFLAGS="$ac_save_CXXFLAGS"
22675   ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22680
22681
22682
22683
22684   if test "${ac_cv_header_locale_h+set}" = set; then
22685   echo "$as_me:$LINENO: checking for locale.h" >&5
22686 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22687 if test "${ac_cv_header_locale_h+set}" = set; then
22688   echo $ECHO_N "(cached) $ECHO_C" >&6
22689 fi
22690 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22691 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22692 else
22693   # Is the header compilable?
22694 echo "$as_me:$LINENO: checking locale.h usability" >&5
22695 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22696 cat >conftest.$ac_ext <<_ACEOF
22697 /* confdefs.h.  */
22698 _ACEOF
22699 cat confdefs.h >>conftest.$ac_ext
22700 cat >>conftest.$ac_ext <<_ACEOF
22701 /* end confdefs.h.  */
22702 $ac_includes_default
22703 #include <locale.h>
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22707   (eval $ac_compile) 2>conftest.er1
22708   ac_status=$?
22709   grep -v '^ *+' conftest.er1 >conftest.err
22710   rm -f conftest.er1
22711   cat conftest.err >&5
22712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713   (exit $ac_status); } &&
22714          { ac_try='test -z "$ac_c_werror_flag"
22715                          || test ! -s conftest.err'
22716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717   (eval $ac_try) 2>&5
22718   ac_status=$?
22719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720   (exit $ac_status); }; } &&
22721          { ac_try='test -s conftest.$ac_objext'
22722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723   (eval $ac_try) 2>&5
22724   ac_status=$?
22725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726   (exit $ac_status); }; }; then
22727   ac_header_compiler=yes
22728 else
22729   echo "$as_me: failed program was:" >&5
22730 sed 's/^/| /' conftest.$ac_ext >&5
22731
22732 ac_header_compiler=no
22733 fi
22734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22736 echo "${ECHO_T}$ac_header_compiler" >&6
22737
22738 # Is the header present?
22739 echo "$as_me:$LINENO: checking locale.h presence" >&5
22740 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h.  */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h.  */
22747 #include <locale.h>
22748 _ACEOF
22749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22751   ac_status=$?
22752   grep -v '^ *+' conftest.er1 >conftest.err
22753   rm -f conftest.er1
22754   cat conftest.err >&5
22755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756   (exit $ac_status); } >/dev/null; then
22757   if test -s conftest.err; then
22758     ac_cpp_err=$ac_c_preproc_warn_flag
22759     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22760   else
22761     ac_cpp_err=
22762   fi
22763 else
22764   ac_cpp_err=yes
22765 fi
22766 if test -z "$ac_cpp_err"; then
22767   ac_header_preproc=yes
22768 else
22769   echo "$as_me: failed program was:" >&5
22770 sed 's/^/| /' conftest.$ac_ext >&5
22771
22772   ac_header_preproc=no
22773 fi
22774 rm -f conftest.err conftest.$ac_ext
22775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22776 echo "${ECHO_T}$ac_header_preproc" >&6
22777
22778 # So?  What about this header?
22779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22780   yes:no: )
22781     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
22782 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22783     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
22784 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
22785     ac_header_preproc=yes
22786     ;;
22787   no:yes:* )
22788     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
22789 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
22790     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
22791 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
22792     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
22793 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
22794     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
22795 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
22796     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
22797 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
22798     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
22799 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
22800     (
22801       cat <<\_ASBOX
22802 ## ----------------------------------------- ##
22803 ## Report this to the package-unused lists.  ##
22804 ## ----------------------------------------- ##
22805 _ASBOX
22806     ) |
22807       sed "s/^/$as_me: WARNING:     /" >&2
22808     ;;
22809 esac
22810 echo "$as_me:$LINENO: checking for locale.h" >&5
22811 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22812 if test "${ac_cv_header_locale_h+set}" = set; then
22813   echo $ECHO_N "(cached) $ECHO_C" >&6
22814 else
22815   ac_cv_header_locale_h=$ac_header_preproc
22816 fi
22817 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22818 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22819
22820 fi
22821 if test $ac_cv_header_locale_h = yes; then
22822
22823     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22824 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22825 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
22826   echo $ECHO_N "(cached) $ECHO_C" >&6
22827 else
22828   cat >conftest.$ac_ext <<_ACEOF
22829 /* confdefs.h.  */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h.  */
22834 #include <locale.h>
22835 int
22836 main ()
22837 {
22838 return LC_MESSAGES
22839   ;
22840   return 0;
22841 }
22842 _ACEOF
22843 rm -f conftest.$ac_objext
22844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22845   (eval $ac_compile) 2>conftest.er1
22846   ac_status=$?
22847   grep -v '^ *+' conftest.er1 >conftest.err
22848   rm -f conftest.er1
22849   cat conftest.err >&5
22850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851   (exit $ac_status); } &&
22852          { ac_try='test -z "$ac_c_werror_flag"
22853                          || test ! -s conftest.err'
22854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22855   (eval $ac_try) 2>&5
22856   ac_status=$?
22857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858   (exit $ac_status); }; } &&
22859          { ac_try='test -s conftest.$ac_objext'
22860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861   (eval $ac_try) 2>&5
22862   ac_status=$?
22863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864   (exit $ac_status); }; }; then
22865   ac_cv_val_LC_MESSAGES=yes
22866 else
22867   echo "$as_me: failed program was:" >&5
22868 sed 's/^/| /' conftest.$ac_ext >&5
22869
22870 ac_cv_val_LC_MESSAGES=no
22871 fi
22872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22873 fi
22874 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
22875 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
22876     if test $ac_cv_val_LC_MESSAGES = yes; then
22877
22878 cat >>confdefs.h <<\_ACEOF
22879 #define HAVE_LC_MESSAGES 1
22880 _ACEOF
22881
22882     fi
22883
22884 fi
22885
22886
22887
22888
22889 # Check for available headers.
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
22916 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22917 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22918 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22919 wchar.h wctype.h
22920 do
22921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22923   echo "$as_me:$LINENO: checking for $ac_header" >&5
22924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22926   echo $ECHO_N "(cached) $ECHO_C" >&6
22927 fi
22928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22930 else
22931   # Is the header compilable?
22932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22934 cat >conftest.$ac_ext <<_ACEOF
22935 /* confdefs.h.  */
22936 _ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h.  */
22940 $ac_includes_default
22941 #include <$ac_header>
22942 _ACEOF
22943 rm -f conftest.$ac_objext
22944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22945   (eval $ac_compile) 2>conftest.er1
22946   ac_status=$?
22947   grep -v '^ *+' conftest.er1 >conftest.err
22948   rm -f conftest.er1
22949   cat conftest.err >&5
22950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951   (exit $ac_status); } &&
22952          { ac_try='test -z "$ac_c_werror_flag"
22953                          || test ! -s conftest.err'
22954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955   (eval $ac_try) 2>&5
22956   ac_status=$?
22957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958   (exit $ac_status); }; } &&
22959          { ac_try='test -s conftest.$ac_objext'
22960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961   (eval $ac_try) 2>&5
22962   ac_status=$?
22963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964   (exit $ac_status); }; }; then
22965   ac_header_compiler=yes
22966 else
22967   echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22969
22970 ac_header_compiler=no
22971 fi
22972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22974 echo "${ECHO_T}$ac_header_compiler" >&6
22975
22976 # Is the header present?
22977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22979 cat >conftest.$ac_ext <<_ACEOF
22980 /* confdefs.h.  */
22981 _ACEOF
22982 cat confdefs.h >>conftest.$ac_ext
22983 cat >>conftest.$ac_ext <<_ACEOF
22984 /* end confdefs.h.  */
22985 #include <$ac_header>
22986 _ACEOF
22987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22988   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22989   ac_status=$?
22990   grep -v '^ *+' conftest.er1 >conftest.err
22991   rm -f conftest.er1
22992   cat conftest.err >&5
22993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994   (exit $ac_status); } >/dev/null; then
22995   if test -s conftest.err; then
22996     ac_cpp_err=$ac_c_preproc_warn_flag
22997     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22998   else
22999     ac_cpp_err=
23000   fi
23001 else
23002   ac_cpp_err=yes
23003 fi
23004 if test -z "$ac_cpp_err"; then
23005   ac_header_preproc=yes
23006 else
23007   echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23009
23010   ac_header_preproc=no
23011 fi
23012 rm -f conftest.err conftest.$ac_ext
23013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23014 echo "${ECHO_T}$ac_header_preproc" >&6
23015
23016 # So?  What about this header?
23017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23018   yes:no: )
23019     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23021     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23023     ac_header_preproc=yes
23024     ;;
23025   no:yes:* )
23026     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23028     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
23029 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
23030     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23032     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
23033 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
23034     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23036     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23038     (
23039       cat <<\_ASBOX
23040 ## ----------------------------------------- ##
23041 ## Report this to the package-unused lists.  ##
23042 ## ----------------------------------------- ##
23043 _ASBOX
23044     ) |
23045       sed "s/^/$as_me: WARNING:     /" >&2
23046     ;;
23047 esac
23048 echo "$as_me:$LINENO: checking for $ac_header" >&5
23049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23051   echo $ECHO_N "(cached) $ECHO_C" >&6
23052 else
23053   eval "$as_ac_Header=\$ac_header_preproc"
23054 fi
23055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23057
23058 fi
23059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23060   cat >>confdefs.h <<_ACEOF
23061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23062 _ACEOF
23063
23064 fi
23065
23066 done
23067
23068
23069 # Only do link tests if native. Else, hardcode.
23070 if $GLIBCXX_IS_NATIVE; then
23071
23072   # We can do more elaborate tests that assume a working linker.
23073   CANADIAN=no
23074
23075
23076
23077 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23078 if test "${with_gnu_ld+set}" = set; then
23079   withval="$with_gnu_ld"
23080   test "$withval" = no || with_gnu_ld=yes
23081 else
23082   with_gnu_ld=no
23083 fi;
23084 ac_prog=ld
23085 if test "$GCC" = yes; then
23086   # Check if gcc -print-prog-name=ld gives a path.
23087   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23088 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23089   case $host in
23090   *-*-mingw*)
23091     # gcc leaves a trailing carriage return which upsets mingw
23092     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23093   *)
23094     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23095   esac
23096   case $ac_prog in
23097     # Accept absolute paths.
23098     [\\/]* | ?:[\\/]*)
23099       re_direlt='/[^/][^/]*/\.\./'
23100       # Canonicalize the pathname of ld
23101       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23102       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23103         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23104       done
23105       test -z "$LD" && LD="$ac_prog"
23106       ;;
23107   "")
23108     # If it fails, then pretend we aren't using GCC.
23109     ac_prog=ld
23110     ;;
23111   *)
23112     # If it is relative, then search for the first ld in PATH.
23113     with_gnu_ld=unknown
23114     ;;
23115   esac
23116 elif test "$with_gnu_ld" = yes; then
23117   echo "$as_me:$LINENO: checking for GNU ld" >&5
23118 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23119 else
23120   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23121 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23122 fi
23123 if test "${lt_cv_path_LD+set}" = set; then
23124   echo $ECHO_N "(cached) $ECHO_C" >&6
23125 else
23126   if test -z "$LD"; then
23127   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23128   for ac_dir in $PATH; do
23129     IFS="$lt_save_ifs"
23130     test -z "$ac_dir" && ac_dir=.
23131     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23132       lt_cv_path_LD="$ac_dir/$ac_prog"
23133       # Check to see if the program is GNU ld.  I'd rather use --version,
23134       # but apparently some variants of GNU ld only accept -v.
23135       # Break only if it was the GNU/non-GNU ld that we prefer.
23136       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23137       *GNU* | *'with BFD'*)
23138         test "$with_gnu_ld" != no && break
23139         ;;
23140       *)
23141         test "$with_gnu_ld" != yes && break
23142         ;;
23143       esac
23144     fi
23145   done
23146   IFS="$lt_save_ifs"
23147 else
23148   lt_cv_path_LD="$LD" # Let the user override the test with a path.
23149 fi
23150 fi
23151
23152 LD="$lt_cv_path_LD"
23153 if test -n "$LD"; then
23154   echo "$as_me:$LINENO: result: $LD" >&5
23155 echo "${ECHO_T}$LD" >&6
23156 else
23157   echo "$as_me:$LINENO: result: no" >&5
23158 echo "${ECHO_T}no" >&6
23159 fi
23160 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23161 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23162    { (exit 1); exit 1; }; }
23163 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23164 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23165 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23166   echo $ECHO_N "(cached) $ECHO_C" >&6
23167 else
23168   # I'd rather use --version here, but apparently some GNU lds only accept -v.
23169 case `$LD -v 2>&1 </dev/null` in
23170 *GNU* | *'with BFD'*)
23171   lt_cv_prog_gnu_ld=yes
23172   ;;
23173 *)
23174   lt_cv_prog_gnu_ld=no
23175   ;;
23176 esac
23177 fi
23178 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23179 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23180 with_gnu_ld=$lt_cv_prog_gnu_ld
23181
23182
23183
23184
23185
23186
23187
23188   # If we're not using GNU ld, then there's no point in even trying these
23189   # tests.  Check for that first.  We should have already tested for gld
23190   # by now (in libtool), but require it now just to be safe...
23191   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23192   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23193
23194
23195
23196   # The name set by libtool depends on the version of libtool.  Shame on us
23197   # for depending on an impl detail, but c'est la vie.  Older versions used
23198   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23199   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23200   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
23201   # set (hence we're using an older libtool), then set it.
23202   if test x${with_gnu_ld+set} != xset; then
23203     if test x${ac_cv_prog_gnu_ld+set} != xset; then
23204       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
23205       with_gnu_ld=no
23206     else
23207       with_gnu_ld=$ac_cv_prog_gnu_ld
23208     fi
23209   fi
23210
23211   # Start by getting the version number.  I think the libtool test already
23212   # does some of this, but throws away the result.
23213   glibcxx_ld_is_gold=no
23214   if test x"$with_gnu_ld" = x"yes"; then
23215     echo "$as_me:$LINENO: checking for ld version" >&5
23216 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23217
23218     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23219       glibcxx_ld_is_gold=yes
23220     fi
23221     ldver=`$LD --version 2>/dev/null | head -1 | \
23222            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23223
23224     glibcxx_gnu_ld_version=`echo $ldver | \
23225            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23226     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23227 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23228   fi
23229
23230   # Set --gc-sections.
23231   glibcxx_have_gc_sections=no
23232   if test "$glibcxx_ld_is_gold" = "yes"; then
23233     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23234       glibcxx_have_gc_sections=yes
23235     fi
23236   else
23237     glibcxx_gcsections_min_ld=21602
23238     if test x"$with_gnu_ld" = x"yes" &&
23239         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23240       glibcxx_have_gc_sections=yes
23241     fi
23242   fi
23243   if test "$glibcxx_have_gc_sections" = "yes"; then
23244     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
23245     # NB: This flag only works reliably after 2.16.1. Configure tests
23246     # for this are difficult, so hard wire a value that should work.
23247
23248     ac_test_CFLAGS="${CFLAGS+set}"
23249     ac_save_CFLAGS="$CFLAGS"
23250     CFLAGS='-Wl,--gc-sections'
23251
23252     # Check for -Wl,--gc-sections
23253     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23254 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23255     if test x$gcc_no_link = xyes; then
23256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23258    { (exit 1); exit 1; }; }
23259 fi
23260 cat >conftest.$ac_ext <<_ACEOF
23261 /* confdefs.h.  */
23262 _ACEOF
23263 cat confdefs.h >>conftest.$ac_ext
23264 cat >>conftest.$ac_ext <<_ACEOF
23265 /* end confdefs.h.  */
23266  int one(void) { return 1; }
23267      int two(void) { return 2; }
23268
23269 int
23270 main ()
23271 {
23272  two();
23273   ;
23274   return 0;
23275 }
23276 _ACEOF
23277 rm -f conftest.$ac_objext conftest$ac_exeext
23278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23279   (eval $ac_link) 2>conftest.er1
23280   ac_status=$?
23281   grep -v '^ *+' conftest.er1 >conftest.err
23282   rm -f conftest.er1
23283   cat conftest.err >&5
23284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285   (exit $ac_status); } &&
23286          { ac_try='test -z "$ac_c_werror_flag"
23287                          || test ! -s conftest.err'
23288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289   (eval $ac_try) 2>&5
23290   ac_status=$?
23291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292   (exit $ac_status); }; } &&
23293          { ac_try='test -s conftest$ac_exeext'
23294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23295   (eval $ac_try) 2>&5
23296   ac_status=$?
23297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298   (exit $ac_status); }; }; then
23299   ac_gcsections=yes
23300 else
23301   echo "$as_me: failed program was:" >&5
23302 sed 's/^/| /' conftest.$ac_ext >&5
23303
23304 ac_gcsections=no
23305 fi
23306 rm -f conftest.err conftest.$ac_objext \
23307       conftest$ac_exeext conftest.$ac_ext
23308     if test "$ac_gcsections" = "yes"; then
23309       rm -f conftest.c
23310       touch conftest.c
23311       if $CC -c conftest.c; then
23312         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23313            grep "Warning: gc-sections option ignored" > /dev/null; then
23314           ac_gcsections=no
23315         fi
23316       fi
23317       rm -f conftest.c conftest.o conftest
23318     fi
23319     if test "$ac_gcsections" = "yes"; then
23320       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23321     fi
23322     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23323 echo "${ECHO_T}$ac_gcsections" >&6
23324
23325     if test "$ac_test_CFLAGS" = set; then
23326       CFLAGS="$ac_save_CFLAGS"
23327     else
23328       # this is the suspicious part
23329       CFLAGS=''
23330     fi
23331   fi
23332
23333   # Set -z,relro.
23334   # Note this is only for shared objects.
23335   ac_ld_relro=no
23336   if test x"$with_gnu_ld" = x"yes"; then
23337     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23338 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23339     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23340     if test -n "$cxx_z_relo"; then
23341       OPT_LDFLAGS="-Wl,-z,relro"
23342       ac_ld_relro=yes
23343     fi
23344     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23345 echo "${ECHO_T}$ac_ld_relro" >&6
23346   fi
23347
23348   # Set linker optimization flags.
23349   if test x"$with_gnu_ld" = x"yes"; then
23350     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23351   fi
23352
23353
23354
23355
23356
23357   ac_test_CXXFLAGS="${CXXFLAGS+set}"
23358   ac_save_CXXFLAGS="$CXXFLAGS"
23359   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23360
23361     echo "$as_me:$LINENO: checking for sin in -lm" >&5
23362 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23363 if test "${ac_cv_lib_m_sin+set}" = set; then
23364   echo $ECHO_N "(cached) $ECHO_C" >&6
23365 else
23366   ac_check_lib_save_LIBS=$LIBS
23367 LIBS="-lm  $LIBS"
23368 if test x$gcc_no_link = xyes; then
23369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23371    { (exit 1); exit 1; }; }
23372 fi
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h.  */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h.  */
23379
23380 /* Override any gcc2 internal prototype to avoid an error.  */
23381 #ifdef __cplusplus
23382 extern "C"
23383 #endif
23384 /* We use char because int might match the return type of a gcc2
23385    builtin and then its argument prototype would still apply.  */
23386 char sin ();
23387 int
23388 main ()
23389 {
23390 sin ();
23391   ;
23392   return 0;
23393 }
23394 _ACEOF
23395 rm -f conftest.$ac_objext conftest$ac_exeext
23396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23397   (eval $ac_link) 2>conftest.er1
23398   ac_status=$?
23399   grep -v '^ *+' conftest.er1 >conftest.err
23400   rm -f conftest.er1
23401   cat conftest.err >&5
23402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403   (exit $ac_status); } &&
23404          { ac_try='test -z "$ac_c_werror_flag"
23405                          || test ! -s conftest.err'
23406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23407   (eval $ac_try) 2>&5
23408   ac_status=$?
23409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410   (exit $ac_status); }; } &&
23411          { ac_try='test -s conftest$ac_exeext'
23412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413   (eval $ac_try) 2>&5
23414   ac_status=$?
23415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416   (exit $ac_status); }; }; then
23417   ac_cv_lib_m_sin=yes
23418 else
23419   echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.$ac_ext >&5
23421
23422 ac_cv_lib_m_sin=no
23423 fi
23424 rm -f conftest.err conftest.$ac_objext \
23425       conftest$ac_exeext conftest.$ac_ext
23426 LIBS=$ac_check_lib_save_LIBS
23427 fi
23428 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23429 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23430 if test $ac_cv_lib_m_sin = yes; then
23431   libm="-lm"
23432 fi
23433
23434   ac_save_LIBS="$LIBS"
23435   LIBS="$LIBS $libm"
23436
23437
23438
23439   echo "$as_me:$LINENO: checking for isinf declaration" >&5
23440 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23441   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23442     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23443   echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23445
23446
23447
23448       ac_ext=cc
23449 ac_cpp='$CXXCPP $CPPFLAGS'
23450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23453
23454       cat >conftest.$ac_ext <<_ACEOF
23455 /* confdefs.h.  */
23456 _ACEOF
23457 cat confdefs.h >>conftest.$ac_ext
23458 cat >>conftest.$ac_ext <<_ACEOF
23459 /* end confdefs.h.  */
23460 #include <math.h>
23461                       #ifdef HAVE_IEEEFP_H
23462                       #include <ieeefp.h>
23463                       #endif
23464
23465 int
23466 main ()
23467 {
23468  isinf(0);
23469   ;
23470   return 0;
23471 }
23472 _ACEOF
23473 rm -f conftest.$ac_objext
23474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23475   (eval $ac_compile) 2>conftest.er1
23476   ac_status=$?
23477   grep -v '^ *+' conftest.er1 >conftest.err
23478   rm -f conftest.er1
23479   cat conftest.err >&5
23480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481   (exit $ac_status); } &&
23482          { ac_try='test -z "$ac_cxx_werror_flag"
23483                          || test ! -s conftest.err'
23484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485   (eval $ac_try) 2>&5
23486   ac_status=$?
23487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488   (exit $ac_status); }; } &&
23489          { ac_try='test -s conftest.$ac_objext'
23490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491   (eval $ac_try) 2>&5
23492   ac_status=$?
23493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494   (exit $ac_status); }; }; then
23495   glibcxx_cv_func_isinf_use=yes
23496 else
23497   echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23499
23500 glibcxx_cv_func_isinf_use=no
23501 fi
23502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23503       ac_ext=c
23504 ac_cpp='$CPP $CPPFLAGS'
23505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23508
23509
23510 fi
23511
23512   fi
23513   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23514 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23515
23516   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23517
23518 for ac_func in isinf
23519 do
23520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23521 echo "$as_me:$LINENO: checking for $ac_func" >&5
23522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23523 if eval "test \"\${$as_ac_var+set}\" = set"; then
23524   echo $ECHO_N "(cached) $ECHO_C" >&6
23525 else
23526   if test x$gcc_no_link = xyes; then
23527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23529    { (exit 1); exit 1; }; }
23530 fi
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h.  */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h.  */
23537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23539 #define $ac_func innocuous_$ac_func
23540
23541 /* System header to define __stub macros and hopefully few prototypes,
23542     which can conflict with char $ac_func (); below.
23543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23544     <limits.h> exists even on freestanding compilers.  */
23545
23546 #ifdef __STDC__
23547 # include <limits.h>
23548 #else
23549 # include <assert.h>
23550 #endif
23551
23552 #undef $ac_func
23553
23554 /* Override any gcc2 internal prototype to avoid an error.  */
23555 #ifdef __cplusplus
23556 extern "C"
23557 {
23558 #endif
23559 /* We use char because int might match the return type of a gcc2
23560    builtin and then its argument prototype would still apply.  */
23561 char $ac_func ();
23562 /* The GNU C library defines this for functions which it implements
23563     to always fail with ENOSYS.  Some functions are actually named
23564     something starting with __ and the normal name is an alias.  */
23565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23566 choke me
23567 #else
23568 char (*f) () = $ac_func;
23569 #endif
23570 #ifdef __cplusplus
23571 }
23572 #endif
23573
23574 int
23575 main ()
23576 {
23577 return f != $ac_func;
23578   ;
23579   return 0;
23580 }
23581 _ACEOF
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584   (eval $ac_link) 2>conftest.er1
23585   ac_status=$?
23586   grep -v '^ *+' conftest.er1 >conftest.err
23587   rm -f conftest.er1
23588   cat conftest.err >&5
23589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590   (exit $ac_status); } &&
23591          { ac_try='test -z "$ac_c_werror_flag"
23592                          || test ! -s conftest.err'
23593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23594   (eval $ac_try) 2>&5
23595   ac_status=$?
23596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597   (exit $ac_status); }; } &&
23598          { ac_try='test -s conftest$ac_exeext'
23599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600   (eval $ac_try) 2>&5
23601   ac_status=$?
23602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603   (exit $ac_status); }; }; then
23604   eval "$as_ac_var=yes"
23605 else
23606   echo "$as_me: failed program was:" >&5
23607 sed 's/^/| /' conftest.$ac_ext >&5
23608
23609 eval "$as_ac_var=no"
23610 fi
23611 rm -f conftest.err conftest.$ac_objext \
23612       conftest$ac_exeext conftest.$ac_ext
23613 fi
23614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23616 if test `eval echo '${'$as_ac_var'}'` = yes; then
23617   cat >>confdefs.h <<_ACEOF
23618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23619 _ACEOF
23620
23621 fi
23622 done
23623
23624   else
23625
23626   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23627 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23628   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23629     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23630   echo $ECHO_N "(cached) $ECHO_C" >&6
23631 else
23632
23633
23634
23635       ac_ext=cc
23636 ac_cpp='$CXXCPP $CPPFLAGS'
23637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23640
23641       cat >conftest.$ac_ext <<_ACEOF
23642 /* confdefs.h.  */
23643 _ACEOF
23644 cat confdefs.h >>conftest.$ac_ext
23645 cat >>conftest.$ac_ext <<_ACEOF
23646 /* end confdefs.h.  */
23647 #include <math.h>
23648                       #ifdef HAVE_IEEEFP_H
23649                       #include <ieeefp.h>
23650                       #endif
23651
23652 int
23653 main ()
23654 {
23655  _isinf(0);
23656   ;
23657   return 0;
23658 }
23659 _ACEOF
23660 rm -f conftest.$ac_objext
23661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23662   (eval $ac_compile) 2>conftest.er1
23663   ac_status=$?
23664   grep -v '^ *+' conftest.er1 >conftest.err
23665   rm -f conftest.er1
23666   cat conftest.err >&5
23667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668   (exit $ac_status); } &&
23669          { ac_try='test -z "$ac_cxx_werror_flag"
23670                          || test ! -s conftest.err'
23671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23672   (eval $ac_try) 2>&5
23673   ac_status=$?
23674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675   (exit $ac_status); }; } &&
23676          { ac_try='test -s conftest.$ac_objext'
23677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678   (eval $ac_try) 2>&5
23679   ac_status=$?
23680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681   (exit $ac_status); }; }; then
23682   glibcxx_cv_func__isinf_use=yes
23683 else
23684   echo "$as_me: failed program was:" >&5
23685 sed 's/^/| /' conftest.$ac_ext >&5
23686
23687 glibcxx_cv_func__isinf_use=no
23688 fi
23689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23690       ac_ext=c
23691 ac_cpp='$CPP $CPPFLAGS'
23692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23695
23696
23697 fi
23698
23699   fi
23700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23701 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23702
23703     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23704
23705 for ac_func in _isinf
23706 do
23707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23708 echo "$as_me:$LINENO: checking for $ac_func" >&5
23709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23710 if eval "test \"\${$as_ac_var+set}\" = set"; then
23711   echo $ECHO_N "(cached) $ECHO_C" >&6
23712 else
23713   if test x$gcc_no_link = xyes; then
23714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23716    { (exit 1); exit 1; }; }
23717 fi
23718 cat >conftest.$ac_ext <<_ACEOF
23719 /* confdefs.h.  */
23720 _ACEOF
23721 cat confdefs.h >>conftest.$ac_ext
23722 cat >>conftest.$ac_ext <<_ACEOF
23723 /* end confdefs.h.  */
23724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23726 #define $ac_func innocuous_$ac_func
23727
23728 /* System header to define __stub macros and hopefully few prototypes,
23729     which can conflict with char $ac_func (); below.
23730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23731     <limits.h> exists even on freestanding compilers.  */
23732
23733 #ifdef __STDC__
23734 # include <limits.h>
23735 #else
23736 # include <assert.h>
23737 #endif
23738
23739 #undef $ac_func
23740
23741 /* Override any gcc2 internal prototype to avoid an error.  */
23742 #ifdef __cplusplus
23743 extern "C"
23744 {
23745 #endif
23746 /* We use char because int might match the return type of a gcc2
23747    builtin and then its argument prototype would still apply.  */
23748 char $ac_func ();
23749 /* The GNU C library defines this for functions which it implements
23750     to always fail with ENOSYS.  Some functions are actually named
23751     something starting with __ and the normal name is an alias.  */
23752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23753 choke me
23754 #else
23755 char (*f) () = $ac_func;
23756 #endif
23757 #ifdef __cplusplus
23758 }
23759 #endif
23760
23761 int
23762 main ()
23763 {
23764 return f != $ac_func;
23765   ;
23766   return 0;
23767 }
23768 _ACEOF
23769 rm -f conftest.$ac_objext conftest$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771   (eval $ac_link) 2>conftest.er1
23772   ac_status=$?
23773   grep -v '^ *+' conftest.er1 >conftest.err
23774   rm -f conftest.er1
23775   cat conftest.err >&5
23776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777   (exit $ac_status); } &&
23778          { ac_try='test -z "$ac_c_werror_flag"
23779                          || test ! -s conftest.err'
23780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781   (eval $ac_try) 2>&5
23782   ac_status=$?
23783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784   (exit $ac_status); }; } &&
23785          { ac_try='test -s conftest$ac_exeext'
23786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787   (eval $ac_try) 2>&5
23788   ac_status=$?
23789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790   (exit $ac_status); }; }; then
23791   eval "$as_ac_var=yes"
23792 else
23793   echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23795
23796 eval "$as_ac_var=no"
23797 fi
23798 rm -f conftest.err conftest.$ac_objext \
23799       conftest$ac_exeext conftest.$ac_ext
23800 fi
23801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23803 if test `eval echo '${'$as_ac_var'}'` = yes; then
23804   cat >>confdefs.h <<_ACEOF
23805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23806 _ACEOF
23807
23808 fi
23809 done
23810
23811     fi
23812   fi
23813
23814
23815
23816
23817
23818
23819   echo "$as_me:$LINENO: checking for isnan declaration" >&5
23820 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
23821   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23822     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
23823   echo $ECHO_N "(cached) $ECHO_C" >&6
23824 else
23825
23826
23827
23828       ac_ext=cc
23829 ac_cpp='$CXXCPP $CPPFLAGS'
23830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23833
23834       cat >conftest.$ac_ext <<_ACEOF
23835 /* confdefs.h.  */
23836 _ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h.  */
23840 #include <math.h>
23841                       #ifdef HAVE_IEEEFP_H
23842                       #include <ieeefp.h>
23843                       #endif
23844
23845 int
23846 main ()
23847 {
23848  isnan(0);
23849   ;
23850   return 0;
23851 }
23852 _ACEOF
23853 rm -f conftest.$ac_objext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23855   (eval $ac_compile) 2>conftest.er1
23856   ac_status=$?
23857   grep -v '^ *+' conftest.er1 >conftest.err
23858   rm -f conftest.er1
23859   cat conftest.err >&5
23860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861   (exit $ac_status); } &&
23862          { ac_try='test -z "$ac_cxx_werror_flag"
23863                          || test ! -s conftest.err'
23864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865   (eval $ac_try) 2>&5
23866   ac_status=$?
23867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868   (exit $ac_status); }; } &&
23869          { ac_try='test -s conftest.$ac_objext'
23870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871   (eval $ac_try) 2>&5
23872   ac_status=$?
23873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874   (exit $ac_status); }; }; then
23875   glibcxx_cv_func_isnan_use=yes
23876 else
23877   echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 glibcxx_cv_func_isnan_use=no
23881 fi
23882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23883       ac_ext=c
23884 ac_cpp='$CPP $CPPFLAGS'
23885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23888
23889
23890 fi
23891
23892   fi
23893   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
23894 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
23895
23896   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23897
23898 for ac_func in isnan
23899 do
23900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23901 echo "$as_me:$LINENO: checking for $ac_func" >&5
23902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23903 if eval "test \"\${$as_ac_var+set}\" = set"; then
23904   echo $ECHO_N "(cached) $ECHO_C" >&6
23905 else
23906   if test x$gcc_no_link = xyes; then
23907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23909    { (exit 1); exit 1; }; }
23910 fi
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h.  */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h.  */
23917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23919 #define $ac_func innocuous_$ac_func
23920
23921 /* System header to define __stub macros and hopefully few prototypes,
23922     which can conflict with char $ac_func (); below.
23923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23924     <limits.h> exists even on freestanding compilers.  */
23925
23926 #ifdef __STDC__
23927 # include <limits.h>
23928 #else
23929 # include <assert.h>
23930 #endif
23931
23932 #undef $ac_func
23933
23934 /* Override any gcc2 internal prototype to avoid an error.  */
23935 #ifdef __cplusplus
23936 extern "C"
23937 {
23938 #endif
23939 /* We use char because int might match the return type of a gcc2
23940    builtin and then its argument prototype would still apply.  */
23941 char $ac_func ();
23942 /* The GNU C library defines this for functions which it implements
23943     to always fail with ENOSYS.  Some functions are actually named
23944     something starting with __ and the normal name is an alias.  */
23945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23946 choke me
23947 #else
23948 char (*f) () = $ac_func;
23949 #endif
23950 #ifdef __cplusplus
23951 }
23952 #endif
23953
23954 int
23955 main ()
23956 {
23957 return f != $ac_func;
23958   ;
23959   return 0;
23960 }
23961 _ACEOF
23962 rm -f conftest.$ac_objext conftest$ac_exeext
23963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23964   (eval $ac_link) 2>conftest.er1
23965   ac_status=$?
23966   grep -v '^ *+' conftest.er1 >conftest.err
23967   rm -f conftest.er1
23968   cat conftest.err >&5
23969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970   (exit $ac_status); } &&
23971          { ac_try='test -z "$ac_c_werror_flag"
23972                          || test ! -s conftest.err'
23973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23974   (eval $ac_try) 2>&5
23975   ac_status=$?
23976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977   (exit $ac_status); }; } &&
23978          { ac_try='test -s conftest$ac_exeext'
23979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980   (eval $ac_try) 2>&5
23981   ac_status=$?
23982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983   (exit $ac_status); }; }; then
23984   eval "$as_ac_var=yes"
23985 else
23986   echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23988
23989 eval "$as_ac_var=no"
23990 fi
23991 rm -f conftest.err conftest.$ac_objext \
23992       conftest$ac_exeext conftest.$ac_ext
23993 fi
23994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23996 if test `eval echo '${'$as_ac_var'}'` = yes; then
23997   cat >>confdefs.h <<_ACEOF
23998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23999 _ACEOF
24000
24001 fi
24002 done
24003
24004   else
24005
24006   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24007 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24008   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24009     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24010   echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012
24013
24014
24015       ac_ext=cc
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020
24021       cat >conftest.$ac_ext <<_ACEOF
24022 /* confdefs.h.  */
24023 _ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h.  */
24027 #include <math.h>
24028                       #ifdef HAVE_IEEEFP_H
24029                       #include <ieeefp.h>
24030                       #endif
24031
24032 int
24033 main ()
24034 {
24035  _isnan(0);
24036   ;
24037   return 0;
24038 }
24039 _ACEOF
24040 rm -f conftest.$ac_objext
24041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24042   (eval $ac_compile) 2>conftest.er1
24043   ac_status=$?
24044   grep -v '^ *+' conftest.er1 >conftest.err
24045   rm -f conftest.er1
24046   cat conftest.err >&5
24047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048   (exit $ac_status); } &&
24049          { ac_try='test -z "$ac_cxx_werror_flag"
24050                          || test ! -s conftest.err'
24051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24052   (eval $ac_try) 2>&5
24053   ac_status=$?
24054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055   (exit $ac_status); }; } &&
24056          { ac_try='test -s conftest.$ac_objext'
24057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058   (eval $ac_try) 2>&5
24059   ac_status=$?
24060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061   (exit $ac_status); }; }; then
24062   glibcxx_cv_func__isnan_use=yes
24063 else
24064   echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24066
24067 glibcxx_cv_func__isnan_use=no
24068 fi
24069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24070       ac_ext=c
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075
24076
24077 fi
24078
24079   fi
24080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24081 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24082
24083     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24084
24085 for ac_func in _isnan
24086 do
24087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24088 echo "$as_me:$LINENO: checking for $ac_func" >&5
24089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24090 if eval "test \"\${$as_ac_var+set}\" = set"; then
24091   echo $ECHO_N "(cached) $ECHO_C" >&6
24092 else
24093   if test x$gcc_no_link = xyes; then
24094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24096    { (exit 1); exit 1; }; }
24097 fi
24098 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h.  */
24100 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h.  */
24104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24106 #define $ac_func innocuous_$ac_func
24107
24108 /* System header to define __stub macros and hopefully few prototypes,
24109     which can conflict with char $ac_func (); below.
24110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24111     <limits.h> exists even on freestanding compilers.  */
24112
24113 #ifdef __STDC__
24114 # include <limits.h>
24115 #else
24116 # include <assert.h>
24117 #endif
24118
24119 #undef $ac_func
24120
24121 /* Override any gcc2 internal prototype to avoid an error.  */
24122 #ifdef __cplusplus
24123 extern "C"
24124 {
24125 #endif
24126 /* We use char because int might match the return type of a gcc2
24127    builtin and then its argument prototype would still apply.  */
24128 char $ac_func ();
24129 /* The GNU C library defines this for functions which it implements
24130     to always fail with ENOSYS.  Some functions are actually named
24131     something starting with __ and the normal name is an alias.  */
24132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24133 choke me
24134 #else
24135 char (*f) () = $ac_func;
24136 #endif
24137 #ifdef __cplusplus
24138 }
24139 #endif
24140
24141 int
24142 main ()
24143 {
24144 return f != $ac_func;
24145   ;
24146   return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest.$ac_objext conftest$ac_exeext
24150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24151   (eval $ac_link) 2>conftest.er1
24152   ac_status=$?
24153   grep -v '^ *+' conftest.er1 >conftest.err
24154   rm -f conftest.er1
24155   cat conftest.err >&5
24156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157   (exit $ac_status); } &&
24158          { ac_try='test -z "$ac_c_werror_flag"
24159                          || test ! -s conftest.err'
24160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24161   (eval $ac_try) 2>&5
24162   ac_status=$?
24163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164   (exit $ac_status); }; } &&
24165          { ac_try='test -s conftest$ac_exeext'
24166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167   (eval $ac_try) 2>&5
24168   ac_status=$?
24169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170   (exit $ac_status); }; }; then
24171   eval "$as_ac_var=yes"
24172 else
24173   echo "$as_me: failed program was:" >&5
24174 sed 's/^/| /' conftest.$ac_ext >&5
24175
24176 eval "$as_ac_var=no"
24177 fi
24178 rm -f conftest.err conftest.$ac_objext \
24179       conftest$ac_exeext conftest.$ac_ext
24180 fi
24181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24183 if test `eval echo '${'$as_ac_var'}'` = yes; then
24184   cat >>confdefs.h <<_ACEOF
24185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24186 _ACEOF
24187
24188 fi
24189 done
24190
24191     fi
24192   fi
24193
24194
24195
24196
24197
24198
24199   echo "$as_me:$LINENO: checking for finite declaration" >&5
24200 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24201   if test x${glibcxx_cv_func_finite_use+set} != xset; then
24202     if test "${glibcxx_cv_func_finite_use+set}" = set; then
24203   echo $ECHO_N "(cached) $ECHO_C" >&6
24204 else
24205
24206
24207
24208       ac_ext=cc
24209 ac_cpp='$CXXCPP $CPPFLAGS'
24210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24213
24214       cat >conftest.$ac_ext <<_ACEOF
24215 /* confdefs.h.  */
24216 _ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h.  */
24220 #include <math.h>
24221                       #ifdef HAVE_IEEEFP_H
24222                       #include <ieeefp.h>
24223                       #endif
24224
24225 int
24226 main ()
24227 {
24228  finite(0);
24229   ;
24230   return 0;
24231 }
24232 _ACEOF
24233 rm -f conftest.$ac_objext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24235   (eval $ac_compile) 2>conftest.er1
24236   ac_status=$?
24237   grep -v '^ *+' conftest.er1 >conftest.err
24238   rm -f conftest.er1
24239   cat conftest.err >&5
24240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241   (exit $ac_status); } &&
24242          { ac_try='test -z "$ac_cxx_werror_flag"
24243                          || test ! -s conftest.err'
24244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245   (eval $ac_try) 2>&5
24246   ac_status=$?
24247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248   (exit $ac_status); }; } &&
24249          { ac_try='test -s conftest.$ac_objext'
24250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251   (eval $ac_try) 2>&5
24252   ac_status=$?
24253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254   (exit $ac_status); }; }; then
24255   glibcxx_cv_func_finite_use=yes
24256 else
24257   echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24259
24260 glibcxx_cv_func_finite_use=no
24261 fi
24262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24263       ac_ext=c
24264 ac_cpp='$CPP $CPPFLAGS'
24265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24268
24269
24270 fi
24271
24272   fi
24273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24274 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24275
24276   if test x$glibcxx_cv_func_finite_use = x"yes"; then
24277
24278 for ac_func in finite
24279 do
24280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24281 echo "$as_me:$LINENO: checking for $ac_func" >&5
24282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24283 if eval "test \"\${$as_ac_var+set}\" = set"; then
24284   echo $ECHO_N "(cached) $ECHO_C" >&6
24285 else
24286   if test x$gcc_no_link = xyes; then
24287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24289    { (exit 1); exit 1; }; }
24290 fi
24291 cat >conftest.$ac_ext <<_ACEOF
24292 /* confdefs.h.  */
24293 _ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h.  */
24297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24299 #define $ac_func innocuous_$ac_func
24300
24301 /* System header to define __stub macros and hopefully few prototypes,
24302     which can conflict with char $ac_func (); below.
24303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24304     <limits.h> exists even on freestanding compilers.  */
24305
24306 #ifdef __STDC__
24307 # include <limits.h>
24308 #else
24309 # include <assert.h>
24310 #endif
24311
24312 #undef $ac_func
24313
24314 /* Override any gcc2 internal prototype to avoid an error.  */
24315 #ifdef __cplusplus
24316 extern "C"
24317 {
24318 #endif
24319 /* We use char because int might match the return type of a gcc2
24320    builtin and then its argument prototype would still apply.  */
24321 char $ac_func ();
24322 /* The GNU C library defines this for functions which it implements
24323     to always fail with ENOSYS.  Some functions are actually named
24324     something starting with __ and the normal name is an alias.  */
24325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24326 choke me
24327 #else
24328 char (*f) () = $ac_func;
24329 #endif
24330 #ifdef __cplusplus
24331 }
24332 #endif
24333
24334 int
24335 main ()
24336 {
24337 return f != $ac_func;
24338   ;
24339   return 0;
24340 }
24341 _ACEOF
24342 rm -f conftest.$ac_objext conftest$ac_exeext
24343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24344   (eval $ac_link) 2>conftest.er1
24345   ac_status=$?
24346   grep -v '^ *+' conftest.er1 >conftest.err
24347   rm -f conftest.er1
24348   cat conftest.err >&5
24349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350   (exit $ac_status); } &&
24351          { ac_try='test -z "$ac_c_werror_flag"
24352                          || test ! -s conftest.err'
24353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354   (eval $ac_try) 2>&5
24355   ac_status=$?
24356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357   (exit $ac_status); }; } &&
24358          { ac_try='test -s conftest$ac_exeext'
24359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24360   (eval $ac_try) 2>&5
24361   ac_status=$?
24362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24363   (exit $ac_status); }; }; then
24364   eval "$as_ac_var=yes"
24365 else
24366   echo "$as_me: failed program was:" >&5
24367 sed 's/^/| /' conftest.$ac_ext >&5
24368
24369 eval "$as_ac_var=no"
24370 fi
24371 rm -f conftest.err conftest.$ac_objext \
24372       conftest$ac_exeext conftest.$ac_ext
24373 fi
24374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24376 if test `eval echo '${'$as_ac_var'}'` = yes; then
24377   cat >>confdefs.h <<_ACEOF
24378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24379 _ACEOF
24380
24381 fi
24382 done
24383
24384   else
24385
24386   echo "$as_me:$LINENO: checking for _finite declaration" >&5
24387 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24388   if test x${glibcxx_cv_func__finite_use+set} != xset; then
24389     if test "${glibcxx_cv_func__finite_use+set}" = set; then
24390   echo $ECHO_N "(cached) $ECHO_C" >&6
24391 else
24392
24393
24394
24395       ac_ext=cc
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400
24401       cat >conftest.$ac_ext <<_ACEOF
24402 /* confdefs.h.  */
24403 _ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h.  */
24407 #include <math.h>
24408                       #ifdef HAVE_IEEEFP_H
24409                       #include <ieeefp.h>
24410                       #endif
24411
24412 int
24413 main ()
24414 {
24415  _finite(0);
24416   ;
24417   return 0;
24418 }
24419 _ACEOF
24420 rm -f conftest.$ac_objext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24422   (eval $ac_compile) 2>conftest.er1
24423   ac_status=$?
24424   grep -v '^ *+' conftest.er1 >conftest.err
24425   rm -f conftest.er1
24426   cat conftest.err >&5
24427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428   (exit $ac_status); } &&
24429          { ac_try='test -z "$ac_cxx_werror_flag"
24430                          || test ! -s conftest.err'
24431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432   (eval $ac_try) 2>&5
24433   ac_status=$?
24434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435   (exit $ac_status); }; } &&
24436          { ac_try='test -s conftest.$ac_objext'
24437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438   (eval $ac_try) 2>&5
24439   ac_status=$?
24440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441   (exit $ac_status); }; }; then
24442   glibcxx_cv_func__finite_use=yes
24443 else
24444   echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24446
24447 glibcxx_cv_func__finite_use=no
24448 fi
24449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24450       ac_ext=c
24451 ac_cpp='$CPP $CPPFLAGS'
24452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24455
24456
24457 fi
24458
24459   fi
24460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24461 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24462
24463     if test x$glibcxx_cv_func__finite_use = x"yes"; then
24464
24465 for ac_func in _finite
24466 do
24467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24468 echo "$as_me:$LINENO: checking for $ac_func" >&5
24469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24470 if eval "test \"\${$as_ac_var+set}\" = set"; then
24471   echo $ECHO_N "(cached) $ECHO_C" >&6
24472 else
24473   if test x$gcc_no_link = xyes; then
24474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24476    { (exit 1); exit 1; }; }
24477 fi
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h.  */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h.  */
24484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24486 #define $ac_func innocuous_$ac_func
24487
24488 /* System header to define __stub macros and hopefully few prototypes,
24489     which can conflict with char $ac_func (); below.
24490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24491     <limits.h> exists even on freestanding compilers.  */
24492
24493 #ifdef __STDC__
24494 # include <limits.h>
24495 #else
24496 # include <assert.h>
24497 #endif
24498
24499 #undef $ac_func
24500
24501 /* Override any gcc2 internal prototype to avoid an error.  */
24502 #ifdef __cplusplus
24503 extern "C"
24504 {
24505 #endif
24506 /* We use char because int might match the return type of a gcc2
24507    builtin and then its argument prototype would still apply.  */
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510     to always fail with ENOSYS.  Some functions are actually named
24511     something starting with __ and the normal name is an alias.  */
24512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24513 choke me
24514 #else
24515 char (*f) () = $ac_func;
24516 #endif
24517 #ifdef __cplusplus
24518 }
24519 #endif
24520
24521 int
24522 main ()
24523 {
24524 return f != $ac_func;
24525   ;
24526   return 0;
24527 }
24528 _ACEOF
24529 rm -f conftest.$ac_objext conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531   (eval $ac_link) 2>conftest.er1
24532   ac_status=$?
24533   grep -v '^ *+' conftest.er1 >conftest.err
24534   rm -f conftest.er1
24535   cat conftest.err >&5
24536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537   (exit $ac_status); } &&
24538          { ac_try='test -z "$ac_c_werror_flag"
24539                          || test ! -s conftest.err'
24540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24541   (eval $ac_try) 2>&5
24542   ac_status=$?
24543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544   (exit $ac_status); }; } &&
24545          { ac_try='test -s conftest$ac_exeext'
24546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547   (eval $ac_try) 2>&5
24548   ac_status=$?
24549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550   (exit $ac_status); }; }; then
24551   eval "$as_ac_var=yes"
24552 else
24553   echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24555
24556 eval "$as_ac_var=no"
24557 fi
24558 rm -f conftest.err conftest.$ac_objext \
24559       conftest$ac_exeext conftest.$ac_ext
24560 fi
24561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24563 if test `eval echo '${'$as_ac_var'}'` = yes; then
24564   cat >>confdefs.h <<_ACEOF
24565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24566 _ACEOF
24567
24568 fi
24569 done
24570
24571     fi
24572   fi
24573
24574
24575
24576
24577
24578
24579   echo "$as_me:$LINENO: checking for copysign declaration" >&5
24580 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
24581   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
24582     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
24583   echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585
24586
24587
24588       ac_ext=cc
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24593
24594       cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h.  */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h.  */
24600 #include <math.h>
24601 int
24602 main ()
24603 {
24604  copysign(0, 0);
24605   ;
24606   return 0;
24607 }
24608 _ACEOF
24609 rm -f conftest.$ac_objext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24611   (eval $ac_compile) 2>conftest.er1
24612   ac_status=$?
24613   grep -v '^ *+' conftest.er1 >conftest.err
24614   rm -f conftest.er1
24615   cat conftest.err >&5
24616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617   (exit $ac_status); } &&
24618          { ac_try='test -z "$ac_cxx_werror_flag"
24619                          || test ! -s conftest.err'
24620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621   (eval $ac_try) 2>&5
24622   ac_status=$?
24623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624   (exit $ac_status); }; } &&
24625          { ac_try='test -s conftest.$ac_objext'
24626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627   (eval $ac_try) 2>&5
24628   ac_status=$?
24629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630   (exit $ac_status); }; }; then
24631   glibcxx_cv_func_copysign_use=yes
24632 else
24633   echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 glibcxx_cv_func_copysign_use=no
24637 fi
24638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24639       ac_ext=c
24640 ac_cpp='$CPP $CPPFLAGS'
24641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24644
24645
24646 fi
24647
24648   fi
24649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
24650 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
24651
24652   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
24653
24654 for ac_func in copysign
24655 do
24656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24657 echo "$as_me:$LINENO: checking for $ac_func" >&5
24658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24659 if eval "test \"\${$as_ac_var+set}\" = set"; then
24660   echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662   if test x$gcc_no_link = xyes; then
24663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24665    { (exit 1); exit 1; }; }
24666 fi
24667 cat >conftest.$ac_ext <<_ACEOF
24668 /* confdefs.h.  */
24669 _ACEOF
24670 cat confdefs.h >>conftest.$ac_ext
24671 cat >>conftest.$ac_ext <<_ACEOF
24672 /* end confdefs.h.  */
24673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24675 #define $ac_func innocuous_$ac_func
24676
24677 /* System header to define __stub macros and hopefully few prototypes,
24678     which can conflict with char $ac_func (); below.
24679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24680     <limits.h> exists even on freestanding compilers.  */
24681
24682 #ifdef __STDC__
24683 # include <limits.h>
24684 #else
24685 # include <assert.h>
24686 #endif
24687
24688 #undef $ac_func
24689
24690 /* Override any gcc2 internal prototype to avoid an error.  */
24691 #ifdef __cplusplus
24692 extern "C"
24693 {
24694 #endif
24695 /* We use char because int might match the return type of a gcc2
24696    builtin and then its argument prototype would still apply.  */
24697 char $ac_func ();
24698 /* The GNU C library defines this for functions which it implements
24699     to always fail with ENOSYS.  Some functions are actually named
24700     something starting with __ and the normal name is an alias.  */
24701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24702 choke me
24703 #else
24704 char (*f) () = $ac_func;
24705 #endif
24706 #ifdef __cplusplus
24707 }
24708 #endif
24709
24710 int
24711 main ()
24712 {
24713 return f != $ac_func;
24714   ;
24715   return 0;
24716 }
24717 _ACEOF
24718 rm -f conftest.$ac_objext conftest$ac_exeext
24719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24720   (eval $ac_link) 2>conftest.er1
24721   ac_status=$?
24722   grep -v '^ *+' conftest.er1 >conftest.err
24723   rm -f conftest.er1
24724   cat conftest.err >&5
24725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24726   (exit $ac_status); } &&
24727          { ac_try='test -z "$ac_c_werror_flag"
24728                          || test ! -s conftest.err'
24729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24730   (eval $ac_try) 2>&5
24731   ac_status=$?
24732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733   (exit $ac_status); }; } &&
24734          { ac_try='test -s conftest$ac_exeext'
24735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24736   (eval $ac_try) 2>&5
24737   ac_status=$?
24738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24739   (exit $ac_status); }; }; then
24740   eval "$as_ac_var=yes"
24741 else
24742   echo "$as_me: failed program was:" >&5
24743 sed 's/^/| /' conftest.$ac_ext >&5
24744
24745 eval "$as_ac_var=no"
24746 fi
24747 rm -f conftest.err conftest.$ac_objext \
24748       conftest$ac_exeext conftest.$ac_ext
24749 fi
24750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24752 if test `eval echo '${'$as_ac_var'}'` = yes; then
24753   cat >>confdefs.h <<_ACEOF
24754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24755 _ACEOF
24756
24757 fi
24758 done
24759
24760   else
24761
24762   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
24763 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
24764   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
24765     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
24766   echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24768
24769
24770
24771       ac_ext=cc
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776
24777       cat >conftest.$ac_ext <<_ACEOF
24778 /* confdefs.h.  */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h.  */
24783 #include <math.h>
24784 int
24785 main ()
24786 {
24787  _copysign(0, 0);
24788   ;
24789   return 0;
24790 }
24791 _ACEOF
24792 rm -f conftest.$ac_objext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24794   (eval $ac_compile) 2>conftest.er1
24795   ac_status=$?
24796   grep -v '^ *+' conftest.er1 >conftest.err
24797   rm -f conftest.er1
24798   cat conftest.err >&5
24799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800   (exit $ac_status); } &&
24801          { ac_try='test -z "$ac_cxx_werror_flag"
24802                          || test ! -s conftest.err'
24803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24804   (eval $ac_try) 2>&5
24805   ac_status=$?
24806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807   (exit $ac_status); }; } &&
24808          { ac_try='test -s conftest.$ac_objext'
24809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24810   (eval $ac_try) 2>&5
24811   ac_status=$?
24812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813   (exit $ac_status); }; }; then
24814   glibcxx_cv_func__copysign_use=yes
24815 else
24816   echo "$as_me: failed program was:" >&5
24817 sed 's/^/| /' conftest.$ac_ext >&5
24818
24819 glibcxx_cv_func__copysign_use=no
24820 fi
24821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24822       ac_ext=c
24823 ac_cpp='$CPP $CPPFLAGS'
24824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24827
24828
24829 fi
24830
24831   fi
24832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
24833 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
24834
24835     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
24836
24837 for ac_func in _copysign
24838 do
24839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24840 echo "$as_me:$LINENO: checking for $ac_func" >&5
24841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24842 if eval "test \"\${$as_ac_var+set}\" = set"; then
24843   echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845   if test x$gcc_no_link = xyes; then
24846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24848    { (exit 1); exit 1; }; }
24849 fi
24850 cat >conftest.$ac_ext <<_ACEOF
24851 /* confdefs.h.  */
24852 _ACEOF
24853 cat confdefs.h >>conftest.$ac_ext
24854 cat >>conftest.$ac_ext <<_ACEOF
24855 /* end confdefs.h.  */
24856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24858 #define $ac_func innocuous_$ac_func
24859
24860 /* System header to define __stub macros and hopefully few prototypes,
24861     which can conflict with char $ac_func (); below.
24862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24863     <limits.h> exists even on freestanding compilers.  */
24864
24865 #ifdef __STDC__
24866 # include <limits.h>
24867 #else
24868 # include <assert.h>
24869 #endif
24870
24871 #undef $ac_func
24872
24873 /* Override any gcc2 internal prototype to avoid an error.  */
24874 #ifdef __cplusplus
24875 extern "C"
24876 {
24877 #endif
24878 /* We use char because int might match the return type of a gcc2
24879    builtin and then its argument prototype would still apply.  */
24880 char $ac_func ();
24881 /* The GNU C library defines this for functions which it implements
24882     to always fail with ENOSYS.  Some functions are actually named
24883     something starting with __ and the normal name is an alias.  */
24884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24885 choke me
24886 #else
24887 char (*f) () = $ac_func;
24888 #endif
24889 #ifdef __cplusplus
24890 }
24891 #endif
24892
24893 int
24894 main ()
24895 {
24896 return f != $ac_func;
24897   ;
24898   return 0;
24899 }
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24903   (eval $ac_link) 2>conftest.er1
24904   ac_status=$?
24905   grep -v '^ *+' conftest.er1 >conftest.err
24906   rm -f conftest.er1
24907   cat conftest.err >&5
24908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909   (exit $ac_status); } &&
24910          { ac_try='test -z "$ac_c_werror_flag"
24911                          || test ! -s conftest.err'
24912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24913   (eval $ac_try) 2>&5
24914   ac_status=$?
24915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916   (exit $ac_status); }; } &&
24917          { ac_try='test -s conftest$ac_exeext'
24918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919   (eval $ac_try) 2>&5
24920   ac_status=$?
24921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922   (exit $ac_status); }; }; then
24923   eval "$as_ac_var=yes"
24924 else
24925   echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 eval "$as_ac_var=no"
24929 fi
24930 rm -f conftest.err conftest.$ac_objext \
24931       conftest$ac_exeext conftest.$ac_ext
24932 fi
24933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24935 if test `eval echo '${'$as_ac_var'}'` = yes; then
24936   cat >>confdefs.h <<_ACEOF
24937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24938 _ACEOF
24939
24940 fi
24941 done
24942
24943     fi
24944   fi
24945
24946
24947
24948
24949
24950
24951   echo "$as_me:$LINENO: checking for sincos declaration" >&5
24952 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24953   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24954     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24955   echo $ECHO_N "(cached) $ECHO_C" >&6
24956 else
24957
24958
24959
24960       ac_ext=cc
24961 ac_cpp='$CXXCPP $CPPFLAGS'
24962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24965
24966       cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h.  */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h.  */
24972 #include <math.h>
24973 int
24974 main ()
24975 {
24976  sincos(0, 0, 0);
24977   ;
24978   return 0;
24979 }
24980 _ACEOF
24981 rm -f conftest.$ac_objext
24982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24983   (eval $ac_compile) 2>conftest.er1
24984   ac_status=$?
24985   grep -v '^ *+' conftest.er1 >conftest.err
24986   rm -f conftest.er1
24987   cat conftest.err >&5
24988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989   (exit $ac_status); } &&
24990          { ac_try='test -z "$ac_cxx_werror_flag"
24991                          || test ! -s conftest.err'
24992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993   (eval $ac_try) 2>&5
24994   ac_status=$?
24995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996   (exit $ac_status); }; } &&
24997          { ac_try='test -s conftest.$ac_objext'
24998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999   (eval $ac_try) 2>&5
25000   ac_status=$?
25001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002   (exit $ac_status); }; }; then
25003   glibcxx_cv_func_sincos_use=yes
25004 else
25005   echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 glibcxx_cv_func_sincos_use=no
25009 fi
25010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25011       ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016
25017
25018 fi
25019
25020   fi
25021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
25022 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
25023
25024   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
25025
25026 for ac_func in sincos
25027 do
25028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25029 echo "$as_me:$LINENO: checking for $ac_func" >&5
25030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25031 if eval "test \"\${$as_ac_var+set}\" = set"; then
25032   echo $ECHO_N "(cached) $ECHO_C" >&6
25033 else
25034   if test x$gcc_no_link = xyes; then
25035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25037    { (exit 1); exit 1; }; }
25038 fi
25039 cat >conftest.$ac_ext <<_ACEOF
25040 /* confdefs.h.  */
25041 _ACEOF
25042 cat confdefs.h >>conftest.$ac_ext
25043 cat >>conftest.$ac_ext <<_ACEOF
25044 /* end confdefs.h.  */
25045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25047 #define $ac_func innocuous_$ac_func
25048
25049 /* System header to define __stub macros and hopefully few prototypes,
25050     which can conflict with char $ac_func (); below.
25051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25052     <limits.h> exists even on freestanding compilers.  */
25053
25054 #ifdef __STDC__
25055 # include <limits.h>
25056 #else
25057 # include <assert.h>
25058 #endif
25059
25060 #undef $ac_func
25061
25062 /* Override any gcc2 internal prototype to avoid an error.  */
25063 #ifdef __cplusplus
25064 extern "C"
25065 {
25066 #endif
25067 /* We use char because int might match the return type of a gcc2
25068    builtin and then its argument prototype would still apply.  */
25069 char $ac_func ();
25070 /* The GNU C library defines this for functions which it implements
25071     to always fail with ENOSYS.  Some functions are actually named
25072     something starting with __ and the normal name is an alias.  */
25073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25074 choke me
25075 #else
25076 char (*f) () = $ac_func;
25077 #endif
25078 #ifdef __cplusplus
25079 }
25080 #endif
25081
25082 int
25083 main ()
25084 {
25085 return f != $ac_func;
25086   ;
25087   return 0;
25088 }
25089 _ACEOF
25090 rm -f conftest.$ac_objext conftest$ac_exeext
25091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25092   (eval $ac_link) 2>conftest.er1
25093   ac_status=$?
25094   grep -v '^ *+' conftest.er1 >conftest.err
25095   rm -f conftest.er1
25096   cat conftest.err >&5
25097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25098   (exit $ac_status); } &&
25099          { ac_try='test -z "$ac_c_werror_flag"
25100                          || test ! -s conftest.err'
25101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25102   (eval $ac_try) 2>&5
25103   ac_status=$?
25104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25105   (exit $ac_status); }; } &&
25106          { ac_try='test -s conftest$ac_exeext'
25107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25108   (eval $ac_try) 2>&5
25109   ac_status=$?
25110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111   (exit $ac_status); }; }; then
25112   eval "$as_ac_var=yes"
25113 else
25114   echo "$as_me: failed program was:" >&5
25115 sed 's/^/| /' conftest.$ac_ext >&5
25116
25117 eval "$as_ac_var=no"
25118 fi
25119 rm -f conftest.err conftest.$ac_objext \
25120       conftest$ac_exeext conftest.$ac_ext
25121 fi
25122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25124 if test `eval echo '${'$as_ac_var'}'` = yes; then
25125   cat >>confdefs.h <<_ACEOF
25126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25127 _ACEOF
25128
25129 fi
25130 done
25131
25132   else
25133
25134   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25135 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25136   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25137     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25138   echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140
25141
25142
25143       ac_ext=cc
25144 ac_cpp='$CXXCPP $CPPFLAGS'
25145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148
25149       cat >conftest.$ac_ext <<_ACEOF
25150 /* confdefs.h.  */
25151 _ACEOF
25152 cat confdefs.h >>conftest.$ac_ext
25153 cat >>conftest.$ac_ext <<_ACEOF
25154 /* end confdefs.h.  */
25155 #include <math.h>
25156 int
25157 main ()
25158 {
25159  _sincos(0, 0, 0);
25160   ;
25161   return 0;
25162 }
25163 _ACEOF
25164 rm -f conftest.$ac_objext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25166   (eval $ac_compile) 2>conftest.er1
25167   ac_status=$?
25168   grep -v '^ *+' conftest.er1 >conftest.err
25169   rm -f conftest.er1
25170   cat conftest.err >&5
25171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172   (exit $ac_status); } &&
25173          { ac_try='test -z "$ac_cxx_werror_flag"
25174                          || test ! -s conftest.err'
25175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176   (eval $ac_try) 2>&5
25177   ac_status=$?
25178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179   (exit $ac_status); }; } &&
25180          { ac_try='test -s conftest.$ac_objext'
25181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25182   (eval $ac_try) 2>&5
25183   ac_status=$?
25184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185   (exit $ac_status); }; }; then
25186   glibcxx_cv_func__sincos_use=yes
25187 else
25188   echo "$as_me: failed program was:" >&5
25189 sed 's/^/| /' conftest.$ac_ext >&5
25190
25191 glibcxx_cv_func__sincos_use=no
25192 fi
25193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25194       ac_ext=c
25195 ac_cpp='$CPP $CPPFLAGS'
25196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25199
25200
25201 fi
25202
25203   fi
25204   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25205 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25206
25207     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25208
25209 for ac_func in _sincos
25210 do
25211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25212 echo "$as_me:$LINENO: checking for $ac_func" >&5
25213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25214 if eval "test \"\${$as_ac_var+set}\" = set"; then
25215   echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217   if test x$gcc_no_link = xyes; then
25218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25220    { (exit 1); exit 1; }; }
25221 fi
25222 cat >conftest.$ac_ext <<_ACEOF
25223 /* confdefs.h.  */
25224 _ACEOF
25225 cat confdefs.h >>conftest.$ac_ext
25226 cat >>conftest.$ac_ext <<_ACEOF
25227 /* end confdefs.h.  */
25228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25230 #define $ac_func innocuous_$ac_func
25231
25232 /* System header to define __stub macros and hopefully few prototypes,
25233     which can conflict with char $ac_func (); below.
25234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25235     <limits.h> exists even on freestanding compilers.  */
25236
25237 #ifdef __STDC__
25238 # include <limits.h>
25239 #else
25240 # include <assert.h>
25241 #endif
25242
25243 #undef $ac_func
25244
25245 /* Override any gcc2 internal prototype to avoid an error.  */
25246 #ifdef __cplusplus
25247 extern "C"
25248 {
25249 #endif
25250 /* We use char because int might match the return type of a gcc2
25251    builtin and then its argument prototype would still apply.  */
25252 char $ac_func ();
25253 /* The GNU C library defines this for functions which it implements
25254     to always fail with ENOSYS.  Some functions are actually named
25255     something starting with __ and the normal name is an alias.  */
25256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25257 choke me
25258 #else
25259 char (*f) () = $ac_func;
25260 #endif
25261 #ifdef __cplusplus
25262 }
25263 #endif
25264
25265 int
25266 main ()
25267 {
25268 return f != $ac_func;
25269   ;
25270   return 0;
25271 }
25272 _ACEOF
25273 rm -f conftest.$ac_objext conftest$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275   (eval $ac_link) 2>conftest.er1
25276   ac_status=$?
25277   grep -v '^ *+' conftest.er1 >conftest.err
25278   rm -f conftest.er1
25279   cat conftest.err >&5
25280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281   (exit $ac_status); } &&
25282          { ac_try='test -z "$ac_c_werror_flag"
25283                          || test ! -s conftest.err'
25284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285   (eval $ac_try) 2>&5
25286   ac_status=$?
25287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288   (exit $ac_status); }; } &&
25289          { ac_try='test -s conftest$ac_exeext'
25290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291   (eval $ac_try) 2>&5
25292   ac_status=$?
25293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294   (exit $ac_status); }; }; then
25295   eval "$as_ac_var=yes"
25296 else
25297   echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25299
25300 eval "$as_ac_var=no"
25301 fi
25302 rm -f conftest.err conftest.$ac_objext \
25303       conftest$ac_exeext conftest.$ac_ext
25304 fi
25305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25307 if test `eval echo '${'$as_ac_var'}'` = yes; then
25308   cat >>confdefs.h <<_ACEOF
25309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25310 _ACEOF
25311
25312 fi
25313 done
25314
25315     fi
25316   fi
25317
25318
25319
25320
25321
25322
25323   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25324 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25325   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25326     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25327   echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329
25330
25331
25332       ac_ext=cc
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25337
25338       cat >conftest.$ac_ext <<_ACEOF
25339 /* confdefs.h.  */
25340 _ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h.  */
25344 #include <math.h>
25345                       #ifdef HAVE_IEEEFP_H
25346                       #include <ieeefp.h>
25347                       #endif
25348
25349 int
25350 main ()
25351 {
25352  fpclass(0);
25353   ;
25354   return 0;
25355 }
25356 _ACEOF
25357 rm -f conftest.$ac_objext
25358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25359   (eval $ac_compile) 2>conftest.er1
25360   ac_status=$?
25361   grep -v '^ *+' conftest.er1 >conftest.err
25362   rm -f conftest.er1
25363   cat conftest.err >&5
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); } &&
25366          { ac_try='test -z "$ac_cxx_werror_flag"
25367                          || test ! -s conftest.err'
25368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25369   (eval $ac_try) 2>&5
25370   ac_status=$?
25371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25372   (exit $ac_status); }; } &&
25373          { ac_try='test -s conftest.$ac_objext'
25374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375   (eval $ac_try) 2>&5
25376   ac_status=$?
25377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378   (exit $ac_status); }; }; then
25379   glibcxx_cv_func_fpclass_use=yes
25380 else
25381   echo "$as_me: failed program was:" >&5
25382 sed 's/^/| /' conftest.$ac_ext >&5
25383
25384 glibcxx_cv_func_fpclass_use=no
25385 fi
25386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25387       ac_ext=c
25388 ac_cpp='$CPP $CPPFLAGS'
25389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25392
25393
25394 fi
25395
25396   fi
25397   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25398 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25399
25400   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25401
25402 for ac_func in fpclass
25403 do
25404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25405 echo "$as_me:$LINENO: checking for $ac_func" >&5
25406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25407 if eval "test \"\${$as_ac_var+set}\" = set"; then
25408   echo $ECHO_N "(cached) $ECHO_C" >&6
25409 else
25410   if test x$gcc_no_link = xyes; then
25411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25413    { (exit 1); exit 1; }; }
25414 fi
25415 cat >conftest.$ac_ext <<_ACEOF
25416 /* confdefs.h.  */
25417 _ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h.  */
25421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25423 #define $ac_func innocuous_$ac_func
25424
25425 /* System header to define __stub macros and hopefully few prototypes,
25426     which can conflict with char $ac_func (); below.
25427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25428     <limits.h> exists even on freestanding compilers.  */
25429
25430 #ifdef __STDC__
25431 # include <limits.h>
25432 #else
25433 # include <assert.h>
25434 #endif
25435
25436 #undef $ac_func
25437
25438 /* Override any gcc2 internal prototype to avoid an error.  */
25439 #ifdef __cplusplus
25440 extern "C"
25441 {
25442 #endif
25443 /* We use char because int might match the return type of a gcc2
25444    builtin and then its argument prototype would still apply.  */
25445 char $ac_func ();
25446 /* The GNU C library defines this for functions which it implements
25447     to always fail with ENOSYS.  Some functions are actually named
25448     something starting with __ and the normal name is an alias.  */
25449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25450 choke me
25451 #else
25452 char (*f) () = $ac_func;
25453 #endif
25454 #ifdef __cplusplus
25455 }
25456 #endif
25457
25458 int
25459 main ()
25460 {
25461 return f != $ac_func;
25462   ;
25463   return 0;
25464 }
25465 _ACEOF
25466 rm -f conftest.$ac_objext conftest$ac_exeext
25467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25468   (eval $ac_link) 2>conftest.er1
25469   ac_status=$?
25470   grep -v '^ *+' conftest.er1 >conftest.err
25471   rm -f conftest.er1
25472   cat conftest.err >&5
25473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25474   (exit $ac_status); } &&
25475          { ac_try='test -z "$ac_c_werror_flag"
25476                          || test ! -s conftest.err'
25477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478   (eval $ac_try) 2>&5
25479   ac_status=$?
25480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481   (exit $ac_status); }; } &&
25482          { ac_try='test -s conftest$ac_exeext'
25483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484   (eval $ac_try) 2>&5
25485   ac_status=$?
25486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487   (exit $ac_status); }; }; then
25488   eval "$as_ac_var=yes"
25489 else
25490   echo "$as_me: failed program was:" >&5
25491 sed 's/^/| /' conftest.$ac_ext >&5
25492
25493 eval "$as_ac_var=no"
25494 fi
25495 rm -f conftest.err conftest.$ac_objext \
25496       conftest$ac_exeext conftest.$ac_ext
25497 fi
25498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25500 if test `eval echo '${'$as_ac_var'}'` = yes; then
25501   cat >>confdefs.h <<_ACEOF
25502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25503 _ACEOF
25504
25505 fi
25506 done
25507
25508   else
25509
25510   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25511 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25512   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25513     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25514   echo $ECHO_N "(cached) $ECHO_C" >&6
25515 else
25516
25517
25518
25519       ac_ext=cc
25520 ac_cpp='$CXXCPP $CPPFLAGS'
25521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25524
25525       cat >conftest.$ac_ext <<_ACEOF
25526 /* confdefs.h.  */
25527 _ACEOF
25528 cat confdefs.h >>conftest.$ac_ext
25529 cat >>conftest.$ac_ext <<_ACEOF
25530 /* end confdefs.h.  */
25531 #include <math.h>
25532                       #ifdef HAVE_IEEEFP_H
25533                       #include <ieeefp.h>
25534                       #endif
25535
25536 int
25537 main ()
25538 {
25539  _fpclass(0);
25540   ;
25541   return 0;
25542 }
25543 _ACEOF
25544 rm -f conftest.$ac_objext
25545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25546   (eval $ac_compile) 2>conftest.er1
25547   ac_status=$?
25548   grep -v '^ *+' conftest.er1 >conftest.err
25549   rm -f conftest.er1
25550   cat conftest.err >&5
25551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552   (exit $ac_status); } &&
25553          { ac_try='test -z "$ac_cxx_werror_flag"
25554                          || test ! -s conftest.err'
25555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556   (eval $ac_try) 2>&5
25557   ac_status=$?
25558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559   (exit $ac_status); }; } &&
25560          { ac_try='test -s conftest.$ac_objext'
25561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562   (eval $ac_try) 2>&5
25563   ac_status=$?
25564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565   (exit $ac_status); }; }; then
25566   glibcxx_cv_func__fpclass_use=yes
25567 else
25568   echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25570
25571 glibcxx_cv_func__fpclass_use=no
25572 fi
25573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25574       ac_ext=c
25575 ac_cpp='$CPP $CPPFLAGS'
25576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25579
25580
25581 fi
25582
25583   fi
25584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25585 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25586
25587     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25588
25589 for ac_func in _fpclass
25590 do
25591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25592 echo "$as_me:$LINENO: checking for $ac_func" >&5
25593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25594 if eval "test \"\${$as_ac_var+set}\" = set"; then
25595   echo $ECHO_N "(cached) $ECHO_C" >&6
25596 else
25597   if test x$gcc_no_link = xyes; then
25598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25600    { (exit 1); exit 1; }; }
25601 fi
25602 cat >conftest.$ac_ext <<_ACEOF
25603 /* confdefs.h.  */
25604 _ACEOF
25605 cat confdefs.h >>conftest.$ac_ext
25606 cat >>conftest.$ac_ext <<_ACEOF
25607 /* end confdefs.h.  */
25608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25610 #define $ac_func innocuous_$ac_func
25611
25612 /* System header to define __stub macros and hopefully few prototypes,
25613     which can conflict with char $ac_func (); below.
25614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25615     <limits.h> exists even on freestanding compilers.  */
25616
25617 #ifdef __STDC__
25618 # include <limits.h>
25619 #else
25620 # include <assert.h>
25621 #endif
25622
25623 #undef $ac_func
25624
25625 /* Override any gcc2 internal prototype to avoid an error.  */
25626 #ifdef __cplusplus
25627 extern "C"
25628 {
25629 #endif
25630 /* We use char because int might match the return type of a gcc2
25631    builtin and then its argument prototype would still apply.  */
25632 char $ac_func ();
25633 /* The GNU C library defines this for functions which it implements
25634     to always fail with ENOSYS.  Some functions are actually named
25635     something starting with __ and the normal name is an alias.  */
25636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25637 choke me
25638 #else
25639 char (*f) () = $ac_func;
25640 #endif
25641 #ifdef __cplusplus
25642 }
25643 #endif
25644
25645 int
25646 main ()
25647 {
25648 return f != $ac_func;
25649   ;
25650   return 0;
25651 }
25652 _ACEOF
25653 rm -f conftest.$ac_objext conftest$ac_exeext
25654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25655   (eval $ac_link) 2>conftest.er1
25656   ac_status=$?
25657   grep -v '^ *+' conftest.er1 >conftest.err
25658   rm -f conftest.er1
25659   cat conftest.err >&5
25660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661   (exit $ac_status); } &&
25662          { ac_try='test -z "$ac_c_werror_flag"
25663                          || test ! -s conftest.err'
25664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665   (eval $ac_try) 2>&5
25666   ac_status=$?
25667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668   (exit $ac_status); }; } &&
25669          { ac_try='test -s conftest$ac_exeext'
25670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671   (eval $ac_try) 2>&5
25672   ac_status=$?
25673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674   (exit $ac_status); }; }; then
25675   eval "$as_ac_var=yes"
25676 else
25677   echo "$as_me: failed program was:" >&5
25678 sed 's/^/| /' conftest.$ac_ext >&5
25679
25680 eval "$as_ac_var=no"
25681 fi
25682 rm -f conftest.err conftest.$ac_objext \
25683       conftest$ac_exeext conftest.$ac_ext
25684 fi
25685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25687 if test `eval echo '${'$as_ac_var'}'` = yes; then
25688   cat >>confdefs.h <<_ACEOF
25689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25690 _ACEOF
25691
25692 fi
25693 done
25694
25695     fi
25696   fi
25697
25698
25699
25700
25701
25702
25703   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25704 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25705   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25706     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25707   echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709
25710
25711
25712       ac_ext=cc
25713 ac_cpp='$CXXCPP $CPPFLAGS'
25714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25717
25718       cat >conftest.$ac_ext <<_ACEOF
25719 /* confdefs.h.  */
25720 _ACEOF
25721 cat confdefs.h >>conftest.$ac_ext
25722 cat >>conftest.$ac_ext <<_ACEOF
25723 /* end confdefs.h.  */
25724 #include <math.h>
25725                       #ifdef HAVE_IEEEFP_H
25726                       #include <ieeefp.h>
25727                       #endif
25728
25729 int
25730 main ()
25731 {
25732  qfpclass(0);
25733   ;
25734   return 0;
25735 }
25736 _ACEOF
25737 rm -f conftest.$ac_objext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25739   (eval $ac_compile) 2>conftest.er1
25740   ac_status=$?
25741   grep -v '^ *+' conftest.er1 >conftest.err
25742   rm -f conftest.er1
25743   cat conftest.err >&5
25744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745   (exit $ac_status); } &&
25746          { ac_try='test -z "$ac_cxx_werror_flag"
25747                          || test ! -s conftest.err'
25748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749   (eval $ac_try) 2>&5
25750   ac_status=$?
25751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752   (exit $ac_status); }; } &&
25753          { ac_try='test -s conftest.$ac_objext'
25754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755   (eval $ac_try) 2>&5
25756   ac_status=$?
25757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758   (exit $ac_status); }; }; then
25759   glibcxx_cv_func_qfpclass_use=yes
25760 else
25761   echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 glibcxx_cv_func_qfpclass_use=no
25765 fi
25766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25767       ac_ext=c
25768 ac_cpp='$CPP $CPPFLAGS'
25769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25772
25773
25774 fi
25775
25776   fi
25777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25778 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25779
25780   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25781
25782 for ac_func in qfpclass
25783 do
25784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25785 echo "$as_me:$LINENO: checking for $ac_func" >&5
25786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25787 if eval "test \"\${$as_ac_var+set}\" = set"; then
25788   echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25790   if test x$gcc_no_link = xyes; then
25791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25793    { (exit 1); exit 1; }; }
25794 fi
25795 cat >conftest.$ac_ext <<_ACEOF
25796 /* confdefs.h.  */
25797 _ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h.  */
25801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25803 #define $ac_func innocuous_$ac_func
25804
25805 /* System header to define __stub macros and hopefully few prototypes,
25806     which can conflict with char $ac_func (); below.
25807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25808     <limits.h> exists even on freestanding compilers.  */
25809
25810 #ifdef __STDC__
25811 # include <limits.h>
25812 #else
25813 # include <assert.h>
25814 #endif
25815
25816 #undef $ac_func
25817
25818 /* Override any gcc2 internal prototype to avoid an error.  */
25819 #ifdef __cplusplus
25820 extern "C"
25821 {
25822 #endif
25823 /* We use char because int might match the return type of a gcc2
25824    builtin and then its argument prototype would still apply.  */
25825 char $ac_func ();
25826 /* The GNU C library defines this for functions which it implements
25827     to always fail with ENOSYS.  Some functions are actually named
25828     something starting with __ and the normal name is an alias.  */
25829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25830 choke me
25831 #else
25832 char (*f) () = $ac_func;
25833 #endif
25834 #ifdef __cplusplus
25835 }
25836 #endif
25837
25838 int
25839 main ()
25840 {
25841 return f != $ac_func;
25842   ;
25843   return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext conftest$ac_exeext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25848   (eval $ac_link) 2>conftest.er1
25849   ac_status=$?
25850   grep -v '^ *+' conftest.er1 >conftest.err
25851   rm -f conftest.er1
25852   cat conftest.err >&5
25853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854   (exit $ac_status); } &&
25855          { ac_try='test -z "$ac_c_werror_flag"
25856                          || test ! -s conftest.err'
25857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858   (eval $ac_try) 2>&5
25859   ac_status=$?
25860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861   (exit $ac_status); }; } &&
25862          { ac_try='test -s conftest$ac_exeext'
25863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864   (eval $ac_try) 2>&5
25865   ac_status=$?
25866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867   (exit $ac_status); }; }; then
25868   eval "$as_ac_var=yes"
25869 else
25870   echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 eval "$as_ac_var=no"
25874 fi
25875 rm -f conftest.err conftest.$ac_objext \
25876       conftest$ac_exeext conftest.$ac_ext
25877 fi
25878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25880 if test `eval echo '${'$as_ac_var'}'` = yes; then
25881   cat >>confdefs.h <<_ACEOF
25882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25883 _ACEOF
25884
25885 fi
25886 done
25887
25888   else
25889
25890   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25891 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25892   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25893     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25894   echo $ECHO_N "(cached) $ECHO_C" >&6
25895 else
25896
25897
25898
25899       ac_ext=cc
25900 ac_cpp='$CXXCPP $CPPFLAGS'
25901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25904
25905       cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h.  */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h.  */
25911 #include <math.h>
25912                       #ifdef HAVE_IEEEFP_H
25913                       #include <ieeefp.h>
25914                       #endif
25915
25916 int
25917 main ()
25918 {
25919  _qfpclass(0);
25920   ;
25921   return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25926   (eval $ac_compile) 2>conftest.er1
25927   ac_status=$?
25928   grep -v '^ *+' conftest.er1 >conftest.err
25929   rm -f conftest.er1
25930   cat conftest.err >&5
25931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932   (exit $ac_status); } &&
25933          { ac_try='test -z "$ac_cxx_werror_flag"
25934                          || test ! -s conftest.err'
25935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936   (eval $ac_try) 2>&5
25937   ac_status=$?
25938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939   (exit $ac_status); }; } &&
25940          { ac_try='test -s conftest.$ac_objext'
25941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942   (eval $ac_try) 2>&5
25943   ac_status=$?
25944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945   (exit $ac_status); }; }; then
25946   glibcxx_cv_func__qfpclass_use=yes
25947 else
25948   echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25950
25951 glibcxx_cv_func__qfpclass_use=no
25952 fi
25953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25954       ac_ext=c
25955 ac_cpp='$CPP $CPPFLAGS'
25956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25959
25960
25961 fi
25962
25963   fi
25964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25965 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25966
25967     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25968
25969 for ac_func in _qfpclass
25970 do
25971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25972 echo "$as_me:$LINENO: checking for $ac_func" >&5
25973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25974 if eval "test \"\${$as_ac_var+set}\" = set"; then
25975   echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25977   if test x$gcc_no_link = xyes; then
25978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25980    { (exit 1); exit 1; }; }
25981 fi
25982 cat >conftest.$ac_ext <<_ACEOF
25983 /* confdefs.h.  */
25984 _ACEOF
25985 cat confdefs.h >>conftest.$ac_ext
25986 cat >>conftest.$ac_ext <<_ACEOF
25987 /* end confdefs.h.  */
25988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25990 #define $ac_func innocuous_$ac_func
25991
25992 /* System header to define __stub macros and hopefully few prototypes,
25993     which can conflict with char $ac_func (); below.
25994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25995     <limits.h> exists even on freestanding compilers.  */
25996
25997 #ifdef __STDC__
25998 # include <limits.h>
25999 #else
26000 # include <assert.h>
26001 #endif
26002
26003 #undef $ac_func
26004
26005 /* Override any gcc2 internal prototype to avoid an error.  */
26006 #ifdef __cplusplus
26007 extern "C"
26008 {
26009 #endif
26010 /* We use char because int might match the return type of a gcc2
26011    builtin and then its argument prototype would still apply.  */
26012 char $ac_func ();
26013 /* The GNU C library defines this for functions which it implements
26014     to always fail with ENOSYS.  Some functions are actually named
26015     something starting with __ and the normal name is an alias.  */
26016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26017 choke me
26018 #else
26019 char (*f) () = $ac_func;
26020 #endif
26021 #ifdef __cplusplus
26022 }
26023 #endif
26024
26025 int
26026 main ()
26027 {
26028 return f != $ac_func;
26029   ;
26030   return 0;
26031 }
26032 _ACEOF
26033 rm -f conftest.$ac_objext conftest$ac_exeext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26035   (eval $ac_link) 2>conftest.er1
26036   ac_status=$?
26037   grep -v '^ *+' conftest.er1 >conftest.err
26038   rm -f conftest.er1
26039   cat conftest.err >&5
26040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041   (exit $ac_status); } &&
26042          { ac_try='test -z "$ac_c_werror_flag"
26043                          || test ! -s conftest.err'
26044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045   (eval $ac_try) 2>&5
26046   ac_status=$?
26047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048   (exit $ac_status); }; } &&
26049          { ac_try='test -s conftest$ac_exeext'
26050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051   (eval $ac_try) 2>&5
26052   ac_status=$?
26053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054   (exit $ac_status); }; }; then
26055   eval "$as_ac_var=yes"
26056 else
26057   echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26059
26060 eval "$as_ac_var=no"
26061 fi
26062 rm -f conftest.err conftest.$ac_objext \
26063       conftest$ac_exeext conftest.$ac_ext
26064 fi
26065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26067 if test `eval echo '${'$as_ac_var'}'` = yes; then
26068   cat >>confdefs.h <<_ACEOF
26069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26070 _ACEOF
26071
26072 fi
26073 done
26074
26075     fi
26076   fi
26077
26078
26079
26080
26081
26082
26083   echo "$as_me:$LINENO: checking for hypot declaration" >&5
26084 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
26085   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
26086     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
26087   echo $ECHO_N "(cached) $ECHO_C" >&6
26088 else
26089
26090
26091
26092       ac_ext=cc
26093 ac_cpp='$CXXCPP $CPPFLAGS'
26094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26097
26098       cat >conftest.$ac_ext <<_ACEOF
26099 /* confdefs.h.  */
26100 _ACEOF
26101 cat confdefs.h >>conftest.$ac_ext
26102 cat >>conftest.$ac_ext <<_ACEOF
26103 /* end confdefs.h.  */
26104 #include <math.h>
26105 int
26106 main ()
26107 {
26108  hypot(0, 0);
26109   ;
26110   return 0;
26111 }
26112 _ACEOF
26113 rm -f conftest.$ac_objext
26114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26115   (eval $ac_compile) 2>conftest.er1
26116   ac_status=$?
26117   grep -v '^ *+' conftest.er1 >conftest.err
26118   rm -f conftest.er1
26119   cat conftest.err >&5
26120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121   (exit $ac_status); } &&
26122          { ac_try='test -z "$ac_cxx_werror_flag"
26123                          || test ! -s conftest.err'
26124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26125   (eval $ac_try) 2>&5
26126   ac_status=$?
26127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128   (exit $ac_status); }; } &&
26129          { ac_try='test -s conftest.$ac_objext'
26130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131   (eval $ac_try) 2>&5
26132   ac_status=$?
26133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134   (exit $ac_status); }; }; then
26135   glibcxx_cv_func_hypot_use=yes
26136 else
26137   echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.$ac_ext >&5
26139
26140 glibcxx_cv_func_hypot_use=no
26141 fi
26142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26143       ac_ext=c
26144 ac_cpp='$CPP $CPPFLAGS'
26145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26148
26149
26150 fi
26151
26152   fi
26153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26154 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26155
26156   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26157
26158 for ac_func in hypot
26159 do
26160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26161 echo "$as_me:$LINENO: checking for $ac_func" >&5
26162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26163 if eval "test \"\${$as_ac_var+set}\" = set"; then
26164   echo $ECHO_N "(cached) $ECHO_C" >&6
26165 else
26166   if test x$gcc_no_link = xyes; then
26167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26169    { (exit 1); exit 1; }; }
26170 fi
26171 cat >conftest.$ac_ext <<_ACEOF
26172 /* confdefs.h.  */
26173 _ACEOF
26174 cat confdefs.h >>conftest.$ac_ext
26175 cat >>conftest.$ac_ext <<_ACEOF
26176 /* end confdefs.h.  */
26177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26179 #define $ac_func innocuous_$ac_func
26180
26181 /* System header to define __stub macros and hopefully few prototypes,
26182     which can conflict with char $ac_func (); below.
26183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26184     <limits.h> exists even on freestanding compilers.  */
26185
26186 #ifdef __STDC__
26187 # include <limits.h>
26188 #else
26189 # include <assert.h>
26190 #endif
26191
26192 #undef $ac_func
26193
26194 /* Override any gcc2 internal prototype to avoid an error.  */
26195 #ifdef __cplusplus
26196 extern "C"
26197 {
26198 #endif
26199 /* We use char because int might match the return type of a gcc2
26200    builtin and then its argument prototype would still apply.  */
26201 char $ac_func ();
26202 /* The GNU C library defines this for functions which it implements
26203     to always fail with ENOSYS.  Some functions are actually named
26204     something starting with __ and the normal name is an alias.  */
26205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26206 choke me
26207 #else
26208 char (*f) () = $ac_func;
26209 #endif
26210 #ifdef __cplusplus
26211 }
26212 #endif
26213
26214 int
26215 main ()
26216 {
26217 return f != $ac_func;
26218   ;
26219   return 0;
26220 }
26221 _ACEOF
26222 rm -f conftest.$ac_objext conftest$ac_exeext
26223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26224   (eval $ac_link) 2>conftest.er1
26225   ac_status=$?
26226   grep -v '^ *+' conftest.er1 >conftest.err
26227   rm -f conftest.er1
26228   cat conftest.err >&5
26229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230   (exit $ac_status); } &&
26231          { ac_try='test -z "$ac_c_werror_flag"
26232                          || test ! -s conftest.err'
26233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234   (eval $ac_try) 2>&5
26235   ac_status=$?
26236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237   (exit $ac_status); }; } &&
26238          { ac_try='test -s conftest$ac_exeext'
26239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26240   (eval $ac_try) 2>&5
26241   ac_status=$?
26242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26243   (exit $ac_status); }; }; then
26244   eval "$as_ac_var=yes"
26245 else
26246   echo "$as_me: failed program was:" >&5
26247 sed 's/^/| /' conftest.$ac_ext >&5
26248
26249 eval "$as_ac_var=no"
26250 fi
26251 rm -f conftest.err conftest.$ac_objext \
26252       conftest$ac_exeext conftest.$ac_ext
26253 fi
26254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26256 if test `eval echo '${'$as_ac_var'}'` = yes; then
26257   cat >>confdefs.h <<_ACEOF
26258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26259 _ACEOF
26260
26261 fi
26262 done
26263
26264   else
26265
26266   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26267 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26268   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26269     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26270   echo $ECHO_N "(cached) $ECHO_C" >&6
26271 else
26272
26273
26274
26275       ac_ext=cc
26276 ac_cpp='$CXXCPP $CPPFLAGS'
26277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26280
26281       cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h.  */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h.  */
26287 #include <math.h>
26288 int
26289 main ()
26290 {
26291  _hypot(0, 0);
26292   ;
26293   return 0;
26294 }
26295 _ACEOF
26296 rm -f conftest.$ac_objext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26298   (eval $ac_compile) 2>conftest.er1
26299   ac_status=$?
26300   grep -v '^ *+' conftest.er1 >conftest.err
26301   rm -f conftest.er1
26302   cat conftest.err >&5
26303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304   (exit $ac_status); } &&
26305          { ac_try='test -z "$ac_cxx_werror_flag"
26306                          || test ! -s conftest.err'
26307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308   (eval $ac_try) 2>&5
26309   ac_status=$?
26310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311   (exit $ac_status); }; } &&
26312          { ac_try='test -s conftest.$ac_objext'
26313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314   (eval $ac_try) 2>&5
26315   ac_status=$?
26316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317   (exit $ac_status); }; }; then
26318   glibcxx_cv_func__hypot_use=yes
26319 else
26320   echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 glibcxx_cv_func__hypot_use=no
26324 fi
26325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26326       ac_ext=c
26327 ac_cpp='$CPP $CPPFLAGS'
26328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331
26332
26333 fi
26334
26335   fi
26336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26337 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26338
26339     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26340
26341 for ac_func in _hypot
26342 do
26343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26344 echo "$as_me:$LINENO: checking for $ac_func" >&5
26345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26346 if eval "test \"\${$as_ac_var+set}\" = set"; then
26347   echo $ECHO_N "(cached) $ECHO_C" >&6
26348 else
26349   if test x$gcc_no_link = xyes; then
26350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26352    { (exit 1); exit 1; }; }
26353 fi
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h.  */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h.  */
26360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26362 #define $ac_func innocuous_$ac_func
26363
26364 /* System header to define __stub macros and hopefully few prototypes,
26365     which can conflict with char $ac_func (); below.
26366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26367     <limits.h> exists even on freestanding compilers.  */
26368
26369 #ifdef __STDC__
26370 # include <limits.h>
26371 #else
26372 # include <assert.h>
26373 #endif
26374
26375 #undef $ac_func
26376
26377 /* Override any gcc2 internal prototype to avoid an error.  */
26378 #ifdef __cplusplus
26379 extern "C"
26380 {
26381 #endif
26382 /* We use char because int might match the return type of a gcc2
26383    builtin and then its argument prototype would still apply.  */
26384 char $ac_func ();
26385 /* The GNU C library defines this for functions which it implements
26386     to always fail with ENOSYS.  Some functions are actually named
26387     something starting with __ and the normal name is an alias.  */
26388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26389 choke me
26390 #else
26391 char (*f) () = $ac_func;
26392 #endif
26393 #ifdef __cplusplus
26394 }
26395 #endif
26396
26397 int
26398 main ()
26399 {
26400 return f != $ac_func;
26401   ;
26402   return 0;
26403 }
26404 _ACEOF
26405 rm -f conftest.$ac_objext conftest$ac_exeext
26406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26407   (eval $ac_link) 2>conftest.er1
26408   ac_status=$?
26409   grep -v '^ *+' conftest.er1 >conftest.err
26410   rm -f conftest.er1
26411   cat conftest.err >&5
26412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413   (exit $ac_status); } &&
26414          { ac_try='test -z "$ac_c_werror_flag"
26415                          || test ! -s conftest.err'
26416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417   (eval $ac_try) 2>&5
26418   ac_status=$?
26419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420   (exit $ac_status); }; } &&
26421          { ac_try='test -s conftest$ac_exeext'
26422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423   (eval $ac_try) 2>&5
26424   ac_status=$?
26425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426   (exit $ac_status); }; }; then
26427   eval "$as_ac_var=yes"
26428 else
26429   echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26431
26432 eval "$as_ac_var=no"
26433 fi
26434 rm -f conftest.err conftest.$ac_objext \
26435       conftest$ac_exeext conftest.$ac_ext
26436 fi
26437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26439 if test `eval echo '${'$as_ac_var'}'` = yes; then
26440   cat >>confdefs.h <<_ACEOF
26441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26442 _ACEOF
26443
26444 fi
26445 done
26446
26447     fi
26448   fi
26449
26450
26451
26452
26453
26454
26455     echo "$as_me:$LINENO: checking for float trig functions" >&5
26456 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26457   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26458   echo $ECHO_N "(cached) $ECHO_C" >&6
26459 else
26460
26461
26462
26463     ac_ext=cc
26464 ac_cpp='$CXXCPP $CPPFLAGS'
26465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26468
26469     cat >conftest.$ac_ext <<_ACEOF
26470 /* confdefs.h.  */
26471 _ACEOF
26472 cat confdefs.h >>conftest.$ac_ext
26473 cat >>conftest.$ac_ext <<_ACEOF
26474 /* end confdefs.h.  */
26475 #include <math.h>
26476 int
26477 main ()
26478 {
26479 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26480   ;
26481   return 0;
26482 }
26483 _ACEOF
26484 rm -f conftest.$ac_objext
26485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26486   (eval $ac_compile) 2>conftest.er1
26487   ac_status=$?
26488   grep -v '^ *+' conftest.er1 >conftest.err
26489   rm -f conftest.er1
26490   cat conftest.err >&5
26491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492   (exit $ac_status); } &&
26493          { ac_try='test -z "$ac_cxx_werror_flag"
26494                          || test ! -s conftest.err'
26495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26496   (eval $ac_try) 2>&5
26497   ac_status=$?
26498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499   (exit $ac_status); }; } &&
26500          { ac_try='test -s conftest.$ac_objext'
26501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26502   (eval $ac_try) 2>&5
26503   ac_status=$?
26504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505   (exit $ac_status); }; }; then
26506   glibcxx_cv_func_float_trig_use=yes
26507 else
26508   echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.$ac_ext >&5
26510
26511 glibcxx_cv_func_float_trig_use=no
26512 fi
26513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26514     ac_ext=c
26515 ac_cpp='$CPP $CPPFLAGS'
26516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26519
26520 fi
26521
26522   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26523 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26524   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26535 do
26536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26537 echo "$as_me:$LINENO: checking for $ac_func" >&5
26538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26539 if eval "test \"\${$as_ac_var+set}\" = set"; then
26540   echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542   if test x$gcc_no_link = xyes; then
26543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26545    { (exit 1); exit 1; }; }
26546 fi
26547 cat >conftest.$ac_ext <<_ACEOF
26548 /* confdefs.h.  */
26549 _ACEOF
26550 cat confdefs.h >>conftest.$ac_ext
26551 cat >>conftest.$ac_ext <<_ACEOF
26552 /* end confdefs.h.  */
26553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26555 #define $ac_func innocuous_$ac_func
26556
26557 /* System header to define __stub macros and hopefully few prototypes,
26558     which can conflict with char $ac_func (); below.
26559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26560     <limits.h> exists even on freestanding compilers.  */
26561
26562 #ifdef __STDC__
26563 # include <limits.h>
26564 #else
26565 # include <assert.h>
26566 #endif
26567
26568 #undef $ac_func
26569
26570 /* Override any gcc2 internal prototype to avoid an error.  */
26571 #ifdef __cplusplus
26572 extern "C"
26573 {
26574 #endif
26575 /* We use char because int might match the return type of a gcc2
26576    builtin and then its argument prototype would still apply.  */
26577 char $ac_func ();
26578 /* The GNU C library defines this for functions which it implements
26579     to always fail with ENOSYS.  Some functions are actually named
26580     something starting with __ and the normal name is an alias.  */
26581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26582 choke me
26583 #else
26584 char (*f) () = $ac_func;
26585 #endif
26586 #ifdef __cplusplus
26587 }
26588 #endif
26589
26590 int
26591 main ()
26592 {
26593 return f != $ac_func;
26594   ;
26595   return 0;
26596 }
26597 _ACEOF
26598 rm -f conftest.$ac_objext conftest$ac_exeext
26599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26600   (eval $ac_link) 2>conftest.er1
26601   ac_status=$?
26602   grep -v '^ *+' conftest.er1 >conftest.err
26603   rm -f conftest.er1
26604   cat conftest.err >&5
26605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606   (exit $ac_status); } &&
26607          { ac_try='test -z "$ac_c_werror_flag"
26608                          || test ! -s conftest.err'
26609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26610   (eval $ac_try) 2>&5
26611   ac_status=$?
26612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26613   (exit $ac_status); }; } &&
26614          { ac_try='test -s conftest$ac_exeext'
26615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26616   (eval $ac_try) 2>&5
26617   ac_status=$?
26618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619   (exit $ac_status); }; }; then
26620   eval "$as_ac_var=yes"
26621 else
26622   echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26624
26625 eval "$as_ac_var=no"
26626 fi
26627 rm -f conftest.err conftest.$ac_objext \
26628       conftest$ac_exeext conftest.$ac_ext
26629 fi
26630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26632 if test `eval echo '${'$as_ac_var'}'` = yes; then
26633   cat >>confdefs.h <<_ACEOF
26634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26635 _ACEOF
26636
26637 fi
26638 done
26639
26640   else
26641     echo "$as_me:$LINENO: checking for _float trig functions" >&5
26642 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26643     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26644   echo $ECHO_N "(cached) $ECHO_C" >&6
26645 else
26646
26647
26648
26649       ac_ext=cc
26650 ac_cpp='$CXXCPP $CPPFLAGS'
26651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26654
26655       cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h.  */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h.  */
26661 #include <math.h>
26662 int
26663 main ()
26664 {
26665 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26666   ;
26667   return 0;
26668 }
26669 _ACEOF
26670 rm -f conftest.$ac_objext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26672   (eval $ac_compile) 2>conftest.er1
26673   ac_status=$?
26674   grep -v '^ *+' conftest.er1 >conftest.err
26675   rm -f conftest.er1
26676   cat conftest.err >&5
26677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678   (exit $ac_status); } &&
26679          { ac_try='test -z "$ac_cxx_werror_flag"
26680                          || test ! -s conftest.err'
26681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682   (eval $ac_try) 2>&5
26683   ac_status=$?
26684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685   (exit $ac_status); }; } &&
26686          { ac_try='test -s conftest.$ac_objext'
26687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688   (eval $ac_try) 2>&5
26689   ac_status=$?
26690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691   (exit $ac_status); }; }; then
26692   glibcxx_cv_func__float_trig_use=yes
26693 else
26694   echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26696
26697 glibcxx_cv_func__float_trig_use=no
26698 fi
26699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26700       ac_ext=c
26701 ac_cpp='$CPP $CPPFLAGS'
26702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26705
26706 fi
26707
26708     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26709 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26710     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26721 do
26722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26723 echo "$as_me:$LINENO: checking for $ac_func" >&5
26724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26725 if eval "test \"\${$as_ac_var+set}\" = set"; then
26726   echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728   if test x$gcc_no_link = xyes; then
26729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26731    { (exit 1); exit 1; }; }
26732 fi
26733 cat >conftest.$ac_ext <<_ACEOF
26734 /* confdefs.h.  */
26735 _ACEOF
26736 cat confdefs.h >>conftest.$ac_ext
26737 cat >>conftest.$ac_ext <<_ACEOF
26738 /* end confdefs.h.  */
26739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26741 #define $ac_func innocuous_$ac_func
26742
26743 /* System header to define __stub macros and hopefully few prototypes,
26744     which can conflict with char $ac_func (); below.
26745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26746     <limits.h> exists even on freestanding compilers.  */
26747
26748 #ifdef __STDC__
26749 # include <limits.h>
26750 #else
26751 # include <assert.h>
26752 #endif
26753
26754 #undef $ac_func
26755
26756 /* Override any gcc2 internal prototype to avoid an error.  */
26757 #ifdef __cplusplus
26758 extern "C"
26759 {
26760 #endif
26761 /* We use char because int might match the return type of a gcc2
26762    builtin and then its argument prototype would still apply.  */
26763 char $ac_func ();
26764 /* The GNU C library defines this for functions which it implements
26765     to always fail with ENOSYS.  Some functions are actually named
26766     something starting with __ and the normal name is an alias.  */
26767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26768 choke me
26769 #else
26770 char (*f) () = $ac_func;
26771 #endif
26772 #ifdef __cplusplus
26773 }
26774 #endif
26775
26776 int
26777 main ()
26778 {
26779 return f != $ac_func;
26780   ;
26781   return 0;
26782 }
26783 _ACEOF
26784 rm -f conftest.$ac_objext conftest$ac_exeext
26785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26786   (eval $ac_link) 2>conftest.er1
26787   ac_status=$?
26788   grep -v '^ *+' conftest.er1 >conftest.err
26789   rm -f conftest.er1
26790   cat conftest.err >&5
26791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792   (exit $ac_status); } &&
26793          { ac_try='test -z "$ac_c_werror_flag"
26794                          || test ! -s conftest.err'
26795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796   (eval $ac_try) 2>&5
26797   ac_status=$?
26798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799   (exit $ac_status); }; } &&
26800          { ac_try='test -s conftest$ac_exeext'
26801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802   (eval $ac_try) 2>&5
26803   ac_status=$?
26804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805   (exit $ac_status); }; }; then
26806   eval "$as_ac_var=yes"
26807 else
26808   echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26810
26811 eval "$as_ac_var=no"
26812 fi
26813 rm -f conftest.err conftest.$ac_objext \
26814       conftest$ac_exeext conftest.$ac_ext
26815 fi
26816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26818 if test `eval echo '${'$as_ac_var'}'` = yes; then
26819   cat >>confdefs.h <<_ACEOF
26820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26821 _ACEOF
26822
26823 fi
26824 done
26825
26826     fi
26827   fi
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842     echo "$as_me:$LINENO: checking for float round functions" >&5
26843 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26844   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26845   echo $ECHO_N "(cached) $ECHO_C" >&6
26846 else
26847
26848
26849
26850     ac_ext=cc
26851 ac_cpp='$CXXCPP $CPPFLAGS'
26852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26855
26856     cat >conftest.$ac_ext <<_ACEOF
26857 /* confdefs.h.  */
26858 _ACEOF
26859 cat confdefs.h >>conftest.$ac_ext
26860 cat >>conftest.$ac_ext <<_ACEOF
26861 /* end confdefs.h.  */
26862 #include <math.h>
26863 int
26864 main ()
26865 {
26866 ceilf (0); floorf (0);
26867   ;
26868   return 0;
26869 }
26870 _ACEOF
26871 rm -f conftest.$ac_objext
26872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26873   (eval $ac_compile) 2>conftest.er1
26874   ac_status=$?
26875   grep -v '^ *+' conftest.er1 >conftest.err
26876   rm -f conftest.er1
26877   cat conftest.err >&5
26878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879   (exit $ac_status); } &&
26880          { ac_try='test -z "$ac_cxx_werror_flag"
26881                          || test ! -s conftest.err'
26882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26883   (eval $ac_try) 2>&5
26884   ac_status=$?
26885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886   (exit $ac_status); }; } &&
26887          { ac_try='test -s conftest.$ac_objext'
26888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889   (eval $ac_try) 2>&5
26890   ac_status=$?
26891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892   (exit $ac_status); }; }; then
26893   glibcxx_cv_func_float_round_use=yes
26894 else
26895   echo "$as_me: failed program was:" >&5
26896 sed 's/^/| /' conftest.$ac_ext >&5
26897
26898 glibcxx_cv_func_float_round_use=no
26899 fi
26900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26901     ac_ext=c
26902 ac_cpp='$CPP $CPPFLAGS'
26903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26906
26907 fi
26908
26909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26910 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26911   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26912
26913
26914 for ac_func in ceilf floorf
26915 do
26916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26917 echo "$as_me:$LINENO: checking for $ac_func" >&5
26918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26919 if eval "test \"\${$as_ac_var+set}\" = set"; then
26920   echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922   if test x$gcc_no_link = xyes; then
26923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26925    { (exit 1); exit 1; }; }
26926 fi
26927 cat >conftest.$ac_ext <<_ACEOF
26928 /* confdefs.h.  */
26929 _ACEOF
26930 cat confdefs.h >>conftest.$ac_ext
26931 cat >>conftest.$ac_ext <<_ACEOF
26932 /* end confdefs.h.  */
26933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26935 #define $ac_func innocuous_$ac_func
26936
26937 /* System header to define __stub macros and hopefully few prototypes,
26938     which can conflict with char $ac_func (); below.
26939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26940     <limits.h> exists even on freestanding compilers.  */
26941
26942 #ifdef __STDC__
26943 # include <limits.h>
26944 #else
26945 # include <assert.h>
26946 #endif
26947
26948 #undef $ac_func
26949
26950 /* Override any gcc2 internal prototype to avoid an error.  */
26951 #ifdef __cplusplus
26952 extern "C"
26953 {
26954 #endif
26955 /* We use char because int might match the return type of a gcc2
26956    builtin and then its argument prototype would still apply.  */
26957 char $ac_func ();
26958 /* The GNU C library defines this for functions which it implements
26959     to always fail with ENOSYS.  Some functions are actually named
26960     something starting with __ and the normal name is an alias.  */
26961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26962 choke me
26963 #else
26964 char (*f) () = $ac_func;
26965 #endif
26966 #ifdef __cplusplus
26967 }
26968 #endif
26969
26970 int
26971 main ()
26972 {
26973 return f != $ac_func;
26974   ;
26975   return 0;
26976 }
26977 _ACEOF
26978 rm -f conftest.$ac_objext conftest$ac_exeext
26979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26980   (eval $ac_link) 2>conftest.er1
26981   ac_status=$?
26982   grep -v '^ *+' conftest.er1 >conftest.err
26983   rm -f conftest.er1
26984   cat conftest.err >&5
26985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986   (exit $ac_status); } &&
26987          { ac_try='test -z "$ac_c_werror_flag"
26988                          || test ! -s conftest.err'
26989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26990   (eval $ac_try) 2>&5
26991   ac_status=$?
26992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993   (exit $ac_status); }; } &&
26994          { ac_try='test -s conftest$ac_exeext'
26995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996   (eval $ac_try) 2>&5
26997   ac_status=$?
26998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999   (exit $ac_status); }; }; then
27000   eval "$as_ac_var=yes"
27001 else
27002   echo "$as_me: failed program was:" >&5
27003 sed 's/^/| /' conftest.$ac_ext >&5
27004
27005 eval "$as_ac_var=no"
27006 fi
27007 rm -f conftest.err conftest.$ac_objext \
27008       conftest$ac_exeext conftest.$ac_ext
27009 fi
27010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27012 if test `eval echo '${'$as_ac_var'}'` = yes; then
27013   cat >>confdefs.h <<_ACEOF
27014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27015 _ACEOF
27016
27017 fi
27018 done
27019
27020   else
27021     echo "$as_me:$LINENO: checking for _float round functions" >&5
27022 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
27023     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
27024   echo $ECHO_N "(cached) $ECHO_C" >&6
27025 else
27026
27027
27028
27029       ac_ext=cc
27030 ac_cpp='$CXXCPP $CPPFLAGS'
27031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27034
27035       cat >conftest.$ac_ext <<_ACEOF
27036 /* confdefs.h.  */
27037 _ACEOF
27038 cat confdefs.h >>conftest.$ac_ext
27039 cat >>conftest.$ac_ext <<_ACEOF
27040 /* end confdefs.h.  */
27041 #include <math.h>
27042 int
27043 main ()
27044 {
27045 _ceilf (0); _floorf (0);
27046   ;
27047   return 0;
27048 }
27049 _ACEOF
27050 rm -f conftest.$ac_objext
27051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27052   (eval $ac_compile) 2>conftest.er1
27053   ac_status=$?
27054   grep -v '^ *+' conftest.er1 >conftest.err
27055   rm -f conftest.er1
27056   cat conftest.err >&5
27057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27058   (exit $ac_status); } &&
27059          { ac_try='test -z "$ac_cxx_werror_flag"
27060                          || test ! -s conftest.err'
27061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062   (eval $ac_try) 2>&5
27063   ac_status=$?
27064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065   (exit $ac_status); }; } &&
27066          { ac_try='test -s conftest.$ac_objext'
27067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068   (eval $ac_try) 2>&5
27069   ac_status=$?
27070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071   (exit $ac_status); }; }; then
27072   glibcxx_cv_func__float_round_use=yes
27073 else
27074   echo "$as_me: failed program was:" >&5
27075 sed 's/^/| /' conftest.$ac_ext >&5
27076
27077 glibcxx_cv_func__float_round_use=no
27078 fi
27079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27080       ac_ext=c
27081 ac_cpp='$CPP $CPPFLAGS'
27082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27085
27086 fi
27087
27088     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
27089 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
27090     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27091
27092
27093 for ac_func in _ceilf _floorf
27094 do
27095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27096 echo "$as_me:$LINENO: checking for $ac_func" >&5
27097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27098 if eval "test \"\${$as_ac_var+set}\" = set"; then
27099   echo $ECHO_N "(cached) $ECHO_C" >&6
27100 else
27101   if test x$gcc_no_link = xyes; then
27102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27104    { (exit 1); exit 1; }; }
27105 fi
27106 cat >conftest.$ac_ext <<_ACEOF
27107 /* confdefs.h.  */
27108 _ACEOF
27109 cat confdefs.h >>conftest.$ac_ext
27110 cat >>conftest.$ac_ext <<_ACEOF
27111 /* end confdefs.h.  */
27112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27114 #define $ac_func innocuous_$ac_func
27115
27116 /* System header to define __stub macros and hopefully few prototypes,
27117     which can conflict with char $ac_func (); below.
27118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27119     <limits.h> exists even on freestanding compilers.  */
27120
27121 #ifdef __STDC__
27122 # include <limits.h>
27123 #else
27124 # include <assert.h>
27125 #endif
27126
27127 #undef $ac_func
27128
27129 /* Override any gcc2 internal prototype to avoid an error.  */
27130 #ifdef __cplusplus
27131 extern "C"
27132 {
27133 #endif
27134 /* We use char because int might match the return type of a gcc2
27135    builtin and then its argument prototype would still apply.  */
27136 char $ac_func ();
27137 /* The GNU C library defines this for functions which it implements
27138     to always fail with ENOSYS.  Some functions are actually named
27139     something starting with __ and the normal name is an alias.  */
27140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27141 choke me
27142 #else
27143 char (*f) () = $ac_func;
27144 #endif
27145 #ifdef __cplusplus
27146 }
27147 #endif
27148
27149 int
27150 main ()
27151 {
27152 return f != $ac_func;
27153   ;
27154   return 0;
27155 }
27156 _ACEOF
27157 rm -f conftest.$ac_objext conftest$ac_exeext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27159   (eval $ac_link) 2>conftest.er1
27160   ac_status=$?
27161   grep -v '^ *+' conftest.er1 >conftest.err
27162   rm -f conftest.er1
27163   cat conftest.err >&5
27164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165   (exit $ac_status); } &&
27166          { ac_try='test -z "$ac_c_werror_flag"
27167                          || test ! -s conftest.err'
27168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169   (eval $ac_try) 2>&5
27170   ac_status=$?
27171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172   (exit $ac_status); }; } &&
27173          { ac_try='test -s conftest$ac_exeext'
27174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175   (eval $ac_try) 2>&5
27176   ac_status=$?
27177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178   (exit $ac_status); }; }; then
27179   eval "$as_ac_var=yes"
27180 else
27181   echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27183
27184 eval "$as_ac_var=no"
27185 fi
27186 rm -f conftest.err conftest.$ac_objext \
27187       conftest$ac_exeext conftest.$ac_ext
27188 fi
27189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27191 if test `eval echo '${'$as_ac_var'}'` = yes; then
27192   cat >>confdefs.h <<_ACEOF
27193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27194 _ACEOF
27195
27196 fi
27197 done
27198
27199     fi
27200   fi
27201
27202
27203
27204
27205
27206
27207
27208
27209   echo "$as_me:$LINENO: checking for expf declaration" >&5
27210 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27211   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27212     if test "${glibcxx_cv_func_expf_use+set}" = set; then
27213   echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215
27216
27217
27218       ac_ext=cc
27219 ac_cpp='$CXXCPP $CPPFLAGS'
27220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27223
27224       cat >conftest.$ac_ext <<_ACEOF
27225 /* confdefs.h.  */
27226 _ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h.  */
27230 #include <math.h>
27231                       #ifdef HAVE_IEEEFP_H
27232                       #include <ieeefp.h>
27233                       #endif
27234
27235 int
27236 main ()
27237 {
27238  expf(0);
27239   ;
27240   return 0;
27241 }
27242 _ACEOF
27243 rm -f conftest.$ac_objext
27244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27245   (eval $ac_compile) 2>conftest.er1
27246   ac_status=$?
27247   grep -v '^ *+' conftest.er1 >conftest.err
27248   rm -f conftest.er1
27249   cat conftest.err >&5
27250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251   (exit $ac_status); } &&
27252          { ac_try='test -z "$ac_cxx_werror_flag"
27253                          || test ! -s conftest.err'
27254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255   (eval $ac_try) 2>&5
27256   ac_status=$?
27257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258   (exit $ac_status); }; } &&
27259          { ac_try='test -s conftest.$ac_objext'
27260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261   (eval $ac_try) 2>&5
27262   ac_status=$?
27263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264   (exit $ac_status); }; }; then
27265   glibcxx_cv_func_expf_use=yes
27266 else
27267   echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 glibcxx_cv_func_expf_use=no
27271 fi
27272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27273       ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278
27279
27280 fi
27281
27282   fi
27283   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27284 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27285
27286   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27287
27288 for ac_func in expf
27289 do
27290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27291 echo "$as_me:$LINENO: checking for $ac_func" >&5
27292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27293 if eval "test \"\${$as_ac_var+set}\" = set"; then
27294   echo $ECHO_N "(cached) $ECHO_C" >&6
27295 else
27296   if test x$gcc_no_link = xyes; then
27297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27299    { (exit 1); exit 1; }; }
27300 fi
27301 cat >conftest.$ac_ext <<_ACEOF
27302 /* confdefs.h.  */
27303 _ACEOF
27304 cat confdefs.h >>conftest.$ac_ext
27305 cat >>conftest.$ac_ext <<_ACEOF
27306 /* end confdefs.h.  */
27307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27309 #define $ac_func innocuous_$ac_func
27310
27311 /* System header to define __stub macros and hopefully few prototypes,
27312     which can conflict with char $ac_func (); below.
27313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27314     <limits.h> exists even on freestanding compilers.  */
27315
27316 #ifdef __STDC__
27317 # include <limits.h>
27318 #else
27319 # include <assert.h>
27320 #endif
27321
27322 #undef $ac_func
27323
27324 /* Override any gcc2 internal prototype to avoid an error.  */
27325 #ifdef __cplusplus
27326 extern "C"
27327 {
27328 #endif
27329 /* We use char because int might match the return type of a gcc2
27330    builtin and then its argument prototype would still apply.  */
27331 char $ac_func ();
27332 /* The GNU C library defines this for functions which it implements
27333     to always fail with ENOSYS.  Some functions are actually named
27334     something starting with __ and the normal name is an alias.  */
27335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27336 choke me
27337 #else
27338 char (*f) () = $ac_func;
27339 #endif
27340 #ifdef __cplusplus
27341 }
27342 #endif
27343
27344 int
27345 main ()
27346 {
27347 return f != $ac_func;
27348   ;
27349   return 0;
27350 }
27351 _ACEOF
27352 rm -f conftest.$ac_objext conftest$ac_exeext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27354   (eval $ac_link) 2>conftest.er1
27355   ac_status=$?
27356   grep -v '^ *+' conftest.er1 >conftest.err
27357   rm -f conftest.er1
27358   cat conftest.err >&5
27359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360   (exit $ac_status); } &&
27361          { ac_try='test -z "$ac_c_werror_flag"
27362                          || test ! -s conftest.err'
27363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364   (eval $ac_try) 2>&5
27365   ac_status=$?
27366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367   (exit $ac_status); }; } &&
27368          { ac_try='test -s conftest$ac_exeext'
27369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370   (eval $ac_try) 2>&5
27371   ac_status=$?
27372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373   (exit $ac_status); }; }; then
27374   eval "$as_ac_var=yes"
27375 else
27376   echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27378
27379 eval "$as_ac_var=no"
27380 fi
27381 rm -f conftest.err conftest.$ac_objext \
27382       conftest$ac_exeext conftest.$ac_ext
27383 fi
27384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27386 if test `eval echo '${'$as_ac_var'}'` = yes; then
27387   cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27389 _ACEOF
27390
27391 fi
27392 done
27393
27394   else
27395
27396   echo "$as_me:$LINENO: checking for _expf declaration" >&5
27397 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27398   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27399     if test "${glibcxx_cv_func__expf_use+set}" = set; then
27400   echo $ECHO_N "(cached) $ECHO_C" >&6
27401 else
27402
27403
27404
27405       ac_ext=cc
27406 ac_cpp='$CXXCPP $CPPFLAGS'
27407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27410
27411       cat >conftest.$ac_ext <<_ACEOF
27412 /* confdefs.h.  */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h.  */
27417 #include <math.h>
27418                       #ifdef HAVE_IEEEFP_H
27419                       #include <ieeefp.h>
27420                       #endif
27421
27422 int
27423 main ()
27424 {
27425  _expf(0);
27426   ;
27427   return 0;
27428 }
27429 _ACEOF
27430 rm -f conftest.$ac_objext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27432   (eval $ac_compile) 2>conftest.er1
27433   ac_status=$?
27434   grep -v '^ *+' conftest.er1 >conftest.err
27435   rm -f conftest.er1
27436   cat conftest.err >&5
27437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438   (exit $ac_status); } &&
27439          { ac_try='test -z "$ac_cxx_werror_flag"
27440                          || test ! -s conftest.err'
27441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442   (eval $ac_try) 2>&5
27443   ac_status=$?
27444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445   (exit $ac_status); }; } &&
27446          { ac_try='test -s conftest.$ac_objext'
27447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448   (eval $ac_try) 2>&5
27449   ac_status=$?
27450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451   (exit $ac_status); }; }; then
27452   glibcxx_cv_func__expf_use=yes
27453 else
27454   echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27456
27457 glibcxx_cv_func__expf_use=no
27458 fi
27459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27460       ac_ext=c
27461 ac_cpp='$CPP $CPPFLAGS'
27462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27465
27466
27467 fi
27468
27469   fi
27470   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27471 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27472
27473     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27474
27475 for ac_func in _expf
27476 do
27477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27478 echo "$as_me:$LINENO: checking for $ac_func" >&5
27479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27480 if eval "test \"\${$as_ac_var+set}\" = set"; then
27481   echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27483   if test x$gcc_no_link = xyes; then
27484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27486    { (exit 1); exit 1; }; }
27487 fi
27488 cat >conftest.$ac_ext <<_ACEOF
27489 /* confdefs.h.  */
27490 _ACEOF
27491 cat confdefs.h >>conftest.$ac_ext
27492 cat >>conftest.$ac_ext <<_ACEOF
27493 /* end confdefs.h.  */
27494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27496 #define $ac_func innocuous_$ac_func
27497
27498 /* System header to define __stub macros and hopefully few prototypes,
27499     which can conflict with char $ac_func (); below.
27500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27501     <limits.h> exists even on freestanding compilers.  */
27502
27503 #ifdef __STDC__
27504 # include <limits.h>
27505 #else
27506 # include <assert.h>
27507 #endif
27508
27509 #undef $ac_func
27510
27511 /* Override any gcc2 internal prototype to avoid an error.  */
27512 #ifdef __cplusplus
27513 extern "C"
27514 {
27515 #endif
27516 /* We use char because int might match the return type of a gcc2
27517    builtin and then its argument prototype would still apply.  */
27518 char $ac_func ();
27519 /* The GNU C library defines this for functions which it implements
27520     to always fail with ENOSYS.  Some functions are actually named
27521     something starting with __ and the normal name is an alias.  */
27522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27523 choke me
27524 #else
27525 char (*f) () = $ac_func;
27526 #endif
27527 #ifdef __cplusplus
27528 }
27529 #endif
27530
27531 int
27532 main ()
27533 {
27534 return f != $ac_func;
27535   ;
27536   return 0;
27537 }
27538 _ACEOF
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27541   (eval $ac_link) 2>conftest.er1
27542   ac_status=$?
27543   grep -v '^ *+' conftest.er1 >conftest.err
27544   rm -f conftest.er1
27545   cat conftest.err >&5
27546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547   (exit $ac_status); } &&
27548          { ac_try='test -z "$ac_c_werror_flag"
27549                          || test ! -s conftest.err'
27550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27551   (eval $ac_try) 2>&5
27552   ac_status=$?
27553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554   (exit $ac_status); }; } &&
27555          { ac_try='test -s conftest$ac_exeext'
27556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557   (eval $ac_try) 2>&5
27558   ac_status=$?
27559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560   (exit $ac_status); }; }; then
27561   eval "$as_ac_var=yes"
27562 else
27563   echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 eval "$as_ac_var=no"
27567 fi
27568 rm -f conftest.err conftest.$ac_objext \
27569       conftest$ac_exeext conftest.$ac_ext
27570 fi
27571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27573 if test `eval echo '${'$as_ac_var'}'` = yes; then
27574   cat >>confdefs.h <<_ACEOF
27575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27576 _ACEOF
27577
27578 fi
27579 done
27580
27581     fi
27582   fi
27583
27584
27585
27586
27587
27588
27589   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27590 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27591   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27592     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27593   echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595
27596
27597
27598       ac_ext=cc
27599 ac_cpp='$CXXCPP $CPPFLAGS'
27600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603
27604       cat >conftest.$ac_ext <<_ACEOF
27605 /* confdefs.h.  */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h.  */
27610 #include <math.h>
27611                       #ifdef HAVE_IEEEFP_H
27612                       #include <ieeefp.h>
27613                       #endif
27614
27615 int
27616 main ()
27617 {
27618  isnanf(0);
27619   ;
27620   return 0;
27621 }
27622 _ACEOF
27623 rm -f conftest.$ac_objext
27624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27625   (eval $ac_compile) 2>conftest.er1
27626   ac_status=$?
27627   grep -v '^ *+' conftest.er1 >conftest.err
27628   rm -f conftest.er1
27629   cat conftest.err >&5
27630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631   (exit $ac_status); } &&
27632          { ac_try='test -z "$ac_cxx_werror_flag"
27633                          || test ! -s conftest.err'
27634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27635   (eval $ac_try) 2>&5
27636   ac_status=$?
27637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638   (exit $ac_status); }; } &&
27639          { ac_try='test -s conftest.$ac_objext'
27640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27641   (eval $ac_try) 2>&5
27642   ac_status=$?
27643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644   (exit $ac_status); }; }; then
27645   glibcxx_cv_func_isnanf_use=yes
27646 else
27647   echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 glibcxx_cv_func_isnanf_use=no
27651 fi
27652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27653       ac_ext=c
27654 ac_cpp='$CPP $CPPFLAGS'
27655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27658
27659
27660 fi
27661
27662   fi
27663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27664 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27665
27666   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27667
27668 for ac_func in isnanf
27669 do
27670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27671 echo "$as_me:$LINENO: checking for $ac_func" >&5
27672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27673 if eval "test \"\${$as_ac_var+set}\" = set"; then
27674   echo $ECHO_N "(cached) $ECHO_C" >&6
27675 else
27676   if test x$gcc_no_link = xyes; then
27677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27679    { (exit 1); exit 1; }; }
27680 fi
27681 cat >conftest.$ac_ext <<_ACEOF
27682 /* confdefs.h.  */
27683 _ACEOF
27684 cat confdefs.h >>conftest.$ac_ext
27685 cat >>conftest.$ac_ext <<_ACEOF
27686 /* end confdefs.h.  */
27687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27689 #define $ac_func innocuous_$ac_func
27690
27691 /* System header to define __stub macros and hopefully few prototypes,
27692     which can conflict with char $ac_func (); below.
27693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27694     <limits.h> exists even on freestanding compilers.  */
27695
27696 #ifdef __STDC__
27697 # include <limits.h>
27698 #else
27699 # include <assert.h>
27700 #endif
27701
27702 #undef $ac_func
27703
27704 /* Override any gcc2 internal prototype to avoid an error.  */
27705 #ifdef __cplusplus
27706 extern "C"
27707 {
27708 #endif
27709 /* We use char because int might match the return type of a gcc2
27710    builtin and then its argument prototype would still apply.  */
27711 char $ac_func ();
27712 /* The GNU C library defines this for functions which it implements
27713     to always fail with ENOSYS.  Some functions are actually named
27714     something starting with __ and the normal name is an alias.  */
27715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27716 choke me
27717 #else
27718 char (*f) () = $ac_func;
27719 #endif
27720 #ifdef __cplusplus
27721 }
27722 #endif
27723
27724 int
27725 main ()
27726 {
27727 return f != $ac_func;
27728   ;
27729   return 0;
27730 }
27731 _ACEOF
27732 rm -f conftest.$ac_objext conftest$ac_exeext
27733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27734   (eval $ac_link) 2>conftest.er1
27735   ac_status=$?
27736   grep -v '^ *+' conftest.er1 >conftest.err
27737   rm -f conftest.er1
27738   cat conftest.err >&5
27739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740   (exit $ac_status); } &&
27741          { ac_try='test -z "$ac_c_werror_flag"
27742                          || test ! -s conftest.err'
27743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744   (eval $ac_try) 2>&5
27745   ac_status=$?
27746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747   (exit $ac_status); }; } &&
27748          { ac_try='test -s conftest$ac_exeext'
27749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27750   (eval $ac_try) 2>&5
27751   ac_status=$?
27752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753   (exit $ac_status); }; }; then
27754   eval "$as_ac_var=yes"
27755 else
27756   echo "$as_me: failed program was:" >&5
27757 sed 's/^/| /' conftest.$ac_ext >&5
27758
27759 eval "$as_ac_var=no"
27760 fi
27761 rm -f conftest.err conftest.$ac_objext \
27762       conftest$ac_exeext conftest.$ac_ext
27763 fi
27764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27766 if test `eval echo '${'$as_ac_var'}'` = yes; then
27767   cat >>confdefs.h <<_ACEOF
27768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27769 _ACEOF
27770
27771 fi
27772 done
27773
27774   else
27775
27776   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27777 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27778   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27779     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27780   echo $ECHO_N "(cached) $ECHO_C" >&6
27781 else
27782
27783
27784
27785       ac_ext=cc
27786 ac_cpp='$CXXCPP $CPPFLAGS'
27787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27790
27791       cat >conftest.$ac_ext <<_ACEOF
27792 /* confdefs.h.  */
27793 _ACEOF
27794 cat confdefs.h >>conftest.$ac_ext
27795 cat >>conftest.$ac_ext <<_ACEOF
27796 /* end confdefs.h.  */
27797 #include <math.h>
27798                       #ifdef HAVE_IEEEFP_H
27799                       #include <ieeefp.h>
27800                       #endif
27801
27802 int
27803 main ()
27804 {
27805  _isnanf(0);
27806   ;
27807   return 0;
27808 }
27809 _ACEOF
27810 rm -f conftest.$ac_objext
27811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27812   (eval $ac_compile) 2>conftest.er1
27813   ac_status=$?
27814   grep -v '^ *+' conftest.er1 >conftest.err
27815   rm -f conftest.er1
27816   cat conftest.err >&5
27817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818   (exit $ac_status); } &&
27819          { ac_try='test -z "$ac_cxx_werror_flag"
27820                          || test ! -s conftest.err'
27821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27822   (eval $ac_try) 2>&5
27823   ac_status=$?
27824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825   (exit $ac_status); }; } &&
27826          { ac_try='test -s conftest.$ac_objext'
27827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828   (eval $ac_try) 2>&5
27829   ac_status=$?
27830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831   (exit $ac_status); }; }; then
27832   glibcxx_cv_func__isnanf_use=yes
27833 else
27834   echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27836
27837 glibcxx_cv_func__isnanf_use=no
27838 fi
27839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27840       ac_ext=c
27841 ac_cpp='$CPP $CPPFLAGS'
27842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27845
27846
27847 fi
27848
27849   fi
27850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27851 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27852
27853     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27854
27855 for ac_func in _isnanf
27856 do
27857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27858 echo "$as_me:$LINENO: checking for $ac_func" >&5
27859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27860 if eval "test \"\${$as_ac_var+set}\" = set"; then
27861   echo $ECHO_N "(cached) $ECHO_C" >&6
27862 else
27863   if test x$gcc_no_link = xyes; then
27864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27866    { (exit 1); exit 1; }; }
27867 fi
27868 cat >conftest.$ac_ext <<_ACEOF
27869 /* confdefs.h.  */
27870 _ACEOF
27871 cat confdefs.h >>conftest.$ac_ext
27872 cat >>conftest.$ac_ext <<_ACEOF
27873 /* end confdefs.h.  */
27874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27876 #define $ac_func innocuous_$ac_func
27877
27878 /* System header to define __stub macros and hopefully few prototypes,
27879     which can conflict with char $ac_func (); below.
27880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27881     <limits.h> exists even on freestanding compilers.  */
27882
27883 #ifdef __STDC__
27884 # include <limits.h>
27885 #else
27886 # include <assert.h>
27887 #endif
27888
27889 #undef $ac_func
27890
27891 /* Override any gcc2 internal prototype to avoid an error.  */
27892 #ifdef __cplusplus
27893 extern "C"
27894 {
27895 #endif
27896 /* We use char because int might match the return type of a gcc2
27897    builtin and then its argument prototype would still apply.  */
27898 char $ac_func ();
27899 /* The GNU C library defines this for functions which it implements
27900     to always fail with ENOSYS.  Some functions are actually named
27901     something starting with __ and the normal name is an alias.  */
27902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27903 choke me
27904 #else
27905 char (*f) () = $ac_func;
27906 #endif
27907 #ifdef __cplusplus
27908 }
27909 #endif
27910
27911 int
27912 main ()
27913 {
27914 return f != $ac_func;
27915   ;
27916   return 0;
27917 }
27918 _ACEOF
27919 rm -f conftest.$ac_objext conftest$ac_exeext
27920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27921   (eval $ac_link) 2>conftest.er1
27922   ac_status=$?
27923   grep -v '^ *+' conftest.er1 >conftest.err
27924   rm -f conftest.er1
27925   cat conftest.err >&5
27926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927   (exit $ac_status); } &&
27928          { ac_try='test -z "$ac_c_werror_flag"
27929                          || test ! -s conftest.err'
27930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27931   (eval $ac_try) 2>&5
27932   ac_status=$?
27933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934   (exit $ac_status); }; } &&
27935          { ac_try='test -s conftest$ac_exeext'
27936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27937   (eval $ac_try) 2>&5
27938   ac_status=$?
27939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940   (exit $ac_status); }; }; then
27941   eval "$as_ac_var=yes"
27942 else
27943   echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.$ac_ext >&5
27945
27946 eval "$as_ac_var=no"
27947 fi
27948 rm -f conftest.err conftest.$ac_objext \
27949       conftest$ac_exeext conftest.$ac_ext
27950 fi
27951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27953 if test `eval echo '${'$as_ac_var'}'` = yes; then
27954   cat >>confdefs.h <<_ACEOF
27955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27956 _ACEOF
27957
27958 fi
27959 done
27960
27961     fi
27962   fi
27963
27964
27965
27966
27967
27968
27969   echo "$as_me:$LINENO: checking for isinff declaration" >&5
27970 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27971   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27972     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27973   echo $ECHO_N "(cached) $ECHO_C" >&6
27974 else
27975
27976
27977
27978       ac_ext=cc
27979 ac_cpp='$CXXCPP $CPPFLAGS'
27980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27983
27984       cat >conftest.$ac_ext <<_ACEOF
27985 /* confdefs.h.  */
27986 _ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h.  */
27990 #include <math.h>
27991                       #ifdef HAVE_IEEEFP_H
27992                       #include <ieeefp.h>
27993                       #endif
27994
27995 int
27996 main ()
27997 {
27998  isinff(0);
27999   ;
28000   return 0;
28001 }
28002 _ACEOF
28003 rm -f conftest.$ac_objext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28005   (eval $ac_compile) 2>conftest.er1
28006   ac_status=$?
28007   grep -v '^ *+' conftest.er1 >conftest.err
28008   rm -f conftest.er1
28009   cat conftest.err >&5
28010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011   (exit $ac_status); } &&
28012          { ac_try='test -z "$ac_cxx_werror_flag"
28013                          || test ! -s conftest.err'
28014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28015   (eval $ac_try) 2>&5
28016   ac_status=$?
28017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018   (exit $ac_status); }; } &&
28019          { ac_try='test -s conftest.$ac_objext'
28020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021   (eval $ac_try) 2>&5
28022   ac_status=$?
28023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024   (exit $ac_status); }; }; then
28025   glibcxx_cv_func_isinff_use=yes
28026 else
28027   echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28029
28030 glibcxx_cv_func_isinff_use=no
28031 fi
28032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28033       ac_ext=c
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038
28039
28040 fi
28041
28042   fi
28043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
28044 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
28045
28046   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28047
28048 for ac_func in isinff
28049 do
28050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28051 echo "$as_me:$LINENO: checking for $ac_func" >&5
28052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28053 if eval "test \"\${$as_ac_var+set}\" = set"; then
28054   echo $ECHO_N "(cached) $ECHO_C" >&6
28055 else
28056   if test x$gcc_no_link = xyes; then
28057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28059    { (exit 1); exit 1; }; }
28060 fi
28061 cat >conftest.$ac_ext <<_ACEOF
28062 /* confdefs.h.  */
28063 _ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h.  */
28067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28069 #define $ac_func innocuous_$ac_func
28070
28071 /* System header to define __stub macros and hopefully few prototypes,
28072     which can conflict with char $ac_func (); below.
28073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28074     <limits.h> exists even on freestanding compilers.  */
28075
28076 #ifdef __STDC__
28077 # include <limits.h>
28078 #else
28079 # include <assert.h>
28080 #endif
28081
28082 #undef $ac_func
28083
28084 /* Override any gcc2 internal prototype to avoid an error.  */
28085 #ifdef __cplusplus
28086 extern "C"
28087 {
28088 #endif
28089 /* We use char because int might match the return type of a gcc2
28090    builtin and then its argument prototype would still apply.  */
28091 char $ac_func ();
28092 /* The GNU C library defines this for functions which it implements
28093     to always fail with ENOSYS.  Some functions are actually named
28094     something starting with __ and the normal name is an alias.  */
28095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28096 choke me
28097 #else
28098 char (*f) () = $ac_func;
28099 #endif
28100 #ifdef __cplusplus
28101 }
28102 #endif
28103
28104 int
28105 main ()
28106 {
28107 return f != $ac_func;
28108   ;
28109   return 0;
28110 }
28111 _ACEOF
28112 rm -f conftest.$ac_objext conftest$ac_exeext
28113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28114   (eval $ac_link) 2>conftest.er1
28115   ac_status=$?
28116   grep -v '^ *+' conftest.er1 >conftest.err
28117   rm -f conftest.er1
28118   cat conftest.err >&5
28119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120   (exit $ac_status); } &&
28121          { ac_try='test -z "$ac_c_werror_flag"
28122                          || test ! -s conftest.err'
28123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124   (eval $ac_try) 2>&5
28125   ac_status=$?
28126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127   (exit $ac_status); }; } &&
28128          { ac_try='test -s conftest$ac_exeext'
28129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28130   (eval $ac_try) 2>&5
28131   ac_status=$?
28132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28133   (exit $ac_status); }; }; then
28134   eval "$as_ac_var=yes"
28135 else
28136   echo "$as_me: failed program was:" >&5
28137 sed 's/^/| /' conftest.$ac_ext >&5
28138
28139 eval "$as_ac_var=no"
28140 fi
28141 rm -f conftest.err conftest.$ac_objext \
28142       conftest$ac_exeext conftest.$ac_ext
28143 fi
28144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28146 if test `eval echo '${'$as_ac_var'}'` = yes; then
28147   cat >>confdefs.h <<_ACEOF
28148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28149 _ACEOF
28150
28151 fi
28152 done
28153
28154   else
28155
28156   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28157 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28158   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28159     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28160   echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162
28163
28164
28165       ac_ext=cc
28166 ac_cpp='$CXXCPP $CPPFLAGS'
28167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28170
28171       cat >conftest.$ac_ext <<_ACEOF
28172 /* confdefs.h.  */
28173 _ACEOF
28174 cat confdefs.h >>conftest.$ac_ext
28175 cat >>conftest.$ac_ext <<_ACEOF
28176 /* end confdefs.h.  */
28177 #include <math.h>
28178                       #ifdef HAVE_IEEEFP_H
28179                       #include <ieeefp.h>
28180                       #endif
28181
28182 int
28183 main ()
28184 {
28185  _isinff(0);
28186   ;
28187   return 0;
28188 }
28189 _ACEOF
28190 rm -f conftest.$ac_objext
28191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28192   (eval $ac_compile) 2>conftest.er1
28193   ac_status=$?
28194   grep -v '^ *+' conftest.er1 >conftest.err
28195   rm -f conftest.er1
28196   cat conftest.err >&5
28197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198   (exit $ac_status); } &&
28199          { ac_try='test -z "$ac_cxx_werror_flag"
28200                          || test ! -s conftest.err'
28201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202   (eval $ac_try) 2>&5
28203   ac_status=$?
28204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205   (exit $ac_status); }; } &&
28206          { ac_try='test -s conftest.$ac_objext'
28207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208   (eval $ac_try) 2>&5
28209   ac_status=$?
28210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211   (exit $ac_status); }; }; then
28212   glibcxx_cv_func__isinff_use=yes
28213 else
28214   echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28216
28217 glibcxx_cv_func__isinff_use=no
28218 fi
28219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28220       ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225
28226
28227 fi
28228
28229   fi
28230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28231 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28232
28233     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28234
28235 for ac_func in _isinff
28236 do
28237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28238 echo "$as_me:$LINENO: checking for $ac_func" >&5
28239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28240 if eval "test \"\${$as_ac_var+set}\" = set"; then
28241   echo $ECHO_N "(cached) $ECHO_C" >&6
28242 else
28243   if test x$gcc_no_link = xyes; then
28244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28246    { (exit 1); exit 1; }; }
28247 fi
28248 cat >conftest.$ac_ext <<_ACEOF
28249 /* confdefs.h.  */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h.  */
28254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28256 #define $ac_func innocuous_$ac_func
28257
28258 /* System header to define __stub macros and hopefully few prototypes,
28259     which can conflict with char $ac_func (); below.
28260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28261     <limits.h> exists even on freestanding compilers.  */
28262
28263 #ifdef __STDC__
28264 # include <limits.h>
28265 #else
28266 # include <assert.h>
28267 #endif
28268
28269 #undef $ac_func
28270
28271 /* Override any gcc2 internal prototype to avoid an error.  */
28272 #ifdef __cplusplus
28273 extern "C"
28274 {
28275 #endif
28276 /* We use char because int might match the return type of a gcc2
28277    builtin and then its argument prototype would still apply.  */
28278 char $ac_func ();
28279 /* The GNU C library defines this for functions which it implements
28280     to always fail with ENOSYS.  Some functions are actually named
28281     something starting with __ and the normal name is an alias.  */
28282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28283 choke me
28284 #else
28285 char (*f) () = $ac_func;
28286 #endif
28287 #ifdef __cplusplus
28288 }
28289 #endif
28290
28291 int
28292 main ()
28293 {
28294 return f != $ac_func;
28295   ;
28296   return 0;
28297 }
28298 _ACEOF
28299 rm -f conftest.$ac_objext conftest$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301   (eval $ac_link) 2>conftest.er1
28302   ac_status=$?
28303   grep -v '^ *+' conftest.er1 >conftest.err
28304   rm -f conftest.er1
28305   cat conftest.err >&5
28306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307   (exit $ac_status); } &&
28308          { ac_try='test -z "$ac_c_werror_flag"
28309                          || test ! -s conftest.err'
28310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311   (eval $ac_try) 2>&5
28312   ac_status=$?
28313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314   (exit $ac_status); }; } &&
28315          { ac_try='test -s conftest$ac_exeext'
28316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317   (eval $ac_try) 2>&5
28318   ac_status=$?
28319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320   (exit $ac_status); }; }; then
28321   eval "$as_ac_var=yes"
28322 else
28323   echo "$as_me: failed program was:" >&5
28324 sed 's/^/| /' conftest.$ac_ext >&5
28325
28326 eval "$as_ac_var=no"
28327 fi
28328 rm -f conftest.err conftest.$ac_objext \
28329       conftest$ac_exeext conftest.$ac_ext
28330 fi
28331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28333 if test `eval echo '${'$as_ac_var'}'` = yes; then
28334   cat >>confdefs.h <<_ACEOF
28335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28336 _ACEOF
28337
28338 fi
28339 done
28340
28341     fi
28342   fi
28343
28344
28345
28346
28347
28348
28349   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28350 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28351   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28352     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28353   echo $ECHO_N "(cached) $ECHO_C" >&6
28354 else
28355
28356
28357
28358       ac_ext=cc
28359 ac_cpp='$CXXCPP $CPPFLAGS'
28360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28363
28364       cat >conftest.$ac_ext <<_ACEOF
28365 /* confdefs.h.  */
28366 _ACEOF
28367 cat confdefs.h >>conftest.$ac_ext
28368 cat >>conftest.$ac_ext <<_ACEOF
28369 /* end confdefs.h.  */
28370 #include <math.h>
28371 int
28372 main ()
28373 {
28374  atan2f(0, 0);
28375   ;
28376   return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext
28380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28381   (eval $ac_compile) 2>conftest.er1
28382   ac_status=$?
28383   grep -v '^ *+' conftest.er1 >conftest.err
28384   rm -f conftest.er1
28385   cat conftest.err >&5
28386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28387   (exit $ac_status); } &&
28388          { ac_try='test -z "$ac_cxx_werror_flag"
28389                          || test ! -s conftest.err'
28390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28391   (eval $ac_try) 2>&5
28392   ac_status=$?
28393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394   (exit $ac_status); }; } &&
28395          { ac_try='test -s conftest.$ac_objext'
28396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28397   (eval $ac_try) 2>&5
28398   ac_status=$?
28399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28400   (exit $ac_status); }; }; then
28401   glibcxx_cv_func_atan2f_use=yes
28402 else
28403   echo "$as_me: failed program was:" >&5
28404 sed 's/^/| /' conftest.$ac_ext >&5
28405
28406 glibcxx_cv_func_atan2f_use=no
28407 fi
28408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28409       ac_ext=c
28410 ac_cpp='$CPP $CPPFLAGS'
28411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28414
28415
28416 fi
28417
28418   fi
28419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28420 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28421
28422   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28423
28424 for ac_func in atan2f
28425 do
28426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28427 echo "$as_me:$LINENO: checking for $ac_func" >&5
28428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28429 if eval "test \"\${$as_ac_var+set}\" = set"; then
28430   echo $ECHO_N "(cached) $ECHO_C" >&6
28431 else
28432   if test x$gcc_no_link = xyes; then
28433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28435    { (exit 1); exit 1; }; }
28436 fi
28437 cat >conftest.$ac_ext <<_ACEOF
28438 /* confdefs.h.  */
28439 _ACEOF
28440 cat confdefs.h >>conftest.$ac_ext
28441 cat >>conftest.$ac_ext <<_ACEOF
28442 /* end confdefs.h.  */
28443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28445 #define $ac_func innocuous_$ac_func
28446
28447 /* System header to define __stub macros and hopefully few prototypes,
28448     which can conflict with char $ac_func (); below.
28449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28450     <limits.h> exists even on freestanding compilers.  */
28451
28452 #ifdef __STDC__
28453 # include <limits.h>
28454 #else
28455 # include <assert.h>
28456 #endif
28457
28458 #undef $ac_func
28459
28460 /* Override any gcc2 internal prototype to avoid an error.  */
28461 #ifdef __cplusplus
28462 extern "C"
28463 {
28464 #endif
28465 /* We use char because int might match the return type of a gcc2
28466    builtin and then its argument prototype would still apply.  */
28467 char $ac_func ();
28468 /* The GNU C library defines this for functions which it implements
28469     to always fail with ENOSYS.  Some functions are actually named
28470     something starting with __ and the normal name is an alias.  */
28471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28472 choke me
28473 #else
28474 char (*f) () = $ac_func;
28475 #endif
28476 #ifdef __cplusplus
28477 }
28478 #endif
28479
28480 int
28481 main ()
28482 {
28483 return f != $ac_func;
28484   ;
28485   return 0;
28486 }
28487 _ACEOF
28488 rm -f conftest.$ac_objext conftest$ac_exeext
28489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28490   (eval $ac_link) 2>conftest.er1
28491   ac_status=$?
28492   grep -v '^ *+' conftest.er1 >conftest.err
28493   rm -f conftest.er1
28494   cat conftest.err >&5
28495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496   (exit $ac_status); } &&
28497          { ac_try='test -z "$ac_c_werror_flag"
28498                          || test ! -s conftest.err'
28499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500   (eval $ac_try) 2>&5
28501   ac_status=$?
28502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503   (exit $ac_status); }; } &&
28504          { ac_try='test -s conftest$ac_exeext'
28505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506   (eval $ac_try) 2>&5
28507   ac_status=$?
28508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509   (exit $ac_status); }; }; then
28510   eval "$as_ac_var=yes"
28511 else
28512   echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515 eval "$as_ac_var=no"
28516 fi
28517 rm -f conftest.err conftest.$ac_objext \
28518       conftest$ac_exeext conftest.$ac_ext
28519 fi
28520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28522 if test `eval echo '${'$as_ac_var'}'` = yes; then
28523   cat >>confdefs.h <<_ACEOF
28524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28525 _ACEOF
28526
28527 fi
28528 done
28529
28530   else
28531
28532   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28533 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28534   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28535     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28536   echo $ECHO_N "(cached) $ECHO_C" >&6
28537 else
28538
28539
28540
28541       ac_ext=cc
28542 ac_cpp='$CXXCPP $CPPFLAGS'
28543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28546
28547       cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h.  */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h.  */
28553 #include <math.h>
28554 int
28555 main ()
28556 {
28557  _atan2f(0, 0);
28558   ;
28559   return 0;
28560 }
28561 _ACEOF
28562 rm -f conftest.$ac_objext
28563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28564   (eval $ac_compile) 2>conftest.er1
28565   ac_status=$?
28566   grep -v '^ *+' conftest.er1 >conftest.err
28567   rm -f conftest.er1
28568   cat conftest.err >&5
28569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570   (exit $ac_status); } &&
28571          { ac_try='test -z "$ac_cxx_werror_flag"
28572                          || test ! -s conftest.err'
28573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28574   (eval $ac_try) 2>&5
28575   ac_status=$?
28576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28577   (exit $ac_status); }; } &&
28578          { ac_try='test -s conftest.$ac_objext'
28579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28580   (eval $ac_try) 2>&5
28581   ac_status=$?
28582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583   (exit $ac_status); }; }; then
28584   glibcxx_cv_func__atan2f_use=yes
28585 else
28586   echo "$as_me: failed program was:" >&5
28587 sed 's/^/| /' conftest.$ac_ext >&5
28588
28589 glibcxx_cv_func__atan2f_use=no
28590 fi
28591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28592       ac_ext=c
28593 ac_cpp='$CPP $CPPFLAGS'
28594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28597
28598
28599 fi
28600
28601   fi
28602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28603 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28604
28605     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28606
28607 for ac_func in _atan2f
28608 do
28609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28610 echo "$as_me:$LINENO: checking for $ac_func" >&5
28611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28612 if eval "test \"\${$as_ac_var+set}\" = set"; then
28613   echo $ECHO_N "(cached) $ECHO_C" >&6
28614 else
28615   if test x$gcc_no_link = xyes; then
28616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28618    { (exit 1); exit 1; }; }
28619 fi
28620 cat >conftest.$ac_ext <<_ACEOF
28621 /* confdefs.h.  */
28622 _ACEOF
28623 cat confdefs.h >>conftest.$ac_ext
28624 cat >>conftest.$ac_ext <<_ACEOF
28625 /* end confdefs.h.  */
28626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28628 #define $ac_func innocuous_$ac_func
28629
28630 /* System header to define __stub macros and hopefully few prototypes,
28631     which can conflict with char $ac_func (); below.
28632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28633     <limits.h> exists even on freestanding compilers.  */
28634
28635 #ifdef __STDC__
28636 # include <limits.h>
28637 #else
28638 # include <assert.h>
28639 #endif
28640
28641 #undef $ac_func
28642
28643 /* Override any gcc2 internal prototype to avoid an error.  */
28644 #ifdef __cplusplus
28645 extern "C"
28646 {
28647 #endif
28648 /* We use char because int might match the return type of a gcc2
28649    builtin and then its argument prototype would still apply.  */
28650 char $ac_func ();
28651 /* The GNU C library defines this for functions which it implements
28652     to always fail with ENOSYS.  Some functions are actually named
28653     something starting with __ and the normal name is an alias.  */
28654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28655 choke me
28656 #else
28657 char (*f) () = $ac_func;
28658 #endif
28659 #ifdef __cplusplus
28660 }
28661 #endif
28662
28663 int
28664 main ()
28665 {
28666 return f != $ac_func;
28667   ;
28668   return 0;
28669 }
28670 _ACEOF
28671 rm -f conftest.$ac_objext conftest$ac_exeext
28672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28673   (eval $ac_link) 2>conftest.er1
28674   ac_status=$?
28675   grep -v '^ *+' conftest.er1 >conftest.err
28676   rm -f conftest.er1
28677   cat conftest.err >&5
28678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679   (exit $ac_status); } &&
28680          { ac_try='test -z "$ac_c_werror_flag"
28681                          || test ! -s conftest.err'
28682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28683   (eval $ac_try) 2>&5
28684   ac_status=$?
28685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686   (exit $ac_status); }; } &&
28687          { ac_try='test -s conftest$ac_exeext'
28688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689   (eval $ac_try) 2>&5
28690   ac_status=$?
28691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692   (exit $ac_status); }; }; then
28693   eval "$as_ac_var=yes"
28694 else
28695   echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28697
28698 eval "$as_ac_var=no"
28699 fi
28700 rm -f conftest.err conftest.$ac_objext \
28701       conftest$ac_exeext conftest.$ac_ext
28702 fi
28703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28705 if test `eval echo '${'$as_ac_var'}'` = yes; then
28706   cat >>confdefs.h <<_ACEOF
28707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28708 _ACEOF
28709
28710 fi
28711 done
28712
28713     fi
28714   fi
28715
28716
28717
28718
28719
28720
28721   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28722 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28723   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28724     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28725   echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727
28728
28729
28730       ac_ext=cc
28731 ac_cpp='$CXXCPP $CPPFLAGS'
28732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28735
28736       cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h.  */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h.  */
28742 #include <math.h>
28743                       #ifdef HAVE_IEEEFP_H
28744                       #include <ieeefp.h>
28745                       #endif
28746
28747 int
28748 main ()
28749 {
28750  fabsf(0);
28751   ;
28752   return 0;
28753 }
28754 _ACEOF
28755 rm -f conftest.$ac_objext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28757   (eval $ac_compile) 2>conftest.er1
28758   ac_status=$?
28759   grep -v '^ *+' conftest.er1 >conftest.err
28760   rm -f conftest.er1
28761   cat conftest.err >&5
28762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763   (exit $ac_status); } &&
28764          { ac_try='test -z "$ac_cxx_werror_flag"
28765                          || test ! -s conftest.err'
28766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767   (eval $ac_try) 2>&5
28768   ac_status=$?
28769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770   (exit $ac_status); }; } &&
28771          { ac_try='test -s conftest.$ac_objext'
28772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773   (eval $ac_try) 2>&5
28774   ac_status=$?
28775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776   (exit $ac_status); }; }; then
28777   glibcxx_cv_func_fabsf_use=yes
28778 else
28779   echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28781
28782 glibcxx_cv_func_fabsf_use=no
28783 fi
28784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28785       ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28790
28791
28792 fi
28793
28794   fi
28795   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28796 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28797
28798   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28799
28800 for ac_func in fabsf
28801 do
28802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28803 echo "$as_me:$LINENO: checking for $ac_func" >&5
28804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28805 if eval "test \"\${$as_ac_var+set}\" = set"; then
28806   echo $ECHO_N "(cached) $ECHO_C" >&6
28807 else
28808   if test x$gcc_no_link = xyes; then
28809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28811    { (exit 1); exit 1; }; }
28812 fi
28813 cat >conftest.$ac_ext <<_ACEOF
28814 /* confdefs.h.  */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h.  */
28819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28821 #define $ac_func innocuous_$ac_func
28822
28823 /* System header to define __stub macros and hopefully few prototypes,
28824     which can conflict with char $ac_func (); below.
28825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28826     <limits.h> exists even on freestanding compilers.  */
28827
28828 #ifdef __STDC__
28829 # include <limits.h>
28830 #else
28831 # include <assert.h>
28832 #endif
28833
28834 #undef $ac_func
28835
28836 /* Override any gcc2 internal prototype to avoid an error.  */
28837 #ifdef __cplusplus
28838 extern "C"
28839 {
28840 #endif
28841 /* We use char because int might match the return type of a gcc2
28842    builtin and then its argument prototype would still apply.  */
28843 char $ac_func ();
28844 /* The GNU C library defines this for functions which it implements
28845     to always fail with ENOSYS.  Some functions are actually named
28846     something starting with __ and the normal name is an alias.  */
28847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28848 choke me
28849 #else
28850 char (*f) () = $ac_func;
28851 #endif
28852 #ifdef __cplusplus
28853 }
28854 #endif
28855
28856 int
28857 main ()
28858 {
28859 return f != $ac_func;
28860   ;
28861   return 0;
28862 }
28863 _ACEOF
28864 rm -f conftest.$ac_objext conftest$ac_exeext
28865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28866   (eval $ac_link) 2>conftest.er1
28867   ac_status=$?
28868   grep -v '^ *+' conftest.er1 >conftest.err
28869   rm -f conftest.er1
28870   cat conftest.err >&5
28871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872   (exit $ac_status); } &&
28873          { ac_try='test -z "$ac_c_werror_flag"
28874                          || test ! -s conftest.err'
28875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876   (eval $ac_try) 2>&5
28877   ac_status=$?
28878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879   (exit $ac_status); }; } &&
28880          { ac_try='test -s conftest$ac_exeext'
28881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882   (eval $ac_try) 2>&5
28883   ac_status=$?
28884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885   (exit $ac_status); }; }; then
28886   eval "$as_ac_var=yes"
28887 else
28888   echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 eval "$as_ac_var=no"
28892 fi
28893 rm -f conftest.err conftest.$ac_objext \
28894       conftest$ac_exeext conftest.$ac_ext
28895 fi
28896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28898 if test `eval echo '${'$as_ac_var'}'` = yes; then
28899   cat >>confdefs.h <<_ACEOF
28900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28901 _ACEOF
28902
28903 fi
28904 done
28905
28906   else
28907
28908   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28909 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28910   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28911     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
28912   echo $ECHO_N "(cached) $ECHO_C" >&6
28913 else
28914
28915
28916
28917       ac_ext=cc
28918 ac_cpp='$CXXCPP $CPPFLAGS'
28919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28922
28923       cat >conftest.$ac_ext <<_ACEOF
28924 /* confdefs.h.  */
28925 _ACEOF
28926 cat confdefs.h >>conftest.$ac_ext
28927 cat >>conftest.$ac_ext <<_ACEOF
28928 /* end confdefs.h.  */
28929 #include <math.h>
28930                       #ifdef HAVE_IEEEFP_H
28931                       #include <ieeefp.h>
28932                       #endif
28933
28934 int
28935 main ()
28936 {
28937  _fabsf(0);
28938   ;
28939   return 0;
28940 }
28941 _ACEOF
28942 rm -f conftest.$ac_objext
28943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28944   (eval $ac_compile) 2>conftest.er1
28945   ac_status=$?
28946   grep -v '^ *+' conftest.er1 >conftest.err
28947   rm -f conftest.er1
28948   cat conftest.err >&5
28949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950   (exit $ac_status); } &&
28951          { ac_try='test -z "$ac_cxx_werror_flag"
28952                          || test ! -s conftest.err'
28953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28954   (eval $ac_try) 2>&5
28955   ac_status=$?
28956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957   (exit $ac_status); }; } &&
28958          { ac_try='test -s conftest.$ac_objext'
28959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960   (eval $ac_try) 2>&5
28961   ac_status=$?
28962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963   (exit $ac_status); }; }; then
28964   glibcxx_cv_func__fabsf_use=yes
28965 else
28966   echo "$as_me: failed program was:" >&5
28967 sed 's/^/| /' conftest.$ac_ext >&5
28968
28969 glibcxx_cv_func__fabsf_use=no
28970 fi
28971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28972       ac_ext=c
28973 ac_cpp='$CPP $CPPFLAGS'
28974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977
28978
28979 fi
28980
28981   fi
28982   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28983 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28984
28985     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28986
28987 for ac_func in _fabsf
28988 do
28989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28990 echo "$as_me:$LINENO: checking for $ac_func" >&5
28991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28992 if eval "test \"\${$as_ac_var+set}\" = set"; then
28993   echo $ECHO_N "(cached) $ECHO_C" >&6
28994 else
28995   if test x$gcc_no_link = xyes; then
28996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28998    { (exit 1); exit 1; }; }
28999 fi
29000 cat >conftest.$ac_ext <<_ACEOF
29001 /* confdefs.h.  */
29002 _ACEOF
29003 cat confdefs.h >>conftest.$ac_ext
29004 cat >>conftest.$ac_ext <<_ACEOF
29005 /* end confdefs.h.  */
29006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29008 #define $ac_func innocuous_$ac_func
29009
29010 /* System header to define __stub macros and hopefully few prototypes,
29011     which can conflict with char $ac_func (); below.
29012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29013     <limits.h> exists even on freestanding compilers.  */
29014
29015 #ifdef __STDC__
29016 # include <limits.h>
29017 #else
29018 # include <assert.h>
29019 #endif
29020
29021 #undef $ac_func
29022
29023 /* Override any gcc2 internal prototype to avoid an error.  */
29024 #ifdef __cplusplus
29025 extern "C"
29026 {
29027 #endif
29028 /* We use char because int might match the return type of a gcc2
29029    builtin and then its argument prototype would still apply.  */
29030 char $ac_func ();
29031 /* The GNU C library defines this for functions which it implements
29032     to always fail with ENOSYS.  Some functions are actually named
29033     something starting with __ and the normal name is an alias.  */
29034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29035 choke me
29036 #else
29037 char (*f) () = $ac_func;
29038 #endif
29039 #ifdef __cplusplus
29040 }
29041 #endif
29042
29043 int
29044 main ()
29045 {
29046 return f != $ac_func;
29047   ;
29048   return 0;
29049 }
29050 _ACEOF
29051 rm -f conftest.$ac_objext conftest$ac_exeext
29052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29053   (eval $ac_link) 2>conftest.er1
29054   ac_status=$?
29055   grep -v '^ *+' conftest.er1 >conftest.err
29056   rm -f conftest.er1
29057   cat conftest.err >&5
29058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059   (exit $ac_status); } &&
29060          { ac_try='test -z "$ac_c_werror_flag"
29061                          || test ! -s conftest.err'
29062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29063   (eval $ac_try) 2>&5
29064   ac_status=$?
29065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066   (exit $ac_status); }; } &&
29067          { ac_try='test -s conftest$ac_exeext'
29068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069   (eval $ac_try) 2>&5
29070   ac_status=$?
29071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072   (exit $ac_status); }; }; then
29073   eval "$as_ac_var=yes"
29074 else
29075   echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078 eval "$as_ac_var=no"
29079 fi
29080 rm -f conftest.err conftest.$ac_objext \
29081       conftest$ac_exeext conftest.$ac_ext
29082 fi
29083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29085 if test `eval echo '${'$as_ac_var'}'` = yes; then
29086   cat >>confdefs.h <<_ACEOF
29087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29088 _ACEOF
29089
29090 fi
29091 done
29092
29093     fi
29094   fi
29095
29096
29097
29098
29099
29100
29101   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29102 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29103   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29104     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29105   echo $ECHO_N "(cached) $ECHO_C" >&6
29106 else
29107
29108
29109
29110       ac_ext=cc
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29115
29116       cat >conftest.$ac_ext <<_ACEOF
29117 /* confdefs.h.  */
29118 _ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h.  */
29122 #include <math.h>
29123 int
29124 main ()
29125 {
29126  fmodf(0, 0);
29127   ;
29128   return 0;
29129 }
29130 _ACEOF
29131 rm -f conftest.$ac_objext
29132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29133   (eval $ac_compile) 2>conftest.er1
29134   ac_status=$?
29135   grep -v '^ *+' conftest.er1 >conftest.err
29136   rm -f conftest.er1
29137   cat conftest.err >&5
29138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139   (exit $ac_status); } &&
29140          { ac_try='test -z "$ac_cxx_werror_flag"
29141                          || test ! -s conftest.err'
29142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143   (eval $ac_try) 2>&5
29144   ac_status=$?
29145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146   (exit $ac_status); }; } &&
29147          { ac_try='test -s conftest.$ac_objext'
29148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149   (eval $ac_try) 2>&5
29150   ac_status=$?
29151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152   (exit $ac_status); }; }; then
29153   glibcxx_cv_func_fmodf_use=yes
29154 else
29155   echo "$as_me: failed program was:" >&5
29156 sed 's/^/| /' conftest.$ac_ext >&5
29157
29158 glibcxx_cv_func_fmodf_use=no
29159 fi
29160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29161       ac_ext=c
29162 ac_cpp='$CPP $CPPFLAGS'
29163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29166
29167
29168 fi
29169
29170   fi
29171   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29172 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29173
29174   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29175
29176 for ac_func in fmodf
29177 do
29178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29179 echo "$as_me:$LINENO: checking for $ac_func" >&5
29180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29181 if eval "test \"\${$as_ac_var+set}\" = set"; then
29182   echo $ECHO_N "(cached) $ECHO_C" >&6
29183 else
29184   if test x$gcc_no_link = xyes; then
29185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29187    { (exit 1); exit 1; }; }
29188 fi
29189 cat >conftest.$ac_ext <<_ACEOF
29190 /* confdefs.h.  */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h.  */
29195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29196    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29197 #define $ac_func innocuous_$ac_func
29198
29199 /* System header to define __stub macros and hopefully few prototypes,
29200     which can conflict with char $ac_func (); below.
29201     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29202     <limits.h> exists even on freestanding compilers.  */
29203
29204 #ifdef __STDC__
29205 # include <limits.h>
29206 #else
29207 # include <assert.h>
29208 #endif
29209
29210 #undef $ac_func
29211
29212 /* Override any gcc2 internal prototype to avoid an error.  */
29213 #ifdef __cplusplus
29214 extern "C"
29215 {
29216 #endif
29217 /* We use char because int might match the return type of a gcc2
29218    builtin and then its argument prototype would still apply.  */
29219 char $ac_func ();
29220 /* The GNU C library defines this for functions which it implements
29221     to always fail with ENOSYS.  Some functions are actually named
29222     something starting with __ and the normal name is an alias.  */
29223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29224 choke me
29225 #else
29226 char (*f) () = $ac_func;
29227 #endif
29228 #ifdef __cplusplus
29229 }
29230 #endif
29231
29232 int
29233 main ()
29234 {
29235 return f != $ac_func;
29236   ;
29237   return 0;
29238 }
29239 _ACEOF
29240 rm -f conftest.$ac_objext conftest$ac_exeext
29241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29242   (eval $ac_link) 2>conftest.er1
29243   ac_status=$?
29244   grep -v '^ *+' conftest.er1 >conftest.err
29245   rm -f conftest.er1
29246   cat conftest.err >&5
29247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248   (exit $ac_status); } &&
29249          { ac_try='test -z "$ac_c_werror_flag"
29250                          || test ! -s conftest.err'
29251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252   (eval $ac_try) 2>&5
29253   ac_status=$?
29254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255   (exit $ac_status); }; } &&
29256          { ac_try='test -s conftest$ac_exeext'
29257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258   (eval $ac_try) 2>&5
29259   ac_status=$?
29260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261   (exit $ac_status); }; }; then
29262   eval "$as_ac_var=yes"
29263 else
29264   echo "$as_me: failed program was:" >&5
29265 sed 's/^/| /' conftest.$ac_ext >&5
29266
29267 eval "$as_ac_var=no"
29268 fi
29269 rm -f conftest.err conftest.$ac_objext \
29270       conftest$ac_exeext conftest.$ac_ext
29271 fi
29272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29274 if test `eval echo '${'$as_ac_var'}'` = yes; then
29275   cat >>confdefs.h <<_ACEOF
29276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29277 _ACEOF
29278
29279 fi
29280 done
29281
29282   else
29283
29284   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29285 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29286   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29287     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29288   echo $ECHO_N "(cached) $ECHO_C" >&6
29289 else
29290
29291
29292
29293       ac_ext=cc
29294 ac_cpp='$CXXCPP $CPPFLAGS'
29295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29298
29299       cat >conftest.$ac_ext <<_ACEOF
29300 /* confdefs.h.  */
29301 _ACEOF
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h.  */
29305 #include <math.h>
29306 int
29307 main ()
29308 {
29309  _fmodf(0, 0);
29310   ;
29311   return 0;
29312 }
29313 _ACEOF
29314 rm -f conftest.$ac_objext
29315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29316   (eval $ac_compile) 2>conftest.er1
29317   ac_status=$?
29318   grep -v '^ *+' conftest.er1 >conftest.err
29319   rm -f conftest.er1
29320   cat conftest.err >&5
29321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322   (exit $ac_status); } &&
29323          { ac_try='test -z "$ac_cxx_werror_flag"
29324                          || test ! -s conftest.err'
29325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29326   (eval $ac_try) 2>&5
29327   ac_status=$?
29328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329   (exit $ac_status); }; } &&
29330          { ac_try='test -s conftest.$ac_objext'
29331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29332   (eval $ac_try) 2>&5
29333   ac_status=$?
29334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335   (exit $ac_status); }; }; then
29336   glibcxx_cv_func__fmodf_use=yes
29337 else
29338   echo "$as_me: failed program was:" >&5
29339 sed 's/^/| /' conftest.$ac_ext >&5
29340
29341 glibcxx_cv_func__fmodf_use=no
29342 fi
29343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29344       ac_ext=c
29345 ac_cpp='$CPP $CPPFLAGS'
29346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29349
29350
29351 fi
29352
29353   fi
29354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29355 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29356
29357     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29358
29359 for ac_func in _fmodf
29360 do
29361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29362 echo "$as_me:$LINENO: checking for $ac_func" >&5
29363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29364 if eval "test \"\${$as_ac_var+set}\" = set"; then
29365   echo $ECHO_N "(cached) $ECHO_C" >&6
29366 else
29367   if test x$gcc_no_link = xyes; then
29368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29370    { (exit 1); exit 1; }; }
29371 fi
29372 cat >conftest.$ac_ext <<_ACEOF
29373 /* confdefs.h.  */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h.  */
29378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29380 #define $ac_func innocuous_$ac_func
29381
29382 /* System header to define __stub macros and hopefully few prototypes,
29383     which can conflict with char $ac_func (); below.
29384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29385     <limits.h> exists even on freestanding compilers.  */
29386
29387 #ifdef __STDC__
29388 # include <limits.h>
29389 #else
29390 # include <assert.h>
29391 #endif
29392
29393 #undef $ac_func
29394
29395 /* Override any gcc2 internal prototype to avoid an error.  */
29396 #ifdef __cplusplus
29397 extern "C"
29398 {
29399 #endif
29400 /* We use char because int might match the return type of a gcc2
29401    builtin and then its argument prototype would still apply.  */
29402 char $ac_func ();
29403 /* The GNU C library defines this for functions which it implements
29404     to always fail with ENOSYS.  Some functions are actually named
29405     something starting with __ and the normal name is an alias.  */
29406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29407 choke me
29408 #else
29409 char (*f) () = $ac_func;
29410 #endif
29411 #ifdef __cplusplus
29412 }
29413 #endif
29414
29415 int
29416 main ()
29417 {
29418 return f != $ac_func;
29419   ;
29420   return 0;
29421 }
29422 _ACEOF
29423 rm -f conftest.$ac_objext conftest$ac_exeext
29424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29425   (eval $ac_link) 2>conftest.er1
29426   ac_status=$?
29427   grep -v '^ *+' conftest.er1 >conftest.err
29428   rm -f conftest.er1
29429   cat conftest.err >&5
29430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431   (exit $ac_status); } &&
29432          { ac_try='test -z "$ac_c_werror_flag"
29433                          || test ! -s conftest.err'
29434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435   (eval $ac_try) 2>&5
29436   ac_status=$?
29437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438   (exit $ac_status); }; } &&
29439          { ac_try='test -s conftest$ac_exeext'
29440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29441   (eval $ac_try) 2>&5
29442   ac_status=$?
29443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444   (exit $ac_status); }; }; then
29445   eval "$as_ac_var=yes"
29446 else
29447   echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.$ac_ext >&5
29449
29450 eval "$as_ac_var=no"
29451 fi
29452 rm -f conftest.err conftest.$ac_objext \
29453       conftest$ac_exeext conftest.$ac_ext
29454 fi
29455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29457 if test `eval echo '${'$as_ac_var'}'` = yes; then
29458   cat >>confdefs.h <<_ACEOF
29459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29460 _ACEOF
29461
29462 fi
29463 done
29464
29465     fi
29466   fi
29467
29468
29469
29470
29471
29472
29473   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29474 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29475   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29476     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29477   echo $ECHO_N "(cached) $ECHO_C" >&6
29478 else
29479
29480
29481
29482       ac_ext=cc
29483 ac_cpp='$CXXCPP $CPPFLAGS'
29484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29487
29488       cat >conftest.$ac_ext <<_ACEOF
29489 /* confdefs.h.  */
29490 _ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h.  */
29494 #include <math.h>
29495 int
29496 main ()
29497 {
29498  frexpf(0, 0);
29499   ;
29500   return 0;
29501 }
29502 _ACEOF
29503 rm -f conftest.$ac_objext
29504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29505   (eval $ac_compile) 2>conftest.er1
29506   ac_status=$?
29507   grep -v '^ *+' conftest.er1 >conftest.err
29508   rm -f conftest.er1
29509   cat conftest.err >&5
29510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511   (exit $ac_status); } &&
29512          { ac_try='test -z "$ac_cxx_werror_flag"
29513                          || test ! -s conftest.err'
29514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515   (eval $ac_try) 2>&5
29516   ac_status=$?
29517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518   (exit $ac_status); }; } &&
29519          { ac_try='test -s conftest.$ac_objext'
29520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29521   (eval $ac_try) 2>&5
29522   ac_status=$?
29523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524   (exit $ac_status); }; }; then
29525   glibcxx_cv_func_frexpf_use=yes
29526 else
29527   echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 glibcxx_cv_func_frexpf_use=no
29531 fi
29532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29533       ac_ext=c
29534 ac_cpp='$CPP $CPPFLAGS'
29535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29538
29539
29540 fi
29541
29542   fi
29543   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29544 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29545
29546   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29547
29548 for ac_func in frexpf
29549 do
29550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29551 echo "$as_me:$LINENO: checking for $ac_func" >&5
29552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29553 if eval "test \"\${$as_ac_var+set}\" = set"; then
29554   echo $ECHO_N "(cached) $ECHO_C" >&6
29555 else
29556   if test x$gcc_no_link = xyes; then
29557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29559    { (exit 1); exit 1; }; }
29560 fi
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h.  */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h.  */
29567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29569 #define $ac_func innocuous_$ac_func
29570
29571 /* System header to define __stub macros and hopefully few prototypes,
29572     which can conflict with char $ac_func (); below.
29573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29574     <limits.h> exists even on freestanding compilers.  */
29575
29576 #ifdef __STDC__
29577 # include <limits.h>
29578 #else
29579 # include <assert.h>
29580 #endif
29581
29582 #undef $ac_func
29583
29584 /* Override any gcc2 internal prototype to avoid an error.  */
29585 #ifdef __cplusplus
29586 extern "C"
29587 {
29588 #endif
29589 /* We use char because int might match the return type of a gcc2
29590    builtin and then its argument prototype would still apply.  */
29591 char $ac_func ();
29592 /* The GNU C library defines this for functions which it implements
29593     to always fail with ENOSYS.  Some functions are actually named
29594     something starting with __ and the normal name is an alias.  */
29595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29596 choke me
29597 #else
29598 char (*f) () = $ac_func;
29599 #endif
29600 #ifdef __cplusplus
29601 }
29602 #endif
29603
29604 int
29605 main ()
29606 {
29607 return f != $ac_func;
29608   ;
29609   return 0;
29610 }
29611 _ACEOF
29612 rm -f conftest.$ac_objext conftest$ac_exeext
29613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29614   (eval $ac_link) 2>conftest.er1
29615   ac_status=$?
29616   grep -v '^ *+' conftest.er1 >conftest.err
29617   rm -f conftest.er1
29618   cat conftest.err >&5
29619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29620   (exit $ac_status); } &&
29621          { ac_try='test -z "$ac_c_werror_flag"
29622                          || test ! -s conftest.err'
29623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624   (eval $ac_try) 2>&5
29625   ac_status=$?
29626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627   (exit $ac_status); }; } &&
29628          { ac_try='test -s conftest$ac_exeext'
29629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29630   (eval $ac_try) 2>&5
29631   ac_status=$?
29632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633   (exit $ac_status); }; }; then
29634   eval "$as_ac_var=yes"
29635 else
29636   echo "$as_me: failed program was:" >&5
29637 sed 's/^/| /' conftest.$ac_ext >&5
29638
29639 eval "$as_ac_var=no"
29640 fi
29641 rm -f conftest.err conftest.$ac_objext \
29642       conftest$ac_exeext conftest.$ac_ext
29643 fi
29644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29646 if test `eval echo '${'$as_ac_var'}'` = yes; then
29647   cat >>confdefs.h <<_ACEOF
29648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29649 _ACEOF
29650
29651 fi
29652 done
29653
29654   else
29655
29656   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29657 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29658   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29659     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29660   echo $ECHO_N "(cached) $ECHO_C" >&6
29661 else
29662
29663
29664
29665       ac_ext=cc
29666 ac_cpp='$CXXCPP $CPPFLAGS'
29667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29670
29671       cat >conftest.$ac_ext <<_ACEOF
29672 /* confdefs.h.  */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h.  */
29677 #include <math.h>
29678 int
29679 main ()
29680 {
29681  _frexpf(0, 0);
29682   ;
29683   return 0;
29684 }
29685 _ACEOF
29686 rm -f conftest.$ac_objext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29688   (eval $ac_compile) 2>conftest.er1
29689   ac_status=$?
29690   grep -v '^ *+' conftest.er1 >conftest.err
29691   rm -f conftest.er1
29692   cat conftest.err >&5
29693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694   (exit $ac_status); } &&
29695          { ac_try='test -z "$ac_cxx_werror_flag"
29696                          || test ! -s conftest.err'
29697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698   (eval $ac_try) 2>&5
29699   ac_status=$?
29700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701   (exit $ac_status); }; } &&
29702          { ac_try='test -s conftest.$ac_objext'
29703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29704   (eval $ac_try) 2>&5
29705   ac_status=$?
29706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707   (exit $ac_status); }; }; then
29708   glibcxx_cv_func__frexpf_use=yes
29709 else
29710   echo "$as_me: failed program was:" >&5
29711 sed 's/^/| /' conftest.$ac_ext >&5
29712
29713 glibcxx_cv_func__frexpf_use=no
29714 fi
29715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29716       ac_ext=c
29717 ac_cpp='$CPP $CPPFLAGS'
29718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29721
29722
29723 fi
29724
29725   fi
29726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29727 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29728
29729     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29730
29731 for ac_func in _frexpf
29732 do
29733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29734 echo "$as_me:$LINENO: checking for $ac_func" >&5
29735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29736 if eval "test \"\${$as_ac_var+set}\" = set"; then
29737   echo $ECHO_N "(cached) $ECHO_C" >&6
29738 else
29739   if test x$gcc_no_link = xyes; then
29740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29742    { (exit 1); exit 1; }; }
29743 fi
29744 cat >conftest.$ac_ext <<_ACEOF
29745 /* confdefs.h.  */
29746 _ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h.  */
29750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29752 #define $ac_func innocuous_$ac_func
29753
29754 /* System header to define __stub macros and hopefully few prototypes,
29755     which can conflict with char $ac_func (); below.
29756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29757     <limits.h> exists even on freestanding compilers.  */
29758
29759 #ifdef __STDC__
29760 # include <limits.h>
29761 #else
29762 # include <assert.h>
29763 #endif
29764
29765 #undef $ac_func
29766
29767 /* Override any gcc2 internal prototype to avoid an error.  */
29768 #ifdef __cplusplus
29769 extern "C"
29770 {
29771 #endif
29772 /* We use char because int might match the return type of a gcc2
29773    builtin and then its argument prototype would still apply.  */
29774 char $ac_func ();
29775 /* The GNU C library defines this for functions which it implements
29776     to always fail with ENOSYS.  Some functions are actually named
29777     something starting with __ and the normal name is an alias.  */
29778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29779 choke me
29780 #else
29781 char (*f) () = $ac_func;
29782 #endif
29783 #ifdef __cplusplus
29784 }
29785 #endif
29786
29787 int
29788 main ()
29789 {
29790 return f != $ac_func;
29791   ;
29792   return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29797   (eval $ac_link) 2>conftest.er1
29798   ac_status=$?
29799   grep -v '^ *+' conftest.er1 >conftest.err
29800   rm -f conftest.er1
29801   cat conftest.err >&5
29802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803   (exit $ac_status); } &&
29804          { ac_try='test -z "$ac_c_werror_flag"
29805                          || test ! -s conftest.err'
29806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807   (eval $ac_try) 2>&5
29808   ac_status=$?
29809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810   (exit $ac_status); }; } &&
29811          { ac_try='test -s conftest$ac_exeext'
29812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813   (eval $ac_try) 2>&5
29814   ac_status=$?
29815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816   (exit $ac_status); }; }; then
29817   eval "$as_ac_var=yes"
29818 else
29819   echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29821
29822 eval "$as_ac_var=no"
29823 fi
29824 rm -f conftest.err conftest.$ac_objext \
29825       conftest$ac_exeext conftest.$ac_ext
29826 fi
29827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29829 if test `eval echo '${'$as_ac_var'}'` = yes; then
29830   cat >>confdefs.h <<_ACEOF
29831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837     fi
29838   fi
29839
29840
29841
29842
29843
29844
29845   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29846 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29847   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29848     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29849   echo $ECHO_N "(cached) $ECHO_C" >&6
29850 else
29851
29852
29853
29854       ac_ext=cc
29855 ac_cpp='$CXXCPP $CPPFLAGS'
29856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29859
29860       cat >conftest.$ac_ext <<_ACEOF
29861 /* confdefs.h.  */
29862 _ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h.  */
29866 #include <math.h>
29867 int
29868 main ()
29869 {
29870  hypotf(0, 0);
29871   ;
29872   return 0;
29873 }
29874 _ACEOF
29875 rm -f conftest.$ac_objext
29876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29877   (eval $ac_compile) 2>conftest.er1
29878   ac_status=$?
29879   grep -v '^ *+' conftest.er1 >conftest.err
29880   rm -f conftest.er1
29881   cat conftest.err >&5
29882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883   (exit $ac_status); } &&
29884          { ac_try='test -z "$ac_cxx_werror_flag"
29885                          || test ! -s conftest.err'
29886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887   (eval $ac_try) 2>&5
29888   ac_status=$?
29889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890   (exit $ac_status); }; } &&
29891          { ac_try='test -s conftest.$ac_objext'
29892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893   (eval $ac_try) 2>&5
29894   ac_status=$?
29895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896   (exit $ac_status); }; }; then
29897   glibcxx_cv_func_hypotf_use=yes
29898 else
29899   echo "$as_me: failed program was:" >&5
29900 sed 's/^/| /' conftest.$ac_ext >&5
29901
29902 glibcxx_cv_func_hypotf_use=no
29903 fi
29904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29905       ac_ext=c
29906 ac_cpp='$CPP $CPPFLAGS'
29907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29910
29911
29912 fi
29913
29914   fi
29915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29916 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29917
29918   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29919
29920 for ac_func in hypotf
29921 do
29922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29923 echo "$as_me:$LINENO: checking for $ac_func" >&5
29924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29925 if eval "test \"\${$as_ac_var+set}\" = set"; then
29926   echo $ECHO_N "(cached) $ECHO_C" >&6
29927 else
29928   if test x$gcc_no_link = xyes; then
29929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29931    { (exit 1); exit 1; }; }
29932 fi
29933 cat >conftest.$ac_ext <<_ACEOF
29934 /* confdefs.h.  */
29935 _ACEOF
29936 cat confdefs.h >>conftest.$ac_ext
29937 cat >>conftest.$ac_ext <<_ACEOF
29938 /* end confdefs.h.  */
29939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29941 #define $ac_func innocuous_$ac_func
29942
29943 /* System header to define __stub macros and hopefully few prototypes,
29944     which can conflict with char $ac_func (); below.
29945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29946     <limits.h> exists even on freestanding compilers.  */
29947
29948 #ifdef __STDC__
29949 # include <limits.h>
29950 #else
29951 # include <assert.h>
29952 #endif
29953
29954 #undef $ac_func
29955
29956 /* Override any gcc2 internal prototype to avoid an error.  */
29957 #ifdef __cplusplus
29958 extern "C"
29959 {
29960 #endif
29961 /* We use char because int might match the return type of a gcc2
29962    builtin and then its argument prototype would still apply.  */
29963 char $ac_func ();
29964 /* The GNU C library defines this for functions which it implements
29965     to always fail with ENOSYS.  Some functions are actually named
29966     something starting with __ and the normal name is an alias.  */
29967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29968 choke me
29969 #else
29970 char (*f) () = $ac_func;
29971 #endif
29972 #ifdef __cplusplus
29973 }
29974 #endif
29975
29976 int
29977 main ()
29978 {
29979 return f != $ac_func;
29980   ;
29981   return 0;
29982 }
29983 _ACEOF
29984 rm -f conftest.$ac_objext conftest$ac_exeext
29985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29986   (eval $ac_link) 2>conftest.er1
29987   ac_status=$?
29988   grep -v '^ *+' conftest.er1 >conftest.err
29989   rm -f conftest.er1
29990   cat conftest.err >&5
29991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29992   (exit $ac_status); } &&
29993          { ac_try='test -z "$ac_c_werror_flag"
29994                          || test ! -s conftest.err'
29995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29996   (eval $ac_try) 2>&5
29997   ac_status=$?
29998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999   (exit $ac_status); }; } &&
30000          { ac_try='test -s conftest$ac_exeext'
30001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002   (eval $ac_try) 2>&5
30003   ac_status=$?
30004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005   (exit $ac_status); }; }; then
30006   eval "$as_ac_var=yes"
30007 else
30008   echo "$as_me: failed program was:" >&5
30009 sed 's/^/| /' conftest.$ac_ext >&5
30010
30011 eval "$as_ac_var=no"
30012 fi
30013 rm -f conftest.err conftest.$ac_objext \
30014       conftest$ac_exeext conftest.$ac_ext
30015 fi
30016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30018 if test `eval echo '${'$as_ac_var'}'` = yes; then
30019   cat >>confdefs.h <<_ACEOF
30020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30021 _ACEOF
30022
30023 fi
30024 done
30025
30026   else
30027
30028   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
30029 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
30030   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30031     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
30032   echo $ECHO_N "(cached) $ECHO_C" >&6
30033 else
30034
30035
30036
30037       ac_ext=cc
30038 ac_cpp='$CXXCPP $CPPFLAGS'
30039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30042
30043       cat >conftest.$ac_ext <<_ACEOF
30044 /* confdefs.h.  */
30045 _ACEOF
30046 cat confdefs.h >>conftest.$ac_ext
30047 cat >>conftest.$ac_ext <<_ACEOF
30048 /* end confdefs.h.  */
30049 #include <math.h>
30050 int
30051 main ()
30052 {
30053  _hypotf(0, 0);
30054   ;
30055   return 0;
30056 }
30057 _ACEOF
30058 rm -f conftest.$ac_objext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30060   (eval $ac_compile) 2>conftest.er1
30061   ac_status=$?
30062   grep -v '^ *+' conftest.er1 >conftest.err
30063   rm -f conftest.er1
30064   cat conftest.err >&5
30065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30066   (exit $ac_status); } &&
30067          { ac_try='test -z "$ac_cxx_werror_flag"
30068                          || test ! -s conftest.err'
30069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070   (eval $ac_try) 2>&5
30071   ac_status=$?
30072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073   (exit $ac_status); }; } &&
30074          { ac_try='test -s conftest.$ac_objext'
30075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30076   (eval $ac_try) 2>&5
30077   ac_status=$?
30078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079   (exit $ac_status); }; }; then
30080   glibcxx_cv_func__hypotf_use=yes
30081 else
30082   echo "$as_me: failed program was:" >&5
30083 sed 's/^/| /' conftest.$ac_ext >&5
30084
30085 glibcxx_cv_func__hypotf_use=no
30086 fi
30087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30088       ac_ext=c
30089 ac_cpp='$CPP $CPPFLAGS'
30090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30093
30094
30095 fi
30096
30097   fi
30098   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
30099 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30100
30101     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30102
30103 for ac_func in _hypotf
30104 do
30105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30106 echo "$as_me:$LINENO: checking for $ac_func" >&5
30107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30108 if eval "test \"\${$as_ac_var+set}\" = set"; then
30109   echo $ECHO_N "(cached) $ECHO_C" >&6
30110 else
30111   if test x$gcc_no_link = xyes; then
30112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30114    { (exit 1); exit 1; }; }
30115 fi
30116 cat >conftest.$ac_ext <<_ACEOF
30117 /* confdefs.h.  */
30118 _ACEOF
30119 cat confdefs.h >>conftest.$ac_ext
30120 cat >>conftest.$ac_ext <<_ACEOF
30121 /* end confdefs.h.  */
30122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30124 #define $ac_func innocuous_$ac_func
30125
30126 /* System header to define __stub macros and hopefully few prototypes,
30127     which can conflict with char $ac_func (); below.
30128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30129     <limits.h> exists even on freestanding compilers.  */
30130
30131 #ifdef __STDC__
30132 # include <limits.h>
30133 #else
30134 # include <assert.h>
30135 #endif
30136
30137 #undef $ac_func
30138
30139 /* Override any gcc2 internal prototype to avoid an error.  */
30140 #ifdef __cplusplus
30141 extern "C"
30142 {
30143 #endif
30144 /* We use char because int might match the return type of a gcc2
30145    builtin and then its argument prototype would still apply.  */
30146 char $ac_func ();
30147 /* The GNU C library defines this for functions which it implements
30148     to always fail with ENOSYS.  Some functions are actually named
30149     something starting with __ and the normal name is an alias.  */
30150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30151 choke me
30152 #else
30153 char (*f) () = $ac_func;
30154 #endif
30155 #ifdef __cplusplus
30156 }
30157 #endif
30158
30159 int
30160 main ()
30161 {
30162 return f != $ac_func;
30163   ;
30164   return 0;
30165 }
30166 _ACEOF
30167 rm -f conftest.$ac_objext conftest$ac_exeext
30168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30169   (eval $ac_link) 2>conftest.er1
30170   ac_status=$?
30171   grep -v '^ *+' conftest.er1 >conftest.err
30172   rm -f conftest.er1
30173   cat conftest.err >&5
30174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175   (exit $ac_status); } &&
30176          { ac_try='test -z "$ac_c_werror_flag"
30177                          || test ! -s conftest.err'
30178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179   (eval $ac_try) 2>&5
30180   ac_status=$?
30181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182   (exit $ac_status); }; } &&
30183          { ac_try='test -s conftest$ac_exeext'
30184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185   (eval $ac_try) 2>&5
30186   ac_status=$?
30187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188   (exit $ac_status); }; }; then
30189   eval "$as_ac_var=yes"
30190 else
30191   echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194 eval "$as_ac_var=no"
30195 fi
30196 rm -f conftest.err conftest.$ac_objext \
30197       conftest$ac_exeext conftest.$ac_ext
30198 fi
30199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30201 if test `eval echo '${'$as_ac_var'}'` = yes; then
30202   cat >>confdefs.h <<_ACEOF
30203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30204 _ACEOF
30205
30206 fi
30207 done
30208
30209     fi
30210   fi
30211
30212
30213
30214
30215
30216
30217   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30218 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30219   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30220     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30221   echo $ECHO_N "(cached) $ECHO_C" >&6
30222 else
30223
30224
30225
30226       ac_ext=cc
30227 ac_cpp='$CXXCPP $CPPFLAGS'
30228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30231
30232       cat >conftest.$ac_ext <<_ACEOF
30233 /* confdefs.h.  */
30234 _ACEOF
30235 cat confdefs.h >>conftest.$ac_ext
30236 cat >>conftest.$ac_ext <<_ACEOF
30237 /* end confdefs.h.  */
30238 #include <math.h>
30239 int
30240 main ()
30241 {
30242  ldexpf(0, 0);
30243   ;
30244   return 0;
30245 }
30246 _ACEOF
30247 rm -f conftest.$ac_objext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30249   (eval $ac_compile) 2>conftest.er1
30250   ac_status=$?
30251   grep -v '^ *+' conftest.er1 >conftest.err
30252   rm -f conftest.er1
30253   cat conftest.err >&5
30254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255   (exit $ac_status); } &&
30256          { ac_try='test -z "$ac_cxx_werror_flag"
30257                          || test ! -s conftest.err'
30258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259   (eval $ac_try) 2>&5
30260   ac_status=$?
30261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262   (exit $ac_status); }; } &&
30263          { ac_try='test -s conftest.$ac_objext'
30264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265   (eval $ac_try) 2>&5
30266   ac_status=$?
30267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268   (exit $ac_status); }; }; then
30269   glibcxx_cv_func_ldexpf_use=yes
30270 else
30271   echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.$ac_ext >&5
30273
30274 glibcxx_cv_func_ldexpf_use=no
30275 fi
30276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30277       ac_ext=c
30278 ac_cpp='$CPP $CPPFLAGS'
30279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30282
30283
30284 fi
30285
30286   fi
30287   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30288 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30289
30290   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30291
30292 for ac_func in ldexpf
30293 do
30294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30295 echo "$as_me:$LINENO: checking for $ac_func" >&5
30296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30297 if eval "test \"\${$as_ac_var+set}\" = set"; then
30298   echo $ECHO_N "(cached) $ECHO_C" >&6
30299 else
30300   if test x$gcc_no_link = xyes; then
30301   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30303    { (exit 1); exit 1; }; }
30304 fi
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h.  */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h.  */
30311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30312    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30313 #define $ac_func innocuous_$ac_func
30314
30315 /* System header to define __stub macros and hopefully few prototypes,
30316     which can conflict with char $ac_func (); below.
30317     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30318     <limits.h> exists even on freestanding compilers.  */
30319
30320 #ifdef __STDC__
30321 # include <limits.h>
30322 #else
30323 # include <assert.h>
30324 #endif
30325
30326 #undef $ac_func
30327
30328 /* Override any gcc2 internal prototype to avoid an error.  */
30329 #ifdef __cplusplus
30330 extern "C"
30331 {
30332 #endif
30333 /* We use char because int might match the return type of a gcc2
30334    builtin and then its argument prototype would still apply.  */
30335 char $ac_func ();
30336 /* The GNU C library defines this for functions which it implements
30337     to always fail with ENOSYS.  Some functions are actually named
30338     something starting with __ and the normal name is an alias.  */
30339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30340 choke me
30341 #else
30342 char (*f) () = $ac_func;
30343 #endif
30344 #ifdef __cplusplus
30345 }
30346 #endif
30347
30348 int
30349 main ()
30350 {
30351 return f != $ac_func;
30352   ;
30353   return 0;
30354 }
30355 _ACEOF
30356 rm -f conftest.$ac_objext conftest$ac_exeext
30357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30358   (eval $ac_link) 2>conftest.er1
30359   ac_status=$?
30360   grep -v '^ *+' conftest.er1 >conftest.err
30361   rm -f conftest.er1
30362   cat conftest.err >&5
30363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364   (exit $ac_status); } &&
30365          { ac_try='test -z "$ac_c_werror_flag"
30366                          || test ! -s conftest.err'
30367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368   (eval $ac_try) 2>&5
30369   ac_status=$?
30370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371   (exit $ac_status); }; } &&
30372          { ac_try='test -s conftest$ac_exeext'
30373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374   (eval $ac_try) 2>&5
30375   ac_status=$?
30376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377   (exit $ac_status); }; }; then
30378   eval "$as_ac_var=yes"
30379 else
30380   echo "$as_me: failed program was:" >&5
30381 sed 's/^/| /' conftest.$ac_ext >&5
30382
30383 eval "$as_ac_var=no"
30384 fi
30385 rm -f conftest.err conftest.$ac_objext \
30386       conftest$ac_exeext conftest.$ac_ext
30387 fi
30388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30390 if test `eval echo '${'$as_ac_var'}'` = yes; then
30391   cat >>confdefs.h <<_ACEOF
30392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30393 _ACEOF
30394
30395 fi
30396 done
30397
30398   else
30399
30400   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30401 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30402   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30403     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30404   echo $ECHO_N "(cached) $ECHO_C" >&6
30405 else
30406
30407
30408
30409       ac_ext=cc
30410 ac_cpp='$CXXCPP $CPPFLAGS'
30411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30414
30415       cat >conftest.$ac_ext <<_ACEOF
30416 /* confdefs.h.  */
30417 _ACEOF
30418 cat confdefs.h >>conftest.$ac_ext
30419 cat >>conftest.$ac_ext <<_ACEOF
30420 /* end confdefs.h.  */
30421 #include <math.h>
30422 int
30423 main ()
30424 {
30425  _ldexpf(0, 0);
30426   ;
30427   return 0;
30428 }
30429 _ACEOF
30430 rm -f conftest.$ac_objext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30432   (eval $ac_compile) 2>conftest.er1
30433   ac_status=$?
30434   grep -v '^ *+' conftest.er1 >conftest.err
30435   rm -f conftest.er1
30436   cat conftest.err >&5
30437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438   (exit $ac_status); } &&
30439          { ac_try='test -z "$ac_cxx_werror_flag"
30440                          || test ! -s conftest.err'
30441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442   (eval $ac_try) 2>&5
30443   ac_status=$?
30444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445   (exit $ac_status); }; } &&
30446          { ac_try='test -s conftest.$ac_objext'
30447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448   (eval $ac_try) 2>&5
30449   ac_status=$?
30450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451   (exit $ac_status); }; }; then
30452   glibcxx_cv_func__ldexpf_use=yes
30453 else
30454   echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.$ac_ext >&5
30456
30457 glibcxx_cv_func__ldexpf_use=no
30458 fi
30459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30460       ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30465
30466
30467 fi
30468
30469   fi
30470   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30471 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30472
30473     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30474
30475 for ac_func in _ldexpf
30476 do
30477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30478 echo "$as_me:$LINENO: checking for $ac_func" >&5
30479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30480 if eval "test \"\${$as_ac_var+set}\" = set"; then
30481   echo $ECHO_N "(cached) $ECHO_C" >&6
30482 else
30483   if test x$gcc_no_link = xyes; then
30484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30486    { (exit 1); exit 1; }; }
30487 fi
30488 cat >conftest.$ac_ext <<_ACEOF
30489 /* confdefs.h.  */
30490 _ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h.  */
30494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30496 #define $ac_func innocuous_$ac_func
30497
30498 /* System header to define __stub macros and hopefully few prototypes,
30499     which can conflict with char $ac_func (); below.
30500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30501     <limits.h> exists even on freestanding compilers.  */
30502
30503 #ifdef __STDC__
30504 # include <limits.h>
30505 #else
30506 # include <assert.h>
30507 #endif
30508
30509 #undef $ac_func
30510
30511 /* Override any gcc2 internal prototype to avoid an error.  */
30512 #ifdef __cplusplus
30513 extern "C"
30514 {
30515 #endif
30516 /* We use char because int might match the return type of a gcc2
30517    builtin and then its argument prototype would still apply.  */
30518 char $ac_func ();
30519 /* The GNU C library defines this for functions which it implements
30520     to always fail with ENOSYS.  Some functions are actually named
30521     something starting with __ and the normal name is an alias.  */
30522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30523 choke me
30524 #else
30525 char (*f) () = $ac_func;
30526 #endif
30527 #ifdef __cplusplus
30528 }
30529 #endif
30530
30531 int
30532 main ()
30533 {
30534 return f != $ac_func;
30535   ;
30536   return 0;
30537 }
30538 _ACEOF
30539 rm -f conftest.$ac_objext conftest$ac_exeext
30540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30541   (eval $ac_link) 2>conftest.er1
30542   ac_status=$?
30543   grep -v '^ *+' conftest.er1 >conftest.err
30544   rm -f conftest.er1
30545   cat conftest.err >&5
30546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547   (exit $ac_status); } &&
30548          { ac_try='test -z "$ac_c_werror_flag"
30549                          || test ! -s conftest.err'
30550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30551   (eval $ac_try) 2>&5
30552   ac_status=$?
30553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554   (exit $ac_status); }; } &&
30555          { ac_try='test -s conftest$ac_exeext'
30556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557   (eval $ac_try) 2>&5
30558   ac_status=$?
30559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560   (exit $ac_status); }; }; then
30561   eval "$as_ac_var=yes"
30562 else
30563   echo "$as_me: failed program was:" >&5
30564 sed 's/^/| /' conftest.$ac_ext >&5
30565
30566 eval "$as_ac_var=no"
30567 fi
30568 rm -f conftest.err conftest.$ac_objext \
30569       conftest$ac_exeext conftest.$ac_ext
30570 fi
30571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30573 if test `eval echo '${'$as_ac_var'}'` = yes; then
30574   cat >>confdefs.h <<_ACEOF
30575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30576 _ACEOF
30577
30578 fi
30579 done
30580
30581     fi
30582   fi
30583
30584
30585
30586
30587
30588
30589   echo "$as_me:$LINENO: checking for logf declaration" >&5
30590 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30591   if test x${glibcxx_cv_func_logf_use+set} != xset; then
30592     if test "${glibcxx_cv_func_logf_use+set}" = set; then
30593   echo $ECHO_N "(cached) $ECHO_C" >&6
30594 else
30595
30596
30597
30598       ac_ext=cc
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30603
30604       cat >conftest.$ac_ext <<_ACEOF
30605 /* confdefs.h.  */
30606 _ACEOF
30607 cat confdefs.h >>conftest.$ac_ext
30608 cat >>conftest.$ac_ext <<_ACEOF
30609 /* end confdefs.h.  */
30610 #include <math.h>
30611                       #ifdef HAVE_IEEEFP_H
30612                       #include <ieeefp.h>
30613                       #endif
30614
30615 int
30616 main ()
30617 {
30618  logf(0);
30619   ;
30620   return 0;
30621 }
30622 _ACEOF
30623 rm -f conftest.$ac_objext
30624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30625   (eval $ac_compile) 2>conftest.er1
30626   ac_status=$?
30627   grep -v '^ *+' conftest.er1 >conftest.err
30628   rm -f conftest.er1
30629   cat conftest.err >&5
30630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631   (exit $ac_status); } &&
30632          { ac_try='test -z "$ac_cxx_werror_flag"
30633                          || test ! -s conftest.err'
30634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30635   (eval $ac_try) 2>&5
30636   ac_status=$?
30637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638   (exit $ac_status); }; } &&
30639          { ac_try='test -s conftest.$ac_objext'
30640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30641   (eval $ac_try) 2>&5
30642   ac_status=$?
30643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644   (exit $ac_status); }; }; then
30645   glibcxx_cv_func_logf_use=yes
30646 else
30647   echo "$as_me: failed program was:" >&5
30648 sed 's/^/| /' conftest.$ac_ext >&5
30649
30650 glibcxx_cv_func_logf_use=no
30651 fi
30652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30653       ac_ext=c
30654 ac_cpp='$CPP $CPPFLAGS'
30655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30658
30659
30660 fi
30661
30662   fi
30663   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30664 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30665
30666   if test x$glibcxx_cv_func_logf_use = x"yes"; then
30667
30668 for ac_func in logf
30669 do
30670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30671 echo "$as_me:$LINENO: checking for $ac_func" >&5
30672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30673 if eval "test \"\${$as_ac_var+set}\" = set"; then
30674   echo $ECHO_N "(cached) $ECHO_C" >&6
30675 else
30676   if test x$gcc_no_link = xyes; then
30677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30679    { (exit 1); exit 1; }; }
30680 fi
30681 cat >conftest.$ac_ext <<_ACEOF
30682 /* confdefs.h.  */
30683 _ACEOF
30684 cat confdefs.h >>conftest.$ac_ext
30685 cat >>conftest.$ac_ext <<_ACEOF
30686 /* end confdefs.h.  */
30687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30689 #define $ac_func innocuous_$ac_func
30690
30691 /* System header to define __stub macros and hopefully few prototypes,
30692     which can conflict with char $ac_func (); below.
30693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30694     <limits.h> exists even on freestanding compilers.  */
30695
30696 #ifdef __STDC__
30697 # include <limits.h>
30698 #else
30699 # include <assert.h>
30700 #endif
30701
30702 #undef $ac_func
30703
30704 /* Override any gcc2 internal prototype to avoid an error.  */
30705 #ifdef __cplusplus
30706 extern "C"
30707 {
30708 #endif
30709 /* We use char because int might match the return type of a gcc2
30710    builtin and then its argument prototype would still apply.  */
30711 char $ac_func ();
30712 /* The GNU C library defines this for functions which it implements
30713     to always fail with ENOSYS.  Some functions are actually named
30714     something starting with __ and the normal name is an alias.  */
30715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30716 choke me
30717 #else
30718 char (*f) () = $ac_func;
30719 #endif
30720 #ifdef __cplusplus
30721 }
30722 #endif
30723
30724 int
30725 main ()
30726 {
30727 return f != $ac_func;
30728   ;
30729   return 0;
30730 }
30731 _ACEOF
30732 rm -f conftest.$ac_objext conftest$ac_exeext
30733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30734   (eval $ac_link) 2>conftest.er1
30735   ac_status=$?
30736   grep -v '^ *+' conftest.er1 >conftest.err
30737   rm -f conftest.er1
30738   cat conftest.err >&5
30739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740   (exit $ac_status); } &&
30741          { ac_try='test -z "$ac_c_werror_flag"
30742                          || test ! -s conftest.err'
30743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30744   (eval $ac_try) 2>&5
30745   ac_status=$?
30746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747   (exit $ac_status); }; } &&
30748          { ac_try='test -s conftest$ac_exeext'
30749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750   (eval $ac_try) 2>&5
30751   ac_status=$?
30752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753   (exit $ac_status); }; }; then
30754   eval "$as_ac_var=yes"
30755 else
30756   echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30758
30759 eval "$as_ac_var=no"
30760 fi
30761 rm -f conftest.err conftest.$ac_objext \
30762       conftest$ac_exeext conftest.$ac_ext
30763 fi
30764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30766 if test `eval echo '${'$as_ac_var'}'` = yes; then
30767   cat >>confdefs.h <<_ACEOF
30768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30769 _ACEOF
30770
30771 fi
30772 done
30773
30774   else
30775
30776   echo "$as_me:$LINENO: checking for _logf declaration" >&5
30777 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30778   if test x${glibcxx_cv_func__logf_use+set} != xset; then
30779     if test "${glibcxx_cv_func__logf_use+set}" = set; then
30780   echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782
30783
30784
30785       ac_ext=cc
30786 ac_cpp='$CXXCPP $CPPFLAGS'
30787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30790
30791       cat >conftest.$ac_ext <<_ACEOF
30792 /* confdefs.h.  */
30793 _ACEOF
30794 cat confdefs.h >>conftest.$ac_ext
30795 cat >>conftest.$ac_ext <<_ACEOF
30796 /* end confdefs.h.  */
30797 #include <math.h>
30798                       #ifdef HAVE_IEEEFP_H
30799                       #include <ieeefp.h>
30800                       #endif
30801
30802 int
30803 main ()
30804 {
30805  _logf(0);
30806   ;
30807   return 0;
30808 }
30809 _ACEOF
30810 rm -f conftest.$ac_objext
30811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30812   (eval $ac_compile) 2>conftest.er1
30813   ac_status=$?
30814   grep -v '^ *+' conftest.er1 >conftest.err
30815   rm -f conftest.er1
30816   cat conftest.err >&5
30817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818   (exit $ac_status); } &&
30819          { ac_try='test -z "$ac_cxx_werror_flag"
30820                          || test ! -s conftest.err'
30821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822   (eval $ac_try) 2>&5
30823   ac_status=$?
30824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825   (exit $ac_status); }; } &&
30826          { ac_try='test -s conftest.$ac_objext'
30827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828   (eval $ac_try) 2>&5
30829   ac_status=$?
30830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831   (exit $ac_status); }; }; then
30832   glibcxx_cv_func__logf_use=yes
30833 else
30834   echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30836
30837 glibcxx_cv_func__logf_use=no
30838 fi
30839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30840       ac_ext=c
30841 ac_cpp='$CPP $CPPFLAGS'
30842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30845
30846
30847 fi
30848
30849   fi
30850   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30851 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30852
30853     if test x$glibcxx_cv_func__logf_use = x"yes"; then
30854
30855 for ac_func in _logf
30856 do
30857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30858 echo "$as_me:$LINENO: checking for $ac_func" >&5
30859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30860 if eval "test \"\${$as_ac_var+set}\" = set"; then
30861   echo $ECHO_N "(cached) $ECHO_C" >&6
30862 else
30863   if test x$gcc_no_link = xyes; then
30864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30866    { (exit 1); exit 1; }; }
30867 fi
30868 cat >conftest.$ac_ext <<_ACEOF
30869 /* confdefs.h.  */
30870 _ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h.  */
30874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30876 #define $ac_func innocuous_$ac_func
30877
30878 /* System header to define __stub macros and hopefully few prototypes,
30879     which can conflict with char $ac_func (); below.
30880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30881     <limits.h> exists even on freestanding compilers.  */
30882
30883 #ifdef __STDC__
30884 # include <limits.h>
30885 #else
30886 # include <assert.h>
30887 #endif
30888
30889 #undef $ac_func
30890
30891 /* Override any gcc2 internal prototype to avoid an error.  */
30892 #ifdef __cplusplus
30893 extern "C"
30894 {
30895 #endif
30896 /* We use char because int might match the return type of a gcc2
30897    builtin and then its argument prototype would still apply.  */
30898 char $ac_func ();
30899 /* The GNU C library defines this for functions which it implements
30900     to always fail with ENOSYS.  Some functions are actually named
30901     something starting with __ and the normal name is an alias.  */
30902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30903 choke me
30904 #else
30905 char (*f) () = $ac_func;
30906 #endif
30907 #ifdef __cplusplus
30908 }
30909 #endif
30910
30911 int
30912 main ()
30913 {
30914 return f != $ac_func;
30915   ;
30916   return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext conftest$ac_exeext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30921   (eval $ac_link) 2>conftest.er1
30922   ac_status=$?
30923   grep -v '^ *+' conftest.er1 >conftest.err
30924   rm -f conftest.er1
30925   cat conftest.err >&5
30926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927   (exit $ac_status); } &&
30928          { ac_try='test -z "$ac_c_werror_flag"
30929                          || test ! -s conftest.err'
30930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931   (eval $ac_try) 2>&5
30932   ac_status=$?
30933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934   (exit $ac_status); }; } &&
30935          { ac_try='test -s conftest$ac_exeext'
30936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937   (eval $ac_try) 2>&5
30938   ac_status=$?
30939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940   (exit $ac_status); }; }; then
30941   eval "$as_ac_var=yes"
30942 else
30943   echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 eval "$as_ac_var=no"
30947 fi
30948 rm -f conftest.err conftest.$ac_objext \
30949       conftest$ac_exeext conftest.$ac_ext
30950 fi
30951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30953 if test `eval echo '${'$as_ac_var'}'` = yes; then
30954   cat >>confdefs.h <<_ACEOF
30955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30956 _ACEOF
30957
30958 fi
30959 done
30960
30961     fi
30962   fi
30963
30964
30965
30966
30967
30968
30969   echo "$as_me:$LINENO: checking for log10f declaration" >&5
30970 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30971   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30972     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30973   echo $ECHO_N "(cached) $ECHO_C" >&6
30974 else
30975
30976
30977
30978       ac_ext=cc
30979 ac_cpp='$CXXCPP $CPPFLAGS'
30980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30983
30984       cat >conftest.$ac_ext <<_ACEOF
30985 /* confdefs.h.  */
30986 _ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h.  */
30990 #include <math.h>
30991                       #ifdef HAVE_IEEEFP_H
30992                       #include <ieeefp.h>
30993                       #endif
30994
30995 int
30996 main ()
30997 {
30998  log10f(0);
30999   ;
31000   return 0;
31001 }
31002 _ACEOF
31003 rm -f conftest.$ac_objext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31005   (eval $ac_compile) 2>conftest.er1
31006   ac_status=$?
31007   grep -v '^ *+' conftest.er1 >conftest.err
31008   rm -f conftest.er1
31009   cat conftest.err >&5
31010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31011   (exit $ac_status); } &&
31012          { ac_try='test -z "$ac_cxx_werror_flag"
31013                          || test ! -s conftest.err'
31014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015   (eval $ac_try) 2>&5
31016   ac_status=$?
31017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018   (exit $ac_status); }; } &&
31019          { ac_try='test -s conftest.$ac_objext'
31020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31021   (eval $ac_try) 2>&5
31022   ac_status=$?
31023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31024   (exit $ac_status); }; }; then
31025   glibcxx_cv_func_log10f_use=yes
31026 else
31027   echo "$as_me: failed program was:" >&5
31028 sed 's/^/| /' conftest.$ac_ext >&5
31029
31030 glibcxx_cv_func_log10f_use=no
31031 fi
31032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31033       ac_ext=c
31034 ac_cpp='$CPP $CPPFLAGS'
31035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31038
31039
31040 fi
31041
31042   fi
31043   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
31044 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
31045
31046   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31047
31048 for ac_func in log10f
31049 do
31050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31051 echo "$as_me:$LINENO: checking for $ac_func" >&5
31052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31053 if eval "test \"\${$as_ac_var+set}\" = set"; then
31054   echo $ECHO_N "(cached) $ECHO_C" >&6
31055 else
31056   if test x$gcc_no_link = xyes; then
31057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31059    { (exit 1); exit 1; }; }
31060 fi
31061 cat >conftest.$ac_ext <<_ACEOF
31062 /* confdefs.h.  */
31063 _ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h.  */
31067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31069 #define $ac_func innocuous_$ac_func
31070
31071 /* System header to define __stub macros and hopefully few prototypes,
31072     which can conflict with char $ac_func (); below.
31073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31074     <limits.h> exists even on freestanding compilers.  */
31075
31076 #ifdef __STDC__
31077 # include <limits.h>
31078 #else
31079 # include <assert.h>
31080 #endif
31081
31082 #undef $ac_func
31083
31084 /* Override any gcc2 internal prototype to avoid an error.  */
31085 #ifdef __cplusplus
31086 extern "C"
31087 {
31088 #endif
31089 /* We use char because int might match the return type of a gcc2
31090    builtin and then its argument prototype would still apply.  */
31091 char $ac_func ();
31092 /* The GNU C library defines this for functions which it implements
31093     to always fail with ENOSYS.  Some functions are actually named
31094     something starting with __ and the normal name is an alias.  */
31095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31096 choke me
31097 #else
31098 char (*f) () = $ac_func;
31099 #endif
31100 #ifdef __cplusplus
31101 }
31102 #endif
31103
31104 int
31105 main ()
31106 {
31107 return f != $ac_func;
31108   ;
31109   return 0;
31110 }
31111 _ACEOF
31112 rm -f conftest.$ac_objext conftest$ac_exeext
31113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31114   (eval $ac_link) 2>conftest.er1
31115   ac_status=$?
31116   grep -v '^ *+' conftest.er1 >conftest.err
31117   rm -f conftest.er1
31118   cat conftest.err >&5
31119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120   (exit $ac_status); } &&
31121          { ac_try='test -z "$ac_c_werror_flag"
31122                          || test ! -s conftest.err'
31123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124   (eval $ac_try) 2>&5
31125   ac_status=$?
31126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127   (exit $ac_status); }; } &&
31128          { ac_try='test -s conftest$ac_exeext'
31129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130   (eval $ac_try) 2>&5
31131   ac_status=$?
31132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133   (exit $ac_status); }; }; then
31134   eval "$as_ac_var=yes"
31135 else
31136   echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.$ac_ext >&5
31138
31139 eval "$as_ac_var=no"
31140 fi
31141 rm -f conftest.err conftest.$ac_objext \
31142       conftest$ac_exeext conftest.$ac_ext
31143 fi
31144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31146 if test `eval echo '${'$as_ac_var'}'` = yes; then
31147   cat >>confdefs.h <<_ACEOF
31148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31149 _ACEOF
31150
31151 fi
31152 done
31153
31154   else
31155
31156   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31157 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31158   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31159     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31160   echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162
31163
31164
31165       ac_ext=cc
31166 ac_cpp='$CXXCPP $CPPFLAGS'
31167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31170
31171       cat >conftest.$ac_ext <<_ACEOF
31172 /* confdefs.h.  */
31173 _ACEOF
31174 cat confdefs.h >>conftest.$ac_ext
31175 cat >>conftest.$ac_ext <<_ACEOF
31176 /* end confdefs.h.  */
31177 #include <math.h>
31178                       #ifdef HAVE_IEEEFP_H
31179                       #include <ieeefp.h>
31180                       #endif
31181
31182 int
31183 main ()
31184 {
31185  _log10f(0);
31186   ;
31187   return 0;
31188 }
31189 _ACEOF
31190 rm -f conftest.$ac_objext
31191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31192   (eval $ac_compile) 2>conftest.er1
31193   ac_status=$?
31194   grep -v '^ *+' conftest.er1 >conftest.err
31195   rm -f conftest.er1
31196   cat conftest.err >&5
31197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198   (exit $ac_status); } &&
31199          { ac_try='test -z "$ac_cxx_werror_flag"
31200                          || test ! -s conftest.err'
31201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202   (eval $ac_try) 2>&5
31203   ac_status=$?
31204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205   (exit $ac_status); }; } &&
31206          { ac_try='test -s conftest.$ac_objext'
31207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208   (eval $ac_try) 2>&5
31209   ac_status=$?
31210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211   (exit $ac_status); }; }; then
31212   glibcxx_cv_func__log10f_use=yes
31213 else
31214   echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31216
31217 glibcxx_cv_func__log10f_use=no
31218 fi
31219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31220       ac_ext=c
31221 ac_cpp='$CPP $CPPFLAGS'
31222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31225
31226
31227 fi
31228
31229   fi
31230   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31231 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31232
31233     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31234
31235 for ac_func in _log10f
31236 do
31237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31238 echo "$as_me:$LINENO: checking for $ac_func" >&5
31239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31240 if eval "test \"\${$as_ac_var+set}\" = set"; then
31241   echo $ECHO_N "(cached) $ECHO_C" >&6
31242 else
31243   if test x$gcc_no_link = xyes; then
31244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31246    { (exit 1); exit 1; }; }
31247 fi
31248 cat >conftest.$ac_ext <<_ACEOF
31249 /* confdefs.h.  */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h.  */
31254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31256 #define $ac_func innocuous_$ac_func
31257
31258 /* System header to define __stub macros and hopefully few prototypes,
31259     which can conflict with char $ac_func (); below.
31260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31261     <limits.h> exists even on freestanding compilers.  */
31262
31263 #ifdef __STDC__
31264 # include <limits.h>
31265 #else
31266 # include <assert.h>
31267 #endif
31268
31269 #undef $ac_func
31270
31271 /* Override any gcc2 internal prototype to avoid an error.  */
31272 #ifdef __cplusplus
31273 extern "C"
31274 {
31275 #endif
31276 /* We use char because int might match the return type of a gcc2
31277    builtin and then its argument prototype would still apply.  */
31278 char $ac_func ();
31279 /* The GNU C library defines this for functions which it implements
31280     to always fail with ENOSYS.  Some functions are actually named
31281     something starting with __ and the normal name is an alias.  */
31282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31283 choke me
31284 #else
31285 char (*f) () = $ac_func;
31286 #endif
31287 #ifdef __cplusplus
31288 }
31289 #endif
31290
31291 int
31292 main ()
31293 {
31294 return f != $ac_func;
31295   ;
31296   return 0;
31297 }
31298 _ACEOF
31299 rm -f conftest.$ac_objext conftest$ac_exeext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31301   (eval $ac_link) 2>conftest.er1
31302   ac_status=$?
31303   grep -v '^ *+' conftest.er1 >conftest.err
31304   rm -f conftest.er1
31305   cat conftest.err >&5
31306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307   (exit $ac_status); } &&
31308          { ac_try='test -z "$ac_c_werror_flag"
31309                          || test ! -s conftest.err'
31310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311   (eval $ac_try) 2>&5
31312   ac_status=$?
31313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314   (exit $ac_status); }; } &&
31315          { ac_try='test -s conftest$ac_exeext'
31316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317   (eval $ac_try) 2>&5
31318   ac_status=$?
31319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320   (exit $ac_status); }; }; then
31321   eval "$as_ac_var=yes"
31322 else
31323   echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 eval "$as_ac_var=no"
31327 fi
31328 rm -f conftest.err conftest.$ac_objext \
31329       conftest$ac_exeext conftest.$ac_ext
31330 fi
31331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31333 if test `eval echo '${'$as_ac_var'}'` = yes; then
31334   cat >>confdefs.h <<_ACEOF
31335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31336 _ACEOF
31337
31338 fi
31339 done
31340
31341     fi
31342   fi
31343
31344
31345
31346
31347
31348
31349   echo "$as_me:$LINENO: checking for modff declaration" >&5
31350 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31351   if test x${glibcxx_cv_func_modff_use+set} != xset; then
31352     if test "${glibcxx_cv_func_modff_use+set}" = set; then
31353   echo $ECHO_N "(cached) $ECHO_C" >&6
31354 else
31355
31356
31357
31358       ac_ext=cc
31359 ac_cpp='$CXXCPP $CPPFLAGS'
31360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363
31364       cat >conftest.$ac_ext <<_ACEOF
31365 /* confdefs.h.  */
31366 _ACEOF
31367 cat confdefs.h >>conftest.$ac_ext
31368 cat >>conftest.$ac_ext <<_ACEOF
31369 /* end confdefs.h.  */
31370 #include <math.h>
31371 int
31372 main ()
31373 {
31374  modff(0, 0);
31375   ;
31376   return 0;
31377 }
31378 _ACEOF
31379 rm -f conftest.$ac_objext
31380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31381   (eval $ac_compile) 2>conftest.er1
31382   ac_status=$?
31383   grep -v '^ *+' conftest.er1 >conftest.err
31384   rm -f conftest.er1
31385   cat conftest.err >&5
31386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387   (exit $ac_status); } &&
31388          { ac_try='test -z "$ac_cxx_werror_flag"
31389                          || test ! -s conftest.err'
31390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31391   (eval $ac_try) 2>&5
31392   ac_status=$?
31393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31394   (exit $ac_status); }; } &&
31395          { ac_try='test -s conftest.$ac_objext'
31396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31397   (eval $ac_try) 2>&5
31398   ac_status=$?
31399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400   (exit $ac_status); }; }; then
31401   glibcxx_cv_func_modff_use=yes
31402 else
31403   echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.$ac_ext >&5
31405
31406 glibcxx_cv_func_modff_use=no
31407 fi
31408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31409       ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31414
31415
31416 fi
31417
31418   fi
31419   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31420 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31421
31422   if test x$glibcxx_cv_func_modff_use = x"yes"; then
31423
31424 for ac_func in modff
31425 do
31426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31427 echo "$as_me:$LINENO: checking for $ac_func" >&5
31428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31429 if eval "test \"\${$as_ac_var+set}\" = set"; then
31430   echo $ECHO_N "(cached) $ECHO_C" >&6
31431 else
31432   if test x$gcc_no_link = xyes; then
31433   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31435    { (exit 1); exit 1; }; }
31436 fi
31437 cat >conftest.$ac_ext <<_ACEOF
31438 /* confdefs.h.  */
31439 _ACEOF
31440 cat confdefs.h >>conftest.$ac_ext
31441 cat >>conftest.$ac_ext <<_ACEOF
31442 /* end confdefs.h.  */
31443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31444    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31445 #define $ac_func innocuous_$ac_func
31446
31447 /* System header to define __stub macros and hopefully few prototypes,
31448     which can conflict with char $ac_func (); below.
31449     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31450     <limits.h> exists even on freestanding compilers.  */
31451
31452 #ifdef __STDC__
31453 # include <limits.h>
31454 #else
31455 # include <assert.h>
31456 #endif
31457
31458 #undef $ac_func
31459
31460 /* Override any gcc2 internal prototype to avoid an error.  */
31461 #ifdef __cplusplus
31462 extern "C"
31463 {
31464 #endif
31465 /* We use char because int might match the return type of a gcc2
31466    builtin and then its argument prototype would still apply.  */
31467 char $ac_func ();
31468 /* The GNU C library defines this for functions which it implements
31469     to always fail with ENOSYS.  Some functions are actually named
31470     something starting with __ and the normal name is an alias.  */
31471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31472 choke me
31473 #else
31474 char (*f) () = $ac_func;
31475 #endif
31476 #ifdef __cplusplus
31477 }
31478 #endif
31479
31480 int
31481 main ()
31482 {
31483 return f != $ac_func;
31484   ;
31485   return 0;
31486 }
31487 _ACEOF
31488 rm -f conftest.$ac_objext conftest$ac_exeext
31489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31490   (eval $ac_link) 2>conftest.er1
31491   ac_status=$?
31492   grep -v '^ *+' conftest.er1 >conftest.err
31493   rm -f conftest.er1
31494   cat conftest.err >&5
31495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496   (exit $ac_status); } &&
31497          { ac_try='test -z "$ac_c_werror_flag"
31498                          || test ! -s conftest.err'
31499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31500   (eval $ac_try) 2>&5
31501   ac_status=$?
31502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503   (exit $ac_status); }; } &&
31504          { ac_try='test -s conftest$ac_exeext'
31505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506   (eval $ac_try) 2>&5
31507   ac_status=$?
31508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509   (exit $ac_status); }; }; then
31510   eval "$as_ac_var=yes"
31511 else
31512   echo "$as_me: failed program was:" >&5
31513 sed 's/^/| /' conftest.$ac_ext >&5
31514
31515 eval "$as_ac_var=no"
31516 fi
31517 rm -f conftest.err conftest.$ac_objext \
31518       conftest$ac_exeext conftest.$ac_ext
31519 fi
31520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31522 if test `eval echo '${'$as_ac_var'}'` = yes; then
31523   cat >>confdefs.h <<_ACEOF
31524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31525 _ACEOF
31526
31527 fi
31528 done
31529
31530   else
31531
31532   echo "$as_me:$LINENO: checking for _modff declaration" >&5
31533 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31534   if test x${glibcxx_cv_func__modff_use+set} != xset; then
31535     if test "${glibcxx_cv_func__modff_use+set}" = set; then
31536   echo $ECHO_N "(cached) $ECHO_C" >&6
31537 else
31538
31539
31540
31541       ac_ext=cc
31542 ac_cpp='$CXXCPP $CPPFLAGS'
31543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31546
31547       cat >conftest.$ac_ext <<_ACEOF
31548 /* confdefs.h.  */
31549 _ACEOF
31550 cat confdefs.h >>conftest.$ac_ext
31551 cat >>conftest.$ac_ext <<_ACEOF
31552 /* end confdefs.h.  */
31553 #include <math.h>
31554 int
31555 main ()
31556 {
31557  _modff(0, 0);
31558   ;
31559   return 0;
31560 }
31561 _ACEOF
31562 rm -f conftest.$ac_objext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31564   (eval $ac_compile) 2>conftest.er1
31565   ac_status=$?
31566   grep -v '^ *+' conftest.er1 >conftest.err
31567   rm -f conftest.er1
31568   cat conftest.err >&5
31569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570   (exit $ac_status); } &&
31571          { ac_try='test -z "$ac_cxx_werror_flag"
31572                          || test ! -s conftest.err'
31573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574   (eval $ac_try) 2>&5
31575   ac_status=$?
31576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577   (exit $ac_status); }; } &&
31578          { ac_try='test -s conftest.$ac_objext'
31579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580   (eval $ac_try) 2>&5
31581   ac_status=$?
31582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583   (exit $ac_status); }; }; then
31584   glibcxx_cv_func__modff_use=yes
31585 else
31586   echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.$ac_ext >&5
31588
31589 glibcxx_cv_func__modff_use=no
31590 fi
31591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31592       ac_ext=c
31593 ac_cpp='$CPP $CPPFLAGS'
31594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31597
31598
31599 fi
31600
31601   fi
31602   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31603 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31604
31605     if test x$glibcxx_cv_func__modff_use = x"yes"; then
31606
31607 for ac_func in _modff
31608 do
31609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31610 echo "$as_me:$LINENO: checking for $ac_func" >&5
31611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31612 if eval "test \"\${$as_ac_var+set}\" = set"; then
31613   echo $ECHO_N "(cached) $ECHO_C" >&6
31614 else
31615   if test x$gcc_no_link = xyes; then
31616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31618    { (exit 1); exit 1; }; }
31619 fi
31620 cat >conftest.$ac_ext <<_ACEOF
31621 /* confdefs.h.  */
31622 _ACEOF
31623 cat confdefs.h >>conftest.$ac_ext
31624 cat >>conftest.$ac_ext <<_ACEOF
31625 /* end confdefs.h.  */
31626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31628 #define $ac_func innocuous_$ac_func
31629
31630 /* System header to define __stub macros and hopefully few prototypes,
31631     which can conflict with char $ac_func (); below.
31632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31633     <limits.h> exists even on freestanding compilers.  */
31634
31635 #ifdef __STDC__
31636 # include <limits.h>
31637 #else
31638 # include <assert.h>
31639 #endif
31640
31641 #undef $ac_func
31642
31643 /* Override any gcc2 internal prototype to avoid an error.  */
31644 #ifdef __cplusplus
31645 extern "C"
31646 {
31647 #endif
31648 /* We use char because int might match the return type of a gcc2
31649    builtin and then its argument prototype would still apply.  */
31650 char $ac_func ();
31651 /* The GNU C library defines this for functions which it implements
31652     to always fail with ENOSYS.  Some functions are actually named
31653     something starting with __ and the normal name is an alias.  */
31654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31655 choke me
31656 #else
31657 char (*f) () = $ac_func;
31658 #endif
31659 #ifdef __cplusplus
31660 }
31661 #endif
31662
31663 int
31664 main ()
31665 {
31666 return f != $ac_func;
31667   ;
31668   return 0;
31669 }
31670 _ACEOF
31671 rm -f conftest.$ac_objext conftest$ac_exeext
31672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31673   (eval $ac_link) 2>conftest.er1
31674   ac_status=$?
31675   grep -v '^ *+' conftest.er1 >conftest.err
31676   rm -f conftest.er1
31677   cat conftest.err >&5
31678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679   (exit $ac_status); } &&
31680          { ac_try='test -z "$ac_c_werror_flag"
31681                          || test ! -s conftest.err'
31682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683   (eval $ac_try) 2>&5
31684   ac_status=$?
31685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686   (exit $ac_status); }; } &&
31687          { ac_try='test -s conftest$ac_exeext'
31688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689   (eval $ac_try) 2>&5
31690   ac_status=$?
31691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692   (exit $ac_status); }; }; then
31693   eval "$as_ac_var=yes"
31694 else
31695   echo "$as_me: failed program was:" >&5
31696 sed 's/^/| /' conftest.$ac_ext >&5
31697
31698 eval "$as_ac_var=no"
31699 fi
31700 rm -f conftest.err conftest.$ac_objext \
31701       conftest$ac_exeext conftest.$ac_ext
31702 fi
31703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31705 if test `eval echo '${'$as_ac_var'}'` = yes; then
31706   cat >>confdefs.h <<_ACEOF
31707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31708 _ACEOF
31709
31710 fi
31711 done
31712
31713     fi
31714   fi
31715
31716
31717
31718
31719
31720
31721   echo "$as_me:$LINENO: checking for modf declaration" >&5
31722 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31723   if test x${glibcxx_cv_func_modf_use+set} != xset; then
31724     if test "${glibcxx_cv_func_modf_use+set}" = set; then
31725   echo $ECHO_N "(cached) $ECHO_C" >&6
31726 else
31727
31728
31729
31730       ac_ext=cc
31731 ac_cpp='$CXXCPP $CPPFLAGS'
31732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735
31736       cat >conftest.$ac_ext <<_ACEOF
31737 /* confdefs.h.  */
31738 _ACEOF
31739 cat confdefs.h >>conftest.$ac_ext
31740 cat >>conftest.$ac_ext <<_ACEOF
31741 /* end confdefs.h.  */
31742 #include <math.h>
31743 int
31744 main ()
31745 {
31746  modf(0, 0);
31747   ;
31748   return 0;
31749 }
31750 _ACEOF
31751 rm -f conftest.$ac_objext
31752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31753   (eval $ac_compile) 2>conftest.er1
31754   ac_status=$?
31755   grep -v '^ *+' conftest.er1 >conftest.err
31756   rm -f conftest.er1
31757   cat conftest.err >&5
31758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759   (exit $ac_status); } &&
31760          { ac_try='test -z "$ac_cxx_werror_flag"
31761                          || test ! -s conftest.err'
31762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31763   (eval $ac_try) 2>&5
31764   ac_status=$?
31765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31766   (exit $ac_status); }; } &&
31767          { ac_try='test -s conftest.$ac_objext'
31768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31769   (eval $ac_try) 2>&5
31770   ac_status=$?
31771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772   (exit $ac_status); }; }; then
31773   glibcxx_cv_func_modf_use=yes
31774 else
31775   echo "$as_me: failed program was:" >&5
31776 sed 's/^/| /' conftest.$ac_ext >&5
31777
31778 glibcxx_cv_func_modf_use=no
31779 fi
31780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31781       ac_ext=c
31782 ac_cpp='$CPP $CPPFLAGS'
31783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31786
31787
31788 fi
31789
31790   fi
31791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31792 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31793
31794   if test x$glibcxx_cv_func_modf_use = x"yes"; then
31795
31796 for ac_func in modf
31797 do
31798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31799 echo "$as_me:$LINENO: checking for $ac_func" >&5
31800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31801 if eval "test \"\${$as_ac_var+set}\" = set"; then
31802   echo $ECHO_N "(cached) $ECHO_C" >&6
31803 else
31804   if test x$gcc_no_link = xyes; then
31805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31807    { (exit 1); exit 1; }; }
31808 fi
31809 cat >conftest.$ac_ext <<_ACEOF
31810 /* confdefs.h.  */
31811 _ACEOF
31812 cat confdefs.h >>conftest.$ac_ext
31813 cat >>conftest.$ac_ext <<_ACEOF
31814 /* end confdefs.h.  */
31815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31817 #define $ac_func innocuous_$ac_func
31818
31819 /* System header to define __stub macros and hopefully few prototypes,
31820     which can conflict with char $ac_func (); below.
31821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31822     <limits.h> exists even on freestanding compilers.  */
31823
31824 #ifdef __STDC__
31825 # include <limits.h>
31826 #else
31827 # include <assert.h>
31828 #endif
31829
31830 #undef $ac_func
31831
31832 /* Override any gcc2 internal prototype to avoid an error.  */
31833 #ifdef __cplusplus
31834 extern "C"
31835 {
31836 #endif
31837 /* We use char because int might match the return type of a gcc2
31838    builtin and then its argument prototype would still apply.  */
31839 char $ac_func ();
31840 /* The GNU C library defines this for functions which it implements
31841     to always fail with ENOSYS.  Some functions are actually named
31842     something starting with __ and the normal name is an alias.  */
31843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31844 choke me
31845 #else
31846 char (*f) () = $ac_func;
31847 #endif
31848 #ifdef __cplusplus
31849 }
31850 #endif
31851
31852 int
31853 main ()
31854 {
31855 return f != $ac_func;
31856   ;
31857   return 0;
31858 }
31859 _ACEOF
31860 rm -f conftest.$ac_objext conftest$ac_exeext
31861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31862   (eval $ac_link) 2>conftest.er1
31863   ac_status=$?
31864   grep -v '^ *+' conftest.er1 >conftest.err
31865   rm -f conftest.er1
31866   cat conftest.err >&5
31867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868   (exit $ac_status); } &&
31869          { ac_try='test -z "$ac_c_werror_flag"
31870                          || test ! -s conftest.err'
31871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872   (eval $ac_try) 2>&5
31873   ac_status=$?
31874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875   (exit $ac_status); }; } &&
31876          { ac_try='test -s conftest$ac_exeext'
31877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31878   (eval $ac_try) 2>&5
31879   ac_status=$?
31880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881   (exit $ac_status); }; }; then
31882   eval "$as_ac_var=yes"
31883 else
31884   echo "$as_me: failed program was:" >&5
31885 sed 's/^/| /' conftest.$ac_ext >&5
31886
31887 eval "$as_ac_var=no"
31888 fi
31889 rm -f conftest.err conftest.$ac_objext \
31890       conftest$ac_exeext conftest.$ac_ext
31891 fi
31892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31894 if test `eval echo '${'$as_ac_var'}'` = yes; then
31895   cat >>confdefs.h <<_ACEOF
31896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31897 _ACEOF
31898
31899 fi
31900 done
31901
31902   else
31903
31904   echo "$as_me:$LINENO: checking for _modf declaration" >&5
31905 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31906   if test x${glibcxx_cv_func__modf_use+set} != xset; then
31907     if test "${glibcxx_cv_func__modf_use+set}" = set; then
31908   echo $ECHO_N "(cached) $ECHO_C" >&6
31909 else
31910
31911
31912
31913       ac_ext=cc
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31918
31919       cat >conftest.$ac_ext <<_ACEOF
31920 /* confdefs.h.  */
31921 _ACEOF
31922 cat confdefs.h >>conftest.$ac_ext
31923 cat >>conftest.$ac_ext <<_ACEOF
31924 /* end confdefs.h.  */
31925 #include <math.h>
31926 int
31927 main ()
31928 {
31929  _modf(0, 0);
31930   ;
31931   return 0;
31932 }
31933 _ACEOF
31934 rm -f conftest.$ac_objext
31935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31936   (eval $ac_compile) 2>conftest.er1
31937   ac_status=$?
31938   grep -v '^ *+' conftest.er1 >conftest.err
31939   rm -f conftest.er1
31940   cat conftest.err >&5
31941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942   (exit $ac_status); } &&
31943          { ac_try='test -z "$ac_cxx_werror_flag"
31944                          || test ! -s conftest.err'
31945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946   (eval $ac_try) 2>&5
31947   ac_status=$?
31948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949   (exit $ac_status); }; } &&
31950          { ac_try='test -s conftest.$ac_objext'
31951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952   (eval $ac_try) 2>&5
31953   ac_status=$?
31954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955   (exit $ac_status); }; }; then
31956   glibcxx_cv_func__modf_use=yes
31957 else
31958   echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.$ac_ext >&5
31960
31961 glibcxx_cv_func__modf_use=no
31962 fi
31963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31964       ac_ext=c
31965 ac_cpp='$CPP $CPPFLAGS'
31966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31969
31970
31971 fi
31972
31973   fi
31974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31975 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31976
31977     if test x$glibcxx_cv_func__modf_use = x"yes"; then
31978
31979 for ac_func in _modf
31980 do
31981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31982 echo "$as_me:$LINENO: checking for $ac_func" >&5
31983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31984 if eval "test \"\${$as_ac_var+set}\" = set"; then
31985   echo $ECHO_N "(cached) $ECHO_C" >&6
31986 else
31987   if test x$gcc_no_link = xyes; then
31988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31990    { (exit 1); exit 1; }; }
31991 fi
31992 cat >conftest.$ac_ext <<_ACEOF
31993 /* confdefs.h.  */
31994 _ACEOF
31995 cat confdefs.h >>conftest.$ac_ext
31996 cat >>conftest.$ac_ext <<_ACEOF
31997 /* end confdefs.h.  */
31998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32000 #define $ac_func innocuous_$ac_func
32001
32002 /* System header to define __stub macros and hopefully few prototypes,
32003     which can conflict with char $ac_func (); below.
32004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32005     <limits.h> exists even on freestanding compilers.  */
32006
32007 #ifdef __STDC__
32008 # include <limits.h>
32009 #else
32010 # include <assert.h>
32011 #endif
32012
32013 #undef $ac_func
32014
32015 /* Override any gcc2 internal prototype to avoid an error.  */
32016 #ifdef __cplusplus
32017 extern "C"
32018 {
32019 #endif
32020 /* We use char because int might match the return type of a gcc2
32021    builtin and then its argument prototype would still apply.  */
32022 char $ac_func ();
32023 /* The GNU C library defines this for functions which it implements
32024     to always fail with ENOSYS.  Some functions are actually named
32025     something starting with __ and the normal name is an alias.  */
32026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32027 choke me
32028 #else
32029 char (*f) () = $ac_func;
32030 #endif
32031 #ifdef __cplusplus
32032 }
32033 #endif
32034
32035 int
32036 main ()
32037 {
32038 return f != $ac_func;
32039   ;
32040   return 0;
32041 }
32042 _ACEOF
32043 rm -f conftest.$ac_objext conftest$ac_exeext
32044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32045   (eval $ac_link) 2>conftest.er1
32046   ac_status=$?
32047   grep -v '^ *+' conftest.er1 >conftest.err
32048   rm -f conftest.er1
32049   cat conftest.err >&5
32050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051   (exit $ac_status); } &&
32052          { ac_try='test -z "$ac_c_werror_flag"
32053                          || test ! -s conftest.err'
32054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055   (eval $ac_try) 2>&5
32056   ac_status=$?
32057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058   (exit $ac_status); }; } &&
32059          { ac_try='test -s conftest$ac_exeext'
32060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32061   (eval $ac_try) 2>&5
32062   ac_status=$?
32063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064   (exit $ac_status); }; }; then
32065   eval "$as_ac_var=yes"
32066 else
32067   echo "$as_me: failed program was:" >&5
32068 sed 's/^/| /' conftest.$ac_ext >&5
32069
32070 eval "$as_ac_var=no"
32071 fi
32072 rm -f conftest.err conftest.$ac_objext \
32073       conftest$ac_exeext conftest.$ac_ext
32074 fi
32075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32077 if test `eval echo '${'$as_ac_var'}'` = yes; then
32078   cat >>confdefs.h <<_ACEOF
32079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32080 _ACEOF
32081
32082 fi
32083 done
32084
32085     fi
32086   fi
32087
32088
32089
32090
32091
32092
32093   echo "$as_me:$LINENO: checking for powf declaration" >&5
32094 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
32095   if test x${glibcxx_cv_func_powf_use+set} != xset; then
32096     if test "${glibcxx_cv_func_powf_use+set}" = set; then
32097   echo $ECHO_N "(cached) $ECHO_C" >&6
32098 else
32099
32100
32101
32102       ac_ext=cc
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32107
32108       cat >conftest.$ac_ext <<_ACEOF
32109 /* confdefs.h.  */
32110 _ACEOF
32111 cat confdefs.h >>conftest.$ac_ext
32112 cat >>conftest.$ac_ext <<_ACEOF
32113 /* end confdefs.h.  */
32114 #include <math.h>
32115 int
32116 main ()
32117 {
32118  powf(0, 0);
32119   ;
32120   return 0;
32121 }
32122 _ACEOF
32123 rm -f conftest.$ac_objext
32124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32125   (eval $ac_compile) 2>conftest.er1
32126   ac_status=$?
32127   grep -v '^ *+' conftest.er1 >conftest.err
32128   rm -f conftest.er1
32129   cat conftest.err >&5
32130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131   (exit $ac_status); } &&
32132          { ac_try='test -z "$ac_cxx_werror_flag"
32133                          || test ! -s conftest.err'
32134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32135   (eval $ac_try) 2>&5
32136   ac_status=$?
32137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138   (exit $ac_status); }; } &&
32139          { ac_try='test -s conftest.$ac_objext'
32140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32141   (eval $ac_try) 2>&5
32142   ac_status=$?
32143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144   (exit $ac_status); }; }; then
32145   glibcxx_cv_func_powf_use=yes
32146 else
32147   echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32149
32150 glibcxx_cv_func_powf_use=no
32151 fi
32152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32153       ac_ext=c
32154 ac_cpp='$CPP $CPPFLAGS'
32155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32158
32159
32160 fi
32161
32162   fi
32163   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32164 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32165
32166   if test x$glibcxx_cv_func_powf_use = x"yes"; then
32167
32168 for ac_func in powf
32169 do
32170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32171 echo "$as_me:$LINENO: checking for $ac_func" >&5
32172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32173 if eval "test \"\${$as_ac_var+set}\" = set"; then
32174   echo $ECHO_N "(cached) $ECHO_C" >&6
32175 else
32176   if test x$gcc_no_link = xyes; then
32177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32179    { (exit 1); exit 1; }; }
32180 fi
32181 cat >conftest.$ac_ext <<_ACEOF
32182 /* confdefs.h.  */
32183 _ACEOF
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h.  */
32187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32189 #define $ac_func innocuous_$ac_func
32190
32191 /* System header to define __stub macros and hopefully few prototypes,
32192     which can conflict with char $ac_func (); below.
32193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32194     <limits.h> exists even on freestanding compilers.  */
32195
32196 #ifdef __STDC__
32197 # include <limits.h>
32198 #else
32199 # include <assert.h>
32200 #endif
32201
32202 #undef $ac_func
32203
32204 /* Override any gcc2 internal prototype to avoid an error.  */
32205 #ifdef __cplusplus
32206 extern "C"
32207 {
32208 #endif
32209 /* We use char because int might match the return type of a gcc2
32210    builtin and then its argument prototype would still apply.  */
32211 char $ac_func ();
32212 /* The GNU C library defines this for functions which it implements
32213     to always fail with ENOSYS.  Some functions are actually named
32214     something starting with __ and the normal name is an alias.  */
32215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32216 choke me
32217 #else
32218 char (*f) () = $ac_func;
32219 #endif
32220 #ifdef __cplusplus
32221 }
32222 #endif
32223
32224 int
32225 main ()
32226 {
32227 return f != $ac_func;
32228   ;
32229   return 0;
32230 }
32231 _ACEOF
32232 rm -f conftest.$ac_objext conftest$ac_exeext
32233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32234   (eval $ac_link) 2>conftest.er1
32235   ac_status=$?
32236   grep -v '^ *+' conftest.er1 >conftest.err
32237   rm -f conftest.er1
32238   cat conftest.err >&5
32239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240   (exit $ac_status); } &&
32241          { ac_try='test -z "$ac_c_werror_flag"
32242                          || test ! -s conftest.err'
32243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32244   (eval $ac_try) 2>&5
32245   ac_status=$?
32246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247   (exit $ac_status); }; } &&
32248          { ac_try='test -s conftest$ac_exeext'
32249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32250   (eval $ac_try) 2>&5
32251   ac_status=$?
32252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253   (exit $ac_status); }; }; then
32254   eval "$as_ac_var=yes"
32255 else
32256   echo "$as_me: failed program was:" >&5
32257 sed 's/^/| /' conftest.$ac_ext >&5
32258
32259 eval "$as_ac_var=no"
32260 fi
32261 rm -f conftest.err conftest.$ac_objext \
32262       conftest$ac_exeext conftest.$ac_ext
32263 fi
32264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32266 if test `eval echo '${'$as_ac_var'}'` = yes; then
32267   cat >>confdefs.h <<_ACEOF
32268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32269 _ACEOF
32270
32271 fi
32272 done
32273
32274   else
32275
32276   echo "$as_me:$LINENO: checking for _powf declaration" >&5
32277 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32278   if test x${glibcxx_cv_func__powf_use+set} != xset; then
32279     if test "${glibcxx_cv_func__powf_use+set}" = set; then
32280   echo $ECHO_N "(cached) $ECHO_C" >&6
32281 else
32282
32283
32284
32285       ac_ext=cc
32286 ac_cpp='$CXXCPP $CPPFLAGS'
32287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32290
32291       cat >conftest.$ac_ext <<_ACEOF
32292 /* confdefs.h.  */
32293 _ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h.  */
32297 #include <math.h>
32298 int
32299 main ()
32300 {
32301  _powf(0, 0);
32302   ;
32303   return 0;
32304 }
32305 _ACEOF
32306 rm -f conftest.$ac_objext
32307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32308   (eval $ac_compile) 2>conftest.er1
32309   ac_status=$?
32310   grep -v '^ *+' conftest.er1 >conftest.err
32311   rm -f conftest.er1
32312   cat conftest.err >&5
32313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314   (exit $ac_status); } &&
32315          { ac_try='test -z "$ac_cxx_werror_flag"
32316                          || test ! -s conftest.err'
32317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318   (eval $ac_try) 2>&5
32319   ac_status=$?
32320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321   (exit $ac_status); }; } &&
32322          { ac_try='test -s conftest.$ac_objext'
32323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324   (eval $ac_try) 2>&5
32325   ac_status=$?
32326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327   (exit $ac_status); }; }; then
32328   glibcxx_cv_func__powf_use=yes
32329 else
32330   echo "$as_me: failed program was:" >&5
32331 sed 's/^/| /' conftest.$ac_ext >&5
32332
32333 glibcxx_cv_func__powf_use=no
32334 fi
32335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32336       ac_ext=c
32337 ac_cpp='$CPP $CPPFLAGS'
32338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32341
32342
32343 fi
32344
32345   fi
32346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32347 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32348
32349     if test x$glibcxx_cv_func__powf_use = x"yes"; then
32350
32351 for ac_func in _powf
32352 do
32353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32354 echo "$as_me:$LINENO: checking for $ac_func" >&5
32355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32356 if eval "test \"\${$as_ac_var+set}\" = set"; then
32357   echo $ECHO_N "(cached) $ECHO_C" >&6
32358 else
32359   if test x$gcc_no_link = xyes; then
32360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32362    { (exit 1); exit 1; }; }
32363 fi
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h.  */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h.  */
32370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32372 #define $ac_func innocuous_$ac_func
32373
32374 /* System header to define __stub macros and hopefully few prototypes,
32375     which can conflict with char $ac_func (); below.
32376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32377     <limits.h> exists even on freestanding compilers.  */
32378
32379 #ifdef __STDC__
32380 # include <limits.h>
32381 #else
32382 # include <assert.h>
32383 #endif
32384
32385 #undef $ac_func
32386
32387 /* Override any gcc2 internal prototype to avoid an error.  */
32388 #ifdef __cplusplus
32389 extern "C"
32390 {
32391 #endif
32392 /* We use char because int might match the return type of a gcc2
32393    builtin and then its argument prototype would still apply.  */
32394 char $ac_func ();
32395 /* The GNU C library defines this for functions which it implements
32396     to always fail with ENOSYS.  Some functions are actually named
32397     something starting with __ and the normal name is an alias.  */
32398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32399 choke me
32400 #else
32401 char (*f) () = $ac_func;
32402 #endif
32403 #ifdef __cplusplus
32404 }
32405 #endif
32406
32407 int
32408 main ()
32409 {
32410 return f != $ac_func;
32411   ;
32412   return 0;
32413 }
32414 _ACEOF
32415 rm -f conftest.$ac_objext conftest$ac_exeext
32416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32417   (eval $ac_link) 2>conftest.er1
32418   ac_status=$?
32419   grep -v '^ *+' conftest.er1 >conftest.err
32420   rm -f conftest.er1
32421   cat conftest.err >&5
32422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423   (exit $ac_status); } &&
32424          { ac_try='test -z "$ac_c_werror_flag"
32425                          || test ! -s conftest.err'
32426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427   (eval $ac_try) 2>&5
32428   ac_status=$?
32429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430   (exit $ac_status); }; } &&
32431          { ac_try='test -s conftest$ac_exeext'
32432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433   (eval $ac_try) 2>&5
32434   ac_status=$?
32435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436   (exit $ac_status); }; }; then
32437   eval "$as_ac_var=yes"
32438 else
32439   echo "$as_me: failed program was:" >&5
32440 sed 's/^/| /' conftest.$ac_ext >&5
32441
32442 eval "$as_ac_var=no"
32443 fi
32444 rm -f conftest.err conftest.$ac_objext \
32445       conftest$ac_exeext conftest.$ac_ext
32446 fi
32447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32449 if test `eval echo '${'$as_ac_var'}'` = yes; then
32450   cat >>confdefs.h <<_ACEOF
32451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32452 _ACEOF
32453
32454 fi
32455 done
32456
32457     fi
32458   fi
32459
32460
32461
32462
32463
32464
32465   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32466 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32467   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32468     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32469   echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471
32472
32473
32474       ac_ext=cc
32475 ac_cpp='$CXXCPP $CPPFLAGS'
32476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32479
32480       cat >conftest.$ac_ext <<_ACEOF
32481 /* confdefs.h.  */
32482 _ACEOF
32483 cat confdefs.h >>conftest.$ac_ext
32484 cat >>conftest.$ac_ext <<_ACEOF
32485 /* end confdefs.h.  */
32486 #include <math.h>
32487                       #ifdef HAVE_IEEEFP_H
32488                       #include <ieeefp.h>
32489                       #endif
32490
32491 int
32492 main ()
32493 {
32494  sqrtf(0);
32495   ;
32496   return 0;
32497 }
32498 _ACEOF
32499 rm -f conftest.$ac_objext
32500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32501   (eval $ac_compile) 2>conftest.er1
32502   ac_status=$?
32503   grep -v '^ *+' conftest.er1 >conftest.err
32504   rm -f conftest.er1
32505   cat conftest.err >&5
32506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507   (exit $ac_status); } &&
32508          { ac_try='test -z "$ac_cxx_werror_flag"
32509                          || test ! -s conftest.err'
32510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511   (eval $ac_try) 2>&5
32512   ac_status=$?
32513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514   (exit $ac_status); }; } &&
32515          { ac_try='test -s conftest.$ac_objext'
32516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517   (eval $ac_try) 2>&5
32518   ac_status=$?
32519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520   (exit $ac_status); }; }; then
32521   glibcxx_cv_func_sqrtf_use=yes
32522 else
32523   echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.$ac_ext >&5
32525
32526 glibcxx_cv_func_sqrtf_use=no
32527 fi
32528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32529       ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534
32535
32536 fi
32537
32538   fi
32539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32540 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32541
32542   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32543
32544 for ac_func in sqrtf
32545 do
32546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32547 echo "$as_me:$LINENO: checking for $ac_func" >&5
32548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32549 if eval "test \"\${$as_ac_var+set}\" = set"; then
32550   echo $ECHO_N "(cached) $ECHO_C" >&6
32551 else
32552   if test x$gcc_no_link = xyes; then
32553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32555    { (exit 1); exit 1; }; }
32556 fi
32557 cat >conftest.$ac_ext <<_ACEOF
32558 /* confdefs.h.  */
32559 _ACEOF
32560 cat confdefs.h >>conftest.$ac_ext
32561 cat >>conftest.$ac_ext <<_ACEOF
32562 /* end confdefs.h.  */
32563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32565 #define $ac_func innocuous_$ac_func
32566
32567 /* System header to define __stub macros and hopefully few prototypes,
32568     which can conflict with char $ac_func (); below.
32569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32570     <limits.h> exists even on freestanding compilers.  */
32571
32572 #ifdef __STDC__
32573 # include <limits.h>
32574 #else
32575 # include <assert.h>
32576 #endif
32577
32578 #undef $ac_func
32579
32580 /* Override any gcc2 internal prototype to avoid an error.  */
32581 #ifdef __cplusplus
32582 extern "C"
32583 {
32584 #endif
32585 /* We use char because int might match the return type of a gcc2
32586    builtin and then its argument prototype would still apply.  */
32587 char $ac_func ();
32588 /* The GNU C library defines this for functions which it implements
32589     to always fail with ENOSYS.  Some functions are actually named
32590     something starting with __ and the normal name is an alias.  */
32591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32592 choke me
32593 #else
32594 char (*f) () = $ac_func;
32595 #endif
32596 #ifdef __cplusplus
32597 }
32598 #endif
32599
32600 int
32601 main ()
32602 {
32603 return f != $ac_func;
32604   ;
32605   return 0;
32606 }
32607 _ACEOF
32608 rm -f conftest.$ac_objext conftest$ac_exeext
32609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32610   (eval $ac_link) 2>conftest.er1
32611   ac_status=$?
32612   grep -v '^ *+' conftest.er1 >conftest.err
32613   rm -f conftest.er1
32614   cat conftest.err >&5
32615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616   (exit $ac_status); } &&
32617          { ac_try='test -z "$ac_c_werror_flag"
32618                          || test ! -s conftest.err'
32619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620   (eval $ac_try) 2>&5
32621   ac_status=$?
32622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623   (exit $ac_status); }; } &&
32624          { ac_try='test -s conftest$ac_exeext'
32625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32626   (eval $ac_try) 2>&5
32627   ac_status=$?
32628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629   (exit $ac_status); }; }; then
32630   eval "$as_ac_var=yes"
32631 else
32632   echo "$as_me: failed program was:" >&5
32633 sed 's/^/| /' conftest.$ac_ext >&5
32634
32635 eval "$as_ac_var=no"
32636 fi
32637 rm -f conftest.err conftest.$ac_objext \
32638       conftest$ac_exeext conftest.$ac_ext
32639 fi
32640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32642 if test `eval echo '${'$as_ac_var'}'` = yes; then
32643   cat >>confdefs.h <<_ACEOF
32644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32645 _ACEOF
32646
32647 fi
32648 done
32649
32650   else
32651
32652   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32653 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32654   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32655     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32656   echo $ECHO_N "(cached) $ECHO_C" >&6
32657 else
32658
32659
32660
32661       ac_ext=cc
32662 ac_cpp='$CXXCPP $CPPFLAGS'
32663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32666
32667       cat >conftest.$ac_ext <<_ACEOF
32668 /* confdefs.h.  */
32669 _ACEOF
32670 cat confdefs.h >>conftest.$ac_ext
32671 cat >>conftest.$ac_ext <<_ACEOF
32672 /* end confdefs.h.  */
32673 #include <math.h>
32674                       #ifdef HAVE_IEEEFP_H
32675                       #include <ieeefp.h>
32676                       #endif
32677
32678 int
32679 main ()
32680 {
32681  _sqrtf(0);
32682   ;
32683   return 0;
32684 }
32685 _ACEOF
32686 rm -f conftest.$ac_objext
32687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32688   (eval $ac_compile) 2>conftest.er1
32689   ac_status=$?
32690   grep -v '^ *+' conftest.er1 >conftest.err
32691   rm -f conftest.er1
32692   cat conftest.err >&5
32693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32694   (exit $ac_status); } &&
32695          { ac_try='test -z "$ac_cxx_werror_flag"
32696                          || test ! -s conftest.err'
32697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698   (eval $ac_try) 2>&5
32699   ac_status=$?
32700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701   (exit $ac_status); }; } &&
32702          { ac_try='test -s conftest.$ac_objext'
32703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704   (eval $ac_try) 2>&5
32705   ac_status=$?
32706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707   (exit $ac_status); }; }; then
32708   glibcxx_cv_func__sqrtf_use=yes
32709 else
32710   echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.$ac_ext >&5
32712
32713 glibcxx_cv_func__sqrtf_use=no
32714 fi
32715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32716       ac_ext=c
32717 ac_cpp='$CPP $CPPFLAGS'
32718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32721
32722
32723 fi
32724
32725   fi
32726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32727 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32728
32729     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32730
32731 for ac_func in _sqrtf
32732 do
32733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32734 echo "$as_me:$LINENO: checking for $ac_func" >&5
32735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32736 if eval "test \"\${$as_ac_var+set}\" = set"; then
32737   echo $ECHO_N "(cached) $ECHO_C" >&6
32738 else
32739   if test x$gcc_no_link = xyes; then
32740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32742    { (exit 1); exit 1; }; }
32743 fi
32744 cat >conftest.$ac_ext <<_ACEOF
32745 /* confdefs.h.  */
32746 _ACEOF
32747 cat confdefs.h >>conftest.$ac_ext
32748 cat >>conftest.$ac_ext <<_ACEOF
32749 /* end confdefs.h.  */
32750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32752 #define $ac_func innocuous_$ac_func
32753
32754 /* System header to define __stub macros and hopefully few prototypes,
32755     which can conflict with char $ac_func (); below.
32756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32757     <limits.h> exists even on freestanding compilers.  */
32758
32759 #ifdef __STDC__
32760 # include <limits.h>
32761 #else
32762 # include <assert.h>
32763 #endif
32764
32765 #undef $ac_func
32766
32767 /* Override any gcc2 internal prototype to avoid an error.  */
32768 #ifdef __cplusplus
32769 extern "C"
32770 {
32771 #endif
32772 /* We use char because int might match the return type of a gcc2
32773    builtin and then its argument prototype would still apply.  */
32774 char $ac_func ();
32775 /* The GNU C library defines this for functions which it implements
32776     to always fail with ENOSYS.  Some functions are actually named
32777     something starting with __ and the normal name is an alias.  */
32778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32779 choke me
32780 #else
32781 char (*f) () = $ac_func;
32782 #endif
32783 #ifdef __cplusplus
32784 }
32785 #endif
32786
32787 int
32788 main ()
32789 {
32790 return f != $ac_func;
32791   ;
32792   return 0;
32793 }
32794 _ACEOF
32795 rm -f conftest.$ac_objext conftest$ac_exeext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32797   (eval $ac_link) 2>conftest.er1
32798   ac_status=$?
32799   grep -v '^ *+' conftest.er1 >conftest.err
32800   rm -f conftest.er1
32801   cat conftest.err >&5
32802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803   (exit $ac_status); } &&
32804          { ac_try='test -z "$ac_c_werror_flag"
32805                          || test ! -s conftest.err'
32806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807   (eval $ac_try) 2>&5
32808   ac_status=$?
32809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810   (exit $ac_status); }; } &&
32811          { ac_try='test -s conftest$ac_exeext'
32812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32813   (eval $ac_try) 2>&5
32814   ac_status=$?
32815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816   (exit $ac_status); }; }; then
32817   eval "$as_ac_var=yes"
32818 else
32819   echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32821
32822 eval "$as_ac_var=no"
32823 fi
32824 rm -f conftest.err conftest.$ac_objext \
32825       conftest$ac_exeext conftest.$ac_ext
32826 fi
32827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32829 if test `eval echo '${'$as_ac_var'}'` = yes; then
32830   cat >>confdefs.h <<_ACEOF
32831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32832 _ACEOF
32833
32834 fi
32835 done
32836
32837     fi
32838   fi
32839
32840
32841
32842
32843
32844
32845   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32846 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32847   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32848     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32849   echo $ECHO_N "(cached) $ECHO_C" >&6
32850 else
32851
32852
32853
32854       ac_ext=cc
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32859
32860       cat >conftest.$ac_ext <<_ACEOF
32861 /* confdefs.h.  */
32862 _ACEOF
32863 cat confdefs.h >>conftest.$ac_ext
32864 cat >>conftest.$ac_ext <<_ACEOF
32865 /* end confdefs.h.  */
32866 #include <math.h>
32867 int
32868 main ()
32869 {
32870  sincosf(0, 0, 0);
32871   ;
32872   return 0;
32873 }
32874 _ACEOF
32875 rm -f conftest.$ac_objext
32876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32877   (eval $ac_compile) 2>conftest.er1
32878   ac_status=$?
32879   grep -v '^ *+' conftest.er1 >conftest.err
32880   rm -f conftest.er1
32881   cat conftest.err >&5
32882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883   (exit $ac_status); } &&
32884          { ac_try='test -z "$ac_cxx_werror_flag"
32885                          || test ! -s conftest.err'
32886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32887   (eval $ac_try) 2>&5
32888   ac_status=$?
32889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890   (exit $ac_status); }; } &&
32891          { ac_try='test -s conftest.$ac_objext'
32892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32893   (eval $ac_try) 2>&5
32894   ac_status=$?
32895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896   (exit $ac_status); }; }; then
32897   glibcxx_cv_func_sincosf_use=yes
32898 else
32899   echo "$as_me: failed program was:" >&5
32900 sed 's/^/| /' conftest.$ac_ext >&5
32901
32902 glibcxx_cv_func_sincosf_use=no
32903 fi
32904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32905       ac_ext=c
32906 ac_cpp='$CPP $CPPFLAGS'
32907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32910
32911
32912 fi
32913
32914   fi
32915   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32916 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32917
32918   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32919
32920 for ac_func in sincosf
32921 do
32922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32923 echo "$as_me:$LINENO: checking for $ac_func" >&5
32924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32925 if eval "test \"\${$as_ac_var+set}\" = set"; then
32926   echo $ECHO_N "(cached) $ECHO_C" >&6
32927 else
32928   if test x$gcc_no_link = xyes; then
32929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32931    { (exit 1); exit 1; }; }
32932 fi
32933 cat >conftest.$ac_ext <<_ACEOF
32934 /* confdefs.h.  */
32935 _ACEOF
32936 cat confdefs.h >>conftest.$ac_ext
32937 cat >>conftest.$ac_ext <<_ACEOF
32938 /* end confdefs.h.  */
32939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32941 #define $ac_func innocuous_$ac_func
32942
32943 /* System header to define __stub macros and hopefully few prototypes,
32944     which can conflict with char $ac_func (); below.
32945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32946     <limits.h> exists even on freestanding compilers.  */
32947
32948 #ifdef __STDC__
32949 # include <limits.h>
32950 #else
32951 # include <assert.h>
32952 #endif
32953
32954 #undef $ac_func
32955
32956 /* Override any gcc2 internal prototype to avoid an error.  */
32957 #ifdef __cplusplus
32958 extern "C"
32959 {
32960 #endif
32961 /* We use char because int might match the return type of a gcc2
32962    builtin and then its argument prototype would still apply.  */
32963 char $ac_func ();
32964 /* The GNU C library defines this for functions which it implements
32965     to always fail with ENOSYS.  Some functions are actually named
32966     something starting with __ and the normal name is an alias.  */
32967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32968 choke me
32969 #else
32970 char (*f) () = $ac_func;
32971 #endif
32972 #ifdef __cplusplus
32973 }
32974 #endif
32975
32976 int
32977 main ()
32978 {
32979 return f != $ac_func;
32980   ;
32981   return 0;
32982 }
32983 _ACEOF
32984 rm -f conftest.$ac_objext conftest$ac_exeext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32986   (eval $ac_link) 2>conftest.er1
32987   ac_status=$?
32988   grep -v '^ *+' conftest.er1 >conftest.err
32989   rm -f conftest.er1
32990   cat conftest.err >&5
32991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992   (exit $ac_status); } &&
32993          { ac_try='test -z "$ac_c_werror_flag"
32994                          || test ! -s conftest.err'
32995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996   (eval $ac_try) 2>&5
32997   ac_status=$?
32998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999   (exit $ac_status); }; } &&
33000          { ac_try='test -s conftest$ac_exeext'
33001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002   (eval $ac_try) 2>&5
33003   ac_status=$?
33004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005   (exit $ac_status); }; }; then
33006   eval "$as_ac_var=yes"
33007 else
33008   echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 eval "$as_ac_var=no"
33012 fi
33013 rm -f conftest.err conftest.$ac_objext \
33014       conftest$ac_exeext conftest.$ac_ext
33015 fi
33016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33018 if test `eval echo '${'$as_ac_var'}'` = yes; then
33019   cat >>confdefs.h <<_ACEOF
33020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33021 _ACEOF
33022
33023 fi
33024 done
33025
33026   else
33027
33028   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
33029 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
33030   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33031     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
33032   echo $ECHO_N "(cached) $ECHO_C" >&6
33033 else
33034
33035
33036
33037       ac_ext=cc
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042
33043       cat >conftest.$ac_ext <<_ACEOF
33044 /* confdefs.h.  */
33045 _ACEOF
33046 cat confdefs.h >>conftest.$ac_ext
33047 cat >>conftest.$ac_ext <<_ACEOF
33048 /* end confdefs.h.  */
33049 #include <math.h>
33050 int
33051 main ()
33052 {
33053  _sincosf(0, 0, 0);
33054   ;
33055   return 0;
33056 }
33057 _ACEOF
33058 rm -f conftest.$ac_objext
33059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33060   (eval $ac_compile) 2>conftest.er1
33061   ac_status=$?
33062   grep -v '^ *+' conftest.er1 >conftest.err
33063   rm -f conftest.er1
33064   cat conftest.err >&5
33065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066   (exit $ac_status); } &&
33067          { ac_try='test -z "$ac_cxx_werror_flag"
33068                          || test ! -s conftest.err'
33069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070   (eval $ac_try) 2>&5
33071   ac_status=$?
33072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073   (exit $ac_status); }; } &&
33074          { ac_try='test -s conftest.$ac_objext'
33075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076   (eval $ac_try) 2>&5
33077   ac_status=$?
33078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079   (exit $ac_status); }; }; then
33080   glibcxx_cv_func__sincosf_use=yes
33081 else
33082   echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.$ac_ext >&5
33084
33085 glibcxx_cv_func__sincosf_use=no
33086 fi
33087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33088       ac_ext=c
33089 ac_cpp='$CPP $CPPFLAGS'
33090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33093
33094
33095 fi
33096
33097   fi
33098   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
33099 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33100
33101     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33102
33103 for ac_func in _sincosf
33104 do
33105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33106 echo "$as_me:$LINENO: checking for $ac_func" >&5
33107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33108 if eval "test \"\${$as_ac_var+set}\" = set"; then
33109   echo $ECHO_N "(cached) $ECHO_C" >&6
33110 else
33111   if test x$gcc_no_link = xyes; then
33112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33114    { (exit 1); exit 1; }; }
33115 fi
33116 cat >conftest.$ac_ext <<_ACEOF
33117 /* confdefs.h.  */
33118 _ACEOF
33119 cat confdefs.h >>conftest.$ac_ext
33120 cat >>conftest.$ac_ext <<_ACEOF
33121 /* end confdefs.h.  */
33122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33124 #define $ac_func innocuous_$ac_func
33125
33126 /* System header to define __stub macros and hopefully few prototypes,
33127     which can conflict with char $ac_func (); below.
33128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33129     <limits.h> exists even on freestanding compilers.  */
33130
33131 #ifdef __STDC__
33132 # include <limits.h>
33133 #else
33134 # include <assert.h>
33135 #endif
33136
33137 #undef $ac_func
33138
33139 /* Override any gcc2 internal prototype to avoid an error.  */
33140 #ifdef __cplusplus
33141 extern "C"
33142 {
33143 #endif
33144 /* We use char because int might match the return type of a gcc2
33145    builtin and then its argument prototype would still apply.  */
33146 char $ac_func ();
33147 /* The GNU C library defines this for functions which it implements
33148     to always fail with ENOSYS.  Some functions are actually named
33149     something starting with __ and the normal name is an alias.  */
33150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33151 choke me
33152 #else
33153 char (*f) () = $ac_func;
33154 #endif
33155 #ifdef __cplusplus
33156 }
33157 #endif
33158
33159 int
33160 main ()
33161 {
33162 return f != $ac_func;
33163   ;
33164   return 0;
33165 }
33166 _ACEOF
33167 rm -f conftest.$ac_objext conftest$ac_exeext
33168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33169   (eval $ac_link) 2>conftest.er1
33170   ac_status=$?
33171   grep -v '^ *+' conftest.er1 >conftest.err
33172   rm -f conftest.er1
33173   cat conftest.err >&5
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); } &&
33176          { ac_try='test -z "$ac_c_werror_flag"
33177                          || test ! -s conftest.err'
33178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179   (eval $ac_try) 2>&5
33180   ac_status=$?
33181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182   (exit $ac_status); }; } &&
33183          { ac_try='test -s conftest$ac_exeext'
33184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33185   (eval $ac_try) 2>&5
33186   ac_status=$?
33187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188   (exit $ac_status); }; }; then
33189   eval "$as_ac_var=yes"
33190 else
33191   echo "$as_me: failed program was:" >&5
33192 sed 's/^/| /' conftest.$ac_ext >&5
33193
33194 eval "$as_ac_var=no"
33195 fi
33196 rm -f conftest.err conftest.$ac_objext \
33197       conftest$ac_exeext conftest.$ac_ext
33198 fi
33199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33201 if test `eval echo '${'$as_ac_var'}'` = yes; then
33202   cat >>confdefs.h <<_ACEOF
33203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33204 _ACEOF
33205
33206 fi
33207 done
33208
33209     fi
33210   fi
33211
33212
33213
33214
33215
33216
33217   echo "$as_me:$LINENO: checking for finitef declaration" >&5
33218 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33219   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33220     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33221   echo $ECHO_N "(cached) $ECHO_C" >&6
33222 else
33223
33224
33225
33226       ac_ext=cc
33227 ac_cpp='$CXXCPP $CPPFLAGS'
33228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33231
33232       cat >conftest.$ac_ext <<_ACEOF
33233 /* confdefs.h.  */
33234 _ACEOF
33235 cat confdefs.h >>conftest.$ac_ext
33236 cat >>conftest.$ac_ext <<_ACEOF
33237 /* end confdefs.h.  */
33238 #include <math.h>
33239                       #ifdef HAVE_IEEEFP_H
33240                       #include <ieeefp.h>
33241                       #endif
33242
33243 int
33244 main ()
33245 {
33246  finitef(0);
33247   ;
33248   return 0;
33249 }
33250 _ACEOF
33251 rm -f conftest.$ac_objext
33252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33253   (eval $ac_compile) 2>conftest.er1
33254   ac_status=$?
33255   grep -v '^ *+' conftest.er1 >conftest.err
33256   rm -f conftest.er1
33257   cat conftest.err >&5
33258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259   (exit $ac_status); } &&
33260          { ac_try='test -z "$ac_cxx_werror_flag"
33261                          || test ! -s conftest.err'
33262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33263   (eval $ac_try) 2>&5
33264   ac_status=$?
33265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266   (exit $ac_status); }; } &&
33267          { ac_try='test -s conftest.$ac_objext'
33268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269   (eval $ac_try) 2>&5
33270   ac_status=$?
33271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272   (exit $ac_status); }; }; then
33273   glibcxx_cv_func_finitef_use=yes
33274 else
33275   echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.$ac_ext >&5
33277
33278 glibcxx_cv_func_finitef_use=no
33279 fi
33280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33281       ac_ext=c
33282 ac_cpp='$CPP $CPPFLAGS'
33283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33286
33287
33288 fi
33289
33290   fi
33291   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33292 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33293
33294   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33295
33296 for ac_func in finitef
33297 do
33298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33299 echo "$as_me:$LINENO: checking for $ac_func" >&5
33300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33301 if eval "test \"\${$as_ac_var+set}\" = set"; then
33302   echo $ECHO_N "(cached) $ECHO_C" >&6
33303 else
33304   if test x$gcc_no_link = xyes; then
33305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33307    { (exit 1); exit 1; }; }
33308 fi
33309 cat >conftest.$ac_ext <<_ACEOF
33310 /* confdefs.h.  */
33311 _ACEOF
33312 cat confdefs.h >>conftest.$ac_ext
33313 cat >>conftest.$ac_ext <<_ACEOF
33314 /* end confdefs.h.  */
33315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33317 #define $ac_func innocuous_$ac_func
33318
33319 /* System header to define __stub macros and hopefully few prototypes,
33320     which can conflict with char $ac_func (); below.
33321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33322     <limits.h> exists even on freestanding compilers.  */
33323
33324 #ifdef __STDC__
33325 # include <limits.h>
33326 #else
33327 # include <assert.h>
33328 #endif
33329
33330 #undef $ac_func
33331
33332 /* Override any gcc2 internal prototype to avoid an error.  */
33333 #ifdef __cplusplus
33334 extern "C"
33335 {
33336 #endif
33337 /* We use char because int might match the return type of a gcc2
33338    builtin and then its argument prototype would still apply.  */
33339 char $ac_func ();
33340 /* The GNU C library defines this for functions which it implements
33341     to always fail with ENOSYS.  Some functions are actually named
33342     something starting with __ and the normal name is an alias.  */
33343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33344 choke me
33345 #else
33346 char (*f) () = $ac_func;
33347 #endif
33348 #ifdef __cplusplus
33349 }
33350 #endif
33351
33352 int
33353 main ()
33354 {
33355 return f != $ac_func;
33356   ;
33357   return 0;
33358 }
33359 _ACEOF
33360 rm -f conftest.$ac_objext conftest$ac_exeext
33361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33362   (eval $ac_link) 2>conftest.er1
33363   ac_status=$?
33364   grep -v '^ *+' conftest.er1 >conftest.err
33365   rm -f conftest.er1
33366   cat conftest.err >&5
33367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368   (exit $ac_status); } &&
33369          { ac_try='test -z "$ac_c_werror_flag"
33370                          || test ! -s conftest.err'
33371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372   (eval $ac_try) 2>&5
33373   ac_status=$?
33374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375   (exit $ac_status); }; } &&
33376          { ac_try='test -s conftest$ac_exeext'
33377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378   (eval $ac_try) 2>&5
33379   ac_status=$?
33380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381   (exit $ac_status); }; }; then
33382   eval "$as_ac_var=yes"
33383 else
33384   echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.$ac_ext >&5
33386
33387 eval "$as_ac_var=no"
33388 fi
33389 rm -f conftest.err conftest.$ac_objext \
33390       conftest$ac_exeext conftest.$ac_ext
33391 fi
33392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33394 if test `eval echo '${'$as_ac_var'}'` = yes; then
33395   cat >>confdefs.h <<_ACEOF
33396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33397 _ACEOF
33398
33399 fi
33400 done
33401
33402   else
33403
33404   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33405 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33406   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33407     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33408   echo $ECHO_N "(cached) $ECHO_C" >&6
33409 else
33410
33411
33412
33413       ac_ext=cc
33414 ac_cpp='$CXXCPP $CPPFLAGS'
33415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33418
33419       cat >conftest.$ac_ext <<_ACEOF
33420 /* confdefs.h.  */
33421 _ACEOF
33422 cat confdefs.h >>conftest.$ac_ext
33423 cat >>conftest.$ac_ext <<_ACEOF
33424 /* end confdefs.h.  */
33425 #include <math.h>
33426                       #ifdef HAVE_IEEEFP_H
33427                       #include <ieeefp.h>
33428                       #endif
33429
33430 int
33431 main ()
33432 {
33433  _finitef(0);
33434   ;
33435   return 0;
33436 }
33437 _ACEOF
33438 rm -f conftest.$ac_objext
33439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33440   (eval $ac_compile) 2>conftest.er1
33441   ac_status=$?
33442   grep -v '^ *+' conftest.er1 >conftest.err
33443   rm -f conftest.er1
33444   cat conftest.err >&5
33445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446   (exit $ac_status); } &&
33447          { ac_try='test -z "$ac_cxx_werror_flag"
33448                          || test ! -s conftest.err'
33449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450   (eval $ac_try) 2>&5
33451   ac_status=$?
33452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453   (exit $ac_status); }; } &&
33454          { ac_try='test -s conftest.$ac_objext'
33455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456   (eval $ac_try) 2>&5
33457   ac_status=$?
33458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459   (exit $ac_status); }; }; then
33460   glibcxx_cv_func__finitef_use=yes
33461 else
33462   echo "$as_me: failed program was:" >&5
33463 sed 's/^/| /' conftest.$ac_ext >&5
33464
33465 glibcxx_cv_func__finitef_use=no
33466 fi
33467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33468       ac_ext=c
33469 ac_cpp='$CPP $CPPFLAGS'
33470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473
33474
33475 fi
33476
33477   fi
33478   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33479 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33480
33481     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33482
33483 for ac_func in _finitef
33484 do
33485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33486 echo "$as_me:$LINENO: checking for $ac_func" >&5
33487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33488 if eval "test \"\${$as_ac_var+set}\" = set"; then
33489   echo $ECHO_N "(cached) $ECHO_C" >&6
33490 else
33491   if test x$gcc_no_link = xyes; then
33492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33494    { (exit 1); exit 1; }; }
33495 fi
33496 cat >conftest.$ac_ext <<_ACEOF
33497 /* confdefs.h.  */
33498 _ACEOF
33499 cat confdefs.h >>conftest.$ac_ext
33500 cat >>conftest.$ac_ext <<_ACEOF
33501 /* end confdefs.h.  */
33502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33504 #define $ac_func innocuous_$ac_func
33505
33506 /* System header to define __stub macros and hopefully few prototypes,
33507     which can conflict with char $ac_func (); below.
33508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33509     <limits.h> exists even on freestanding compilers.  */
33510
33511 #ifdef __STDC__
33512 # include <limits.h>
33513 #else
33514 # include <assert.h>
33515 #endif
33516
33517 #undef $ac_func
33518
33519 /* Override any gcc2 internal prototype to avoid an error.  */
33520 #ifdef __cplusplus
33521 extern "C"
33522 {
33523 #endif
33524 /* We use char because int might match the return type of a gcc2
33525    builtin and then its argument prototype would still apply.  */
33526 char $ac_func ();
33527 /* The GNU C library defines this for functions which it implements
33528     to always fail with ENOSYS.  Some functions are actually named
33529     something starting with __ and the normal name is an alias.  */
33530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33531 choke me
33532 #else
33533 char (*f) () = $ac_func;
33534 #endif
33535 #ifdef __cplusplus
33536 }
33537 #endif
33538
33539 int
33540 main ()
33541 {
33542 return f != $ac_func;
33543   ;
33544   return 0;
33545 }
33546 _ACEOF
33547 rm -f conftest.$ac_objext conftest$ac_exeext
33548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33549   (eval $ac_link) 2>conftest.er1
33550   ac_status=$?
33551   grep -v '^ *+' conftest.er1 >conftest.err
33552   rm -f conftest.er1
33553   cat conftest.err >&5
33554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555   (exit $ac_status); } &&
33556          { ac_try='test -z "$ac_c_werror_flag"
33557                          || test ! -s conftest.err'
33558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559   (eval $ac_try) 2>&5
33560   ac_status=$?
33561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562   (exit $ac_status); }; } &&
33563          { ac_try='test -s conftest$ac_exeext'
33564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565   (eval $ac_try) 2>&5
33566   ac_status=$?
33567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568   (exit $ac_status); }; }; then
33569   eval "$as_ac_var=yes"
33570 else
33571   echo "$as_me: failed program was:" >&5
33572 sed 's/^/| /' conftest.$ac_ext >&5
33573
33574 eval "$as_ac_var=no"
33575 fi
33576 rm -f conftest.err conftest.$ac_objext \
33577       conftest$ac_exeext conftest.$ac_ext
33578 fi
33579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33581 if test `eval echo '${'$as_ac_var'}'` = yes; then
33582   cat >>confdefs.h <<_ACEOF
33583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33584 _ACEOF
33585
33586 fi
33587 done
33588
33589     fi
33590   fi
33591
33592
33593
33594
33595
33596
33597     echo "$as_me:$LINENO: checking for long double trig functions" >&5
33598 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33599   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33600   echo $ECHO_N "(cached) $ECHO_C" >&6
33601 else
33602
33603
33604
33605     ac_ext=cc
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33610
33611     cat >conftest.$ac_ext <<_ACEOF
33612 /* confdefs.h.  */
33613 _ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h.  */
33617 #include <math.h>
33618 int
33619 main ()
33620 {
33621 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33622   ;
33623   return 0;
33624 }
33625 _ACEOF
33626 rm -f conftest.$ac_objext
33627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33628   (eval $ac_compile) 2>conftest.er1
33629   ac_status=$?
33630   grep -v '^ *+' conftest.er1 >conftest.err
33631   rm -f conftest.er1
33632   cat conftest.err >&5
33633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634   (exit $ac_status); } &&
33635          { ac_try='test -z "$ac_cxx_werror_flag"
33636                          || test ! -s conftest.err'
33637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638   (eval $ac_try) 2>&5
33639   ac_status=$?
33640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641   (exit $ac_status); }; } &&
33642          { ac_try='test -s conftest.$ac_objext'
33643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33644   (eval $ac_try) 2>&5
33645   ac_status=$?
33646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647   (exit $ac_status); }; }; then
33648   glibcxx_cv_func_long_double_trig_use=yes
33649 else
33650   echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33652
33653 glibcxx_cv_func_long_double_trig_use=no
33654 fi
33655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33656     ac_ext=c
33657 ac_cpp='$CPP $CPPFLAGS'
33658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33661
33662 fi
33663
33664   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33665 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33666   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33677 do
33678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33679 echo "$as_me:$LINENO: checking for $ac_func" >&5
33680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33681 if eval "test \"\${$as_ac_var+set}\" = set"; then
33682   echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684   if test x$gcc_no_link = xyes; then
33685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33687    { (exit 1); exit 1; }; }
33688 fi
33689 cat >conftest.$ac_ext <<_ACEOF
33690 /* confdefs.h.  */
33691 _ACEOF
33692 cat confdefs.h >>conftest.$ac_ext
33693 cat >>conftest.$ac_ext <<_ACEOF
33694 /* end confdefs.h.  */
33695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33697 #define $ac_func innocuous_$ac_func
33698
33699 /* System header to define __stub macros and hopefully few prototypes,
33700     which can conflict with char $ac_func (); below.
33701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33702     <limits.h> exists even on freestanding compilers.  */
33703
33704 #ifdef __STDC__
33705 # include <limits.h>
33706 #else
33707 # include <assert.h>
33708 #endif
33709
33710 #undef $ac_func
33711
33712 /* Override any gcc2 internal prototype to avoid an error.  */
33713 #ifdef __cplusplus
33714 extern "C"
33715 {
33716 #endif
33717 /* We use char because int might match the return type of a gcc2
33718    builtin and then its argument prototype would still apply.  */
33719 char $ac_func ();
33720 /* The GNU C library defines this for functions which it implements
33721     to always fail with ENOSYS.  Some functions are actually named
33722     something starting with __ and the normal name is an alias.  */
33723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33724 choke me
33725 #else
33726 char (*f) () = $ac_func;
33727 #endif
33728 #ifdef __cplusplus
33729 }
33730 #endif
33731
33732 int
33733 main ()
33734 {
33735 return f != $ac_func;
33736   ;
33737   return 0;
33738 }
33739 _ACEOF
33740 rm -f conftest.$ac_objext conftest$ac_exeext
33741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33742   (eval $ac_link) 2>conftest.er1
33743   ac_status=$?
33744   grep -v '^ *+' conftest.er1 >conftest.err
33745   rm -f conftest.er1
33746   cat conftest.err >&5
33747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748   (exit $ac_status); } &&
33749          { ac_try='test -z "$ac_c_werror_flag"
33750                          || test ! -s conftest.err'
33751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33752   (eval $ac_try) 2>&5
33753   ac_status=$?
33754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755   (exit $ac_status); }; } &&
33756          { ac_try='test -s conftest$ac_exeext'
33757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758   (eval $ac_try) 2>&5
33759   ac_status=$?
33760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761   (exit $ac_status); }; }; then
33762   eval "$as_ac_var=yes"
33763 else
33764   echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33766
33767 eval "$as_ac_var=no"
33768 fi
33769 rm -f conftest.err conftest.$ac_objext \
33770       conftest$ac_exeext conftest.$ac_ext
33771 fi
33772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33774 if test `eval echo '${'$as_ac_var'}'` = yes; then
33775   cat >>confdefs.h <<_ACEOF
33776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33777 _ACEOF
33778
33779 fi
33780 done
33781
33782   else
33783     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33784 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33785     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33786   echo $ECHO_N "(cached) $ECHO_C" >&6
33787 else
33788
33789
33790
33791       ac_ext=cc
33792 ac_cpp='$CXXCPP $CPPFLAGS'
33793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33796
33797       cat >conftest.$ac_ext <<_ACEOF
33798 /* confdefs.h.  */
33799 _ACEOF
33800 cat confdefs.h >>conftest.$ac_ext
33801 cat >>conftest.$ac_ext <<_ACEOF
33802 /* end confdefs.h.  */
33803 #include <math.h>
33804 int
33805 main ()
33806 {
33807 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33808   ;
33809   return 0;
33810 }
33811 _ACEOF
33812 rm -f conftest.$ac_objext
33813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33814   (eval $ac_compile) 2>conftest.er1
33815   ac_status=$?
33816   grep -v '^ *+' conftest.er1 >conftest.err
33817   rm -f conftest.er1
33818   cat conftest.err >&5
33819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820   (exit $ac_status); } &&
33821          { ac_try='test -z "$ac_cxx_werror_flag"
33822                          || test ! -s conftest.err'
33823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33824   (eval $ac_try) 2>&5
33825   ac_status=$?
33826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827   (exit $ac_status); }; } &&
33828          { ac_try='test -s conftest.$ac_objext'
33829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33830   (eval $ac_try) 2>&5
33831   ac_status=$?
33832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833   (exit $ac_status); }; }; then
33834   glibcxx_cv_func__long_double_trig_use=yes
33835 else
33836   echo "$as_me: failed program was:" >&5
33837 sed 's/^/| /' conftest.$ac_ext >&5
33838
33839 glibcxx_cv_func__long_double_trig_use=no
33840 fi
33841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33842       ac_ext=c
33843 ac_cpp='$CPP $CPPFLAGS'
33844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33847
33848 fi
33849
33850     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33851 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33852     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33863 do
33864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33865 echo "$as_me:$LINENO: checking for $ac_func" >&5
33866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33867 if eval "test \"\${$as_ac_var+set}\" = set"; then
33868   echo $ECHO_N "(cached) $ECHO_C" >&6
33869 else
33870   if test x$gcc_no_link = xyes; then
33871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33873    { (exit 1); exit 1; }; }
33874 fi
33875 cat >conftest.$ac_ext <<_ACEOF
33876 /* confdefs.h.  */
33877 _ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h.  */
33881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33883 #define $ac_func innocuous_$ac_func
33884
33885 /* System header to define __stub macros and hopefully few prototypes,
33886     which can conflict with char $ac_func (); below.
33887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33888     <limits.h> exists even on freestanding compilers.  */
33889
33890 #ifdef __STDC__
33891 # include <limits.h>
33892 #else
33893 # include <assert.h>
33894 #endif
33895
33896 #undef $ac_func
33897
33898 /* Override any gcc2 internal prototype to avoid an error.  */
33899 #ifdef __cplusplus
33900 extern "C"
33901 {
33902 #endif
33903 /* We use char because int might match the return type of a gcc2
33904    builtin and then its argument prototype would still apply.  */
33905 char $ac_func ();
33906 /* The GNU C library defines this for functions which it implements
33907     to always fail with ENOSYS.  Some functions are actually named
33908     something starting with __ and the normal name is an alias.  */
33909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33910 choke me
33911 #else
33912 char (*f) () = $ac_func;
33913 #endif
33914 #ifdef __cplusplus
33915 }
33916 #endif
33917
33918 int
33919 main ()
33920 {
33921 return f != $ac_func;
33922   ;
33923   return 0;
33924 }
33925 _ACEOF
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33928   (eval $ac_link) 2>conftest.er1
33929   ac_status=$?
33930   grep -v '^ *+' conftest.er1 >conftest.err
33931   rm -f conftest.er1
33932   cat conftest.err >&5
33933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934   (exit $ac_status); } &&
33935          { ac_try='test -z "$ac_c_werror_flag"
33936                          || test ! -s conftest.err'
33937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938   (eval $ac_try) 2>&5
33939   ac_status=$?
33940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941   (exit $ac_status); }; } &&
33942          { ac_try='test -s conftest$ac_exeext'
33943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944   (eval $ac_try) 2>&5
33945   ac_status=$?
33946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947   (exit $ac_status); }; }; then
33948   eval "$as_ac_var=yes"
33949 else
33950   echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.$ac_ext >&5
33952
33953 eval "$as_ac_var=no"
33954 fi
33955 rm -f conftest.err conftest.$ac_objext \
33956       conftest$ac_exeext conftest.$ac_ext
33957 fi
33958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33960 if test `eval echo '${'$as_ac_var'}'` = yes; then
33961   cat >>confdefs.h <<_ACEOF
33962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33963 _ACEOF
33964
33965 fi
33966 done
33967
33968     fi
33969   fi
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984     echo "$as_me:$LINENO: checking for long double round functions" >&5
33985 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33986   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33987   echo $ECHO_N "(cached) $ECHO_C" >&6
33988 else
33989
33990
33991
33992     ac_ext=cc
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997
33998     cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h.  */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h.  */
34004 #include <math.h>
34005 int
34006 main ()
34007 {
34008 ceill (0); floorl (0);
34009   ;
34010   return 0;
34011 }
34012 _ACEOF
34013 rm -f conftest.$ac_objext
34014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34015   (eval $ac_compile) 2>conftest.er1
34016   ac_status=$?
34017   grep -v '^ *+' conftest.er1 >conftest.err
34018   rm -f conftest.er1
34019   cat conftest.err >&5
34020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021   (exit $ac_status); } &&
34022          { ac_try='test -z "$ac_cxx_werror_flag"
34023                          || test ! -s conftest.err'
34024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025   (eval $ac_try) 2>&5
34026   ac_status=$?
34027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028   (exit $ac_status); }; } &&
34029          { ac_try='test -s conftest.$ac_objext'
34030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031   (eval $ac_try) 2>&5
34032   ac_status=$?
34033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034   (exit $ac_status); }; }; then
34035   glibcxx_cv_func_long_double_round_use=yes
34036 else
34037   echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34039
34040 glibcxx_cv_func_long_double_round_use=no
34041 fi
34042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34043     ac_ext=c
34044 ac_cpp='$CPP $CPPFLAGS'
34045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34048
34049 fi
34050
34051   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
34052 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
34053   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34054
34055
34056 for ac_func in ceill floorl
34057 do
34058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34059 echo "$as_me:$LINENO: checking for $ac_func" >&5
34060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34061 if eval "test \"\${$as_ac_var+set}\" = set"; then
34062   echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064   if test x$gcc_no_link = xyes; then
34065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34067    { (exit 1); exit 1; }; }
34068 fi
34069 cat >conftest.$ac_ext <<_ACEOF
34070 /* confdefs.h.  */
34071 _ACEOF
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h.  */
34075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34077 #define $ac_func innocuous_$ac_func
34078
34079 /* System header to define __stub macros and hopefully few prototypes,
34080     which can conflict with char $ac_func (); below.
34081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34082     <limits.h> exists even on freestanding compilers.  */
34083
34084 #ifdef __STDC__
34085 # include <limits.h>
34086 #else
34087 # include <assert.h>
34088 #endif
34089
34090 #undef $ac_func
34091
34092 /* Override any gcc2 internal prototype to avoid an error.  */
34093 #ifdef __cplusplus
34094 extern "C"
34095 {
34096 #endif
34097 /* We use char because int might match the return type of a gcc2
34098    builtin and then its argument prototype would still apply.  */
34099 char $ac_func ();
34100 /* The GNU C library defines this for functions which it implements
34101     to always fail with ENOSYS.  Some functions are actually named
34102     something starting with __ and the normal name is an alias.  */
34103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34104 choke me
34105 #else
34106 char (*f) () = $ac_func;
34107 #endif
34108 #ifdef __cplusplus
34109 }
34110 #endif
34111
34112 int
34113 main ()
34114 {
34115 return f != $ac_func;
34116   ;
34117   return 0;
34118 }
34119 _ACEOF
34120 rm -f conftest.$ac_objext conftest$ac_exeext
34121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34122   (eval $ac_link) 2>conftest.er1
34123   ac_status=$?
34124   grep -v '^ *+' conftest.er1 >conftest.err
34125   rm -f conftest.er1
34126   cat conftest.err >&5
34127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128   (exit $ac_status); } &&
34129          { ac_try='test -z "$ac_c_werror_flag"
34130                          || test ! -s conftest.err'
34131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34132   (eval $ac_try) 2>&5
34133   ac_status=$?
34134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135   (exit $ac_status); }; } &&
34136          { ac_try='test -s conftest$ac_exeext'
34137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138   (eval $ac_try) 2>&5
34139   ac_status=$?
34140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141   (exit $ac_status); }; }; then
34142   eval "$as_ac_var=yes"
34143 else
34144   echo "$as_me: failed program was:" >&5
34145 sed 's/^/| /' conftest.$ac_ext >&5
34146
34147 eval "$as_ac_var=no"
34148 fi
34149 rm -f conftest.err conftest.$ac_objext \
34150       conftest$ac_exeext conftest.$ac_ext
34151 fi
34152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34154 if test `eval echo '${'$as_ac_var'}'` = yes; then
34155   cat >>confdefs.h <<_ACEOF
34156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34157 _ACEOF
34158
34159 fi
34160 done
34161
34162   else
34163     echo "$as_me:$LINENO: checking for _long double round functions" >&5
34164 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34165     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34166   echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168
34169
34170
34171       ac_ext=cc
34172 ac_cpp='$CXXCPP $CPPFLAGS'
34173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34176
34177       cat >conftest.$ac_ext <<_ACEOF
34178 /* confdefs.h.  */
34179 _ACEOF
34180 cat confdefs.h >>conftest.$ac_ext
34181 cat >>conftest.$ac_ext <<_ACEOF
34182 /* end confdefs.h.  */
34183 #include <math.h>
34184 int
34185 main ()
34186 {
34187 _ceill (0); _floorl (0);
34188   ;
34189   return 0;
34190 }
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34194   (eval $ac_compile) 2>conftest.er1
34195   ac_status=$?
34196   grep -v '^ *+' conftest.er1 >conftest.err
34197   rm -f conftest.er1
34198   cat conftest.err >&5
34199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200   (exit $ac_status); } &&
34201          { ac_try='test -z "$ac_cxx_werror_flag"
34202                          || test ! -s conftest.err'
34203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204   (eval $ac_try) 2>&5
34205   ac_status=$?
34206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207   (exit $ac_status); }; } &&
34208          { ac_try='test -s conftest.$ac_objext'
34209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210   (eval $ac_try) 2>&5
34211   ac_status=$?
34212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213   (exit $ac_status); }; }; then
34214   glibcxx_cv_func__long_double_round_use=yes
34215 else
34216   echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34218
34219 glibcxx_cv_func__long_double_round_use=no
34220 fi
34221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34222       ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227
34228 fi
34229
34230     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34231 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34232     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34233
34234
34235 for ac_func in _ceill _floorl
34236 do
34237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34238 echo "$as_me:$LINENO: checking for $ac_func" >&5
34239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34240 if eval "test \"\${$as_ac_var+set}\" = set"; then
34241   echo $ECHO_N "(cached) $ECHO_C" >&6
34242 else
34243   if test x$gcc_no_link = xyes; then
34244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34246    { (exit 1); exit 1; }; }
34247 fi
34248 cat >conftest.$ac_ext <<_ACEOF
34249 /* confdefs.h.  */
34250 _ACEOF
34251 cat confdefs.h >>conftest.$ac_ext
34252 cat >>conftest.$ac_ext <<_ACEOF
34253 /* end confdefs.h.  */
34254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34256 #define $ac_func innocuous_$ac_func
34257
34258 /* System header to define __stub macros and hopefully few prototypes,
34259     which can conflict with char $ac_func (); below.
34260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34261     <limits.h> exists even on freestanding compilers.  */
34262
34263 #ifdef __STDC__
34264 # include <limits.h>
34265 #else
34266 # include <assert.h>
34267 #endif
34268
34269 #undef $ac_func
34270
34271 /* Override any gcc2 internal prototype to avoid an error.  */
34272 #ifdef __cplusplus
34273 extern "C"
34274 {
34275 #endif
34276 /* We use char because int might match the return type of a gcc2
34277    builtin and then its argument prototype would still apply.  */
34278 char $ac_func ();
34279 /* The GNU C library defines this for functions which it implements
34280     to always fail with ENOSYS.  Some functions are actually named
34281     something starting with __ and the normal name is an alias.  */
34282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34283 choke me
34284 #else
34285 char (*f) () = $ac_func;
34286 #endif
34287 #ifdef __cplusplus
34288 }
34289 #endif
34290
34291 int
34292 main ()
34293 {
34294 return f != $ac_func;
34295   ;
34296   return 0;
34297 }
34298 _ACEOF
34299 rm -f conftest.$ac_objext conftest$ac_exeext
34300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34301   (eval $ac_link) 2>conftest.er1
34302   ac_status=$?
34303   grep -v '^ *+' conftest.er1 >conftest.err
34304   rm -f conftest.er1
34305   cat conftest.err >&5
34306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307   (exit $ac_status); } &&
34308          { ac_try='test -z "$ac_c_werror_flag"
34309                          || test ! -s conftest.err'
34310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311   (eval $ac_try) 2>&5
34312   ac_status=$?
34313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314   (exit $ac_status); }; } &&
34315          { ac_try='test -s conftest$ac_exeext'
34316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317   (eval $ac_try) 2>&5
34318   ac_status=$?
34319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320   (exit $ac_status); }; }; then
34321   eval "$as_ac_var=yes"
34322 else
34323   echo "$as_me: failed program was:" >&5
34324 sed 's/^/| /' conftest.$ac_ext >&5
34325
34326 eval "$as_ac_var=no"
34327 fi
34328 rm -f conftest.err conftest.$ac_objext \
34329       conftest$ac_exeext conftest.$ac_ext
34330 fi
34331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34333 if test `eval echo '${'$as_ac_var'}'` = yes; then
34334   cat >>confdefs.h <<_ACEOF
34335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34336 _ACEOF
34337
34338 fi
34339 done
34340
34341     fi
34342   fi
34343
34344
34345
34346
34347
34348
34349
34350
34351   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34352 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34353   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34354     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34355   echo $ECHO_N "(cached) $ECHO_C" >&6
34356 else
34357
34358
34359
34360       ac_ext=cc
34361 ac_cpp='$CXXCPP $CPPFLAGS'
34362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34365
34366       cat >conftest.$ac_ext <<_ACEOF
34367 /* confdefs.h.  */
34368 _ACEOF
34369 cat confdefs.h >>conftest.$ac_ext
34370 cat >>conftest.$ac_ext <<_ACEOF
34371 /* end confdefs.h.  */
34372 #include <math.h>
34373                       #ifdef HAVE_IEEEFP_H
34374                       #include <ieeefp.h>
34375                       #endif
34376
34377 int
34378 main ()
34379 {
34380  isnanl(0);
34381   ;
34382   return 0;
34383 }
34384 _ACEOF
34385 rm -f conftest.$ac_objext
34386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34387   (eval $ac_compile) 2>conftest.er1
34388   ac_status=$?
34389   grep -v '^ *+' conftest.er1 >conftest.err
34390   rm -f conftest.er1
34391   cat conftest.err >&5
34392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393   (exit $ac_status); } &&
34394          { ac_try='test -z "$ac_cxx_werror_flag"
34395                          || test ! -s conftest.err'
34396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34397   (eval $ac_try) 2>&5
34398   ac_status=$?
34399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400   (exit $ac_status); }; } &&
34401          { ac_try='test -s conftest.$ac_objext'
34402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34403   (eval $ac_try) 2>&5
34404   ac_status=$?
34405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406   (exit $ac_status); }; }; then
34407   glibcxx_cv_func_isnanl_use=yes
34408 else
34409   echo "$as_me: failed program was:" >&5
34410 sed 's/^/| /' conftest.$ac_ext >&5
34411
34412 glibcxx_cv_func_isnanl_use=no
34413 fi
34414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34415       ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420
34421
34422 fi
34423
34424   fi
34425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34426 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34427
34428   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34429
34430 for ac_func in isnanl
34431 do
34432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34433 echo "$as_me:$LINENO: checking for $ac_func" >&5
34434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34435 if eval "test \"\${$as_ac_var+set}\" = set"; then
34436   echo $ECHO_N "(cached) $ECHO_C" >&6
34437 else
34438   if test x$gcc_no_link = xyes; then
34439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34441    { (exit 1); exit 1; }; }
34442 fi
34443 cat >conftest.$ac_ext <<_ACEOF
34444 /* confdefs.h.  */
34445 _ACEOF
34446 cat confdefs.h >>conftest.$ac_ext
34447 cat >>conftest.$ac_ext <<_ACEOF
34448 /* end confdefs.h.  */
34449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34451 #define $ac_func innocuous_$ac_func
34452
34453 /* System header to define __stub macros and hopefully few prototypes,
34454     which can conflict with char $ac_func (); below.
34455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34456     <limits.h> exists even on freestanding compilers.  */
34457
34458 #ifdef __STDC__
34459 # include <limits.h>
34460 #else
34461 # include <assert.h>
34462 #endif
34463
34464 #undef $ac_func
34465
34466 /* Override any gcc2 internal prototype to avoid an error.  */
34467 #ifdef __cplusplus
34468 extern "C"
34469 {
34470 #endif
34471 /* We use char because int might match the return type of a gcc2
34472    builtin and then its argument prototype would still apply.  */
34473 char $ac_func ();
34474 /* The GNU C library defines this for functions which it implements
34475     to always fail with ENOSYS.  Some functions are actually named
34476     something starting with __ and the normal name is an alias.  */
34477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34478 choke me
34479 #else
34480 char (*f) () = $ac_func;
34481 #endif
34482 #ifdef __cplusplus
34483 }
34484 #endif
34485
34486 int
34487 main ()
34488 {
34489 return f != $ac_func;
34490   ;
34491   return 0;
34492 }
34493 _ACEOF
34494 rm -f conftest.$ac_objext conftest$ac_exeext
34495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34496   (eval $ac_link) 2>conftest.er1
34497   ac_status=$?
34498   grep -v '^ *+' conftest.er1 >conftest.err
34499   rm -f conftest.er1
34500   cat conftest.err >&5
34501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502   (exit $ac_status); } &&
34503          { ac_try='test -z "$ac_c_werror_flag"
34504                          || test ! -s conftest.err'
34505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34506   (eval $ac_try) 2>&5
34507   ac_status=$?
34508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509   (exit $ac_status); }; } &&
34510          { ac_try='test -s conftest$ac_exeext'
34511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34512   (eval $ac_try) 2>&5
34513   ac_status=$?
34514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515   (exit $ac_status); }; }; then
34516   eval "$as_ac_var=yes"
34517 else
34518   echo "$as_me: failed program was:" >&5
34519 sed 's/^/| /' conftest.$ac_ext >&5
34520
34521 eval "$as_ac_var=no"
34522 fi
34523 rm -f conftest.err conftest.$ac_objext \
34524       conftest$ac_exeext conftest.$ac_ext
34525 fi
34526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34528 if test `eval echo '${'$as_ac_var'}'` = yes; then
34529   cat >>confdefs.h <<_ACEOF
34530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34531 _ACEOF
34532
34533 fi
34534 done
34535
34536   else
34537
34538   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34539 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34540   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34541     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34542   echo $ECHO_N "(cached) $ECHO_C" >&6
34543 else
34544
34545
34546
34547       ac_ext=cc
34548 ac_cpp='$CXXCPP $CPPFLAGS'
34549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34552
34553       cat >conftest.$ac_ext <<_ACEOF
34554 /* confdefs.h.  */
34555 _ACEOF
34556 cat confdefs.h >>conftest.$ac_ext
34557 cat >>conftest.$ac_ext <<_ACEOF
34558 /* end confdefs.h.  */
34559 #include <math.h>
34560                       #ifdef HAVE_IEEEFP_H
34561                       #include <ieeefp.h>
34562                       #endif
34563
34564 int
34565 main ()
34566 {
34567  _isnanl(0);
34568   ;
34569   return 0;
34570 }
34571 _ACEOF
34572 rm -f conftest.$ac_objext
34573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34574   (eval $ac_compile) 2>conftest.er1
34575   ac_status=$?
34576   grep -v '^ *+' conftest.er1 >conftest.err
34577   rm -f conftest.er1
34578   cat conftest.err >&5
34579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580   (exit $ac_status); } &&
34581          { ac_try='test -z "$ac_cxx_werror_flag"
34582                          || test ! -s conftest.err'
34583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584   (eval $ac_try) 2>&5
34585   ac_status=$?
34586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587   (exit $ac_status); }; } &&
34588          { ac_try='test -s conftest.$ac_objext'
34589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34590   (eval $ac_try) 2>&5
34591   ac_status=$?
34592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593   (exit $ac_status); }; }; then
34594   glibcxx_cv_func__isnanl_use=yes
34595 else
34596   echo "$as_me: failed program was:" >&5
34597 sed 's/^/| /' conftest.$ac_ext >&5
34598
34599 glibcxx_cv_func__isnanl_use=no
34600 fi
34601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34602       ac_ext=c
34603 ac_cpp='$CPP $CPPFLAGS'
34604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34607
34608
34609 fi
34610
34611   fi
34612   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34613 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34614
34615     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34616
34617 for ac_func in _isnanl
34618 do
34619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34620 echo "$as_me:$LINENO: checking for $ac_func" >&5
34621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34622 if eval "test \"\${$as_ac_var+set}\" = set"; then
34623   echo $ECHO_N "(cached) $ECHO_C" >&6
34624 else
34625   if test x$gcc_no_link = xyes; then
34626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34628    { (exit 1); exit 1; }; }
34629 fi
34630 cat >conftest.$ac_ext <<_ACEOF
34631 /* confdefs.h.  */
34632 _ACEOF
34633 cat confdefs.h >>conftest.$ac_ext
34634 cat >>conftest.$ac_ext <<_ACEOF
34635 /* end confdefs.h.  */
34636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34638 #define $ac_func innocuous_$ac_func
34639
34640 /* System header to define __stub macros and hopefully few prototypes,
34641     which can conflict with char $ac_func (); below.
34642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34643     <limits.h> exists even on freestanding compilers.  */
34644
34645 #ifdef __STDC__
34646 # include <limits.h>
34647 #else
34648 # include <assert.h>
34649 #endif
34650
34651 #undef $ac_func
34652
34653 /* Override any gcc2 internal prototype to avoid an error.  */
34654 #ifdef __cplusplus
34655 extern "C"
34656 {
34657 #endif
34658 /* We use char because int might match the return type of a gcc2
34659    builtin and then its argument prototype would still apply.  */
34660 char $ac_func ();
34661 /* The GNU C library defines this for functions which it implements
34662     to always fail with ENOSYS.  Some functions are actually named
34663     something starting with __ and the normal name is an alias.  */
34664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34665 choke me
34666 #else
34667 char (*f) () = $ac_func;
34668 #endif
34669 #ifdef __cplusplus
34670 }
34671 #endif
34672
34673 int
34674 main ()
34675 {
34676 return f != $ac_func;
34677   ;
34678   return 0;
34679 }
34680 _ACEOF
34681 rm -f conftest.$ac_objext conftest$ac_exeext
34682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34683   (eval $ac_link) 2>conftest.er1
34684   ac_status=$?
34685   grep -v '^ *+' conftest.er1 >conftest.err
34686   rm -f conftest.er1
34687   cat conftest.err >&5
34688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689   (exit $ac_status); } &&
34690          { ac_try='test -z "$ac_c_werror_flag"
34691                          || test ! -s conftest.err'
34692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693   (eval $ac_try) 2>&5
34694   ac_status=$?
34695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696   (exit $ac_status); }; } &&
34697          { ac_try='test -s conftest$ac_exeext'
34698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699   (eval $ac_try) 2>&5
34700   ac_status=$?
34701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702   (exit $ac_status); }; }; then
34703   eval "$as_ac_var=yes"
34704 else
34705   echo "$as_me: failed program was:" >&5
34706 sed 's/^/| /' conftest.$ac_ext >&5
34707
34708 eval "$as_ac_var=no"
34709 fi
34710 rm -f conftest.err conftest.$ac_objext \
34711       conftest$ac_exeext conftest.$ac_ext
34712 fi
34713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34715 if test `eval echo '${'$as_ac_var'}'` = yes; then
34716   cat >>confdefs.h <<_ACEOF
34717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34718 _ACEOF
34719
34720 fi
34721 done
34722
34723     fi
34724   fi
34725
34726
34727
34728
34729
34730
34731   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34732 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34733   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34734     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34735   echo $ECHO_N "(cached) $ECHO_C" >&6
34736 else
34737
34738
34739
34740       ac_ext=cc
34741 ac_cpp='$CXXCPP $CPPFLAGS'
34742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34745
34746       cat >conftest.$ac_ext <<_ACEOF
34747 /* confdefs.h.  */
34748 _ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h.  */
34752 #include <math.h>
34753                       #ifdef HAVE_IEEEFP_H
34754                       #include <ieeefp.h>
34755                       #endif
34756
34757 int
34758 main ()
34759 {
34760  isinfl(0);
34761   ;
34762   return 0;
34763 }
34764 _ACEOF
34765 rm -f conftest.$ac_objext
34766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34767   (eval $ac_compile) 2>conftest.er1
34768   ac_status=$?
34769   grep -v '^ *+' conftest.er1 >conftest.err
34770   rm -f conftest.er1
34771   cat conftest.err >&5
34772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773   (exit $ac_status); } &&
34774          { ac_try='test -z "$ac_cxx_werror_flag"
34775                          || test ! -s conftest.err'
34776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34777   (eval $ac_try) 2>&5
34778   ac_status=$?
34779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780   (exit $ac_status); }; } &&
34781          { ac_try='test -s conftest.$ac_objext'
34782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34783   (eval $ac_try) 2>&5
34784   ac_status=$?
34785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786   (exit $ac_status); }; }; then
34787   glibcxx_cv_func_isinfl_use=yes
34788 else
34789   echo "$as_me: failed program was:" >&5
34790 sed 's/^/| /' conftest.$ac_ext >&5
34791
34792 glibcxx_cv_func_isinfl_use=no
34793 fi
34794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34795       ac_ext=c
34796 ac_cpp='$CPP $CPPFLAGS'
34797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34800
34801
34802 fi
34803
34804   fi
34805   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34806 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34807
34808   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34809
34810 for ac_func in isinfl
34811 do
34812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34813 echo "$as_me:$LINENO: checking for $ac_func" >&5
34814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34815 if eval "test \"\${$as_ac_var+set}\" = set"; then
34816   echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818   if test x$gcc_no_link = xyes; then
34819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34821    { (exit 1); exit 1; }; }
34822 fi
34823 cat >conftest.$ac_ext <<_ACEOF
34824 /* confdefs.h.  */
34825 _ACEOF
34826 cat confdefs.h >>conftest.$ac_ext
34827 cat >>conftest.$ac_ext <<_ACEOF
34828 /* end confdefs.h.  */
34829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34831 #define $ac_func innocuous_$ac_func
34832
34833 /* System header to define __stub macros and hopefully few prototypes,
34834     which can conflict with char $ac_func (); below.
34835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34836     <limits.h> exists even on freestanding compilers.  */
34837
34838 #ifdef __STDC__
34839 # include <limits.h>
34840 #else
34841 # include <assert.h>
34842 #endif
34843
34844 #undef $ac_func
34845
34846 /* Override any gcc2 internal prototype to avoid an error.  */
34847 #ifdef __cplusplus
34848 extern "C"
34849 {
34850 #endif
34851 /* We use char because int might match the return type of a gcc2
34852    builtin and then its argument prototype would still apply.  */
34853 char $ac_func ();
34854 /* The GNU C library defines this for functions which it implements
34855     to always fail with ENOSYS.  Some functions are actually named
34856     something starting with __ and the normal name is an alias.  */
34857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34858 choke me
34859 #else
34860 char (*f) () = $ac_func;
34861 #endif
34862 #ifdef __cplusplus
34863 }
34864 #endif
34865
34866 int
34867 main ()
34868 {
34869 return f != $ac_func;
34870   ;
34871   return 0;
34872 }
34873 _ACEOF
34874 rm -f conftest.$ac_objext conftest$ac_exeext
34875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34876   (eval $ac_link) 2>conftest.er1
34877   ac_status=$?
34878   grep -v '^ *+' conftest.er1 >conftest.err
34879   rm -f conftest.er1
34880   cat conftest.err >&5
34881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882   (exit $ac_status); } &&
34883          { ac_try='test -z "$ac_c_werror_flag"
34884                          || test ! -s conftest.err'
34885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34886   (eval $ac_try) 2>&5
34887   ac_status=$?
34888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34889   (exit $ac_status); }; } &&
34890          { ac_try='test -s conftest$ac_exeext'
34891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892   (eval $ac_try) 2>&5
34893   ac_status=$?
34894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895   (exit $ac_status); }; }; then
34896   eval "$as_ac_var=yes"
34897 else
34898   echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.$ac_ext >&5
34900
34901 eval "$as_ac_var=no"
34902 fi
34903 rm -f conftest.err conftest.$ac_objext \
34904       conftest$ac_exeext conftest.$ac_ext
34905 fi
34906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34908 if test `eval echo '${'$as_ac_var'}'` = yes; then
34909   cat >>confdefs.h <<_ACEOF
34910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34911 _ACEOF
34912
34913 fi
34914 done
34915
34916   else
34917
34918   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34919 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34920   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34921     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34922   echo $ECHO_N "(cached) $ECHO_C" >&6
34923 else
34924
34925
34926
34927       ac_ext=cc
34928 ac_cpp='$CXXCPP $CPPFLAGS'
34929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34932
34933       cat >conftest.$ac_ext <<_ACEOF
34934 /* confdefs.h.  */
34935 _ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h.  */
34939 #include <math.h>
34940                       #ifdef HAVE_IEEEFP_H
34941                       #include <ieeefp.h>
34942                       #endif
34943
34944 int
34945 main ()
34946 {
34947  _isinfl(0);
34948   ;
34949   return 0;
34950 }
34951 _ACEOF
34952 rm -f conftest.$ac_objext
34953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34954   (eval $ac_compile) 2>conftest.er1
34955   ac_status=$?
34956   grep -v '^ *+' conftest.er1 >conftest.err
34957   rm -f conftest.er1
34958   cat conftest.err >&5
34959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960   (exit $ac_status); } &&
34961          { ac_try='test -z "$ac_cxx_werror_flag"
34962                          || test ! -s conftest.err'
34963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34964   (eval $ac_try) 2>&5
34965   ac_status=$?
34966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967   (exit $ac_status); }; } &&
34968          { ac_try='test -s conftest.$ac_objext'
34969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970   (eval $ac_try) 2>&5
34971   ac_status=$?
34972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973   (exit $ac_status); }; }; then
34974   glibcxx_cv_func__isinfl_use=yes
34975 else
34976   echo "$as_me: failed program was:" >&5
34977 sed 's/^/| /' conftest.$ac_ext >&5
34978
34979 glibcxx_cv_func__isinfl_use=no
34980 fi
34981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34982       ac_ext=c
34983 ac_cpp='$CPP $CPPFLAGS'
34984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34987
34988
34989 fi
34990
34991   fi
34992   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34993 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34994
34995     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34996
34997 for ac_func in _isinfl
34998 do
34999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35000 echo "$as_me:$LINENO: checking for $ac_func" >&5
35001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35002 if eval "test \"\${$as_ac_var+set}\" = set"; then
35003   echo $ECHO_N "(cached) $ECHO_C" >&6
35004 else
35005   if test x$gcc_no_link = xyes; then
35006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35008    { (exit 1); exit 1; }; }
35009 fi
35010 cat >conftest.$ac_ext <<_ACEOF
35011 /* confdefs.h.  */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h.  */
35016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35018 #define $ac_func innocuous_$ac_func
35019
35020 /* System header to define __stub macros and hopefully few prototypes,
35021     which can conflict with char $ac_func (); below.
35022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35023     <limits.h> exists even on freestanding compilers.  */
35024
35025 #ifdef __STDC__
35026 # include <limits.h>
35027 #else
35028 # include <assert.h>
35029 #endif
35030
35031 #undef $ac_func
35032
35033 /* Override any gcc2 internal prototype to avoid an error.  */
35034 #ifdef __cplusplus
35035 extern "C"
35036 {
35037 #endif
35038 /* We use char because int might match the return type of a gcc2
35039    builtin and then its argument prototype would still apply.  */
35040 char $ac_func ();
35041 /* The GNU C library defines this for functions which it implements
35042     to always fail with ENOSYS.  Some functions are actually named
35043     something starting with __ and the normal name is an alias.  */
35044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35045 choke me
35046 #else
35047 char (*f) () = $ac_func;
35048 #endif
35049 #ifdef __cplusplus
35050 }
35051 #endif
35052
35053 int
35054 main ()
35055 {
35056 return f != $ac_func;
35057   ;
35058   return 0;
35059 }
35060 _ACEOF
35061 rm -f conftest.$ac_objext conftest$ac_exeext
35062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35063   (eval $ac_link) 2>conftest.er1
35064   ac_status=$?
35065   grep -v '^ *+' conftest.er1 >conftest.err
35066   rm -f conftest.er1
35067   cat conftest.err >&5
35068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069   (exit $ac_status); } &&
35070          { ac_try='test -z "$ac_c_werror_flag"
35071                          || test ! -s conftest.err'
35072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073   (eval $ac_try) 2>&5
35074   ac_status=$?
35075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076   (exit $ac_status); }; } &&
35077          { ac_try='test -s conftest$ac_exeext'
35078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079   (eval $ac_try) 2>&5
35080   ac_status=$?
35081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082   (exit $ac_status); }; }; then
35083   eval "$as_ac_var=yes"
35084 else
35085   echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.$ac_ext >&5
35087
35088 eval "$as_ac_var=no"
35089 fi
35090 rm -f conftest.err conftest.$ac_objext \
35091       conftest$ac_exeext conftest.$ac_ext
35092 fi
35093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35095 if test `eval echo '${'$as_ac_var'}'` = yes; then
35096   cat >>confdefs.h <<_ACEOF
35097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35098 _ACEOF
35099
35100 fi
35101 done
35102
35103     fi
35104   fi
35105
35106
35107
35108
35109
35110
35111   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
35112 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
35113   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
35114     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
35115   echo $ECHO_N "(cached) $ECHO_C" >&6
35116 else
35117
35118
35119
35120       ac_ext=cc
35121 ac_cpp='$CXXCPP $CPPFLAGS'
35122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35125
35126       cat >conftest.$ac_ext <<_ACEOF
35127 /* confdefs.h.  */
35128 _ACEOF
35129 cat confdefs.h >>conftest.$ac_ext
35130 cat >>conftest.$ac_ext <<_ACEOF
35131 /* end confdefs.h.  */
35132 #include <math.h>
35133 int
35134 main ()
35135 {
35136  copysignl(0, 0);
35137   ;
35138   return 0;
35139 }
35140 _ACEOF
35141 rm -f conftest.$ac_objext
35142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35143   (eval $ac_compile) 2>conftest.er1
35144   ac_status=$?
35145   grep -v '^ *+' conftest.er1 >conftest.err
35146   rm -f conftest.er1
35147   cat conftest.err >&5
35148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35149   (exit $ac_status); } &&
35150          { ac_try='test -z "$ac_cxx_werror_flag"
35151                          || test ! -s conftest.err'
35152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35153   (eval $ac_try) 2>&5
35154   ac_status=$?
35155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35156   (exit $ac_status); }; } &&
35157          { ac_try='test -s conftest.$ac_objext'
35158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35159   (eval $ac_try) 2>&5
35160   ac_status=$?
35161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35162   (exit $ac_status); }; }; then
35163   glibcxx_cv_func_copysignl_use=yes
35164 else
35165   echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 glibcxx_cv_func_copysignl_use=no
35169 fi
35170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35171       ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35176
35177
35178 fi
35179
35180   fi
35181   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
35182 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
35183
35184   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
35185
35186 for ac_func in copysignl
35187 do
35188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35189 echo "$as_me:$LINENO: checking for $ac_func" >&5
35190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35191 if eval "test \"\${$as_ac_var+set}\" = set"; then
35192   echo $ECHO_N "(cached) $ECHO_C" >&6
35193 else
35194   if test x$gcc_no_link = xyes; then
35195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35197    { (exit 1); exit 1; }; }
35198 fi
35199 cat >conftest.$ac_ext <<_ACEOF
35200 /* confdefs.h.  */
35201 _ACEOF
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h.  */
35205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35207 #define $ac_func innocuous_$ac_func
35208
35209 /* System header to define __stub macros and hopefully few prototypes,
35210     which can conflict with char $ac_func (); below.
35211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35212     <limits.h> exists even on freestanding compilers.  */
35213
35214 #ifdef __STDC__
35215 # include <limits.h>
35216 #else
35217 # include <assert.h>
35218 #endif
35219
35220 #undef $ac_func
35221
35222 /* Override any gcc2 internal prototype to avoid an error.  */
35223 #ifdef __cplusplus
35224 extern "C"
35225 {
35226 #endif
35227 /* We use char because int might match the return type of a gcc2
35228    builtin and then its argument prototype would still apply.  */
35229 char $ac_func ();
35230 /* The GNU C library defines this for functions which it implements
35231     to always fail with ENOSYS.  Some functions are actually named
35232     something starting with __ and the normal name is an alias.  */
35233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35234 choke me
35235 #else
35236 char (*f) () = $ac_func;
35237 #endif
35238 #ifdef __cplusplus
35239 }
35240 #endif
35241
35242 int
35243 main ()
35244 {
35245 return f != $ac_func;
35246   ;
35247   return 0;
35248 }
35249 _ACEOF
35250 rm -f conftest.$ac_objext conftest$ac_exeext
35251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35252   (eval $ac_link) 2>conftest.er1
35253   ac_status=$?
35254   grep -v '^ *+' conftest.er1 >conftest.err
35255   rm -f conftest.er1
35256   cat conftest.err >&5
35257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258   (exit $ac_status); } &&
35259          { ac_try='test -z "$ac_c_werror_flag"
35260                          || test ! -s conftest.err'
35261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262   (eval $ac_try) 2>&5
35263   ac_status=$?
35264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265   (exit $ac_status); }; } &&
35266          { ac_try='test -s conftest$ac_exeext'
35267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268   (eval $ac_try) 2>&5
35269   ac_status=$?
35270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271   (exit $ac_status); }; }; then
35272   eval "$as_ac_var=yes"
35273 else
35274   echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277 eval "$as_ac_var=no"
35278 fi
35279 rm -f conftest.err conftest.$ac_objext \
35280       conftest$ac_exeext conftest.$ac_ext
35281 fi
35282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35284 if test `eval echo '${'$as_ac_var'}'` = yes; then
35285   cat >>confdefs.h <<_ACEOF
35286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35287 _ACEOF
35288
35289 fi
35290 done
35291
35292   else
35293
35294   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
35295 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
35296   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
35297     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
35298   echo $ECHO_N "(cached) $ECHO_C" >&6
35299 else
35300
35301
35302
35303       ac_ext=cc
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308
35309       cat >conftest.$ac_ext <<_ACEOF
35310 /* confdefs.h.  */
35311 _ACEOF
35312 cat confdefs.h >>conftest.$ac_ext
35313 cat >>conftest.$ac_ext <<_ACEOF
35314 /* end confdefs.h.  */
35315 #include <math.h>
35316 int
35317 main ()
35318 {
35319  _copysignl(0, 0);
35320   ;
35321   return 0;
35322 }
35323 _ACEOF
35324 rm -f conftest.$ac_objext
35325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35326   (eval $ac_compile) 2>conftest.er1
35327   ac_status=$?
35328   grep -v '^ *+' conftest.er1 >conftest.err
35329   rm -f conftest.er1
35330   cat conftest.err >&5
35331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35332   (exit $ac_status); } &&
35333          { ac_try='test -z "$ac_cxx_werror_flag"
35334                          || test ! -s conftest.err'
35335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35336   (eval $ac_try) 2>&5
35337   ac_status=$?
35338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339   (exit $ac_status); }; } &&
35340          { ac_try='test -s conftest.$ac_objext'
35341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342   (eval $ac_try) 2>&5
35343   ac_status=$?
35344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345   (exit $ac_status); }; }; then
35346   glibcxx_cv_func__copysignl_use=yes
35347 else
35348   echo "$as_me: failed program was:" >&5
35349 sed 's/^/| /' conftest.$ac_ext >&5
35350
35351 glibcxx_cv_func__copysignl_use=no
35352 fi
35353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35354       ac_ext=c
35355 ac_cpp='$CPP $CPPFLAGS'
35356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35359
35360
35361 fi
35362
35363   fi
35364   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
35365 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
35366
35367     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
35368
35369 for ac_func in _copysignl
35370 do
35371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35372 echo "$as_me:$LINENO: checking for $ac_func" >&5
35373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35374 if eval "test \"\${$as_ac_var+set}\" = set"; then
35375   echo $ECHO_N "(cached) $ECHO_C" >&6
35376 else
35377   if test x$gcc_no_link = xyes; then
35378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35380    { (exit 1); exit 1; }; }
35381 fi
35382 cat >conftest.$ac_ext <<_ACEOF
35383 /* confdefs.h.  */
35384 _ACEOF
35385 cat confdefs.h >>conftest.$ac_ext
35386 cat >>conftest.$ac_ext <<_ACEOF
35387 /* end confdefs.h.  */
35388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35390 #define $ac_func innocuous_$ac_func
35391
35392 /* System header to define __stub macros and hopefully few prototypes,
35393     which can conflict with char $ac_func (); below.
35394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35395     <limits.h> exists even on freestanding compilers.  */
35396
35397 #ifdef __STDC__
35398 # include <limits.h>
35399 #else
35400 # include <assert.h>
35401 #endif
35402
35403 #undef $ac_func
35404
35405 /* Override any gcc2 internal prototype to avoid an error.  */
35406 #ifdef __cplusplus
35407 extern "C"
35408 {
35409 #endif
35410 /* We use char because int might match the return type of a gcc2
35411    builtin and then its argument prototype would still apply.  */
35412 char $ac_func ();
35413 /* The GNU C library defines this for functions which it implements
35414     to always fail with ENOSYS.  Some functions are actually named
35415     something starting with __ and the normal name is an alias.  */
35416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35417 choke me
35418 #else
35419 char (*f) () = $ac_func;
35420 #endif
35421 #ifdef __cplusplus
35422 }
35423 #endif
35424
35425 int
35426 main ()
35427 {
35428 return f != $ac_func;
35429   ;
35430   return 0;
35431 }
35432 _ACEOF
35433 rm -f conftest.$ac_objext conftest$ac_exeext
35434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35435   (eval $ac_link) 2>conftest.er1
35436   ac_status=$?
35437   grep -v '^ *+' conftest.er1 >conftest.err
35438   rm -f conftest.er1
35439   cat conftest.err >&5
35440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441   (exit $ac_status); } &&
35442          { ac_try='test -z "$ac_c_werror_flag"
35443                          || test ! -s conftest.err'
35444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35445   (eval $ac_try) 2>&5
35446   ac_status=$?
35447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448   (exit $ac_status); }; } &&
35449          { ac_try='test -s conftest$ac_exeext'
35450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451   (eval $ac_try) 2>&5
35452   ac_status=$?
35453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454   (exit $ac_status); }; }; then
35455   eval "$as_ac_var=yes"
35456 else
35457   echo "$as_me: failed program was:" >&5
35458 sed 's/^/| /' conftest.$ac_ext >&5
35459
35460 eval "$as_ac_var=no"
35461 fi
35462 rm -f conftest.err conftest.$ac_objext \
35463       conftest$ac_exeext conftest.$ac_ext
35464 fi
35465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35467 if test `eval echo '${'$as_ac_var'}'` = yes; then
35468   cat >>confdefs.h <<_ACEOF
35469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35470 _ACEOF
35471
35472 fi
35473 done
35474
35475     fi
35476   fi
35477
35478
35479
35480
35481
35482
35483   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35484 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35485   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35486     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35487   echo $ECHO_N "(cached) $ECHO_C" >&6
35488 else
35489
35490
35491
35492       ac_ext=cc
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497
35498       cat >conftest.$ac_ext <<_ACEOF
35499 /* confdefs.h.  */
35500 _ACEOF
35501 cat confdefs.h >>conftest.$ac_ext
35502 cat >>conftest.$ac_ext <<_ACEOF
35503 /* end confdefs.h.  */
35504 #include <math.h>
35505 int
35506 main ()
35507 {
35508  atan2l(0, 0);
35509   ;
35510   return 0;
35511 }
35512 _ACEOF
35513 rm -f conftest.$ac_objext
35514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35515   (eval $ac_compile) 2>conftest.er1
35516   ac_status=$?
35517   grep -v '^ *+' conftest.er1 >conftest.err
35518   rm -f conftest.er1
35519   cat conftest.err >&5
35520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521   (exit $ac_status); } &&
35522          { ac_try='test -z "$ac_cxx_werror_flag"
35523                          || test ! -s conftest.err'
35524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525   (eval $ac_try) 2>&5
35526   ac_status=$?
35527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528   (exit $ac_status); }; } &&
35529          { ac_try='test -s conftest.$ac_objext'
35530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531   (eval $ac_try) 2>&5
35532   ac_status=$?
35533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534   (exit $ac_status); }; }; then
35535   glibcxx_cv_func_atan2l_use=yes
35536 else
35537   echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35539
35540 glibcxx_cv_func_atan2l_use=no
35541 fi
35542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35543       ac_ext=c
35544 ac_cpp='$CPP $CPPFLAGS'
35545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35548
35549
35550 fi
35551
35552   fi
35553   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35554 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35555
35556   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35557
35558 for ac_func in atan2l
35559 do
35560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35561 echo "$as_me:$LINENO: checking for $ac_func" >&5
35562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35563 if eval "test \"\${$as_ac_var+set}\" = set"; then
35564   echo $ECHO_N "(cached) $ECHO_C" >&6
35565 else
35566   if test x$gcc_no_link = xyes; then
35567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35569    { (exit 1); exit 1; }; }
35570 fi
35571 cat >conftest.$ac_ext <<_ACEOF
35572 /* confdefs.h.  */
35573 _ACEOF
35574 cat confdefs.h >>conftest.$ac_ext
35575 cat >>conftest.$ac_ext <<_ACEOF
35576 /* end confdefs.h.  */
35577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35579 #define $ac_func innocuous_$ac_func
35580
35581 /* System header to define __stub macros and hopefully few prototypes,
35582     which can conflict with char $ac_func (); below.
35583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35584     <limits.h> exists even on freestanding compilers.  */
35585
35586 #ifdef __STDC__
35587 # include <limits.h>
35588 #else
35589 # include <assert.h>
35590 #endif
35591
35592 #undef $ac_func
35593
35594 /* Override any gcc2 internal prototype to avoid an error.  */
35595 #ifdef __cplusplus
35596 extern "C"
35597 {
35598 #endif
35599 /* We use char because int might match the return type of a gcc2
35600    builtin and then its argument prototype would still apply.  */
35601 char $ac_func ();
35602 /* The GNU C library defines this for functions which it implements
35603     to always fail with ENOSYS.  Some functions are actually named
35604     something starting with __ and the normal name is an alias.  */
35605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35606 choke me
35607 #else
35608 char (*f) () = $ac_func;
35609 #endif
35610 #ifdef __cplusplus
35611 }
35612 #endif
35613
35614 int
35615 main ()
35616 {
35617 return f != $ac_func;
35618   ;
35619   return 0;
35620 }
35621 _ACEOF
35622 rm -f conftest.$ac_objext conftest$ac_exeext
35623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35624   (eval $ac_link) 2>conftest.er1
35625   ac_status=$?
35626   grep -v '^ *+' conftest.er1 >conftest.err
35627   rm -f conftest.er1
35628   cat conftest.err >&5
35629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35630   (exit $ac_status); } &&
35631          { ac_try='test -z "$ac_c_werror_flag"
35632                          || test ! -s conftest.err'
35633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634   (eval $ac_try) 2>&5
35635   ac_status=$?
35636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637   (exit $ac_status); }; } &&
35638          { ac_try='test -s conftest$ac_exeext'
35639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35640   (eval $ac_try) 2>&5
35641   ac_status=$?
35642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643   (exit $ac_status); }; }; then
35644   eval "$as_ac_var=yes"
35645 else
35646   echo "$as_me: failed program was:" >&5
35647 sed 's/^/| /' conftest.$ac_ext >&5
35648
35649 eval "$as_ac_var=no"
35650 fi
35651 rm -f conftest.err conftest.$ac_objext \
35652       conftest$ac_exeext conftest.$ac_ext
35653 fi
35654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35656 if test `eval echo '${'$as_ac_var'}'` = yes; then
35657   cat >>confdefs.h <<_ACEOF
35658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35659 _ACEOF
35660
35661 fi
35662 done
35663
35664   else
35665
35666   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35667 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35668   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35669     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35670   echo $ECHO_N "(cached) $ECHO_C" >&6
35671 else
35672
35673
35674
35675       ac_ext=cc
35676 ac_cpp='$CXXCPP $CPPFLAGS'
35677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35680
35681       cat >conftest.$ac_ext <<_ACEOF
35682 /* confdefs.h.  */
35683 _ACEOF
35684 cat confdefs.h >>conftest.$ac_ext
35685 cat >>conftest.$ac_ext <<_ACEOF
35686 /* end confdefs.h.  */
35687 #include <math.h>
35688 int
35689 main ()
35690 {
35691  _atan2l(0, 0);
35692   ;
35693   return 0;
35694 }
35695 _ACEOF
35696 rm -f conftest.$ac_objext
35697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35698   (eval $ac_compile) 2>conftest.er1
35699   ac_status=$?
35700   grep -v '^ *+' conftest.er1 >conftest.err
35701   rm -f conftest.er1
35702   cat conftest.err >&5
35703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704   (exit $ac_status); } &&
35705          { ac_try='test -z "$ac_cxx_werror_flag"
35706                          || test ! -s conftest.err'
35707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708   (eval $ac_try) 2>&5
35709   ac_status=$?
35710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711   (exit $ac_status); }; } &&
35712          { ac_try='test -s conftest.$ac_objext'
35713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35714   (eval $ac_try) 2>&5
35715   ac_status=$?
35716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717   (exit $ac_status); }; }; then
35718   glibcxx_cv_func__atan2l_use=yes
35719 else
35720   echo "$as_me: failed program was:" >&5
35721 sed 's/^/| /' conftest.$ac_ext >&5
35722
35723 glibcxx_cv_func__atan2l_use=no
35724 fi
35725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35726       ac_ext=c
35727 ac_cpp='$CPP $CPPFLAGS'
35728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35731
35732
35733 fi
35734
35735   fi
35736   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35737 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35738
35739     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35740
35741 for ac_func in _atan2l
35742 do
35743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35744 echo "$as_me:$LINENO: checking for $ac_func" >&5
35745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35746 if eval "test \"\${$as_ac_var+set}\" = set"; then
35747   echo $ECHO_N "(cached) $ECHO_C" >&6
35748 else
35749   if test x$gcc_no_link = xyes; then
35750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35752    { (exit 1); exit 1; }; }
35753 fi
35754 cat >conftest.$ac_ext <<_ACEOF
35755 /* confdefs.h.  */
35756 _ACEOF
35757 cat confdefs.h >>conftest.$ac_ext
35758 cat >>conftest.$ac_ext <<_ACEOF
35759 /* end confdefs.h.  */
35760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35762 #define $ac_func innocuous_$ac_func
35763
35764 /* System header to define __stub macros and hopefully few prototypes,
35765     which can conflict with char $ac_func (); below.
35766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35767     <limits.h> exists even on freestanding compilers.  */
35768
35769 #ifdef __STDC__
35770 # include <limits.h>
35771 #else
35772 # include <assert.h>
35773 #endif
35774
35775 #undef $ac_func
35776
35777 /* Override any gcc2 internal prototype to avoid an error.  */
35778 #ifdef __cplusplus
35779 extern "C"
35780 {
35781 #endif
35782 /* We use char because int might match the return type of a gcc2
35783    builtin and then its argument prototype would still apply.  */
35784 char $ac_func ();
35785 /* The GNU C library defines this for functions which it implements
35786     to always fail with ENOSYS.  Some functions are actually named
35787     something starting with __ and the normal name is an alias.  */
35788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35789 choke me
35790 #else
35791 char (*f) () = $ac_func;
35792 #endif
35793 #ifdef __cplusplus
35794 }
35795 #endif
35796
35797 int
35798 main ()
35799 {
35800 return f != $ac_func;
35801   ;
35802   return 0;
35803 }
35804 _ACEOF
35805 rm -f conftest.$ac_objext conftest$ac_exeext
35806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35807   (eval $ac_link) 2>conftest.er1
35808   ac_status=$?
35809   grep -v '^ *+' conftest.er1 >conftest.err
35810   rm -f conftest.er1
35811   cat conftest.err >&5
35812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813   (exit $ac_status); } &&
35814          { ac_try='test -z "$ac_c_werror_flag"
35815                          || test ! -s conftest.err'
35816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817   (eval $ac_try) 2>&5
35818   ac_status=$?
35819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820   (exit $ac_status); }; } &&
35821          { ac_try='test -s conftest$ac_exeext'
35822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823   (eval $ac_try) 2>&5
35824   ac_status=$?
35825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826   (exit $ac_status); }; }; then
35827   eval "$as_ac_var=yes"
35828 else
35829   echo "$as_me: failed program was:" >&5
35830 sed 's/^/| /' conftest.$ac_ext >&5
35831
35832 eval "$as_ac_var=no"
35833 fi
35834 rm -f conftest.err conftest.$ac_objext \
35835       conftest$ac_exeext conftest.$ac_ext
35836 fi
35837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35839 if test `eval echo '${'$as_ac_var'}'` = yes; then
35840   cat >>confdefs.h <<_ACEOF
35841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35842 _ACEOF
35843
35844 fi
35845 done
35846
35847     fi
35848   fi
35849
35850
35851
35852
35853
35854
35855   echo "$as_me:$LINENO: checking for expl declaration" >&5
35856 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35857   if test x${glibcxx_cv_func_expl_use+set} != xset; then
35858     if test "${glibcxx_cv_func_expl_use+set}" = set; then
35859   echo $ECHO_N "(cached) $ECHO_C" >&6
35860 else
35861
35862
35863
35864       ac_ext=cc
35865 ac_cpp='$CXXCPP $CPPFLAGS'
35866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35869
35870       cat >conftest.$ac_ext <<_ACEOF
35871 /* confdefs.h.  */
35872 _ACEOF
35873 cat confdefs.h >>conftest.$ac_ext
35874 cat >>conftest.$ac_ext <<_ACEOF
35875 /* end confdefs.h.  */
35876 #include <math.h>
35877                       #ifdef HAVE_IEEEFP_H
35878                       #include <ieeefp.h>
35879                       #endif
35880
35881 int
35882 main ()
35883 {
35884  expl(0);
35885   ;
35886   return 0;
35887 }
35888 _ACEOF
35889 rm -f conftest.$ac_objext
35890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35891   (eval $ac_compile) 2>conftest.er1
35892   ac_status=$?
35893   grep -v '^ *+' conftest.er1 >conftest.err
35894   rm -f conftest.er1
35895   cat conftest.err >&5
35896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897   (exit $ac_status); } &&
35898          { ac_try='test -z "$ac_cxx_werror_flag"
35899                          || test ! -s conftest.err'
35900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901   (eval $ac_try) 2>&5
35902   ac_status=$?
35903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904   (exit $ac_status); }; } &&
35905          { ac_try='test -s conftest.$ac_objext'
35906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907   (eval $ac_try) 2>&5
35908   ac_status=$?
35909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910   (exit $ac_status); }; }; then
35911   glibcxx_cv_func_expl_use=yes
35912 else
35913   echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35915
35916 glibcxx_cv_func_expl_use=no
35917 fi
35918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35919       ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924
35925
35926 fi
35927
35928   fi
35929   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35930 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35931
35932   if test x$glibcxx_cv_func_expl_use = x"yes"; then
35933
35934 for ac_func in expl
35935 do
35936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35937 echo "$as_me:$LINENO: checking for $ac_func" >&5
35938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35939 if eval "test \"\${$as_ac_var+set}\" = set"; then
35940   echo $ECHO_N "(cached) $ECHO_C" >&6
35941 else
35942   if test x$gcc_no_link = xyes; then
35943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35945    { (exit 1); exit 1; }; }
35946 fi
35947 cat >conftest.$ac_ext <<_ACEOF
35948 /* confdefs.h.  */
35949 _ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h.  */
35953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35955 #define $ac_func innocuous_$ac_func
35956
35957 /* System header to define __stub macros and hopefully few prototypes,
35958     which can conflict with char $ac_func (); below.
35959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35960     <limits.h> exists even on freestanding compilers.  */
35961
35962 #ifdef __STDC__
35963 # include <limits.h>
35964 #else
35965 # include <assert.h>
35966 #endif
35967
35968 #undef $ac_func
35969
35970 /* Override any gcc2 internal prototype to avoid an error.  */
35971 #ifdef __cplusplus
35972 extern "C"
35973 {
35974 #endif
35975 /* We use char because int might match the return type of a gcc2
35976    builtin and then its argument prototype would still apply.  */
35977 char $ac_func ();
35978 /* The GNU C library defines this for functions which it implements
35979     to always fail with ENOSYS.  Some functions are actually named
35980     something starting with __ and the normal name is an alias.  */
35981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35982 choke me
35983 #else
35984 char (*f) () = $ac_func;
35985 #endif
35986 #ifdef __cplusplus
35987 }
35988 #endif
35989
35990 int
35991 main ()
35992 {
35993 return f != $ac_func;
35994   ;
35995   return 0;
35996 }
35997 _ACEOF
35998 rm -f conftest.$ac_objext conftest$ac_exeext
35999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36000   (eval $ac_link) 2>conftest.er1
36001   ac_status=$?
36002   grep -v '^ *+' conftest.er1 >conftest.err
36003   rm -f conftest.er1
36004   cat conftest.err >&5
36005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006   (exit $ac_status); } &&
36007          { ac_try='test -z "$ac_c_werror_flag"
36008                          || test ! -s conftest.err'
36009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36010   (eval $ac_try) 2>&5
36011   ac_status=$?
36012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013   (exit $ac_status); }; } &&
36014          { ac_try='test -s conftest$ac_exeext'
36015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36016   (eval $ac_try) 2>&5
36017   ac_status=$?
36018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019   (exit $ac_status); }; }; then
36020   eval "$as_ac_var=yes"
36021 else
36022   echo "$as_me: failed program was:" >&5
36023 sed 's/^/| /' conftest.$ac_ext >&5
36024
36025 eval "$as_ac_var=no"
36026 fi
36027 rm -f conftest.err conftest.$ac_objext \
36028       conftest$ac_exeext conftest.$ac_ext
36029 fi
36030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36032 if test `eval echo '${'$as_ac_var'}'` = yes; then
36033   cat >>confdefs.h <<_ACEOF
36034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36035 _ACEOF
36036
36037 fi
36038 done
36039
36040   else
36041
36042   echo "$as_me:$LINENO: checking for _expl declaration" >&5
36043 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
36044   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36045     if test "${glibcxx_cv_func__expl_use+set}" = set; then
36046   echo $ECHO_N "(cached) $ECHO_C" >&6
36047 else
36048
36049
36050
36051       ac_ext=cc
36052 ac_cpp='$CXXCPP $CPPFLAGS'
36053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056
36057       cat >conftest.$ac_ext <<_ACEOF
36058 /* confdefs.h.  */
36059 _ACEOF
36060 cat confdefs.h >>conftest.$ac_ext
36061 cat >>conftest.$ac_ext <<_ACEOF
36062 /* end confdefs.h.  */
36063 #include <math.h>
36064                       #ifdef HAVE_IEEEFP_H
36065                       #include <ieeefp.h>
36066                       #endif
36067
36068 int
36069 main ()
36070 {
36071  _expl(0);
36072   ;
36073   return 0;
36074 }
36075 _ACEOF
36076 rm -f conftest.$ac_objext
36077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36078   (eval $ac_compile) 2>conftest.er1
36079   ac_status=$?
36080   grep -v '^ *+' conftest.er1 >conftest.err
36081   rm -f conftest.er1
36082   cat conftest.err >&5
36083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084   (exit $ac_status); } &&
36085          { ac_try='test -z "$ac_cxx_werror_flag"
36086                          || test ! -s conftest.err'
36087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36088   (eval $ac_try) 2>&5
36089   ac_status=$?
36090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091   (exit $ac_status); }; } &&
36092          { ac_try='test -s conftest.$ac_objext'
36093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36094   (eval $ac_try) 2>&5
36095   ac_status=$?
36096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097   (exit $ac_status); }; }; then
36098   glibcxx_cv_func__expl_use=yes
36099 else
36100   echo "$as_me: failed program was:" >&5
36101 sed 's/^/| /' conftest.$ac_ext >&5
36102
36103 glibcxx_cv_func__expl_use=no
36104 fi
36105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36106       ac_ext=c
36107 ac_cpp='$CPP $CPPFLAGS'
36108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36111
36112
36113 fi
36114
36115   fi
36116   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
36117 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
36118
36119     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36120
36121 for ac_func in _expl
36122 do
36123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36124 echo "$as_me:$LINENO: checking for $ac_func" >&5
36125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36126 if eval "test \"\${$as_ac_var+set}\" = set"; then
36127   echo $ECHO_N "(cached) $ECHO_C" >&6
36128 else
36129   if test x$gcc_no_link = xyes; then
36130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36132    { (exit 1); exit 1; }; }
36133 fi
36134 cat >conftest.$ac_ext <<_ACEOF
36135 /* confdefs.h.  */
36136 _ACEOF
36137 cat confdefs.h >>conftest.$ac_ext
36138 cat >>conftest.$ac_ext <<_ACEOF
36139 /* end confdefs.h.  */
36140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36142 #define $ac_func innocuous_$ac_func
36143
36144 /* System header to define __stub macros and hopefully few prototypes,
36145     which can conflict with char $ac_func (); below.
36146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36147     <limits.h> exists even on freestanding compilers.  */
36148
36149 #ifdef __STDC__
36150 # include <limits.h>
36151 #else
36152 # include <assert.h>
36153 #endif
36154
36155 #undef $ac_func
36156
36157 /* Override any gcc2 internal prototype to avoid an error.  */
36158 #ifdef __cplusplus
36159 extern "C"
36160 {
36161 #endif
36162 /* We use char because int might match the return type of a gcc2
36163    builtin and then its argument prototype would still apply.  */
36164 char $ac_func ();
36165 /* The GNU C library defines this for functions which it implements
36166     to always fail with ENOSYS.  Some functions are actually named
36167     something starting with __ and the normal name is an alias.  */
36168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36169 choke me
36170 #else
36171 char (*f) () = $ac_func;
36172 #endif
36173 #ifdef __cplusplus
36174 }
36175 #endif
36176
36177 int
36178 main ()
36179 {
36180 return f != $ac_func;
36181   ;
36182   return 0;
36183 }
36184 _ACEOF
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36187   (eval $ac_link) 2>conftest.er1
36188   ac_status=$?
36189   grep -v '^ *+' conftest.er1 >conftest.err
36190   rm -f conftest.er1
36191   cat conftest.err >&5
36192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193   (exit $ac_status); } &&
36194          { ac_try='test -z "$ac_c_werror_flag"
36195                          || test ! -s conftest.err'
36196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36197   (eval $ac_try) 2>&5
36198   ac_status=$?
36199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200   (exit $ac_status); }; } &&
36201          { ac_try='test -s conftest$ac_exeext'
36202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36203   (eval $ac_try) 2>&5
36204   ac_status=$?
36205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206   (exit $ac_status); }; }; then
36207   eval "$as_ac_var=yes"
36208 else
36209   echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36211
36212 eval "$as_ac_var=no"
36213 fi
36214 rm -f conftest.err conftest.$ac_objext \
36215       conftest$ac_exeext conftest.$ac_ext
36216 fi
36217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36219 if test `eval echo '${'$as_ac_var'}'` = yes; then
36220   cat >>confdefs.h <<_ACEOF
36221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36222 _ACEOF
36223
36224 fi
36225 done
36226
36227     fi
36228   fi
36229
36230
36231
36232
36233
36234
36235   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36236 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36237   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36238     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36239   echo $ECHO_N "(cached) $ECHO_C" >&6
36240 else
36241
36242
36243
36244       ac_ext=cc
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36249
36250       cat >conftest.$ac_ext <<_ACEOF
36251 /* confdefs.h.  */
36252 _ACEOF
36253 cat confdefs.h >>conftest.$ac_ext
36254 cat >>conftest.$ac_ext <<_ACEOF
36255 /* end confdefs.h.  */
36256 #include <math.h>
36257                       #ifdef HAVE_IEEEFP_H
36258                       #include <ieeefp.h>
36259                       #endif
36260
36261 int
36262 main ()
36263 {
36264  fabsl(0);
36265   ;
36266   return 0;
36267 }
36268 _ACEOF
36269 rm -f conftest.$ac_objext
36270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36271   (eval $ac_compile) 2>conftest.er1
36272   ac_status=$?
36273   grep -v '^ *+' conftest.er1 >conftest.err
36274   rm -f conftest.er1
36275   cat conftest.err >&5
36276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277   (exit $ac_status); } &&
36278          { ac_try='test -z "$ac_cxx_werror_flag"
36279                          || test ! -s conftest.err'
36280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36281   (eval $ac_try) 2>&5
36282   ac_status=$?
36283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284   (exit $ac_status); }; } &&
36285          { ac_try='test -s conftest.$ac_objext'
36286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36287   (eval $ac_try) 2>&5
36288   ac_status=$?
36289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36290   (exit $ac_status); }; }; then
36291   glibcxx_cv_func_fabsl_use=yes
36292 else
36293   echo "$as_me: failed program was:" >&5
36294 sed 's/^/| /' conftest.$ac_ext >&5
36295
36296 glibcxx_cv_func_fabsl_use=no
36297 fi
36298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36299       ac_ext=c
36300 ac_cpp='$CPP $CPPFLAGS'
36301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304
36305
36306 fi
36307
36308   fi
36309   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36310 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36311
36312   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36313
36314 for ac_func in fabsl
36315 do
36316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36317 echo "$as_me:$LINENO: checking for $ac_func" >&5
36318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36319 if eval "test \"\${$as_ac_var+set}\" = set"; then
36320   echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36322   if test x$gcc_no_link = xyes; then
36323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36325    { (exit 1); exit 1; }; }
36326 fi
36327 cat >conftest.$ac_ext <<_ACEOF
36328 /* confdefs.h.  */
36329 _ACEOF
36330 cat confdefs.h >>conftest.$ac_ext
36331 cat >>conftest.$ac_ext <<_ACEOF
36332 /* end confdefs.h.  */
36333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36335 #define $ac_func innocuous_$ac_func
36336
36337 /* System header to define __stub macros and hopefully few prototypes,
36338     which can conflict with char $ac_func (); below.
36339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36340     <limits.h> exists even on freestanding compilers.  */
36341
36342 #ifdef __STDC__
36343 # include <limits.h>
36344 #else
36345 # include <assert.h>
36346 #endif
36347
36348 #undef $ac_func
36349
36350 /* Override any gcc2 internal prototype to avoid an error.  */
36351 #ifdef __cplusplus
36352 extern "C"
36353 {
36354 #endif
36355 /* We use char because int might match the return type of a gcc2
36356    builtin and then its argument prototype would still apply.  */
36357 char $ac_func ();
36358 /* The GNU C library defines this for functions which it implements
36359     to always fail with ENOSYS.  Some functions are actually named
36360     something starting with __ and the normal name is an alias.  */
36361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36362 choke me
36363 #else
36364 char (*f) () = $ac_func;
36365 #endif
36366 #ifdef __cplusplus
36367 }
36368 #endif
36369
36370 int
36371 main ()
36372 {
36373 return f != $ac_func;
36374   ;
36375   return 0;
36376 }
36377 _ACEOF
36378 rm -f conftest.$ac_objext conftest$ac_exeext
36379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36380   (eval $ac_link) 2>conftest.er1
36381   ac_status=$?
36382   grep -v '^ *+' conftest.er1 >conftest.err
36383   rm -f conftest.er1
36384   cat conftest.err >&5
36385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36386   (exit $ac_status); } &&
36387          { ac_try='test -z "$ac_c_werror_flag"
36388                          || test ! -s conftest.err'
36389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390   (eval $ac_try) 2>&5
36391   ac_status=$?
36392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393   (exit $ac_status); }; } &&
36394          { ac_try='test -s conftest$ac_exeext'
36395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36396   (eval $ac_try) 2>&5
36397   ac_status=$?
36398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36399   (exit $ac_status); }; }; then
36400   eval "$as_ac_var=yes"
36401 else
36402   echo "$as_me: failed program was:" >&5
36403 sed 's/^/| /' conftest.$ac_ext >&5
36404
36405 eval "$as_ac_var=no"
36406 fi
36407 rm -f conftest.err conftest.$ac_objext \
36408       conftest$ac_exeext conftest.$ac_ext
36409 fi
36410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36412 if test `eval echo '${'$as_ac_var'}'` = yes; then
36413   cat >>confdefs.h <<_ACEOF
36414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36415 _ACEOF
36416
36417 fi
36418 done
36419
36420   else
36421
36422   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36423 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36424   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36425     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36426   echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428
36429
36430
36431       ac_ext=cc
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436
36437       cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h.  */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h.  */
36443 #include <math.h>
36444                       #ifdef HAVE_IEEEFP_H
36445                       #include <ieeefp.h>
36446                       #endif
36447
36448 int
36449 main ()
36450 {
36451  _fabsl(0);
36452   ;
36453   return 0;
36454 }
36455 _ACEOF
36456 rm -f conftest.$ac_objext
36457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36458   (eval $ac_compile) 2>conftest.er1
36459   ac_status=$?
36460   grep -v '^ *+' conftest.er1 >conftest.err
36461   rm -f conftest.er1
36462   cat conftest.err >&5
36463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464   (exit $ac_status); } &&
36465          { ac_try='test -z "$ac_cxx_werror_flag"
36466                          || test ! -s conftest.err'
36467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36468   (eval $ac_try) 2>&5
36469   ac_status=$?
36470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471   (exit $ac_status); }; } &&
36472          { ac_try='test -s conftest.$ac_objext'
36473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36474   (eval $ac_try) 2>&5
36475   ac_status=$?
36476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477   (exit $ac_status); }; }; then
36478   glibcxx_cv_func__fabsl_use=yes
36479 else
36480   echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36482
36483 glibcxx_cv_func__fabsl_use=no
36484 fi
36485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36486       ac_ext=c
36487 ac_cpp='$CPP $CPPFLAGS'
36488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36491
36492
36493 fi
36494
36495   fi
36496   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36497 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36498
36499     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36500
36501 for ac_func in _fabsl
36502 do
36503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36504 echo "$as_me:$LINENO: checking for $ac_func" >&5
36505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36506 if eval "test \"\${$as_ac_var+set}\" = set"; then
36507   echo $ECHO_N "(cached) $ECHO_C" >&6
36508 else
36509   if test x$gcc_no_link = xyes; then
36510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36512    { (exit 1); exit 1; }; }
36513 fi
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h.  */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h.  */
36520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36522 #define $ac_func innocuous_$ac_func
36523
36524 /* System header to define __stub macros and hopefully few prototypes,
36525     which can conflict with char $ac_func (); below.
36526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36527     <limits.h> exists even on freestanding compilers.  */
36528
36529 #ifdef __STDC__
36530 # include <limits.h>
36531 #else
36532 # include <assert.h>
36533 #endif
36534
36535 #undef $ac_func
36536
36537 /* Override any gcc2 internal prototype to avoid an error.  */
36538 #ifdef __cplusplus
36539 extern "C"
36540 {
36541 #endif
36542 /* We use char because int might match the return type of a gcc2
36543    builtin and then its argument prototype would still apply.  */
36544 char $ac_func ();
36545 /* The GNU C library defines this for functions which it implements
36546     to always fail with ENOSYS.  Some functions are actually named
36547     something starting with __ and the normal name is an alias.  */
36548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36549 choke me
36550 #else
36551 char (*f) () = $ac_func;
36552 #endif
36553 #ifdef __cplusplus
36554 }
36555 #endif
36556
36557 int
36558 main ()
36559 {
36560 return f != $ac_func;
36561   ;
36562   return 0;
36563 }
36564 _ACEOF
36565 rm -f conftest.$ac_objext conftest$ac_exeext
36566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36567   (eval $ac_link) 2>conftest.er1
36568   ac_status=$?
36569   grep -v '^ *+' conftest.er1 >conftest.err
36570   rm -f conftest.er1
36571   cat conftest.err >&5
36572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573   (exit $ac_status); } &&
36574          { ac_try='test -z "$ac_c_werror_flag"
36575                          || test ! -s conftest.err'
36576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36577   (eval $ac_try) 2>&5
36578   ac_status=$?
36579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580   (exit $ac_status); }; } &&
36581          { ac_try='test -s conftest$ac_exeext'
36582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583   (eval $ac_try) 2>&5
36584   ac_status=$?
36585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586   (exit $ac_status); }; }; then
36587   eval "$as_ac_var=yes"
36588 else
36589   echo "$as_me: failed program was:" >&5
36590 sed 's/^/| /' conftest.$ac_ext >&5
36591
36592 eval "$as_ac_var=no"
36593 fi
36594 rm -f conftest.err conftest.$ac_objext \
36595       conftest$ac_exeext conftest.$ac_ext
36596 fi
36597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36599 if test `eval echo '${'$as_ac_var'}'` = yes; then
36600   cat >>confdefs.h <<_ACEOF
36601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36602 _ACEOF
36603
36604 fi
36605 done
36606
36607     fi
36608   fi
36609
36610
36611
36612
36613
36614
36615   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36616 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36617   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36618     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36619   echo $ECHO_N "(cached) $ECHO_C" >&6
36620 else
36621
36622
36623
36624       ac_ext=cc
36625 ac_cpp='$CXXCPP $CPPFLAGS'
36626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36629
36630       cat >conftest.$ac_ext <<_ACEOF
36631 /* confdefs.h.  */
36632 _ACEOF
36633 cat confdefs.h >>conftest.$ac_ext
36634 cat >>conftest.$ac_ext <<_ACEOF
36635 /* end confdefs.h.  */
36636 #include <math.h>
36637 int
36638 main ()
36639 {
36640  fmodl(0, 0);
36641   ;
36642   return 0;
36643 }
36644 _ACEOF
36645 rm -f conftest.$ac_objext
36646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36647   (eval $ac_compile) 2>conftest.er1
36648   ac_status=$?
36649   grep -v '^ *+' conftest.er1 >conftest.err
36650   rm -f conftest.er1
36651   cat conftest.err >&5
36652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653   (exit $ac_status); } &&
36654          { ac_try='test -z "$ac_cxx_werror_flag"
36655                          || test ! -s conftest.err'
36656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657   (eval $ac_try) 2>&5
36658   ac_status=$?
36659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660   (exit $ac_status); }; } &&
36661          { ac_try='test -s conftest.$ac_objext'
36662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36663   (eval $ac_try) 2>&5
36664   ac_status=$?
36665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666   (exit $ac_status); }; }; then
36667   glibcxx_cv_func_fmodl_use=yes
36668 else
36669   echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36671
36672 glibcxx_cv_func_fmodl_use=no
36673 fi
36674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36675       ac_ext=c
36676 ac_cpp='$CPP $CPPFLAGS'
36677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36680
36681
36682 fi
36683
36684   fi
36685   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36686 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36687
36688   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36689
36690 for ac_func in fmodl
36691 do
36692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36693 echo "$as_me:$LINENO: checking for $ac_func" >&5
36694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36695 if eval "test \"\${$as_ac_var+set}\" = set"; then
36696   echo $ECHO_N "(cached) $ECHO_C" >&6
36697 else
36698   if test x$gcc_no_link = xyes; then
36699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36701    { (exit 1); exit 1; }; }
36702 fi
36703 cat >conftest.$ac_ext <<_ACEOF
36704 /* confdefs.h.  */
36705 _ACEOF
36706 cat confdefs.h >>conftest.$ac_ext
36707 cat >>conftest.$ac_ext <<_ACEOF
36708 /* end confdefs.h.  */
36709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36711 #define $ac_func innocuous_$ac_func
36712
36713 /* System header to define __stub macros and hopefully few prototypes,
36714     which can conflict with char $ac_func (); below.
36715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36716     <limits.h> exists even on freestanding compilers.  */
36717
36718 #ifdef __STDC__
36719 # include <limits.h>
36720 #else
36721 # include <assert.h>
36722 #endif
36723
36724 #undef $ac_func
36725
36726 /* Override any gcc2 internal prototype to avoid an error.  */
36727 #ifdef __cplusplus
36728 extern "C"
36729 {
36730 #endif
36731 /* We use char because int might match the return type of a gcc2
36732    builtin and then its argument prototype would still apply.  */
36733 char $ac_func ();
36734 /* The GNU C library defines this for functions which it implements
36735     to always fail with ENOSYS.  Some functions are actually named
36736     something starting with __ and the normal name is an alias.  */
36737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36738 choke me
36739 #else
36740 char (*f) () = $ac_func;
36741 #endif
36742 #ifdef __cplusplus
36743 }
36744 #endif
36745
36746 int
36747 main ()
36748 {
36749 return f != $ac_func;
36750   ;
36751   return 0;
36752 }
36753 _ACEOF
36754 rm -f conftest.$ac_objext conftest$ac_exeext
36755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36756   (eval $ac_link) 2>conftest.er1
36757   ac_status=$?
36758   grep -v '^ *+' conftest.er1 >conftest.err
36759   rm -f conftest.er1
36760   cat conftest.err >&5
36761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762   (exit $ac_status); } &&
36763          { ac_try='test -z "$ac_c_werror_flag"
36764                          || test ! -s conftest.err'
36765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36766   (eval $ac_try) 2>&5
36767   ac_status=$?
36768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769   (exit $ac_status); }; } &&
36770          { ac_try='test -s conftest$ac_exeext'
36771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36772   (eval $ac_try) 2>&5
36773   ac_status=$?
36774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775   (exit $ac_status); }; }; then
36776   eval "$as_ac_var=yes"
36777 else
36778   echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36780
36781 eval "$as_ac_var=no"
36782 fi
36783 rm -f conftest.err conftest.$ac_objext \
36784       conftest$ac_exeext conftest.$ac_ext
36785 fi
36786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36788 if test `eval echo '${'$as_ac_var'}'` = yes; then
36789   cat >>confdefs.h <<_ACEOF
36790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36791 _ACEOF
36792
36793 fi
36794 done
36795
36796   else
36797
36798   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36799 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36800   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36801     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36802   echo $ECHO_N "(cached) $ECHO_C" >&6
36803 else
36804
36805
36806
36807       ac_ext=cc
36808 ac_cpp='$CXXCPP $CPPFLAGS'
36809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36812
36813       cat >conftest.$ac_ext <<_ACEOF
36814 /* confdefs.h.  */
36815 _ACEOF
36816 cat confdefs.h >>conftest.$ac_ext
36817 cat >>conftest.$ac_ext <<_ACEOF
36818 /* end confdefs.h.  */
36819 #include <math.h>
36820 int
36821 main ()
36822 {
36823  _fmodl(0, 0);
36824   ;
36825   return 0;
36826 }
36827 _ACEOF
36828 rm -f conftest.$ac_objext
36829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36830   (eval $ac_compile) 2>conftest.er1
36831   ac_status=$?
36832   grep -v '^ *+' conftest.er1 >conftest.err
36833   rm -f conftest.er1
36834   cat conftest.err >&5
36835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836   (exit $ac_status); } &&
36837          { ac_try='test -z "$ac_cxx_werror_flag"
36838                          || test ! -s conftest.err'
36839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840   (eval $ac_try) 2>&5
36841   ac_status=$?
36842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843   (exit $ac_status); }; } &&
36844          { ac_try='test -s conftest.$ac_objext'
36845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846   (eval $ac_try) 2>&5
36847   ac_status=$?
36848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849   (exit $ac_status); }; }; then
36850   glibcxx_cv_func__fmodl_use=yes
36851 else
36852   echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36854
36855 glibcxx_cv_func__fmodl_use=no
36856 fi
36857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36858       ac_ext=c
36859 ac_cpp='$CPP $CPPFLAGS'
36860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36863
36864
36865 fi
36866
36867   fi
36868   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36869 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36870
36871     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36872
36873 for ac_func in _fmodl
36874 do
36875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36876 echo "$as_me:$LINENO: checking for $ac_func" >&5
36877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36878 if eval "test \"\${$as_ac_var+set}\" = set"; then
36879   echo $ECHO_N "(cached) $ECHO_C" >&6
36880 else
36881   if test x$gcc_no_link = xyes; then
36882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36884    { (exit 1); exit 1; }; }
36885 fi
36886 cat >conftest.$ac_ext <<_ACEOF
36887 /* confdefs.h.  */
36888 _ACEOF
36889 cat confdefs.h >>conftest.$ac_ext
36890 cat >>conftest.$ac_ext <<_ACEOF
36891 /* end confdefs.h.  */
36892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36894 #define $ac_func innocuous_$ac_func
36895
36896 /* System header to define __stub macros and hopefully few prototypes,
36897     which can conflict with char $ac_func (); below.
36898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36899     <limits.h> exists even on freestanding compilers.  */
36900
36901 #ifdef __STDC__
36902 # include <limits.h>
36903 #else
36904 # include <assert.h>
36905 #endif
36906
36907 #undef $ac_func
36908
36909 /* Override any gcc2 internal prototype to avoid an error.  */
36910 #ifdef __cplusplus
36911 extern "C"
36912 {
36913 #endif
36914 /* We use char because int might match the return type of a gcc2
36915    builtin and then its argument prototype would still apply.  */
36916 char $ac_func ();
36917 /* The GNU C library defines this for functions which it implements
36918     to always fail with ENOSYS.  Some functions are actually named
36919     something starting with __ and the normal name is an alias.  */
36920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36921 choke me
36922 #else
36923 char (*f) () = $ac_func;
36924 #endif
36925 #ifdef __cplusplus
36926 }
36927 #endif
36928
36929 int
36930 main ()
36931 {
36932 return f != $ac_func;
36933   ;
36934   return 0;
36935 }
36936 _ACEOF
36937 rm -f conftest.$ac_objext conftest$ac_exeext
36938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36939   (eval $ac_link) 2>conftest.er1
36940   ac_status=$?
36941   grep -v '^ *+' conftest.er1 >conftest.err
36942   rm -f conftest.er1
36943   cat conftest.err >&5
36944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945   (exit $ac_status); } &&
36946          { ac_try='test -z "$ac_c_werror_flag"
36947                          || test ! -s conftest.err'
36948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949   (eval $ac_try) 2>&5
36950   ac_status=$?
36951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952   (exit $ac_status); }; } &&
36953          { ac_try='test -s conftest$ac_exeext'
36954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955   (eval $ac_try) 2>&5
36956   ac_status=$?
36957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958   (exit $ac_status); }; }; then
36959   eval "$as_ac_var=yes"
36960 else
36961   echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 eval "$as_ac_var=no"
36965 fi
36966 rm -f conftest.err conftest.$ac_objext \
36967       conftest$ac_exeext conftest.$ac_ext
36968 fi
36969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36971 if test `eval echo '${'$as_ac_var'}'` = yes; then
36972   cat >>confdefs.h <<_ACEOF
36973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36974 _ACEOF
36975
36976 fi
36977 done
36978
36979     fi
36980   fi
36981
36982
36983
36984
36985
36986
36987   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36988 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36989   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36990     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36991   echo $ECHO_N "(cached) $ECHO_C" >&6
36992 else
36993
36994
36995
36996       ac_ext=cc
36997 ac_cpp='$CXXCPP $CPPFLAGS'
36998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37001
37002       cat >conftest.$ac_ext <<_ACEOF
37003 /* confdefs.h.  */
37004 _ACEOF
37005 cat confdefs.h >>conftest.$ac_ext
37006 cat >>conftest.$ac_ext <<_ACEOF
37007 /* end confdefs.h.  */
37008 #include <math.h>
37009 int
37010 main ()
37011 {
37012  frexpl(0, 0);
37013   ;
37014   return 0;
37015 }
37016 _ACEOF
37017 rm -f conftest.$ac_objext
37018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37019   (eval $ac_compile) 2>conftest.er1
37020   ac_status=$?
37021   grep -v '^ *+' conftest.er1 >conftest.err
37022   rm -f conftest.er1
37023   cat conftest.err >&5
37024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37025   (exit $ac_status); } &&
37026          { ac_try='test -z "$ac_cxx_werror_flag"
37027                          || test ! -s conftest.err'
37028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029   (eval $ac_try) 2>&5
37030   ac_status=$?
37031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032   (exit $ac_status); }; } &&
37033          { ac_try='test -s conftest.$ac_objext'
37034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37035   (eval $ac_try) 2>&5
37036   ac_status=$?
37037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37038   (exit $ac_status); }; }; then
37039   glibcxx_cv_func_frexpl_use=yes
37040 else
37041   echo "$as_me: failed program was:" >&5
37042 sed 's/^/| /' conftest.$ac_ext >&5
37043
37044 glibcxx_cv_func_frexpl_use=no
37045 fi
37046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37047       ac_ext=c
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052
37053
37054 fi
37055
37056   fi
37057   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
37058 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
37059
37060   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37061
37062 for ac_func in frexpl
37063 do
37064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37065 echo "$as_me:$LINENO: checking for $ac_func" >&5
37066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37067 if eval "test \"\${$as_ac_var+set}\" = set"; then
37068   echo $ECHO_N "(cached) $ECHO_C" >&6
37069 else
37070   if test x$gcc_no_link = xyes; then
37071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37073    { (exit 1); exit 1; }; }
37074 fi
37075 cat >conftest.$ac_ext <<_ACEOF
37076 /* confdefs.h.  */
37077 _ACEOF
37078 cat confdefs.h >>conftest.$ac_ext
37079 cat >>conftest.$ac_ext <<_ACEOF
37080 /* end confdefs.h.  */
37081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37083 #define $ac_func innocuous_$ac_func
37084
37085 /* System header to define __stub macros and hopefully few prototypes,
37086     which can conflict with char $ac_func (); below.
37087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37088     <limits.h> exists even on freestanding compilers.  */
37089
37090 #ifdef __STDC__
37091 # include <limits.h>
37092 #else
37093 # include <assert.h>
37094 #endif
37095
37096 #undef $ac_func
37097
37098 /* Override any gcc2 internal prototype to avoid an error.  */
37099 #ifdef __cplusplus
37100 extern "C"
37101 {
37102 #endif
37103 /* We use char because int might match the return type of a gcc2
37104    builtin and then its argument prototype would still apply.  */
37105 char $ac_func ();
37106 /* The GNU C library defines this for functions which it implements
37107     to always fail with ENOSYS.  Some functions are actually named
37108     something starting with __ and the normal name is an alias.  */
37109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37110 choke me
37111 #else
37112 char (*f) () = $ac_func;
37113 #endif
37114 #ifdef __cplusplus
37115 }
37116 #endif
37117
37118 int
37119 main ()
37120 {
37121 return f != $ac_func;
37122   ;
37123   return 0;
37124 }
37125 _ACEOF
37126 rm -f conftest.$ac_objext conftest$ac_exeext
37127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37128   (eval $ac_link) 2>conftest.er1
37129   ac_status=$?
37130   grep -v '^ *+' conftest.er1 >conftest.err
37131   rm -f conftest.er1
37132   cat conftest.err >&5
37133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134   (exit $ac_status); } &&
37135          { ac_try='test -z "$ac_c_werror_flag"
37136                          || test ! -s conftest.err'
37137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138   (eval $ac_try) 2>&5
37139   ac_status=$?
37140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141   (exit $ac_status); }; } &&
37142          { ac_try='test -s conftest$ac_exeext'
37143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37144   (eval $ac_try) 2>&5
37145   ac_status=$?
37146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147   (exit $ac_status); }; }; then
37148   eval "$as_ac_var=yes"
37149 else
37150   echo "$as_me: failed program was:" >&5
37151 sed 's/^/| /' conftest.$ac_ext >&5
37152
37153 eval "$as_ac_var=no"
37154 fi
37155 rm -f conftest.err conftest.$ac_objext \
37156       conftest$ac_exeext conftest.$ac_ext
37157 fi
37158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37160 if test `eval echo '${'$as_ac_var'}'` = yes; then
37161   cat >>confdefs.h <<_ACEOF
37162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37163 _ACEOF
37164
37165 fi
37166 done
37167
37168   else
37169
37170   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37171 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37172   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37173     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37174   echo $ECHO_N "(cached) $ECHO_C" >&6
37175 else
37176
37177
37178
37179       ac_ext=cc
37180 ac_cpp='$CXXCPP $CPPFLAGS'
37181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37184
37185       cat >conftest.$ac_ext <<_ACEOF
37186 /* confdefs.h.  */
37187 _ACEOF
37188 cat confdefs.h >>conftest.$ac_ext
37189 cat >>conftest.$ac_ext <<_ACEOF
37190 /* end confdefs.h.  */
37191 #include <math.h>
37192 int
37193 main ()
37194 {
37195  _frexpl(0, 0);
37196   ;
37197   return 0;
37198 }
37199 _ACEOF
37200 rm -f conftest.$ac_objext
37201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37202   (eval $ac_compile) 2>conftest.er1
37203   ac_status=$?
37204   grep -v '^ *+' conftest.er1 >conftest.err
37205   rm -f conftest.er1
37206   cat conftest.err >&5
37207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208   (exit $ac_status); } &&
37209          { ac_try='test -z "$ac_cxx_werror_flag"
37210                          || test ! -s conftest.err'
37211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37212   (eval $ac_try) 2>&5
37213   ac_status=$?
37214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215   (exit $ac_status); }; } &&
37216          { ac_try='test -s conftest.$ac_objext'
37217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218   (eval $ac_try) 2>&5
37219   ac_status=$?
37220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221   (exit $ac_status); }; }; then
37222   glibcxx_cv_func__frexpl_use=yes
37223 else
37224   echo "$as_me: failed program was:" >&5
37225 sed 's/^/| /' conftest.$ac_ext >&5
37226
37227 glibcxx_cv_func__frexpl_use=no
37228 fi
37229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37230       ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37235
37236
37237 fi
37238
37239   fi
37240   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37241 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37242
37243     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37244
37245 for ac_func in _frexpl
37246 do
37247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37248 echo "$as_me:$LINENO: checking for $ac_func" >&5
37249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37250 if eval "test \"\${$as_ac_var+set}\" = set"; then
37251   echo $ECHO_N "(cached) $ECHO_C" >&6
37252 else
37253   if test x$gcc_no_link = xyes; then
37254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37256    { (exit 1); exit 1; }; }
37257 fi
37258 cat >conftest.$ac_ext <<_ACEOF
37259 /* confdefs.h.  */
37260 _ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h.  */
37264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37266 #define $ac_func innocuous_$ac_func
37267
37268 /* System header to define __stub macros and hopefully few prototypes,
37269     which can conflict with char $ac_func (); below.
37270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37271     <limits.h> exists even on freestanding compilers.  */
37272
37273 #ifdef __STDC__
37274 # include <limits.h>
37275 #else
37276 # include <assert.h>
37277 #endif
37278
37279 #undef $ac_func
37280
37281 /* Override any gcc2 internal prototype to avoid an error.  */
37282 #ifdef __cplusplus
37283 extern "C"
37284 {
37285 #endif
37286 /* We use char because int might match the return type of a gcc2
37287    builtin and then its argument prototype would still apply.  */
37288 char $ac_func ();
37289 /* The GNU C library defines this for functions which it implements
37290     to always fail with ENOSYS.  Some functions are actually named
37291     something starting with __ and the normal name is an alias.  */
37292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37293 choke me
37294 #else
37295 char (*f) () = $ac_func;
37296 #endif
37297 #ifdef __cplusplus
37298 }
37299 #endif
37300
37301 int
37302 main ()
37303 {
37304 return f != $ac_func;
37305   ;
37306   return 0;
37307 }
37308 _ACEOF
37309 rm -f conftest.$ac_objext conftest$ac_exeext
37310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37311   (eval $ac_link) 2>conftest.er1
37312   ac_status=$?
37313   grep -v '^ *+' conftest.er1 >conftest.err
37314   rm -f conftest.er1
37315   cat conftest.err >&5
37316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317   (exit $ac_status); } &&
37318          { ac_try='test -z "$ac_c_werror_flag"
37319                          || test ! -s conftest.err'
37320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37321   (eval $ac_try) 2>&5
37322   ac_status=$?
37323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324   (exit $ac_status); }; } &&
37325          { ac_try='test -s conftest$ac_exeext'
37326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327   (eval $ac_try) 2>&5
37328   ac_status=$?
37329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330   (exit $ac_status); }; }; then
37331   eval "$as_ac_var=yes"
37332 else
37333   echo "$as_me: failed program was:" >&5
37334 sed 's/^/| /' conftest.$ac_ext >&5
37335
37336 eval "$as_ac_var=no"
37337 fi
37338 rm -f conftest.err conftest.$ac_objext \
37339       conftest$ac_exeext conftest.$ac_ext
37340 fi
37341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37343 if test `eval echo '${'$as_ac_var'}'` = yes; then
37344   cat >>confdefs.h <<_ACEOF
37345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37346 _ACEOF
37347
37348 fi
37349 done
37350
37351     fi
37352   fi
37353
37354
37355
37356
37357
37358
37359   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37360 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37361   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37362     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37363   echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365
37366
37367
37368       ac_ext=cc
37369 ac_cpp='$CXXCPP $CPPFLAGS'
37370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37373
37374       cat >conftest.$ac_ext <<_ACEOF
37375 /* confdefs.h.  */
37376 _ACEOF
37377 cat confdefs.h >>conftest.$ac_ext
37378 cat >>conftest.$ac_ext <<_ACEOF
37379 /* end confdefs.h.  */
37380 #include <math.h>
37381 int
37382 main ()
37383 {
37384  hypotl(0, 0);
37385   ;
37386   return 0;
37387 }
37388 _ACEOF
37389 rm -f conftest.$ac_objext
37390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37391   (eval $ac_compile) 2>conftest.er1
37392   ac_status=$?
37393   grep -v '^ *+' conftest.er1 >conftest.err
37394   rm -f conftest.er1
37395   cat conftest.err >&5
37396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37397   (exit $ac_status); } &&
37398          { ac_try='test -z "$ac_cxx_werror_flag"
37399                          || test ! -s conftest.err'
37400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401   (eval $ac_try) 2>&5
37402   ac_status=$?
37403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404   (exit $ac_status); }; } &&
37405          { ac_try='test -s conftest.$ac_objext'
37406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407   (eval $ac_try) 2>&5
37408   ac_status=$?
37409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410   (exit $ac_status); }; }; then
37411   glibcxx_cv_func_hypotl_use=yes
37412 else
37413   echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.$ac_ext >&5
37415
37416 glibcxx_cv_func_hypotl_use=no
37417 fi
37418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37419       ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428   fi
37429   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37430 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37431
37432   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37433
37434 for ac_func in hypotl
37435 do
37436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37437 echo "$as_me:$LINENO: checking for $ac_func" >&5
37438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37439 if eval "test \"\${$as_ac_var+set}\" = set"; then
37440   echo $ECHO_N "(cached) $ECHO_C" >&6
37441 else
37442   if test x$gcc_no_link = xyes; then
37443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37445    { (exit 1); exit 1; }; }
37446 fi
37447 cat >conftest.$ac_ext <<_ACEOF
37448 /* confdefs.h.  */
37449 _ACEOF
37450 cat confdefs.h >>conftest.$ac_ext
37451 cat >>conftest.$ac_ext <<_ACEOF
37452 /* end confdefs.h.  */
37453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37455 #define $ac_func innocuous_$ac_func
37456
37457 /* System header to define __stub macros and hopefully few prototypes,
37458     which can conflict with char $ac_func (); below.
37459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37460     <limits.h> exists even on freestanding compilers.  */
37461
37462 #ifdef __STDC__
37463 # include <limits.h>
37464 #else
37465 # include <assert.h>
37466 #endif
37467
37468 #undef $ac_func
37469
37470 /* Override any gcc2 internal prototype to avoid an error.  */
37471 #ifdef __cplusplus
37472 extern "C"
37473 {
37474 #endif
37475 /* We use char because int might match the return type of a gcc2
37476    builtin and then its argument prototype would still apply.  */
37477 char $ac_func ();
37478 /* The GNU C library defines this for functions which it implements
37479     to always fail with ENOSYS.  Some functions are actually named
37480     something starting with __ and the normal name is an alias.  */
37481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37482 choke me
37483 #else
37484 char (*f) () = $ac_func;
37485 #endif
37486 #ifdef __cplusplus
37487 }
37488 #endif
37489
37490 int
37491 main ()
37492 {
37493 return f != $ac_func;
37494   ;
37495   return 0;
37496 }
37497 _ACEOF
37498 rm -f conftest.$ac_objext conftest$ac_exeext
37499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37500   (eval $ac_link) 2>conftest.er1
37501   ac_status=$?
37502   grep -v '^ *+' conftest.er1 >conftest.err
37503   rm -f conftest.er1
37504   cat conftest.err >&5
37505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506   (exit $ac_status); } &&
37507          { ac_try='test -z "$ac_c_werror_flag"
37508                          || test ! -s conftest.err'
37509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37510   (eval $ac_try) 2>&5
37511   ac_status=$?
37512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513   (exit $ac_status); }; } &&
37514          { ac_try='test -s conftest$ac_exeext'
37515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516   (eval $ac_try) 2>&5
37517   ac_status=$?
37518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519   (exit $ac_status); }; }; then
37520   eval "$as_ac_var=yes"
37521 else
37522   echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.$ac_ext >&5
37524
37525 eval "$as_ac_var=no"
37526 fi
37527 rm -f conftest.err conftest.$ac_objext \
37528       conftest$ac_exeext conftest.$ac_ext
37529 fi
37530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37532 if test `eval echo '${'$as_ac_var'}'` = yes; then
37533   cat >>confdefs.h <<_ACEOF
37534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37535 _ACEOF
37536
37537 fi
37538 done
37539
37540   else
37541
37542   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37543 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37544   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37545     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37546   echo $ECHO_N "(cached) $ECHO_C" >&6
37547 else
37548
37549
37550
37551       ac_ext=cc
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37556
37557       cat >conftest.$ac_ext <<_ACEOF
37558 /* confdefs.h.  */
37559 _ACEOF
37560 cat confdefs.h >>conftest.$ac_ext
37561 cat >>conftest.$ac_ext <<_ACEOF
37562 /* end confdefs.h.  */
37563 #include <math.h>
37564 int
37565 main ()
37566 {
37567  _hypotl(0, 0);
37568   ;
37569   return 0;
37570 }
37571 _ACEOF
37572 rm -f conftest.$ac_objext
37573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37574   (eval $ac_compile) 2>conftest.er1
37575   ac_status=$?
37576   grep -v '^ *+' conftest.er1 >conftest.err
37577   rm -f conftest.er1
37578   cat conftest.err >&5
37579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580   (exit $ac_status); } &&
37581          { ac_try='test -z "$ac_cxx_werror_flag"
37582                          || test ! -s conftest.err'
37583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584   (eval $ac_try) 2>&5
37585   ac_status=$?
37586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587   (exit $ac_status); }; } &&
37588          { ac_try='test -s conftest.$ac_objext'
37589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37590   (eval $ac_try) 2>&5
37591   ac_status=$?
37592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37593   (exit $ac_status); }; }; then
37594   glibcxx_cv_func__hypotl_use=yes
37595 else
37596   echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37598
37599 glibcxx_cv_func__hypotl_use=no
37600 fi
37601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37602       ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37607
37608
37609 fi
37610
37611   fi
37612   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37613 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37614
37615     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37616
37617 for ac_func in _hypotl
37618 do
37619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37620 echo "$as_me:$LINENO: checking for $ac_func" >&5
37621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37622 if eval "test \"\${$as_ac_var+set}\" = set"; then
37623   echo $ECHO_N "(cached) $ECHO_C" >&6
37624 else
37625   if test x$gcc_no_link = xyes; then
37626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37628    { (exit 1); exit 1; }; }
37629 fi
37630 cat >conftest.$ac_ext <<_ACEOF
37631 /* confdefs.h.  */
37632 _ACEOF
37633 cat confdefs.h >>conftest.$ac_ext
37634 cat >>conftest.$ac_ext <<_ACEOF
37635 /* end confdefs.h.  */
37636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37638 #define $ac_func innocuous_$ac_func
37639
37640 /* System header to define __stub macros and hopefully few prototypes,
37641     which can conflict with char $ac_func (); below.
37642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37643     <limits.h> exists even on freestanding compilers.  */
37644
37645 #ifdef __STDC__
37646 # include <limits.h>
37647 #else
37648 # include <assert.h>
37649 #endif
37650
37651 #undef $ac_func
37652
37653 /* Override any gcc2 internal prototype to avoid an error.  */
37654 #ifdef __cplusplus
37655 extern "C"
37656 {
37657 #endif
37658 /* We use char because int might match the return type of a gcc2
37659    builtin and then its argument prototype would still apply.  */
37660 char $ac_func ();
37661 /* The GNU C library defines this for functions which it implements
37662     to always fail with ENOSYS.  Some functions are actually named
37663     something starting with __ and the normal name is an alias.  */
37664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37665 choke me
37666 #else
37667 char (*f) () = $ac_func;
37668 #endif
37669 #ifdef __cplusplus
37670 }
37671 #endif
37672
37673 int
37674 main ()
37675 {
37676 return f != $ac_func;
37677   ;
37678   return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37683   (eval $ac_link) 2>conftest.er1
37684   ac_status=$?
37685   grep -v '^ *+' conftest.er1 >conftest.err
37686   rm -f conftest.er1
37687   cat conftest.err >&5
37688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689   (exit $ac_status); } &&
37690          { ac_try='test -z "$ac_c_werror_flag"
37691                          || test ! -s conftest.err'
37692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37693   (eval $ac_try) 2>&5
37694   ac_status=$?
37695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696   (exit $ac_status); }; } &&
37697          { ac_try='test -s conftest$ac_exeext'
37698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699   (eval $ac_try) 2>&5
37700   ac_status=$?
37701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702   (exit $ac_status); }; }; then
37703   eval "$as_ac_var=yes"
37704 else
37705   echo "$as_me: failed program was:" >&5
37706 sed 's/^/| /' conftest.$ac_ext >&5
37707
37708 eval "$as_ac_var=no"
37709 fi
37710 rm -f conftest.err conftest.$ac_objext \
37711       conftest$ac_exeext conftest.$ac_ext
37712 fi
37713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37715 if test `eval echo '${'$as_ac_var'}'` = yes; then
37716   cat >>confdefs.h <<_ACEOF
37717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37718 _ACEOF
37719
37720 fi
37721 done
37722
37723     fi
37724   fi
37725
37726
37727
37728
37729
37730
37731   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37732 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37733   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37734     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37735   echo $ECHO_N "(cached) $ECHO_C" >&6
37736 else
37737
37738
37739
37740       ac_ext=cc
37741 ac_cpp='$CXXCPP $CPPFLAGS'
37742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37745
37746       cat >conftest.$ac_ext <<_ACEOF
37747 /* confdefs.h.  */
37748 _ACEOF
37749 cat confdefs.h >>conftest.$ac_ext
37750 cat >>conftest.$ac_ext <<_ACEOF
37751 /* end confdefs.h.  */
37752 #include <math.h>
37753 int
37754 main ()
37755 {
37756  ldexpl(0, 0);
37757   ;
37758   return 0;
37759 }
37760 _ACEOF
37761 rm -f conftest.$ac_objext
37762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37763   (eval $ac_compile) 2>conftest.er1
37764   ac_status=$?
37765   grep -v '^ *+' conftest.er1 >conftest.err
37766   rm -f conftest.er1
37767   cat conftest.err >&5
37768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769   (exit $ac_status); } &&
37770          { ac_try='test -z "$ac_cxx_werror_flag"
37771                          || test ! -s conftest.err'
37772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37773   (eval $ac_try) 2>&5
37774   ac_status=$?
37775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37776   (exit $ac_status); }; } &&
37777          { ac_try='test -s conftest.$ac_objext'
37778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779   (eval $ac_try) 2>&5
37780   ac_status=$?
37781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782   (exit $ac_status); }; }; then
37783   glibcxx_cv_func_ldexpl_use=yes
37784 else
37785   echo "$as_me: failed program was:" >&5
37786 sed 's/^/| /' conftest.$ac_ext >&5
37787
37788 glibcxx_cv_func_ldexpl_use=no
37789 fi
37790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37791       ac_ext=c
37792 ac_cpp='$CPP $CPPFLAGS'
37793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37796
37797
37798 fi
37799
37800   fi
37801   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37802 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37803
37804   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37805
37806 for ac_func in ldexpl
37807 do
37808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37809 echo "$as_me:$LINENO: checking for $ac_func" >&5
37810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37811 if eval "test \"\${$as_ac_var+set}\" = set"; then
37812   echo $ECHO_N "(cached) $ECHO_C" >&6
37813 else
37814   if test x$gcc_no_link = xyes; then
37815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37817    { (exit 1); exit 1; }; }
37818 fi
37819 cat >conftest.$ac_ext <<_ACEOF
37820 /* confdefs.h.  */
37821 _ACEOF
37822 cat confdefs.h >>conftest.$ac_ext
37823 cat >>conftest.$ac_ext <<_ACEOF
37824 /* end confdefs.h.  */
37825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37827 #define $ac_func innocuous_$ac_func
37828
37829 /* System header to define __stub macros and hopefully few prototypes,
37830     which can conflict with char $ac_func (); below.
37831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37832     <limits.h> exists even on freestanding compilers.  */
37833
37834 #ifdef __STDC__
37835 # include <limits.h>
37836 #else
37837 # include <assert.h>
37838 #endif
37839
37840 #undef $ac_func
37841
37842 /* Override any gcc2 internal prototype to avoid an error.  */
37843 #ifdef __cplusplus
37844 extern "C"
37845 {
37846 #endif
37847 /* We use char because int might match the return type of a gcc2
37848    builtin and then its argument prototype would still apply.  */
37849 char $ac_func ();
37850 /* The GNU C library defines this for functions which it implements
37851     to always fail with ENOSYS.  Some functions are actually named
37852     something starting with __ and the normal name is an alias.  */
37853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37854 choke me
37855 #else
37856 char (*f) () = $ac_func;
37857 #endif
37858 #ifdef __cplusplus
37859 }
37860 #endif
37861
37862 int
37863 main ()
37864 {
37865 return f != $ac_func;
37866   ;
37867   return 0;
37868 }
37869 _ACEOF
37870 rm -f conftest.$ac_objext conftest$ac_exeext
37871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37872   (eval $ac_link) 2>conftest.er1
37873   ac_status=$?
37874   grep -v '^ *+' conftest.er1 >conftest.err
37875   rm -f conftest.er1
37876   cat conftest.err >&5
37877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878   (exit $ac_status); } &&
37879          { ac_try='test -z "$ac_c_werror_flag"
37880                          || test ! -s conftest.err'
37881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37882   (eval $ac_try) 2>&5
37883   ac_status=$?
37884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885   (exit $ac_status); }; } &&
37886          { ac_try='test -s conftest$ac_exeext'
37887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37888   (eval $ac_try) 2>&5
37889   ac_status=$?
37890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37891   (exit $ac_status); }; }; then
37892   eval "$as_ac_var=yes"
37893 else
37894   echo "$as_me: failed program was:" >&5
37895 sed 's/^/| /' conftest.$ac_ext >&5
37896
37897 eval "$as_ac_var=no"
37898 fi
37899 rm -f conftest.err conftest.$ac_objext \
37900       conftest$ac_exeext conftest.$ac_ext
37901 fi
37902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37904 if test `eval echo '${'$as_ac_var'}'` = yes; then
37905   cat >>confdefs.h <<_ACEOF
37906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37907 _ACEOF
37908
37909 fi
37910 done
37911
37912   else
37913
37914   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37915 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37916   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37917     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37918   echo $ECHO_N "(cached) $ECHO_C" >&6
37919 else
37920
37921
37922
37923       ac_ext=cc
37924 ac_cpp='$CXXCPP $CPPFLAGS'
37925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37928
37929       cat >conftest.$ac_ext <<_ACEOF
37930 /* confdefs.h.  */
37931 _ACEOF
37932 cat confdefs.h >>conftest.$ac_ext
37933 cat >>conftest.$ac_ext <<_ACEOF
37934 /* end confdefs.h.  */
37935 #include <math.h>
37936 int
37937 main ()
37938 {
37939  _ldexpl(0, 0);
37940   ;
37941   return 0;
37942 }
37943 _ACEOF
37944 rm -f conftest.$ac_objext
37945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37946   (eval $ac_compile) 2>conftest.er1
37947   ac_status=$?
37948   grep -v '^ *+' conftest.er1 >conftest.err
37949   rm -f conftest.er1
37950   cat conftest.err >&5
37951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952   (exit $ac_status); } &&
37953          { ac_try='test -z "$ac_cxx_werror_flag"
37954                          || test ! -s conftest.err'
37955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956   (eval $ac_try) 2>&5
37957   ac_status=$?
37958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959   (exit $ac_status); }; } &&
37960          { ac_try='test -s conftest.$ac_objext'
37961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37962   (eval $ac_try) 2>&5
37963   ac_status=$?
37964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965   (exit $ac_status); }; }; then
37966   glibcxx_cv_func__ldexpl_use=yes
37967 else
37968   echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.$ac_ext >&5
37970
37971 glibcxx_cv_func__ldexpl_use=no
37972 fi
37973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37974       ac_ext=c
37975 ac_cpp='$CPP $CPPFLAGS'
37976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37979
37980
37981 fi
37982
37983   fi
37984   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37985 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37986
37987     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37988
37989 for ac_func in _ldexpl
37990 do
37991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37992 echo "$as_me:$LINENO: checking for $ac_func" >&5
37993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37994 if eval "test \"\${$as_ac_var+set}\" = set"; then
37995   echo $ECHO_N "(cached) $ECHO_C" >&6
37996 else
37997   if test x$gcc_no_link = xyes; then
37998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38000    { (exit 1); exit 1; }; }
38001 fi
38002 cat >conftest.$ac_ext <<_ACEOF
38003 /* confdefs.h.  */
38004 _ACEOF
38005 cat confdefs.h >>conftest.$ac_ext
38006 cat >>conftest.$ac_ext <<_ACEOF
38007 /* end confdefs.h.  */
38008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38010 #define $ac_func innocuous_$ac_func
38011
38012 /* System header to define __stub macros and hopefully few prototypes,
38013     which can conflict with char $ac_func (); below.
38014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38015     <limits.h> exists even on freestanding compilers.  */
38016
38017 #ifdef __STDC__
38018 # include <limits.h>
38019 #else
38020 # include <assert.h>
38021 #endif
38022
38023 #undef $ac_func
38024
38025 /* Override any gcc2 internal prototype to avoid an error.  */
38026 #ifdef __cplusplus
38027 extern "C"
38028 {
38029 #endif
38030 /* We use char because int might match the return type of a gcc2
38031    builtin and then its argument prototype would still apply.  */
38032 char $ac_func ();
38033 /* The GNU C library defines this for functions which it implements
38034     to always fail with ENOSYS.  Some functions are actually named
38035     something starting with __ and the normal name is an alias.  */
38036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38037 choke me
38038 #else
38039 char (*f) () = $ac_func;
38040 #endif
38041 #ifdef __cplusplus
38042 }
38043 #endif
38044
38045 int
38046 main ()
38047 {
38048 return f != $ac_func;
38049   ;
38050   return 0;
38051 }
38052 _ACEOF
38053 rm -f conftest.$ac_objext conftest$ac_exeext
38054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38055   (eval $ac_link) 2>conftest.er1
38056   ac_status=$?
38057   grep -v '^ *+' conftest.er1 >conftest.err
38058   rm -f conftest.er1
38059   cat conftest.err >&5
38060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061   (exit $ac_status); } &&
38062          { ac_try='test -z "$ac_c_werror_flag"
38063                          || test ! -s conftest.err'
38064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38065   (eval $ac_try) 2>&5
38066   ac_status=$?
38067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38068   (exit $ac_status); }; } &&
38069          { ac_try='test -s conftest$ac_exeext'
38070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38071   (eval $ac_try) 2>&5
38072   ac_status=$?
38073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074   (exit $ac_status); }; }; then
38075   eval "$as_ac_var=yes"
38076 else
38077   echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38079
38080 eval "$as_ac_var=no"
38081 fi
38082 rm -f conftest.err conftest.$ac_objext \
38083       conftest$ac_exeext conftest.$ac_ext
38084 fi
38085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38087 if test `eval echo '${'$as_ac_var'}'` = yes; then
38088   cat >>confdefs.h <<_ACEOF
38089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38090 _ACEOF
38091
38092 fi
38093 done
38094
38095     fi
38096   fi
38097
38098
38099
38100
38101
38102
38103   echo "$as_me:$LINENO: checking for logl declaration" >&5
38104 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
38105   if test x${glibcxx_cv_func_logl_use+set} != xset; then
38106     if test "${glibcxx_cv_func_logl_use+set}" = set; then
38107   echo $ECHO_N "(cached) $ECHO_C" >&6
38108 else
38109
38110
38111
38112       ac_ext=cc
38113 ac_cpp='$CXXCPP $CPPFLAGS'
38114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38117
38118       cat >conftest.$ac_ext <<_ACEOF
38119 /* confdefs.h.  */
38120 _ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h.  */
38124 #include <math.h>
38125                       #ifdef HAVE_IEEEFP_H
38126                       #include <ieeefp.h>
38127                       #endif
38128
38129 int
38130 main ()
38131 {
38132  logl(0);
38133   ;
38134   return 0;
38135 }
38136 _ACEOF
38137 rm -f conftest.$ac_objext
38138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38139   (eval $ac_compile) 2>conftest.er1
38140   ac_status=$?
38141   grep -v '^ *+' conftest.er1 >conftest.err
38142   rm -f conftest.er1
38143   cat conftest.err >&5
38144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145   (exit $ac_status); } &&
38146          { ac_try='test -z "$ac_cxx_werror_flag"
38147                          || test ! -s conftest.err'
38148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149   (eval $ac_try) 2>&5
38150   ac_status=$?
38151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152   (exit $ac_status); }; } &&
38153          { ac_try='test -s conftest.$ac_objext'
38154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38155   (eval $ac_try) 2>&5
38156   ac_status=$?
38157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38158   (exit $ac_status); }; }; then
38159   glibcxx_cv_func_logl_use=yes
38160 else
38161   echo "$as_me: failed program was:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38163
38164 glibcxx_cv_func_logl_use=no
38165 fi
38166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38167       ac_ext=c
38168 ac_cpp='$CPP $CPPFLAGS'
38169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38172
38173
38174 fi
38175
38176   fi
38177   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38178 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38179
38180   if test x$glibcxx_cv_func_logl_use = x"yes"; then
38181
38182 for ac_func in logl
38183 do
38184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38185 echo "$as_me:$LINENO: checking for $ac_func" >&5
38186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38187 if eval "test \"\${$as_ac_var+set}\" = set"; then
38188   echo $ECHO_N "(cached) $ECHO_C" >&6
38189 else
38190   if test x$gcc_no_link = xyes; then
38191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38193    { (exit 1); exit 1; }; }
38194 fi
38195 cat >conftest.$ac_ext <<_ACEOF
38196 /* confdefs.h.  */
38197 _ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h.  */
38201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38203 #define $ac_func innocuous_$ac_func
38204
38205 /* System header to define __stub macros and hopefully few prototypes,
38206     which can conflict with char $ac_func (); below.
38207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38208     <limits.h> exists even on freestanding compilers.  */
38209
38210 #ifdef __STDC__
38211 # include <limits.h>
38212 #else
38213 # include <assert.h>
38214 #endif
38215
38216 #undef $ac_func
38217
38218 /* Override any gcc2 internal prototype to avoid an error.  */
38219 #ifdef __cplusplus
38220 extern "C"
38221 {
38222 #endif
38223 /* We use char because int might match the return type of a gcc2
38224    builtin and then its argument prototype would still apply.  */
38225 char $ac_func ();
38226 /* The GNU C library defines this for functions which it implements
38227     to always fail with ENOSYS.  Some functions are actually named
38228     something starting with __ and the normal name is an alias.  */
38229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38230 choke me
38231 #else
38232 char (*f) () = $ac_func;
38233 #endif
38234 #ifdef __cplusplus
38235 }
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241 return f != $ac_func;
38242   ;
38243   return 0;
38244 }
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38248   (eval $ac_link) 2>conftest.er1
38249   ac_status=$?
38250   grep -v '^ *+' conftest.er1 >conftest.err
38251   rm -f conftest.er1
38252   cat conftest.err >&5
38253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254   (exit $ac_status); } &&
38255          { ac_try='test -z "$ac_c_werror_flag"
38256                          || test ! -s conftest.err'
38257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258   (eval $ac_try) 2>&5
38259   ac_status=$?
38260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261   (exit $ac_status); }; } &&
38262          { ac_try='test -s conftest$ac_exeext'
38263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264   (eval $ac_try) 2>&5
38265   ac_status=$?
38266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267   (exit $ac_status); }; }; then
38268   eval "$as_ac_var=yes"
38269 else
38270   echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.$ac_ext >&5
38272
38273 eval "$as_ac_var=no"
38274 fi
38275 rm -f conftest.err conftest.$ac_objext \
38276       conftest$ac_exeext conftest.$ac_ext
38277 fi
38278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38280 if test `eval echo '${'$as_ac_var'}'` = yes; then
38281   cat >>confdefs.h <<_ACEOF
38282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38283 _ACEOF
38284
38285 fi
38286 done
38287
38288   else
38289
38290   echo "$as_me:$LINENO: checking for _logl declaration" >&5
38291 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38292   if test x${glibcxx_cv_func__logl_use+set} != xset; then
38293     if test "${glibcxx_cv_func__logl_use+set}" = set; then
38294   echo $ECHO_N "(cached) $ECHO_C" >&6
38295 else
38296
38297
38298
38299       ac_ext=cc
38300 ac_cpp='$CXXCPP $CPPFLAGS'
38301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38304
38305       cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h.  */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h.  */
38311 #include <math.h>
38312                       #ifdef HAVE_IEEEFP_H
38313                       #include <ieeefp.h>
38314                       #endif
38315
38316 int
38317 main ()
38318 {
38319  _logl(0);
38320   ;
38321   return 0;
38322 }
38323 _ACEOF
38324 rm -f conftest.$ac_objext
38325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38326   (eval $ac_compile) 2>conftest.er1
38327   ac_status=$?
38328   grep -v '^ *+' conftest.er1 >conftest.err
38329   rm -f conftest.er1
38330   cat conftest.err >&5
38331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332   (exit $ac_status); } &&
38333          { ac_try='test -z "$ac_cxx_werror_flag"
38334                          || test ! -s conftest.err'
38335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336   (eval $ac_try) 2>&5
38337   ac_status=$?
38338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339   (exit $ac_status); }; } &&
38340          { ac_try='test -s conftest.$ac_objext'
38341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38342   (eval $ac_try) 2>&5
38343   ac_status=$?
38344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38345   (exit $ac_status); }; }; then
38346   glibcxx_cv_func__logl_use=yes
38347 else
38348   echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38350
38351 glibcxx_cv_func__logl_use=no
38352 fi
38353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38354       ac_ext=c
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38359
38360
38361 fi
38362
38363   fi
38364   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38365 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38366
38367     if test x$glibcxx_cv_func__logl_use = x"yes"; then
38368
38369 for ac_func in _logl
38370 do
38371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38372 echo "$as_me:$LINENO: checking for $ac_func" >&5
38373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38374 if eval "test \"\${$as_ac_var+set}\" = set"; then
38375   echo $ECHO_N "(cached) $ECHO_C" >&6
38376 else
38377   if test x$gcc_no_link = xyes; then
38378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38380    { (exit 1); exit 1; }; }
38381 fi
38382 cat >conftest.$ac_ext <<_ACEOF
38383 /* confdefs.h.  */
38384 _ACEOF
38385 cat confdefs.h >>conftest.$ac_ext
38386 cat >>conftest.$ac_ext <<_ACEOF
38387 /* end confdefs.h.  */
38388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38390 #define $ac_func innocuous_$ac_func
38391
38392 /* System header to define __stub macros and hopefully few prototypes,
38393     which can conflict with char $ac_func (); below.
38394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38395     <limits.h> exists even on freestanding compilers.  */
38396
38397 #ifdef __STDC__
38398 # include <limits.h>
38399 #else
38400 # include <assert.h>
38401 #endif
38402
38403 #undef $ac_func
38404
38405 /* Override any gcc2 internal prototype to avoid an error.  */
38406 #ifdef __cplusplus
38407 extern "C"
38408 {
38409 #endif
38410 /* We use char because int might match the return type of a gcc2
38411    builtin and then its argument prototype would still apply.  */
38412 char $ac_func ();
38413 /* The GNU C library defines this for functions which it implements
38414     to always fail with ENOSYS.  Some functions are actually named
38415     something starting with __ and the normal name is an alias.  */
38416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38417 choke me
38418 #else
38419 char (*f) () = $ac_func;
38420 #endif
38421 #ifdef __cplusplus
38422 }
38423 #endif
38424
38425 int
38426 main ()
38427 {
38428 return f != $ac_func;
38429   ;
38430   return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext conftest$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435   (eval $ac_link) 2>conftest.er1
38436   ac_status=$?
38437   grep -v '^ *+' conftest.er1 >conftest.err
38438   rm -f conftest.er1
38439   cat conftest.err >&5
38440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441   (exit $ac_status); } &&
38442          { ac_try='test -z "$ac_c_werror_flag"
38443                          || test ! -s conftest.err'
38444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38445   (eval $ac_try) 2>&5
38446   ac_status=$?
38447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448   (exit $ac_status); }; } &&
38449          { ac_try='test -s conftest$ac_exeext'
38450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451   (eval $ac_try) 2>&5
38452   ac_status=$?
38453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454   (exit $ac_status); }; }; then
38455   eval "$as_ac_var=yes"
38456 else
38457   echo "$as_me: failed program was:" >&5
38458 sed 's/^/| /' conftest.$ac_ext >&5
38459
38460 eval "$as_ac_var=no"
38461 fi
38462 rm -f conftest.err conftest.$ac_objext \
38463       conftest$ac_exeext conftest.$ac_ext
38464 fi
38465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38467 if test `eval echo '${'$as_ac_var'}'` = yes; then
38468   cat >>confdefs.h <<_ACEOF
38469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38470 _ACEOF
38471
38472 fi
38473 done
38474
38475     fi
38476   fi
38477
38478
38479
38480
38481
38482
38483   echo "$as_me:$LINENO: checking for log10l declaration" >&5
38484 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38485   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38486     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38487   echo $ECHO_N "(cached) $ECHO_C" >&6
38488 else
38489
38490
38491
38492       ac_ext=cc
38493 ac_cpp='$CXXCPP $CPPFLAGS'
38494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38497
38498       cat >conftest.$ac_ext <<_ACEOF
38499 /* confdefs.h.  */
38500 _ACEOF
38501 cat confdefs.h >>conftest.$ac_ext
38502 cat >>conftest.$ac_ext <<_ACEOF
38503 /* end confdefs.h.  */
38504 #include <math.h>
38505                       #ifdef HAVE_IEEEFP_H
38506                       #include <ieeefp.h>
38507                       #endif
38508
38509 int
38510 main ()
38511 {
38512  log10l(0);
38513   ;
38514   return 0;
38515 }
38516 _ACEOF
38517 rm -f conftest.$ac_objext
38518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38519   (eval $ac_compile) 2>conftest.er1
38520   ac_status=$?
38521   grep -v '^ *+' conftest.er1 >conftest.err
38522   rm -f conftest.er1
38523   cat conftest.err >&5
38524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525   (exit $ac_status); } &&
38526          { ac_try='test -z "$ac_cxx_werror_flag"
38527                          || test ! -s conftest.err'
38528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529   (eval $ac_try) 2>&5
38530   ac_status=$?
38531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532   (exit $ac_status); }; } &&
38533          { ac_try='test -s conftest.$ac_objext'
38534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535   (eval $ac_try) 2>&5
38536   ac_status=$?
38537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538   (exit $ac_status); }; }; then
38539   glibcxx_cv_func_log10l_use=yes
38540 else
38541   echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.$ac_ext >&5
38543
38544 glibcxx_cv_func_log10l_use=no
38545 fi
38546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38547       ac_ext=c
38548 ac_cpp='$CPP $CPPFLAGS'
38549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38552
38553
38554 fi
38555
38556   fi
38557   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38558 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38559
38560   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38561
38562 for ac_func in log10l
38563 do
38564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38565 echo "$as_me:$LINENO: checking for $ac_func" >&5
38566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38567 if eval "test \"\${$as_ac_var+set}\" = set"; then
38568   echo $ECHO_N "(cached) $ECHO_C" >&6
38569 else
38570   if test x$gcc_no_link = xyes; then
38571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38573    { (exit 1); exit 1; }; }
38574 fi
38575 cat >conftest.$ac_ext <<_ACEOF
38576 /* confdefs.h.  */
38577 _ACEOF
38578 cat confdefs.h >>conftest.$ac_ext
38579 cat >>conftest.$ac_ext <<_ACEOF
38580 /* end confdefs.h.  */
38581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38583 #define $ac_func innocuous_$ac_func
38584
38585 /* System header to define __stub macros and hopefully few prototypes,
38586     which can conflict with char $ac_func (); below.
38587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38588     <limits.h> exists even on freestanding compilers.  */
38589
38590 #ifdef __STDC__
38591 # include <limits.h>
38592 #else
38593 # include <assert.h>
38594 #endif
38595
38596 #undef $ac_func
38597
38598 /* Override any gcc2 internal prototype to avoid an error.  */
38599 #ifdef __cplusplus
38600 extern "C"
38601 {
38602 #endif
38603 /* We use char because int might match the return type of a gcc2
38604    builtin and then its argument prototype would still apply.  */
38605 char $ac_func ();
38606 /* The GNU C library defines this for functions which it implements
38607     to always fail with ENOSYS.  Some functions are actually named
38608     something starting with __ and the normal name is an alias.  */
38609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38610 choke me
38611 #else
38612 char (*f) () = $ac_func;
38613 #endif
38614 #ifdef __cplusplus
38615 }
38616 #endif
38617
38618 int
38619 main ()
38620 {
38621 return f != $ac_func;
38622   ;
38623   return 0;
38624 }
38625 _ACEOF
38626 rm -f conftest.$ac_objext conftest$ac_exeext
38627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38628   (eval $ac_link) 2>conftest.er1
38629   ac_status=$?
38630   grep -v '^ *+' conftest.er1 >conftest.err
38631   rm -f conftest.er1
38632   cat conftest.err >&5
38633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634   (exit $ac_status); } &&
38635          { ac_try='test -z "$ac_c_werror_flag"
38636                          || test ! -s conftest.err'
38637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38638   (eval $ac_try) 2>&5
38639   ac_status=$?
38640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38641   (exit $ac_status); }; } &&
38642          { ac_try='test -s conftest$ac_exeext'
38643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38644   (eval $ac_try) 2>&5
38645   ac_status=$?
38646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647   (exit $ac_status); }; }; then
38648   eval "$as_ac_var=yes"
38649 else
38650   echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.$ac_ext >&5
38652
38653 eval "$as_ac_var=no"
38654 fi
38655 rm -f conftest.err conftest.$ac_objext \
38656       conftest$ac_exeext conftest.$ac_ext
38657 fi
38658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38660 if test `eval echo '${'$as_ac_var'}'` = yes; then
38661   cat >>confdefs.h <<_ACEOF
38662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38663 _ACEOF
38664
38665 fi
38666 done
38667
38668   else
38669
38670   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38671 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38672   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38673     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38674   echo $ECHO_N "(cached) $ECHO_C" >&6
38675 else
38676
38677
38678
38679       ac_ext=cc
38680 ac_cpp='$CXXCPP $CPPFLAGS'
38681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38684
38685       cat >conftest.$ac_ext <<_ACEOF
38686 /* confdefs.h.  */
38687 _ACEOF
38688 cat confdefs.h >>conftest.$ac_ext
38689 cat >>conftest.$ac_ext <<_ACEOF
38690 /* end confdefs.h.  */
38691 #include <math.h>
38692                       #ifdef HAVE_IEEEFP_H
38693                       #include <ieeefp.h>
38694                       #endif
38695
38696 int
38697 main ()
38698 {
38699  _log10l(0);
38700   ;
38701   return 0;
38702 }
38703 _ACEOF
38704 rm -f conftest.$ac_objext
38705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38706   (eval $ac_compile) 2>conftest.er1
38707   ac_status=$?
38708   grep -v '^ *+' conftest.er1 >conftest.err
38709   rm -f conftest.er1
38710   cat conftest.err >&5
38711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712   (exit $ac_status); } &&
38713          { ac_try='test -z "$ac_cxx_werror_flag"
38714                          || test ! -s conftest.err'
38715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38716   (eval $ac_try) 2>&5
38717   ac_status=$?
38718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719   (exit $ac_status); }; } &&
38720          { ac_try='test -s conftest.$ac_objext'
38721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722   (eval $ac_try) 2>&5
38723   ac_status=$?
38724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725   (exit $ac_status); }; }; then
38726   glibcxx_cv_func__log10l_use=yes
38727 else
38728   echo "$as_me: failed program was:" >&5
38729 sed 's/^/| /' conftest.$ac_ext >&5
38730
38731 glibcxx_cv_func__log10l_use=no
38732 fi
38733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38734       ac_ext=c
38735 ac_cpp='$CPP $CPPFLAGS'
38736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38739
38740
38741 fi
38742
38743   fi
38744   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38745 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38746
38747     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38748
38749 for ac_func in _log10l
38750 do
38751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38752 echo "$as_me:$LINENO: checking for $ac_func" >&5
38753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38754 if eval "test \"\${$as_ac_var+set}\" = set"; then
38755   echo $ECHO_N "(cached) $ECHO_C" >&6
38756 else
38757   if test x$gcc_no_link = xyes; then
38758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38760    { (exit 1); exit 1; }; }
38761 fi
38762 cat >conftest.$ac_ext <<_ACEOF
38763 /* confdefs.h.  */
38764 _ACEOF
38765 cat confdefs.h >>conftest.$ac_ext
38766 cat >>conftest.$ac_ext <<_ACEOF
38767 /* end confdefs.h.  */
38768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38770 #define $ac_func innocuous_$ac_func
38771
38772 /* System header to define __stub macros and hopefully few prototypes,
38773     which can conflict with char $ac_func (); below.
38774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38775     <limits.h> exists even on freestanding compilers.  */
38776
38777 #ifdef __STDC__
38778 # include <limits.h>
38779 #else
38780 # include <assert.h>
38781 #endif
38782
38783 #undef $ac_func
38784
38785 /* Override any gcc2 internal prototype to avoid an error.  */
38786 #ifdef __cplusplus
38787 extern "C"
38788 {
38789 #endif
38790 /* We use char because int might match the return type of a gcc2
38791    builtin and then its argument prototype would still apply.  */
38792 char $ac_func ();
38793 /* The GNU C library defines this for functions which it implements
38794     to always fail with ENOSYS.  Some functions are actually named
38795     something starting with __ and the normal name is an alias.  */
38796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38797 choke me
38798 #else
38799 char (*f) () = $ac_func;
38800 #endif
38801 #ifdef __cplusplus
38802 }
38803 #endif
38804
38805 int
38806 main ()
38807 {
38808 return f != $ac_func;
38809   ;
38810   return 0;
38811 }
38812 _ACEOF
38813 rm -f conftest.$ac_objext conftest$ac_exeext
38814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38815   (eval $ac_link) 2>conftest.er1
38816   ac_status=$?
38817   grep -v '^ *+' conftest.er1 >conftest.err
38818   rm -f conftest.er1
38819   cat conftest.err >&5
38820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821   (exit $ac_status); } &&
38822          { ac_try='test -z "$ac_c_werror_flag"
38823                          || test ! -s conftest.err'
38824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38825   (eval $ac_try) 2>&5
38826   ac_status=$?
38827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828   (exit $ac_status); }; } &&
38829          { ac_try='test -s conftest$ac_exeext'
38830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38831   (eval $ac_try) 2>&5
38832   ac_status=$?
38833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38834   (exit $ac_status); }; }; then
38835   eval "$as_ac_var=yes"
38836 else
38837   echo "$as_me: failed program was:" >&5
38838 sed 's/^/| /' conftest.$ac_ext >&5
38839
38840 eval "$as_ac_var=no"
38841 fi
38842 rm -f conftest.err conftest.$ac_objext \
38843       conftest$ac_exeext conftest.$ac_ext
38844 fi
38845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38847 if test `eval echo '${'$as_ac_var'}'` = yes; then
38848   cat >>confdefs.h <<_ACEOF
38849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38850 _ACEOF
38851
38852 fi
38853 done
38854
38855     fi
38856   fi
38857
38858
38859
38860
38861
38862
38863   echo "$as_me:$LINENO: checking for modfl declaration" >&5
38864 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38865   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38866     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38867   echo $ECHO_N "(cached) $ECHO_C" >&6
38868 else
38869
38870
38871
38872       ac_ext=cc
38873 ac_cpp='$CXXCPP $CPPFLAGS'
38874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38877
38878       cat >conftest.$ac_ext <<_ACEOF
38879 /* confdefs.h.  */
38880 _ACEOF
38881 cat confdefs.h >>conftest.$ac_ext
38882 cat >>conftest.$ac_ext <<_ACEOF
38883 /* end confdefs.h.  */
38884 #include <math.h>
38885 int
38886 main ()
38887 {
38888  modfl(0, 0);
38889   ;
38890   return 0;
38891 }
38892 _ACEOF
38893 rm -f conftest.$ac_objext
38894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38895   (eval $ac_compile) 2>conftest.er1
38896   ac_status=$?
38897   grep -v '^ *+' conftest.er1 >conftest.err
38898   rm -f conftest.er1
38899   cat conftest.err >&5
38900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901   (exit $ac_status); } &&
38902          { ac_try='test -z "$ac_cxx_werror_flag"
38903                          || test ! -s conftest.err'
38904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38905   (eval $ac_try) 2>&5
38906   ac_status=$?
38907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38908   (exit $ac_status); }; } &&
38909          { ac_try='test -s conftest.$ac_objext'
38910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38911   (eval $ac_try) 2>&5
38912   ac_status=$?
38913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914   (exit $ac_status); }; }; then
38915   glibcxx_cv_func_modfl_use=yes
38916 else
38917   echo "$as_me: failed program was:" >&5
38918 sed 's/^/| /' conftest.$ac_ext >&5
38919
38920 glibcxx_cv_func_modfl_use=no
38921 fi
38922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38923       ac_ext=c
38924 ac_cpp='$CPP $CPPFLAGS'
38925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38928
38929
38930 fi
38931
38932   fi
38933   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38934 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38935
38936   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38937
38938 for ac_func in modfl
38939 do
38940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38941 echo "$as_me:$LINENO: checking for $ac_func" >&5
38942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38943 if eval "test \"\${$as_ac_var+set}\" = set"; then
38944   echo $ECHO_N "(cached) $ECHO_C" >&6
38945 else
38946   if test x$gcc_no_link = xyes; then
38947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38949    { (exit 1); exit 1; }; }
38950 fi
38951 cat >conftest.$ac_ext <<_ACEOF
38952 /* confdefs.h.  */
38953 _ACEOF
38954 cat confdefs.h >>conftest.$ac_ext
38955 cat >>conftest.$ac_ext <<_ACEOF
38956 /* end confdefs.h.  */
38957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38958    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38959 #define $ac_func innocuous_$ac_func
38960
38961 /* System header to define __stub macros and hopefully few prototypes,
38962     which can conflict with char $ac_func (); below.
38963     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38964     <limits.h> exists even on freestanding compilers.  */
38965
38966 #ifdef __STDC__
38967 # include <limits.h>
38968 #else
38969 # include <assert.h>
38970 #endif
38971
38972 #undef $ac_func
38973
38974 /* Override any gcc2 internal prototype to avoid an error.  */
38975 #ifdef __cplusplus
38976 extern "C"
38977 {
38978 #endif
38979 /* We use char because int might match the return type of a gcc2
38980    builtin and then its argument prototype would still apply.  */
38981 char $ac_func ();
38982 /* The GNU C library defines this for functions which it implements
38983     to always fail with ENOSYS.  Some functions are actually named
38984     something starting with __ and the normal name is an alias.  */
38985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38986 choke me
38987 #else
38988 char (*f) () = $ac_func;
38989 #endif
38990 #ifdef __cplusplus
38991 }
38992 #endif
38993
38994 int
38995 main ()
38996 {
38997 return f != $ac_func;
38998   ;
38999   return 0;
39000 }
39001 _ACEOF
39002 rm -f conftest.$ac_objext conftest$ac_exeext
39003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39004   (eval $ac_link) 2>conftest.er1
39005   ac_status=$?
39006   grep -v '^ *+' conftest.er1 >conftest.err
39007   rm -f conftest.er1
39008   cat conftest.err >&5
39009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010   (exit $ac_status); } &&
39011          { ac_try='test -z "$ac_c_werror_flag"
39012                          || test ! -s conftest.err'
39013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014   (eval $ac_try) 2>&5
39015   ac_status=$?
39016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017   (exit $ac_status); }; } &&
39018          { ac_try='test -s conftest$ac_exeext'
39019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020   (eval $ac_try) 2>&5
39021   ac_status=$?
39022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023   (exit $ac_status); }; }; then
39024   eval "$as_ac_var=yes"
39025 else
39026   echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.$ac_ext >&5
39028
39029 eval "$as_ac_var=no"
39030 fi
39031 rm -f conftest.err conftest.$ac_objext \
39032       conftest$ac_exeext conftest.$ac_ext
39033 fi
39034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39036 if test `eval echo '${'$as_ac_var'}'` = yes; then
39037   cat >>confdefs.h <<_ACEOF
39038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39039 _ACEOF
39040
39041 fi
39042 done
39043
39044   else
39045
39046   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
39047 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
39048   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39049     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
39050   echo $ECHO_N "(cached) $ECHO_C" >&6
39051 else
39052
39053
39054
39055       ac_ext=cc
39056 ac_cpp='$CXXCPP $CPPFLAGS'
39057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39060
39061       cat >conftest.$ac_ext <<_ACEOF
39062 /* confdefs.h.  */
39063 _ACEOF
39064 cat confdefs.h >>conftest.$ac_ext
39065 cat >>conftest.$ac_ext <<_ACEOF
39066 /* end confdefs.h.  */
39067 #include <math.h>
39068 int
39069 main ()
39070 {
39071  _modfl(0, 0);
39072   ;
39073   return 0;
39074 }
39075 _ACEOF
39076 rm -f conftest.$ac_objext
39077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39078   (eval $ac_compile) 2>conftest.er1
39079   ac_status=$?
39080   grep -v '^ *+' conftest.er1 >conftest.err
39081   rm -f conftest.er1
39082   cat conftest.err >&5
39083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084   (exit $ac_status); } &&
39085          { ac_try='test -z "$ac_cxx_werror_flag"
39086                          || test ! -s conftest.err'
39087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088   (eval $ac_try) 2>&5
39089   ac_status=$?
39090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091   (exit $ac_status); }; } &&
39092          { ac_try='test -s conftest.$ac_objext'
39093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094   (eval $ac_try) 2>&5
39095   ac_status=$?
39096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097   (exit $ac_status); }; }; then
39098   glibcxx_cv_func__modfl_use=yes
39099 else
39100   echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.$ac_ext >&5
39102
39103 glibcxx_cv_func__modfl_use=no
39104 fi
39105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39106       ac_ext=c
39107 ac_cpp='$CPP $CPPFLAGS'
39108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39111
39112
39113 fi
39114
39115   fi
39116   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
39117 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
39118
39119     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39120
39121 for ac_func in _modfl
39122 do
39123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39124 echo "$as_me:$LINENO: checking for $ac_func" >&5
39125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39126 if eval "test \"\${$as_ac_var+set}\" = set"; then
39127   echo $ECHO_N "(cached) $ECHO_C" >&6
39128 else
39129   if test x$gcc_no_link = xyes; then
39130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39132    { (exit 1); exit 1; }; }
39133 fi
39134 cat >conftest.$ac_ext <<_ACEOF
39135 /* confdefs.h.  */
39136 _ACEOF
39137 cat confdefs.h >>conftest.$ac_ext
39138 cat >>conftest.$ac_ext <<_ACEOF
39139 /* end confdefs.h.  */
39140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39142 #define $ac_func innocuous_$ac_func
39143
39144 /* System header to define __stub macros and hopefully few prototypes,
39145     which can conflict with char $ac_func (); below.
39146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39147     <limits.h> exists even on freestanding compilers.  */
39148
39149 #ifdef __STDC__
39150 # include <limits.h>
39151 #else
39152 # include <assert.h>
39153 #endif
39154
39155 #undef $ac_func
39156
39157 /* Override any gcc2 internal prototype to avoid an error.  */
39158 #ifdef __cplusplus
39159 extern "C"
39160 {
39161 #endif
39162 /* We use char because int might match the return type of a gcc2
39163    builtin and then its argument prototype would still apply.  */
39164 char $ac_func ();
39165 /* The GNU C library defines this for functions which it implements
39166     to always fail with ENOSYS.  Some functions are actually named
39167     something starting with __ and the normal name is an alias.  */
39168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39169 choke me
39170 #else
39171 char (*f) () = $ac_func;
39172 #endif
39173 #ifdef __cplusplus
39174 }
39175 #endif
39176
39177 int
39178 main ()
39179 {
39180 return f != $ac_func;
39181   ;
39182   return 0;
39183 }
39184 _ACEOF
39185 rm -f conftest.$ac_objext conftest$ac_exeext
39186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39187   (eval $ac_link) 2>conftest.er1
39188   ac_status=$?
39189   grep -v '^ *+' conftest.er1 >conftest.err
39190   rm -f conftest.er1
39191   cat conftest.err >&5
39192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193   (exit $ac_status); } &&
39194          { ac_try='test -z "$ac_c_werror_flag"
39195                          || test ! -s conftest.err'
39196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39197   (eval $ac_try) 2>&5
39198   ac_status=$?
39199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200   (exit $ac_status); }; } &&
39201          { ac_try='test -s conftest$ac_exeext'
39202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203   (eval $ac_try) 2>&5
39204   ac_status=$?
39205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206   (exit $ac_status); }; }; then
39207   eval "$as_ac_var=yes"
39208 else
39209   echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39211
39212 eval "$as_ac_var=no"
39213 fi
39214 rm -f conftest.err conftest.$ac_objext \
39215       conftest$ac_exeext conftest.$ac_ext
39216 fi
39217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39219 if test `eval echo '${'$as_ac_var'}'` = yes; then
39220   cat >>confdefs.h <<_ACEOF
39221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39222 _ACEOF
39223
39224 fi
39225 done
39226
39227     fi
39228   fi
39229
39230
39231
39232
39233
39234
39235   echo "$as_me:$LINENO: checking for powl declaration" >&5
39236 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39237   if test x${glibcxx_cv_func_powl_use+set} != xset; then
39238     if test "${glibcxx_cv_func_powl_use+set}" = set; then
39239   echo $ECHO_N "(cached) $ECHO_C" >&6
39240 else
39241
39242
39243
39244       ac_ext=cc
39245 ac_cpp='$CXXCPP $CPPFLAGS'
39246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39249
39250       cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h.  */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h.  */
39256 #include <math.h>
39257 int
39258 main ()
39259 {
39260  powl(0, 0);
39261   ;
39262   return 0;
39263 }
39264 _ACEOF
39265 rm -f conftest.$ac_objext
39266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39267   (eval $ac_compile) 2>conftest.er1
39268   ac_status=$?
39269   grep -v '^ *+' conftest.er1 >conftest.err
39270   rm -f conftest.er1
39271   cat conftest.err >&5
39272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273   (exit $ac_status); } &&
39274          { ac_try='test -z "$ac_cxx_werror_flag"
39275                          || test ! -s conftest.err'
39276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277   (eval $ac_try) 2>&5
39278   ac_status=$?
39279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280   (exit $ac_status); }; } &&
39281          { ac_try='test -s conftest.$ac_objext'
39282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39283   (eval $ac_try) 2>&5
39284   ac_status=$?
39285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286   (exit $ac_status); }; }; then
39287   glibcxx_cv_func_powl_use=yes
39288 else
39289   echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 glibcxx_cv_func_powl_use=no
39293 fi
39294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39295       ac_ext=c
39296 ac_cpp='$CPP $CPPFLAGS'
39297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39300
39301
39302 fi
39303
39304   fi
39305   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39306 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39307
39308   if test x$glibcxx_cv_func_powl_use = x"yes"; then
39309
39310 for ac_func in powl
39311 do
39312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39313 echo "$as_me:$LINENO: checking for $ac_func" >&5
39314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39315 if eval "test \"\${$as_ac_var+set}\" = set"; then
39316   echo $ECHO_N "(cached) $ECHO_C" >&6
39317 else
39318   if test x$gcc_no_link = xyes; then
39319   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39321    { (exit 1); exit 1; }; }
39322 fi
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h.  */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h.  */
39329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39330    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39331 #define $ac_func innocuous_$ac_func
39332
39333 /* System header to define __stub macros and hopefully few prototypes,
39334     which can conflict with char $ac_func (); below.
39335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39336     <limits.h> exists even on freestanding compilers.  */
39337
39338 #ifdef __STDC__
39339 # include <limits.h>
39340 #else
39341 # include <assert.h>
39342 #endif
39343
39344 #undef $ac_func
39345
39346 /* Override any gcc2 internal prototype to avoid an error.  */
39347 #ifdef __cplusplus
39348 extern "C"
39349 {
39350 #endif
39351 /* We use char because int might match the return type of a gcc2
39352    builtin and then its argument prototype would still apply.  */
39353 char $ac_func ();
39354 /* The GNU C library defines this for functions which it implements
39355     to always fail with ENOSYS.  Some functions are actually named
39356     something starting with __ and the normal name is an alias.  */
39357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39358 choke me
39359 #else
39360 char (*f) () = $ac_func;
39361 #endif
39362 #ifdef __cplusplus
39363 }
39364 #endif
39365
39366 int
39367 main ()
39368 {
39369 return f != $ac_func;
39370   ;
39371   return 0;
39372 }
39373 _ACEOF
39374 rm -f conftest.$ac_objext conftest$ac_exeext
39375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39376   (eval $ac_link) 2>conftest.er1
39377   ac_status=$?
39378   grep -v '^ *+' conftest.er1 >conftest.err
39379   rm -f conftest.er1
39380   cat conftest.err >&5
39381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382   (exit $ac_status); } &&
39383          { ac_try='test -z "$ac_c_werror_flag"
39384                          || test ! -s conftest.err'
39385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39386   (eval $ac_try) 2>&5
39387   ac_status=$?
39388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389   (exit $ac_status); }; } &&
39390          { ac_try='test -s conftest$ac_exeext'
39391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39392   (eval $ac_try) 2>&5
39393   ac_status=$?
39394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395   (exit $ac_status); }; }; then
39396   eval "$as_ac_var=yes"
39397 else
39398   echo "$as_me: failed program was:" >&5
39399 sed 's/^/| /' conftest.$ac_ext >&5
39400
39401 eval "$as_ac_var=no"
39402 fi
39403 rm -f conftest.err conftest.$ac_objext \
39404       conftest$ac_exeext conftest.$ac_ext
39405 fi
39406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39408 if test `eval echo '${'$as_ac_var'}'` = yes; then
39409   cat >>confdefs.h <<_ACEOF
39410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39411 _ACEOF
39412
39413 fi
39414 done
39415
39416   else
39417
39418   echo "$as_me:$LINENO: checking for _powl declaration" >&5
39419 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39420   if test x${glibcxx_cv_func__powl_use+set} != xset; then
39421     if test "${glibcxx_cv_func__powl_use+set}" = set; then
39422   echo $ECHO_N "(cached) $ECHO_C" >&6
39423 else
39424
39425
39426
39427       ac_ext=cc
39428 ac_cpp='$CXXCPP $CPPFLAGS'
39429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39432
39433       cat >conftest.$ac_ext <<_ACEOF
39434 /* confdefs.h.  */
39435 _ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h.  */
39439 #include <math.h>
39440 int
39441 main ()
39442 {
39443  _powl(0, 0);
39444   ;
39445   return 0;
39446 }
39447 _ACEOF
39448 rm -f conftest.$ac_objext
39449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39450   (eval $ac_compile) 2>conftest.er1
39451   ac_status=$?
39452   grep -v '^ *+' conftest.er1 >conftest.err
39453   rm -f conftest.er1
39454   cat conftest.err >&5
39455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456   (exit $ac_status); } &&
39457          { ac_try='test -z "$ac_cxx_werror_flag"
39458                          || test ! -s conftest.err'
39459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39460   (eval $ac_try) 2>&5
39461   ac_status=$?
39462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39463   (exit $ac_status); }; } &&
39464          { ac_try='test -s conftest.$ac_objext'
39465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39466   (eval $ac_try) 2>&5
39467   ac_status=$?
39468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39469   (exit $ac_status); }; }; then
39470   glibcxx_cv_func__powl_use=yes
39471 else
39472   echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39474
39475 glibcxx_cv_func__powl_use=no
39476 fi
39477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39478       ac_ext=c
39479 ac_cpp='$CPP $CPPFLAGS'
39480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39483
39484
39485 fi
39486
39487   fi
39488   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39489 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39490
39491     if test x$glibcxx_cv_func__powl_use = x"yes"; then
39492
39493 for ac_func in _powl
39494 do
39495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39496 echo "$as_me:$LINENO: checking for $ac_func" >&5
39497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39498 if eval "test \"\${$as_ac_var+set}\" = set"; then
39499   echo $ECHO_N "(cached) $ECHO_C" >&6
39500 else
39501   if test x$gcc_no_link = xyes; then
39502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39504    { (exit 1); exit 1; }; }
39505 fi
39506 cat >conftest.$ac_ext <<_ACEOF
39507 /* confdefs.h.  */
39508 _ACEOF
39509 cat confdefs.h >>conftest.$ac_ext
39510 cat >>conftest.$ac_ext <<_ACEOF
39511 /* end confdefs.h.  */
39512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39514 #define $ac_func innocuous_$ac_func
39515
39516 /* System header to define __stub macros and hopefully few prototypes,
39517     which can conflict with char $ac_func (); below.
39518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39519     <limits.h> exists even on freestanding compilers.  */
39520
39521 #ifdef __STDC__
39522 # include <limits.h>
39523 #else
39524 # include <assert.h>
39525 #endif
39526
39527 #undef $ac_func
39528
39529 /* Override any gcc2 internal prototype to avoid an error.  */
39530 #ifdef __cplusplus
39531 extern "C"
39532 {
39533 #endif
39534 /* We use char because int might match the return type of a gcc2
39535    builtin and then its argument prototype would still apply.  */
39536 char $ac_func ();
39537 /* The GNU C library defines this for functions which it implements
39538     to always fail with ENOSYS.  Some functions are actually named
39539     something starting with __ and the normal name is an alias.  */
39540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39541 choke me
39542 #else
39543 char (*f) () = $ac_func;
39544 #endif
39545 #ifdef __cplusplus
39546 }
39547 #endif
39548
39549 int
39550 main ()
39551 {
39552 return f != $ac_func;
39553   ;
39554   return 0;
39555 }
39556 _ACEOF
39557 rm -f conftest.$ac_objext conftest$ac_exeext
39558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39559   (eval $ac_link) 2>conftest.er1
39560   ac_status=$?
39561   grep -v '^ *+' conftest.er1 >conftest.err
39562   rm -f conftest.er1
39563   cat conftest.err >&5
39564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565   (exit $ac_status); } &&
39566          { ac_try='test -z "$ac_c_werror_flag"
39567                          || test ! -s conftest.err'
39568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39569   (eval $ac_try) 2>&5
39570   ac_status=$?
39571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572   (exit $ac_status); }; } &&
39573          { ac_try='test -s conftest$ac_exeext'
39574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39575   (eval $ac_try) 2>&5
39576   ac_status=$?
39577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578   (exit $ac_status); }; }; then
39579   eval "$as_ac_var=yes"
39580 else
39581   echo "$as_me: failed program was:" >&5
39582 sed 's/^/| /' conftest.$ac_ext >&5
39583
39584 eval "$as_ac_var=no"
39585 fi
39586 rm -f conftest.err conftest.$ac_objext \
39587       conftest$ac_exeext conftest.$ac_ext
39588 fi
39589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39591 if test `eval echo '${'$as_ac_var'}'` = yes; then
39592   cat >>confdefs.h <<_ACEOF
39593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39594 _ACEOF
39595
39596 fi
39597 done
39598
39599     fi
39600   fi
39601
39602
39603
39604
39605
39606
39607   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39608 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39609   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39610     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39611   echo $ECHO_N "(cached) $ECHO_C" >&6
39612 else
39613
39614
39615
39616       ac_ext=cc
39617 ac_cpp='$CXXCPP $CPPFLAGS'
39618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39621
39622       cat >conftest.$ac_ext <<_ACEOF
39623 /* confdefs.h.  */
39624 _ACEOF
39625 cat confdefs.h >>conftest.$ac_ext
39626 cat >>conftest.$ac_ext <<_ACEOF
39627 /* end confdefs.h.  */
39628 #include <math.h>
39629                       #ifdef HAVE_IEEEFP_H
39630                       #include <ieeefp.h>
39631                       #endif
39632
39633 int
39634 main ()
39635 {
39636  sqrtl(0);
39637   ;
39638   return 0;
39639 }
39640 _ACEOF
39641 rm -f conftest.$ac_objext
39642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39643   (eval $ac_compile) 2>conftest.er1
39644   ac_status=$?
39645   grep -v '^ *+' conftest.er1 >conftest.err
39646   rm -f conftest.er1
39647   cat conftest.err >&5
39648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39649   (exit $ac_status); } &&
39650          { ac_try='test -z "$ac_cxx_werror_flag"
39651                          || test ! -s conftest.err'
39652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39653   (eval $ac_try) 2>&5
39654   ac_status=$?
39655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39656   (exit $ac_status); }; } &&
39657          { ac_try='test -s conftest.$ac_objext'
39658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39659   (eval $ac_try) 2>&5
39660   ac_status=$?
39661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39662   (exit $ac_status); }; }; then
39663   glibcxx_cv_func_sqrtl_use=yes
39664 else
39665   echo "$as_me: failed program was:" >&5
39666 sed 's/^/| /' conftest.$ac_ext >&5
39667
39668 glibcxx_cv_func_sqrtl_use=no
39669 fi
39670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39671       ac_ext=c
39672 ac_cpp='$CPP $CPPFLAGS'
39673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39676
39677
39678 fi
39679
39680   fi
39681   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39682 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39683
39684   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39685
39686 for ac_func in sqrtl
39687 do
39688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39689 echo "$as_me:$LINENO: checking for $ac_func" >&5
39690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39691 if eval "test \"\${$as_ac_var+set}\" = set"; then
39692   echo $ECHO_N "(cached) $ECHO_C" >&6
39693 else
39694   if test x$gcc_no_link = xyes; then
39695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39697    { (exit 1); exit 1; }; }
39698 fi
39699 cat >conftest.$ac_ext <<_ACEOF
39700 /* confdefs.h.  */
39701 _ACEOF
39702 cat confdefs.h >>conftest.$ac_ext
39703 cat >>conftest.$ac_ext <<_ACEOF
39704 /* end confdefs.h.  */
39705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39706    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39707 #define $ac_func innocuous_$ac_func
39708
39709 /* System header to define __stub macros and hopefully few prototypes,
39710     which can conflict with char $ac_func (); below.
39711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39712     <limits.h> exists even on freestanding compilers.  */
39713
39714 #ifdef __STDC__
39715 # include <limits.h>
39716 #else
39717 # include <assert.h>
39718 #endif
39719
39720 #undef $ac_func
39721
39722 /* Override any gcc2 internal prototype to avoid an error.  */
39723 #ifdef __cplusplus
39724 extern "C"
39725 {
39726 #endif
39727 /* We use char because int might match the return type of a gcc2
39728    builtin and then its argument prototype would still apply.  */
39729 char $ac_func ();
39730 /* The GNU C library defines this for functions which it implements
39731     to always fail with ENOSYS.  Some functions are actually named
39732     something starting with __ and the normal name is an alias.  */
39733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39734 choke me
39735 #else
39736 char (*f) () = $ac_func;
39737 #endif
39738 #ifdef __cplusplus
39739 }
39740 #endif
39741
39742 int
39743 main ()
39744 {
39745 return f != $ac_func;
39746   ;
39747   return 0;
39748 }
39749 _ACEOF
39750 rm -f conftest.$ac_objext conftest$ac_exeext
39751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39752   (eval $ac_link) 2>conftest.er1
39753   ac_status=$?
39754   grep -v '^ *+' conftest.er1 >conftest.err
39755   rm -f conftest.er1
39756   cat conftest.err >&5
39757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758   (exit $ac_status); } &&
39759          { ac_try='test -z "$ac_c_werror_flag"
39760                          || test ! -s conftest.err'
39761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39762   (eval $ac_try) 2>&5
39763   ac_status=$?
39764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765   (exit $ac_status); }; } &&
39766          { ac_try='test -s conftest$ac_exeext'
39767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768   (eval $ac_try) 2>&5
39769   ac_status=$?
39770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771   (exit $ac_status); }; }; then
39772   eval "$as_ac_var=yes"
39773 else
39774   echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.$ac_ext >&5
39776
39777 eval "$as_ac_var=no"
39778 fi
39779 rm -f conftest.err conftest.$ac_objext \
39780       conftest$ac_exeext conftest.$ac_ext
39781 fi
39782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39784 if test `eval echo '${'$as_ac_var'}'` = yes; then
39785   cat >>confdefs.h <<_ACEOF
39786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39787 _ACEOF
39788
39789 fi
39790 done
39791
39792   else
39793
39794   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39795 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39796   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39797     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39798   echo $ECHO_N "(cached) $ECHO_C" >&6
39799 else
39800
39801
39802
39803       ac_ext=cc
39804 ac_cpp='$CXXCPP $CPPFLAGS'
39805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39808
39809       cat >conftest.$ac_ext <<_ACEOF
39810 /* confdefs.h.  */
39811 _ACEOF
39812 cat confdefs.h >>conftest.$ac_ext
39813 cat >>conftest.$ac_ext <<_ACEOF
39814 /* end confdefs.h.  */
39815 #include <math.h>
39816                       #ifdef HAVE_IEEEFP_H
39817                       #include <ieeefp.h>
39818                       #endif
39819
39820 int
39821 main ()
39822 {
39823  _sqrtl(0);
39824   ;
39825   return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39830   (eval $ac_compile) 2>conftest.er1
39831   ac_status=$?
39832   grep -v '^ *+' conftest.er1 >conftest.err
39833   rm -f conftest.er1
39834   cat conftest.err >&5
39835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836   (exit $ac_status); } &&
39837          { ac_try='test -z "$ac_cxx_werror_flag"
39838                          || test ! -s conftest.err'
39839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39840   (eval $ac_try) 2>&5
39841   ac_status=$?
39842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843   (exit $ac_status); }; } &&
39844          { ac_try='test -s conftest.$ac_objext'
39845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39846   (eval $ac_try) 2>&5
39847   ac_status=$?
39848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849   (exit $ac_status); }; }; then
39850   glibcxx_cv_func__sqrtl_use=yes
39851 else
39852   echo "$as_me: failed program was:" >&5
39853 sed 's/^/| /' conftest.$ac_ext >&5
39854
39855 glibcxx_cv_func__sqrtl_use=no
39856 fi
39857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39858       ac_ext=c
39859 ac_cpp='$CPP $CPPFLAGS'
39860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39863
39864
39865 fi
39866
39867   fi
39868   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39869 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39870
39871     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39872
39873 for ac_func in _sqrtl
39874 do
39875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39876 echo "$as_me:$LINENO: checking for $ac_func" >&5
39877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39878 if eval "test \"\${$as_ac_var+set}\" = set"; then
39879   echo $ECHO_N "(cached) $ECHO_C" >&6
39880 else
39881   if test x$gcc_no_link = xyes; then
39882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39884    { (exit 1); exit 1; }; }
39885 fi
39886 cat >conftest.$ac_ext <<_ACEOF
39887 /* confdefs.h.  */
39888 _ACEOF
39889 cat confdefs.h >>conftest.$ac_ext
39890 cat >>conftest.$ac_ext <<_ACEOF
39891 /* end confdefs.h.  */
39892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39894 #define $ac_func innocuous_$ac_func
39895
39896 /* System header to define __stub macros and hopefully few prototypes,
39897     which can conflict with char $ac_func (); below.
39898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39899     <limits.h> exists even on freestanding compilers.  */
39900
39901 #ifdef __STDC__
39902 # include <limits.h>
39903 #else
39904 # include <assert.h>
39905 #endif
39906
39907 #undef $ac_func
39908
39909 /* Override any gcc2 internal prototype to avoid an error.  */
39910 #ifdef __cplusplus
39911 extern "C"
39912 {
39913 #endif
39914 /* We use char because int might match the return type of a gcc2
39915    builtin and then its argument prototype would still apply.  */
39916 char $ac_func ();
39917 /* The GNU C library defines this for functions which it implements
39918     to always fail with ENOSYS.  Some functions are actually named
39919     something starting with __ and the normal name is an alias.  */
39920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39921 choke me
39922 #else
39923 char (*f) () = $ac_func;
39924 #endif
39925 #ifdef __cplusplus
39926 }
39927 #endif
39928
39929 int
39930 main ()
39931 {
39932 return f != $ac_func;
39933   ;
39934   return 0;
39935 }
39936 _ACEOF
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39939   (eval $ac_link) 2>conftest.er1
39940   ac_status=$?
39941   grep -v '^ *+' conftest.er1 >conftest.err
39942   rm -f conftest.er1
39943   cat conftest.err >&5
39944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945   (exit $ac_status); } &&
39946          { ac_try='test -z "$ac_c_werror_flag"
39947                          || test ! -s conftest.err'
39948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39949   (eval $ac_try) 2>&5
39950   ac_status=$?
39951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952   (exit $ac_status); }; } &&
39953          { ac_try='test -s conftest$ac_exeext'
39954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39955   (eval $ac_try) 2>&5
39956   ac_status=$?
39957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958   (exit $ac_status); }; }; then
39959   eval "$as_ac_var=yes"
39960 else
39961   echo "$as_me: failed program was:" >&5
39962 sed 's/^/| /' conftest.$ac_ext >&5
39963
39964 eval "$as_ac_var=no"
39965 fi
39966 rm -f conftest.err conftest.$ac_objext \
39967       conftest$ac_exeext conftest.$ac_ext
39968 fi
39969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39971 if test `eval echo '${'$as_ac_var'}'` = yes; then
39972   cat >>confdefs.h <<_ACEOF
39973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39974 _ACEOF
39975
39976 fi
39977 done
39978
39979     fi
39980   fi
39981
39982
39983
39984
39985
39986
39987   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39988 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39989   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39990     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39991   echo $ECHO_N "(cached) $ECHO_C" >&6
39992 else
39993
39994
39995
39996       ac_ext=cc
39997 ac_cpp='$CXXCPP $CPPFLAGS'
39998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40001
40002       cat >conftest.$ac_ext <<_ACEOF
40003 /* confdefs.h.  */
40004 _ACEOF
40005 cat confdefs.h >>conftest.$ac_ext
40006 cat >>conftest.$ac_ext <<_ACEOF
40007 /* end confdefs.h.  */
40008 #include <math.h>
40009 int
40010 main ()
40011 {
40012  sincosl(0, 0, 0);
40013   ;
40014   return 0;
40015 }
40016 _ACEOF
40017 rm -f conftest.$ac_objext
40018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40019   (eval $ac_compile) 2>conftest.er1
40020   ac_status=$?
40021   grep -v '^ *+' conftest.er1 >conftest.err
40022   rm -f conftest.er1
40023   cat conftest.err >&5
40024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025   (exit $ac_status); } &&
40026          { ac_try='test -z "$ac_cxx_werror_flag"
40027                          || test ! -s conftest.err'
40028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40029   (eval $ac_try) 2>&5
40030   ac_status=$?
40031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032   (exit $ac_status); }; } &&
40033          { ac_try='test -s conftest.$ac_objext'
40034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40035   (eval $ac_try) 2>&5
40036   ac_status=$?
40037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40038   (exit $ac_status); }; }; then
40039   glibcxx_cv_func_sincosl_use=yes
40040 else
40041   echo "$as_me: failed program was:" >&5
40042 sed 's/^/| /' conftest.$ac_ext >&5
40043
40044 glibcxx_cv_func_sincosl_use=no
40045 fi
40046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40047       ac_ext=c
40048 ac_cpp='$CPP $CPPFLAGS'
40049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052
40053
40054 fi
40055
40056   fi
40057   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40058 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40059
40060   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40061
40062 for ac_func in sincosl
40063 do
40064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40065 echo "$as_me:$LINENO: checking for $ac_func" >&5
40066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40067 if eval "test \"\${$as_ac_var+set}\" = set"; then
40068   echo $ECHO_N "(cached) $ECHO_C" >&6
40069 else
40070   if test x$gcc_no_link = xyes; then
40071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40073    { (exit 1); exit 1; }; }
40074 fi
40075 cat >conftest.$ac_ext <<_ACEOF
40076 /* confdefs.h.  */
40077 _ACEOF
40078 cat confdefs.h >>conftest.$ac_ext
40079 cat >>conftest.$ac_ext <<_ACEOF
40080 /* end confdefs.h.  */
40081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40082    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40083 #define $ac_func innocuous_$ac_func
40084
40085 /* System header to define __stub macros and hopefully few prototypes,
40086     which can conflict with char $ac_func (); below.
40087     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40088     <limits.h> exists even on freestanding compilers.  */
40089
40090 #ifdef __STDC__
40091 # include <limits.h>
40092 #else
40093 # include <assert.h>
40094 #endif
40095
40096 #undef $ac_func
40097
40098 /* Override any gcc2 internal prototype to avoid an error.  */
40099 #ifdef __cplusplus
40100 extern "C"
40101 {
40102 #endif
40103 /* We use char because int might match the return type of a gcc2
40104    builtin and then its argument prototype would still apply.  */
40105 char $ac_func ();
40106 /* The GNU C library defines this for functions which it implements
40107     to always fail with ENOSYS.  Some functions are actually named
40108     something starting with __ and the normal name is an alias.  */
40109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40110 choke me
40111 #else
40112 char (*f) () = $ac_func;
40113 #endif
40114 #ifdef __cplusplus
40115 }
40116 #endif
40117
40118 int
40119 main ()
40120 {
40121 return f != $ac_func;
40122   ;
40123   return 0;
40124 }
40125 _ACEOF
40126 rm -f conftest.$ac_objext conftest$ac_exeext
40127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40128   (eval $ac_link) 2>conftest.er1
40129   ac_status=$?
40130   grep -v '^ *+' conftest.er1 >conftest.err
40131   rm -f conftest.er1
40132   cat conftest.err >&5
40133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134   (exit $ac_status); } &&
40135          { ac_try='test -z "$ac_c_werror_flag"
40136                          || test ! -s conftest.err'
40137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40138   (eval $ac_try) 2>&5
40139   ac_status=$?
40140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40141   (exit $ac_status); }; } &&
40142          { ac_try='test -s conftest$ac_exeext'
40143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40144   (eval $ac_try) 2>&5
40145   ac_status=$?
40146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147   (exit $ac_status); }; }; then
40148   eval "$as_ac_var=yes"
40149 else
40150   echo "$as_me: failed program was:" >&5
40151 sed 's/^/| /' conftest.$ac_ext >&5
40152
40153 eval "$as_ac_var=no"
40154 fi
40155 rm -f conftest.err conftest.$ac_objext \
40156       conftest$ac_exeext conftest.$ac_ext
40157 fi
40158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40160 if test `eval echo '${'$as_ac_var'}'` = yes; then
40161   cat >>confdefs.h <<_ACEOF
40162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40163 _ACEOF
40164
40165 fi
40166 done
40167
40168   else
40169
40170   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40171 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40172   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40173     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40174   echo $ECHO_N "(cached) $ECHO_C" >&6
40175 else
40176
40177
40178
40179       ac_ext=cc
40180 ac_cpp='$CXXCPP $CPPFLAGS'
40181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40184
40185       cat >conftest.$ac_ext <<_ACEOF
40186 /* confdefs.h.  */
40187 _ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h.  */
40191 #include <math.h>
40192 int
40193 main ()
40194 {
40195  _sincosl(0, 0, 0);
40196   ;
40197   return 0;
40198 }
40199 _ACEOF
40200 rm -f conftest.$ac_objext
40201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40202   (eval $ac_compile) 2>conftest.er1
40203   ac_status=$?
40204   grep -v '^ *+' conftest.er1 >conftest.err
40205   rm -f conftest.er1
40206   cat conftest.err >&5
40207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208   (exit $ac_status); } &&
40209          { ac_try='test -z "$ac_cxx_werror_flag"
40210                          || test ! -s conftest.err'
40211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40212   (eval $ac_try) 2>&5
40213   ac_status=$?
40214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215   (exit $ac_status); }; } &&
40216          { ac_try='test -s conftest.$ac_objext'
40217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40218   (eval $ac_try) 2>&5
40219   ac_status=$?
40220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221   (exit $ac_status); }; }; then
40222   glibcxx_cv_func__sincosl_use=yes
40223 else
40224   echo "$as_me: failed program was:" >&5
40225 sed 's/^/| /' conftest.$ac_ext >&5
40226
40227 glibcxx_cv_func__sincosl_use=no
40228 fi
40229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40230       ac_ext=c
40231 ac_cpp='$CPP $CPPFLAGS'
40232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40235
40236
40237 fi
40238
40239   fi
40240   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40241 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40242
40243     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40244
40245 for ac_func in _sincosl
40246 do
40247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40248 echo "$as_me:$LINENO: checking for $ac_func" >&5
40249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40250 if eval "test \"\${$as_ac_var+set}\" = set"; then
40251   echo $ECHO_N "(cached) $ECHO_C" >&6
40252 else
40253   if test x$gcc_no_link = xyes; then
40254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40256    { (exit 1); exit 1; }; }
40257 fi
40258 cat >conftest.$ac_ext <<_ACEOF
40259 /* confdefs.h.  */
40260 _ACEOF
40261 cat confdefs.h >>conftest.$ac_ext
40262 cat >>conftest.$ac_ext <<_ACEOF
40263 /* end confdefs.h.  */
40264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40266 #define $ac_func innocuous_$ac_func
40267
40268 /* System header to define __stub macros and hopefully few prototypes,
40269     which can conflict with char $ac_func (); below.
40270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40271     <limits.h> exists even on freestanding compilers.  */
40272
40273 #ifdef __STDC__
40274 # include <limits.h>
40275 #else
40276 # include <assert.h>
40277 #endif
40278
40279 #undef $ac_func
40280
40281 /* Override any gcc2 internal prototype to avoid an error.  */
40282 #ifdef __cplusplus
40283 extern "C"
40284 {
40285 #endif
40286 /* We use char because int might match the return type of a gcc2
40287    builtin and then its argument prototype would still apply.  */
40288 char $ac_func ();
40289 /* The GNU C library defines this for functions which it implements
40290     to always fail with ENOSYS.  Some functions are actually named
40291     something starting with __ and the normal name is an alias.  */
40292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40293 choke me
40294 #else
40295 char (*f) () = $ac_func;
40296 #endif
40297 #ifdef __cplusplus
40298 }
40299 #endif
40300
40301 int
40302 main ()
40303 {
40304 return f != $ac_func;
40305   ;
40306   return 0;
40307 }
40308 _ACEOF
40309 rm -f conftest.$ac_objext conftest$ac_exeext
40310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40311   (eval $ac_link) 2>conftest.er1
40312   ac_status=$?
40313   grep -v '^ *+' conftest.er1 >conftest.err
40314   rm -f conftest.er1
40315   cat conftest.err >&5
40316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40317   (exit $ac_status); } &&
40318          { ac_try='test -z "$ac_c_werror_flag"
40319                          || test ! -s conftest.err'
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); }; } &&
40325          { ac_try='test -s conftest$ac_exeext'
40326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327   (eval $ac_try) 2>&5
40328   ac_status=$?
40329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330   (exit $ac_status); }; }; then
40331   eval "$as_ac_var=yes"
40332 else
40333   echo "$as_me: failed program was:" >&5
40334 sed 's/^/| /' conftest.$ac_ext >&5
40335
40336 eval "$as_ac_var=no"
40337 fi
40338 rm -f conftest.err conftest.$ac_objext \
40339       conftest$ac_exeext conftest.$ac_ext
40340 fi
40341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40343 if test `eval echo '${'$as_ac_var'}'` = yes; then
40344   cat >>confdefs.h <<_ACEOF
40345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40346 _ACEOF
40347
40348 fi
40349 done
40350
40351     fi
40352   fi
40353
40354
40355
40356
40357
40358
40359   echo "$as_me:$LINENO: checking for finitel declaration" >&5
40360 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40361   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40362     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40363   echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365
40366
40367
40368       ac_ext=cc
40369 ac_cpp='$CXXCPP $CPPFLAGS'
40370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40373
40374       cat >conftest.$ac_ext <<_ACEOF
40375 /* confdefs.h.  */
40376 _ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h.  */
40380 #include <math.h>
40381                       #ifdef HAVE_IEEEFP_H
40382                       #include <ieeefp.h>
40383                       #endif
40384
40385 int
40386 main ()
40387 {
40388  finitel(0);
40389   ;
40390   return 0;
40391 }
40392 _ACEOF
40393 rm -f conftest.$ac_objext
40394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40395   (eval $ac_compile) 2>conftest.er1
40396   ac_status=$?
40397   grep -v '^ *+' conftest.er1 >conftest.err
40398   rm -f conftest.er1
40399   cat conftest.err >&5
40400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401   (exit $ac_status); } &&
40402          { ac_try='test -z "$ac_cxx_werror_flag"
40403                          || test ! -s conftest.err'
40404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40405   (eval $ac_try) 2>&5
40406   ac_status=$?
40407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408   (exit $ac_status); }; } &&
40409          { ac_try='test -s conftest.$ac_objext'
40410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411   (eval $ac_try) 2>&5
40412   ac_status=$?
40413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414   (exit $ac_status); }; }; then
40415   glibcxx_cv_func_finitel_use=yes
40416 else
40417   echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.$ac_ext >&5
40419
40420 glibcxx_cv_func_finitel_use=no
40421 fi
40422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40423       ac_ext=c
40424 ac_cpp='$CPP $CPPFLAGS'
40425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40428
40429
40430 fi
40431
40432   fi
40433   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40434 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40435
40436   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40437
40438 for ac_func in finitel
40439 do
40440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40441 echo "$as_me:$LINENO: checking for $ac_func" >&5
40442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40443 if eval "test \"\${$as_ac_var+set}\" = set"; then
40444   echo $ECHO_N "(cached) $ECHO_C" >&6
40445 else
40446   if test x$gcc_no_link = xyes; then
40447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40449    { (exit 1); exit 1; }; }
40450 fi
40451 cat >conftest.$ac_ext <<_ACEOF
40452 /* confdefs.h.  */
40453 _ACEOF
40454 cat confdefs.h >>conftest.$ac_ext
40455 cat >>conftest.$ac_ext <<_ACEOF
40456 /* end confdefs.h.  */
40457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40459 #define $ac_func innocuous_$ac_func
40460
40461 /* System header to define __stub macros and hopefully few prototypes,
40462     which can conflict with char $ac_func (); below.
40463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40464     <limits.h> exists even on freestanding compilers.  */
40465
40466 #ifdef __STDC__
40467 # include <limits.h>
40468 #else
40469 # include <assert.h>
40470 #endif
40471
40472 #undef $ac_func
40473
40474 /* Override any gcc2 internal prototype to avoid an error.  */
40475 #ifdef __cplusplus
40476 extern "C"
40477 {
40478 #endif
40479 /* We use char because int might match the return type of a gcc2
40480    builtin and then its argument prototype would still apply.  */
40481 char $ac_func ();
40482 /* The GNU C library defines this for functions which it implements
40483     to always fail with ENOSYS.  Some functions are actually named
40484     something starting with __ and the normal name is an alias.  */
40485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40486 choke me
40487 #else
40488 char (*f) () = $ac_func;
40489 #endif
40490 #ifdef __cplusplus
40491 }
40492 #endif
40493
40494 int
40495 main ()
40496 {
40497 return f != $ac_func;
40498   ;
40499   return 0;
40500 }
40501 _ACEOF
40502 rm -f conftest.$ac_objext conftest$ac_exeext
40503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40504   (eval $ac_link) 2>conftest.er1
40505   ac_status=$?
40506   grep -v '^ *+' conftest.er1 >conftest.err
40507   rm -f conftest.er1
40508   cat conftest.err >&5
40509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510   (exit $ac_status); } &&
40511          { ac_try='test -z "$ac_c_werror_flag"
40512                          || test ! -s conftest.err'
40513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40514   (eval $ac_try) 2>&5
40515   ac_status=$?
40516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517   (exit $ac_status); }; } &&
40518          { ac_try='test -s conftest$ac_exeext'
40519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40520   (eval $ac_try) 2>&5
40521   ac_status=$?
40522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523   (exit $ac_status); }; }; then
40524   eval "$as_ac_var=yes"
40525 else
40526   echo "$as_me: failed program was:" >&5
40527 sed 's/^/| /' conftest.$ac_ext >&5
40528
40529 eval "$as_ac_var=no"
40530 fi
40531 rm -f conftest.err conftest.$ac_objext \
40532       conftest$ac_exeext conftest.$ac_ext
40533 fi
40534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40536 if test `eval echo '${'$as_ac_var'}'` = yes; then
40537   cat >>confdefs.h <<_ACEOF
40538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40539 _ACEOF
40540
40541 fi
40542 done
40543
40544   else
40545
40546   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40547 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40548   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40549     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40550   echo $ECHO_N "(cached) $ECHO_C" >&6
40551 else
40552
40553
40554
40555       ac_ext=cc
40556 ac_cpp='$CXXCPP $CPPFLAGS'
40557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40560
40561       cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h.  */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h.  */
40567 #include <math.h>
40568                       #ifdef HAVE_IEEEFP_H
40569                       #include <ieeefp.h>
40570                       #endif
40571
40572 int
40573 main ()
40574 {
40575  _finitel(0);
40576   ;
40577   return 0;
40578 }
40579 _ACEOF
40580 rm -f conftest.$ac_objext
40581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40582   (eval $ac_compile) 2>conftest.er1
40583   ac_status=$?
40584   grep -v '^ *+' conftest.er1 >conftest.err
40585   rm -f conftest.er1
40586   cat conftest.err >&5
40587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588   (exit $ac_status); } &&
40589          { ac_try='test -z "$ac_cxx_werror_flag"
40590                          || test ! -s conftest.err'
40591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40592   (eval $ac_try) 2>&5
40593   ac_status=$?
40594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595   (exit $ac_status); }; } &&
40596          { ac_try='test -s conftest.$ac_objext'
40597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598   (eval $ac_try) 2>&5
40599   ac_status=$?
40600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601   (exit $ac_status); }; }; then
40602   glibcxx_cv_func__finitel_use=yes
40603 else
40604   echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40606
40607 glibcxx_cv_func__finitel_use=no
40608 fi
40609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40610       ac_ext=c
40611 ac_cpp='$CPP $CPPFLAGS'
40612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40615
40616
40617 fi
40618
40619   fi
40620   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40621 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40622
40623     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40624
40625 for ac_func in _finitel
40626 do
40627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40628 echo "$as_me:$LINENO: checking for $ac_func" >&5
40629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40630 if eval "test \"\${$as_ac_var+set}\" = set"; then
40631   echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633   if test x$gcc_no_link = xyes; then
40634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40636    { (exit 1); exit 1; }; }
40637 fi
40638 cat >conftest.$ac_ext <<_ACEOF
40639 /* confdefs.h.  */
40640 _ACEOF
40641 cat confdefs.h >>conftest.$ac_ext
40642 cat >>conftest.$ac_ext <<_ACEOF
40643 /* end confdefs.h.  */
40644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40646 #define $ac_func innocuous_$ac_func
40647
40648 /* System header to define __stub macros and hopefully few prototypes,
40649     which can conflict with char $ac_func (); below.
40650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40651     <limits.h> exists even on freestanding compilers.  */
40652
40653 #ifdef __STDC__
40654 # include <limits.h>
40655 #else
40656 # include <assert.h>
40657 #endif
40658
40659 #undef $ac_func
40660
40661 /* Override any gcc2 internal prototype to avoid an error.  */
40662 #ifdef __cplusplus
40663 extern "C"
40664 {
40665 #endif
40666 /* We use char because int might match the return type of a gcc2
40667    builtin and then its argument prototype would still apply.  */
40668 char $ac_func ();
40669 /* The GNU C library defines this for functions which it implements
40670     to always fail with ENOSYS.  Some functions are actually named
40671     something starting with __ and the normal name is an alias.  */
40672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40673 choke me
40674 #else
40675 char (*f) () = $ac_func;
40676 #endif
40677 #ifdef __cplusplus
40678 }
40679 #endif
40680
40681 int
40682 main ()
40683 {
40684 return f != $ac_func;
40685   ;
40686   return 0;
40687 }
40688 _ACEOF
40689 rm -f conftest.$ac_objext conftest$ac_exeext
40690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40691   (eval $ac_link) 2>conftest.er1
40692   ac_status=$?
40693   grep -v '^ *+' conftest.er1 >conftest.err
40694   rm -f conftest.er1
40695   cat conftest.err >&5
40696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697   (exit $ac_status); } &&
40698          { ac_try='test -z "$ac_c_werror_flag"
40699                          || test ! -s conftest.err'
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); }; } &&
40705          { ac_try='test -s conftest$ac_exeext'
40706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40707   (eval $ac_try) 2>&5
40708   ac_status=$?
40709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710   (exit $ac_status); }; }; then
40711   eval "$as_ac_var=yes"
40712 else
40713   echo "$as_me: failed program was:" >&5
40714 sed 's/^/| /' conftest.$ac_ext >&5
40715
40716 eval "$as_ac_var=no"
40717 fi
40718 rm -f conftest.err conftest.$ac_objext \
40719       conftest$ac_exeext conftest.$ac_ext
40720 fi
40721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40723 if test `eval echo '${'$as_ac_var'}'` = yes; then
40724   cat >>confdefs.h <<_ACEOF
40725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40726 _ACEOF
40727
40728 fi
40729 done
40730
40731     fi
40732   fi
40733
40734
40735
40736
40737
40738   LIBS="$ac_save_LIBS"
40739   CXXFLAGS="$ac_save_CXXFLAGS"
40740
40741
40742
40743 echo "$as_me:$LINENO: checking for main in -lm" >&5
40744 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
40745 if test "${ac_cv_lib_m_main+set}" = set; then
40746   echo $ECHO_N "(cached) $ECHO_C" >&6
40747 else
40748   ac_check_lib_save_LIBS=$LIBS
40749 LIBS="-lm  $LIBS"
40750 if test x$gcc_no_link = xyes; then
40751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40753    { (exit 1); exit 1; }; }
40754 fi
40755 cat >conftest.$ac_ext <<_ACEOF
40756 /* confdefs.h.  */
40757 _ACEOF
40758 cat confdefs.h >>conftest.$ac_ext
40759 cat >>conftest.$ac_ext <<_ACEOF
40760 /* end confdefs.h.  */
40761
40762
40763 int
40764 main ()
40765 {
40766 main ();
40767   ;
40768   return 0;
40769 }
40770 _ACEOF
40771 rm -f conftest.$ac_objext conftest$ac_exeext
40772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40773   (eval $ac_link) 2>conftest.er1
40774   ac_status=$?
40775   grep -v '^ *+' conftest.er1 >conftest.err
40776   rm -f conftest.er1
40777   cat conftest.err >&5
40778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40779   (exit $ac_status); } &&
40780          { ac_try='test -z "$ac_c_werror_flag"
40781                          || test ! -s conftest.err'
40782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40783   (eval $ac_try) 2>&5
40784   ac_status=$?
40785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786   (exit $ac_status); }; } &&
40787          { ac_try='test -s conftest$ac_exeext'
40788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40789   (eval $ac_try) 2>&5
40790   ac_status=$?
40791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792   (exit $ac_status); }; }; then
40793   ac_cv_lib_m_main=yes
40794 else
40795   echo "$as_me: failed program was:" >&5
40796 sed 's/^/| /' conftest.$ac_ext >&5
40797
40798 ac_cv_lib_m_main=no
40799 fi
40800 rm -f conftest.err conftest.$ac_objext \
40801       conftest$ac_exeext conftest.$ac_ext
40802 LIBS=$ac_check_lib_save_LIBS
40803 fi
40804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
40805 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
40806 if test $ac_cv_lib_m_main = yes; then
40807   cat >>confdefs.h <<_ACEOF
40808 #define HAVE_LIBM 1
40809 _ACEOF
40810
40811   LIBS="-lm $LIBS"
40812
40813 fi
40814
40815
40816 for ac_func in copysignf
40817 do
40818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40819 echo "$as_me:$LINENO: checking for $ac_func" >&5
40820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40821 if eval "test \"\${$as_ac_var+set}\" = set"; then
40822   echo $ECHO_N "(cached) $ECHO_C" >&6
40823 else
40824   if test x$gcc_no_link = xyes; then
40825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40827    { (exit 1); exit 1; }; }
40828 fi
40829 cat >conftest.$ac_ext <<_ACEOF
40830 /* confdefs.h.  */
40831 _ACEOF
40832 cat confdefs.h >>conftest.$ac_ext
40833 cat >>conftest.$ac_ext <<_ACEOF
40834 /* end confdefs.h.  */
40835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40837 #define $ac_func innocuous_$ac_func
40838
40839 /* System header to define __stub macros and hopefully few prototypes,
40840     which can conflict with char $ac_func (); below.
40841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40842     <limits.h> exists even on freestanding compilers.  */
40843
40844 #ifdef __STDC__
40845 # include <limits.h>
40846 #else
40847 # include <assert.h>
40848 #endif
40849
40850 #undef $ac_func
40851
40852 /* Override any gcc2 internal prototype to avoid an error.  */
40853 #ifdef __cplusplus
40854 extern "C"
40855 {
40856 #endif
40857 /* We use char because int might match the return type of a gcc2
40858    builtin and then its argument prototype would still apply.  */
40859 char $ac_func ();
40860 /* The GNU C library defines this for functions which it implements
40861     to always fail with ENOSYS.  Some functions are actually named
40862     something starting with __ and the normal name is an alias.  */
40863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40864 choke me
40865 #else
40866 char (*f) () = $ac_func;
40867 #endif
40868 #ifdef __cplusplus
40869 }
40870 #endif
40871
40872 int
40873 main ()
40874 {
40875 return f != $ac_func;
40876   ;
40877   return 0;
40878 }
40879 _ACEOF
40880 rm -f conftest.$ac_objext conftest$ac_exeext
40881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40882   (eval $ac_link) 2>conftest.er1
40883   ac_status=$?
40884   grep -v '^ *+' conftest.er1 >conftest.err
40885   rm -f conftest.er1
40886   cat conftest.err >&5
40887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888   (exit $ac_status); } &&
40889          { ac_try='test -z "$ac_c_werror_flag"
40890                          || test ! -s conftest.err'
40891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40892   (eval $ac_try) 2>&5
40893   ac_status=$?
40894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895   (exit $ac_status); }; } &&
40896          { ac_try='test -s conftest$ac_exeext'
40897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898   (eval $ac_try) 2>&5
40899   ac_status=$?
40900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901   (exit $ac_status); }; }; then
40902   eval "$as_ac_var=yes"
40903 else
40904   echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40906
40907 eval "$as_ac_var=no"
40908 fi
40909 rm -f conftest.err conftest.$ac_objext \
40910       conftest$ac_exeext conftest.$ac_ext
40911 fi
40912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40914 if test `eval echo '${'$as_ac_var'}'` = yes; then
40915   cat >>confdefs.h <<_ACEOF
40916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40917 _ACEOF
40918
40919 else
40920   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
40921 fi
40922 done
40923
40924
40925
40926 for ac_func in __signbit
40927 do
40928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40929 echo "$as_me:$LINENO: checking for $ac_func" >&5
40930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40931 if eval "test \"\${$as_ac_var+set}\" = set"; then
40932   echo $ECHO_N "(cached) $ECHO_C" >&6
40933 else
40934   if test x$gcc_no_link = xyes; then
40935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40937    { (exit 1); exit 1; }; }
40938 fi
40939 cat >conftest.$ac_ext <<_ACEOF
40940 /* confdefs.h.  */
40941 _ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h.  */
40945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40947 #define $ac_func innocuous_$ac_func
40948
40949 /* System header to define __stub macros and hopefully few prototypes,
40950     which can conflict with char $ac_func (); below.
40951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40952     <limits.h> exists even on freestanding compilers.  */
40953
40954 #ifdef __STDC__
40955 # include <limits.h>
40956 #else
40957 # include <assert.h>
40958 #endif
40959
40960 #undef $ac_func
40961
40962 /* Override any gcc2 internal prototype to avoid an error.  */
40963 #ifdef __cplusplus
40964 extern "C"
40965 {
40966 #endif
40967 /* We use char because int might match the return type of a gcc2
40968    builtin and then its argument prototype would still apply.  */
40969 char $ac_func ();
40970 /* The GNU C library defines this for functions which it implements
40971     to always fail with ENOSYS.  Some functions are actually named
40972     something starting with __ and the normal name is an alias.  */
40973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40974 choke me
40975 #else
40976 char (*f) () = $ac_func;
40977 #endif
40978 #ifdef __cplusplus
40979 }
40980 #endif
40981
40982 int
40983 main ()
40984 {
40985 return f != $ac_func;
40986   ;
40987   return 0;
40988 }
40989 _ACEOF
40990 rm -f conftest.$ac_objext conftest$ac_exeext
40991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40992   (eval $ac_link) 2>conftest.er1
40993   ac_status=$?
40994   grep -v '^ *+' conftest.er1 >conftest.err
40995   rm -f conftest.er1
40996   cat conftest.err >&5
40997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998   (exit $ac_status); } &&
40999          { ac_try='test -z "$ac_c_werror_flag"
41000                          || test ! -s conftest.err'
41001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41002   (eval $ac_try) 2>&5
41003   ac_status=$?
41004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005   (exit $ac_status); }; } &&
41006          { ac_try='test -s conftest$ac_exeext'
41007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008   (eval $ac_try) 2>&5
41009   ac_status=$?
41010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011   (exit $ac_status); }; }; then
41012   eval "$as_ac_var=yes"
41013 else
41014   echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.$ac_ext >&5
41016
41017 eval "$as_ac_var=no"
41018 fi
41019 rm -f conftest.err conftest.$ac_objext \
41020       conftest$ac_exeext conftest.$ac_ext
41021 fi
41022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41024 if test `eval echo '${'$as_ac_var'}'` = yes; then
41025   cat >>confdefs.h <<_ACEOF
41026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41027 _ACEOF
41028
41029 else
41030   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
41031 fi
41032 done
41033
41034
41035
41036 for ac_func in __signbitf
41037 do
41038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41039 echo "$as_me:$LINENO: checking for $ac_func" >&5
41040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41041 if eval "test \"\${$as_ac_var+set}\" = set"; then
41042   echo $ECHO_N "(cached) $ECHO_C" >&6
41043 else
41044   if test x$gcc_no_link = xyes; then
41045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41047    { (exit 1); exit 1; }; }
41048 fi
41049 cat >conftest.$ac_ext <<_ACEOF
41050 /* confdefs.h.  */
41051 _ACEOF
41052 cat confdefs.h >>conftest.$ac_ext
41053 cat >>conftest.$ac_ext <<_ACEOF
41054 /* end confdefs.h.  */
41055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41057 #define $ac_func innocuous_$ac_func
41058
41059 /* System header to define __stub macros and hopefully few prototypes,
41060     which can conflict with char $ac_func (); below.
41061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41062     <limits.h> exists even on freestanding compilers.  */
41063
41064 #ifdef __STDC__
41065 # include <limits.h>
41066 #else
41067 # include <assert.h>
41068 #endif
41069
41070 #undef $ac_func
41071
41072 /* Override any gcc2 internal prototype to avoid an error.  */
41073 #ifdef __cplusplus
41074 extern "C"
41075 {
41076 #endif
41077 /* We use char because int might match the return type of a gcc2
41078    builtin and then its argument prototype would still apply.  */
41079 char $ac_func ();
41080 /* The GNU C library defines this for functions which it implements
41081     to always fail with ENOSYS.  Some functions are actually named
41082     something starting with __ and the normal name is an alias.  */
41083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41084 choke me
41085 #else
41086 char (*f) () = $ac_func;
41087 #endif
41088 #ifdef __cplusplus
41089 }
41090 #endif
41091
41092 int
41093 main ()
41094 {
41095 return f != $ac_func;
41096   ;
41097   return 0;
41098 }
41099 _ACEOF
41100 rm -f conftest.$ac_objext conftest$ac_exeext
41101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41102   (eval $ac_link) 2>conftest.er1
41103   ac_status=$?
41104   grep -v '^ *+' conftest.er1 >conftest.err
41105   rm -f conftest.er1
41106   cat conftest.err >&5
41107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41108   (exit $ac_status); } &&
41109          { ac_try='test -z "$ac_c_werror_flag"
41110                          || test ! -s conftest.err'
41111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41112   (eval $ac_try) 2>&5
41113   ac_status=$?
41114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115   (exit $ac_status); }; } &&
41116          { ac_try='test -s conftest$ac_exeext'
41117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41118   (eval $ac_try) 2>&5
41119   ac_status=$?
41120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121   (exit $ac_status); }; }; then
41122   eval "$as_ac_var=yes"
41123 else
41124   echo "$as_me: failed program was:" >&5
41125 sed 's/^/| /' conftest.$ac_ext >&5
41126
41127 eval "$as_ac_var=no"
41128 fi
41129 rm -f conftest.err conftest.$ac_objext \
41130       conftest$ac_exeext conftest.$ac_ext
41131 fi
41132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41134 if test `eval echo '${'$as_ac_var'}'` = yes; then
41135   cat >>confdefs.h <<_ACEOF
41136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41137 _ACEOF
41138
41139 else
41140   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
41141 fi
41142 done
41143
41144
41145           if test x$ac_cv_func_copysignl = x"yes"; then
41146
41147 for ac_func in __signbitl
41148 do
41149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41150 echo "$as_me:$LINENO: checking for $ac_func" >&5
41151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41152 if eval "test \"\${$as_ac_var+set}\" = set"; then
41153   echo $ECHO_N "(cached) $ECHO_C" >&6
41154 else
41155   if test x$gcc_no_link = xyes; then
41156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41158    { (exit 1); exit 1; }; }
41159 fi
41160 cat >conftest.$ac_ext <<_ACEOF
41161 /* confdefs.h.  */
41162 _ACEOF
41163 cat confdefs.h >>conftest.$ac_ext
41164 cat >>conftest.$ac_ext <<_ACEOF
41165 /* end confdefs.h.  */
41166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41168 #define $ac_func innocuous_$ac_func
41169
41170 /* System header to define __stub macros and hopefully few prototypes,
41171     which can conflict with char $ac_func (); below.
41172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41173     <limits.h> exists even on freestanding compilers.  */
41174
41175 #ifdef __STDC__
41176 # include <limits.h>
41177 #else
41178 # include <assert.h>
41179 #endif
41180
41181 #undef $ac_func
41182
41183 /* Override any gcc2 internal prototype to avoid an error.  */
41184 #ifdef __cplusplus
41185 extern "C"
41186 {
41187 #endif
41188 /* We use char because int might match the return type of a gcc2
41189    builtin and then its argument prototype would still apply.  */
41190 char $ac_func ();
41191 /* The GNU C library defines this for functions which it implements
41192     to always fail with ENOSYS.  Some functions are actually named
41193     something starting with __ and the normal name is an alias.  */
41194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41195 choke me
41196 #else
41197 char (*f) () = $ac_func;
41198 #endif
41199 #ifdef __cplusplus
41200 }
41201 #endif
41202
41203 int
41204 main ()
41205 {
41206 return f != $ac_func;
41207   ;
41208   return 0;
41209 }
41210 _ACEOF
41211 rm -f conftest.$ac_objext conftest$ac_exeext
41212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41213   (eval $ac_link) 2>conftest.er1
41214   ac_status=$?
41215   grep -v '^ *+' conftest.er1 >conftest.err
41216   rm -f conftest.er1
41217   cat conftest.err >&5
41218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219   (exit $ac_status); } &&
41220          { ac_try='test -z "$ac_c_werror_flag"
41221                          || test ! -s conftest.err'
41222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41223   (eval $ac_try) 2>&5
41224   ac_status=$?
41225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226   (exit $ac_status); }; } &&
41227          { ac_try='test -s conftest$ac_exeext'
41228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41229   (eval $ac_try) 2>&5
41230   ac_status=$?
41231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232   (exit $ac_status); }; }; then
41233   eval "$as_ac_var=yes"
41234 else
41235   echo "$as_me: failed program was:" >&5
41236 sed 's/^/| /' conftest.$ac_ext >&5
41237
41238 eval "$as_ac_var=no"
41239 fi
41240 rm -f conftest.err conftest.$ac_objext \
41241       conftest$ac_exeext conftest.$ac_ext
41242 fi
41243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41245 if test `eval echo '${'$as_ac_var'}'` = yes; then
41246   cat >>confdefs.h <<_ACEOF
41247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41248 _ACEOF
41249
41250 else
41251   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
41252 fi
41253 done
41254
41255   fi
41256
41257   # Used in libmath/Makefile.am.
41258   if test -n "$LIBMATHOBJS"; then
41259     need_libmath=yes
41260   fi
41261
41262
41263
41264   ac_test_CXXFLAGS="${CXXFLAGS+set}"
41265   ac_save_CXXFLAGS="$CXXFLAGS"
41266   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41267
41268
41269   echo "$as_me:$LINENO: checking for strtold declaration" >&5
41270 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
41271   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41272     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
41273   echo $ECHO_N "(cached) $ECHO_C" >&6
41274 else
41275
41276
41277
41278       ac_ext=cc
41279 ac_cpp='$CXXCPP $CPPFLAGS'
41280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283
41284       cat >conftest.$ac_ext <<_ACEOF
41285 /* confdefs.h.  */
41286 _ACEOF
41287 cat confdefs.h >>conftest.$ac_ext
41288 cat >>conftest.$ac_ext <<_ACEOF
41289 /* end confdefs.h.  */
41290 #include <stdlib.h>
41291 int
41292 main ()
41293 {
41294  strtold(0, 0);
41295   ;
41296   return 0;
41297 }
41298 _ACEOF
41299 rm -f conftest.$ac_objext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41301   (eval $ac_compile) 2>conftest.er1
41302   ac_status=$?
41303   grep -v '^ *+' conftest.er1 >conftest.err
41304   rm -f conftest.er1
41305   cat conftest.err >&5
41306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307   (exit $ac_status); } &&
41308          { ac_try='test -z "$ac_cxx_werror_flag"
41309                          || test ! -s conftest.err'
41310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41311   (eval $ac_try) 2>&5
41312   ac_status=$?
41313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314   (exit $ac_status); }; } &&
41315          { ac_try='test -s conftest.$ac_objext'
41316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41317   (eval $ac_try) 2>&5
41318   ac_status=$?
41319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320   (exit $ac_status); }; }; then
41321   glibcxx_cv_func_strtold_use=yes
41322 else
41323   echo "$as_me: failed program was:" >&5
41324 sed 's/^/| /' conftest.$ac_ext >&5
41325
41326 glibcxx_cv_func_strtold_use=no
41327 fi
41328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41329       ac_ext=c
41330 ac_cpp='$CPP $CPPFLAGS'
41331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41334
41335
41336 fi
41337
41338   fi
41339   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
41340 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
41341   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41342
41343 for ac_func in strtold
41344 do
41345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41346 echo "$as_me:$LINENO: checking for $ac_func" >&5
41347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41348 if eval "test \"\${$as_ac_var+set}\" = set"; then
41349   echo $ECHO_N "(cached) $ECHO_C" >&6
41350 else
41351   if test x$gcc_no_link = xyes; then
41352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41354    { (exit 1); exit 1; }; }
41355 fi
41356 cat >conftest.$ac_ext <<_ACEOF
41357 /* confdefs.h.  */
41358 _ACEOF
41359 cat confdefs.h >>conftest.$ac_ext
41360 cat >>conftest.$ac_ext <<_ACEOF
41361 /* end confdefs.h.  */
41362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41364 #define $ac_func innocuous_$ac_func
41365
41366 /* System header to define __stub macros and hopefully few prototypes,
41367     which can conflict with char $ac_func (); below.
41368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41369     <limits.h> exists even on freestanding compilers.  */
41370
41371 #ifdef __STDC__
41372 # include <limits.h>
41373 #else
41374 # include <assert.h>
41375 #endif
41376
41377 #undef $ac_func
41378
41379 /* Override any gcc2 internal prototype to avoid an error.  */
41380 #ifdef __cplusplus
41381 extern "C"
41382 {
41383 #endif
41384 /* We use char because int might match the return type of a gcc2
41385    builtin and then its argument prototype would still apply.  */
41386 char $ac_func ();
41387 /* The GNU C library defines this for functions which it implements
41388     to always fail with ENOSYS.  Some functions are actually named
41389     something starting with __ and the normal name is an alias.  */
41390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41391 choke me
41392 #else
41393 char (*f) () = $ac_func;
41394 #endif
41395 #ifdef __cplusplus
41396 }
41397 #endif
41398
41399 int
41400 main ()
41401 {
41402 return f != $ac_func;
41403   ;
41404   return 0;
41405 }
41406 _ACEOF
41407 rm -f conftest.$ac_objext conftest$ac_exeext
41408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41409   (eval $ac_link) 2>conftest.er1
41410   ac_status=$?
41411   grep -v '^ *+' conftest.er1 >conftest.err
41412   rm -f conftest.er1
41413   cat conftest.err >&5
41414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41415   (exit $ac_status); } &&
41416          { ac_try='test -z "$ac_c_werror_flag"
41417                          || test ! -s conftest.err'
41418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41419   (eval $ac_try) 2>&5
41420   ac_status=$?
41421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422   (exit $ac_status); }; } &&
41423          { ac_try='test -s conftest$ac_exeext'
41424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41425   (eval $ac_try) 2>&5
41426   ac_status=$?
41427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428   (exit $ac_status); }; }; then
41429   eval "$as_ac_var=yes"
41430 else
41431   echo "$as_me: failed program was:" >&5
41432 sed 's/^/| /' conftest.$ac_ext >&5
41433
41434 eval "$as_ac_var=no"
41435 fi
41436 rm -f conftest.err conftest.$ac_objext \
41437       conftest$ac_exeext conftest.$ac_ext
41438 fi
41439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41441 if test `eval echo '${'$as_ac_var'}'` = yes; then
41442   cat >>confdefs.h <<_ACEOF
41443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41444 _ACEOF
41445
41446 fi
41447 done
41448
41449   fi
41450
41451
41452
41453
41454
41455   echo "$as_me:$LINENO: checking for strtof declaration" >&5
41456 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
41457   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41458     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
41459   echo $ECHO_N "(cached) $ECHO_C" >&6
41460 else
41461
41462
41463
41464       ac_ext=cc
41465 ac_cpp='$CXXCPP $CPPFLAGS'
41466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41469
41470       cat >conftest.$ac_ext <<_ACEOF
41471 /* confdefs.h.  */
41472 _ACEOF
41473 cat confdefs.h >>conftest.$ac_ext
41474 cat >>conftest.$ac_ext <<_ACEOF
41475 /* end confdefs.h.  */
41476 #include <stdlib.h>
41477 int
41478 main ()
41479 {
41480  strtof(0, 0);
41481   ;
41482   return 0;
41483 }
41484 _ACEOF
41485 rm -f conftest.$ac_objext
41486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41487   (eval $ac_compile) 2>conftest.er1
41488   ac_status=$?
41489   grep -v '^ *+' conftest.er1 >conftest.err
41490   rm -f conftest.er1
41491   cat conftest.err >&5
41492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493   (exit $ac_status); } &&
41494          { ac_try='test -z "$ac_cxx_werror_flag"
41495                          || test ! -s conftest.err'
41496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497   (eval $ac_try) 2>&5
41498   ac_status=$?
41499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500   (exit $ac_status); }; } &&
41501          { ac_try='test -s conftest.$ac_objext'
41502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41503   (eval $ac_try) 2>&5
41504   ac_status=$?
41505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506   (exit $ac_status); }; }; then
41507   glibcxx_cv_func_strtof_use=yes
41508 else
41509   echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41511
41512 glibcxx_cv_func_strtof_use=no
41513 fi
41514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41515       ac_ext=c
41516 ac_cpp='$CPP $CPPFLAGS'
41517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41520
41521
41522 fi
41523
41524   fi
41525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
41526 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
41527   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41528
41529 for ac_func in strtof
41530 do
41531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41532 echo "$as_me:$LINENO: checking for $ac_func" >&5
41533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41534 if eval "test \"\${$as_ac_var+set}\" = set"; then
41535   echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537   if test x$gcc_no_link = xyes; then
41538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41540    { (exit 1); exit 1; }; }
41541 fi
41542 cat >conftest.$ac_ext <<_ACEOF
41543 /* confdefs.h.  */
41544 _ACEOF
41545 cat confdefs.h >>conftest.$ac_ext
41546 cat >>conftest.$ac_ext <<_ACEOF
41547 /* end confdefs.h.  */
41548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41550 #define $ac_func innocuous_$ac_func
41551
41552 /* System header to define __stub macros and hopefully few prototypes,
41553     which can conflict with char $ac_func (); below.
41554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41555     <limits.h> exists even on freestanding compilers.  */
41556
41557 #ifdef __STDC__
41558 # include <limits.h>
41559 #else
41560 # include <assert.h>
41561 #endif
41562
41563 #undef $ac_func
41564
41565 /* Override any gcc2 internal prototype to avoid an error.  */
41566 #ifdef __cplusplus
41567 extern "C"
41568 {
41569 #endif
41570 /* We use char because int might match the return type of a gcc2
41571    builtin and then its argument prototype would still apply.  */
41572 char $ac_func ();
41573 /* The GNU C library defines this for functions which it implements
41574     to always fail with ENOSYS.  Some functions are actually named
41575     something starting with __ and the normal name is an alias.  */
41576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41577 choke me
41578 #else
41579 char (*f) () = $ac_func;
41580 #endif
41581 #ifdef __cplusplus
41582 }
41583 #endif
41584
41585 int
41586 main ()
41587 {
41588 return f != $ac_func;
41589   ;
41590   return 0;
41591 }
41592 _ACEOF
41593 rm -f conftest.$ac_objext conftest$ac_exeext
41594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41595   (eval $ac_link) 2>conftest.er1
41596   ac_status=$?
41597   grep -v '^ *+' conftest.er1 >conftest.err
41598   rm -f conftest.er1
41599   cat conftest.err >&5
41600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601   (exit $ac_status); } &&
41602          { ac_try='test -z "$ac_c_werror_flag"
41603                          || test ! -s conftest.err'
41604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41605   (eval $ac_try) 2>&5
41606   ac_status=$?
41607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608   (exit $ac_status); }; } &&
41609          { ac_try='test -s conftest$ac_exeext'
41610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611   (eval $ac_try) 2>&5
41612   ac_status=$?
41613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614   (exit $ac_status); }; }; then
41615   eval "$as_ac_var=yes"
41616 else
41617   echo "$as_me: failed program was:" >&5
41618 sed 's/^/| /' conftest.$ac_ext >&5
41619
41620 eval "$as_ac_var=no"
41621 fi
41622 rm -f conftest.err conftest.$ac_objext \
41623       conftest$ac_exeext conftest.$ac_ext
41624 fi
41625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41627 if test `eval echo '${'$as_ac_var'}'` = yes; then
41628   cat >>confdefs.h <<_ACEOF
41629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41630 _ACEOF
41631
41632 fi
41633 done
41634
41635   fi
41636
41637
41638
41639
41640
41641   CXXFLAGS="$ac_save_CXXFLAGS"
41642
41643
41644   # For /dev/random and /dev/urandom for TR1.
41645
41646
41647   echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
41648 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41649   if test "${glibcxx_cv_random_tr1+set}" = set; then
41650   echo $ECHO_N "(cached) $ECHO_C" >&6
41651 else
41652
41653     if test -r /dev/random && test -r /dev/urandom; then
41654       glibcxx_cv_random_tr1=yes;
41655     else
41656       glibcxx_cv_random_tr1=no;
41657     fi
41658
41659 fi
41660
41661   echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41662 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41663
41664   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41665
41666 cat >>confdefs.h <<\_ACEOF
41667 #define _GLIBCXX_USE_RANDOM_TR1 1
41668 _ACEOF
41669
41670   fi
41671
41672
41673
41674   # For TLS support.
41675
41676    # Check whether --enable-tls or --disable-tls was given.
41677 if test "${enable_tls+set}" = set; then
41678   enableval="$enable_tls"
41679
41680       case "$enableval" in
41681        yes|no) ;;
41682        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41683 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41684    { (exit 1); exit 1; }; } ;;
41685       esac
41686
41687 else
41688   enable_tls=yes
41689 fi;
41690
41691   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41692 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41693 if test "${gcc_cv_have_tls+set}" = set; then
41694   echo $ECHO_N "(cached) $ECHO_C" >&6
41695 else
41696
41697     if test "$cross_compiling" = yes; then
41698                 if test x$gcc_no_link = xyes; then
41699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41701    { (exit 1); exit 1; }; }
41702 fi
41703 cat >conftest.$ac_ext <<_ACEOF
41704 __thread int a; int b; int main() { return a = b; }
41705 _ACEOF
41706 rm -f conftest.$ac_objext conftest$ac_exeext
41707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41708   (eval $ac_link) 2>conftest.er1
41709   ac_status=$?
41710   grep -v '^ *+' conftest.er1 >conftest.err
41711   rm -f conftest.er1
41712   cat conftest.err >&5
41713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714   (exit $ac_status); } &&
41715          { ac_try='test -z "$ac_c_werror_flag"
41716                          || test ! -s conftest.err'
41717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41718   (eval $ac_try) 2>&5
41719   ac_status=$?
41720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721   (exit $ac_status); }; } &&
41722          { ac_try='test -s conftest$ac_exeext'
41723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41724   (eval $ac_try) 2>&5
41725   ac_status=$?
41726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41727   (exit $ac_status); }; }; then
41728   gcc_cv_have_tls=yes
41729 else
41730   echo "$as_me: failed program was:" >&5
41731 sed 's/^/| /' conftest.$ac_ext >&5
41732
41733 gcc_cv_have_tls=no
41734 fi
41735 rm -f conftest.err conftest.$ac_objext \
41736       conftest$ac_exeext conftest.$ac_ext
41737
41738
41739 else
41740   cat >conftest.$ac_ext <<_ACEOF
41741 __thread int a; int b; int main() { return a = b; }
41742 _ACEOF
41743 rm -f conftest$ac_exeext
41744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41745   (eval $ac_link) 2>&5
41746   ac_status=$?
41747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41750   (eval $ac_try) 2>&5
41751   ac_status=$?
41752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753   (exit $ac_status); }; }; then
41754                       chktls_save_LDFLAGS="$LDFLAGS"
41755       LDFLAGS="-static $LDFLAGS"
41756       if test x$gcc_no_link = xyes; then
41757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41759    { (exit 1); exit 1; }; }
41760 fi
41761 cat >conftest.$ac_ext <<_ACEOF
41762 int main() { return 0; }
41763 _ACEOF
41764 rm -f conftest.$ac_objext conftest$ac_exeext
41765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41766   (eval $ac_link) 2>conftest.er1
41767   ac_status=$?
41768   grep -v '^ *+' conftest.er1 >conftest.err
41769   rm -f conftest.er1
41770   cat conftest.err >&5
41771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41772   (exit $ac_status); } &&
41773          { ac_try='test -z "$ac_c_werror_flag"
41774                          || test ! -s conftest.err'
41775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41776   (eval $ac_try) 2>&5
41777   ac_status=$?
41778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779   (exit $ac_status); }; } &&
41780          { ac_try='test -s conftest$ac_exeext'
41781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782   (eval $ac_try) 2>&5
41783   ac_status=$?
41784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785   (exit $ac_status); }; }; then
41786   if test "$cross_compiling" = yes; then
41787   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41788 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41789 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41790 See \`config.log' for more details." >&5
41791 echo "$as_me: error: cannot run test program while cross compiling
41792 See \`config.log' for more details." >&2;}
41793    { (exit 1); exit 1; }; }; }
41794 else
41795   cat >conftest.$ac_ext <<_ACEOF
41796 __thread int a; int b; int main() { return a = b; }
41797 _ACEOF
41798 rm -f conftest$ac_exeext
41799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41800   (eval $ac_link) 2>&5
41801   ac_status=$?
41802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41805   (eval $ac_try) 2>&5
41806   ac_status=$?
41807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808   (exit $ac_status); }; }; then
41809   gcc_cv_have_tls=yes
41810 else
41811   echo "$as_me: program exited with status $ac_status" >&5
41812 echo "$as_me: failed program was:" >&5
41813 sed 's/^/| /' conftest.$ac_ext >&5
41814
41815 ( exit $ac_status )
41816 gcc_cv_have_tls=no
41817 fi
41818 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41819 fi
41820 else
41821   echo "$as_me: failed program was:" >&5
41822 sed 's/^/| /' conftest.$ac_ext >&5
41823
41824 gcc_cv_have_tls=yes
41825 fi
41826 rm -f conftest.err conftest.$ac_objext \
41827       conftest$ac_exeext conftest.$ac_ext
41828       LDFLAGS="$chktls_save_LDFLAGS"
41829       if test $gcc_cv_have_tls = yes; then
41830                                                 chktls_save_CFLAGS="$CFLAGS"
41831         thread_CFLAGS=failed
41832         for flag in '' '-pthread' '-lpthread'; do
41833           CFLAGS="$flag $chktls_save_CFLAGS"
41834           if test x$gcc_no_link = xyes; then
41835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41837    { (exit 1); exit 1; }; }
41838 fi
41839 cat >conftest.$ac_ext <<_ACEOF
41840 /* confdefs.h.  */
41841 _ACEOF
41842 cat confdefs.h >>conftest.$ac_ext
41843 cat >>conftest.$ac_ext <<_ACEOF
41844 /* end confdefs.h.  */
41845 #include <pthread.h>
41846                 void *g(void *d) { return NULL; }
41847 int
41848 main ()
41849 {
41850 pthread_t t; pthread_create(&t,NULL,g,NULL);
41851   ;
41852   return 0;
41853 }
41854 _ACEOF
41855 rm -f conftest.$ac_objext conftest$ac_exeext
41856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41857   (eval $ac_link) 2>conftest.er1
41858   ac_status=$?
41859   grep -v '^ *+' conftest.er1 >conftest.err
41860   rm -f conftest.er1
41861   cat conftest.err >&5
41862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41863   (exit $ac_status); } &&
41864          { ac_try='test -z "$ac_c_werror_flag"
41865                          || test ! -s conftest.err'
41866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41867   (eval $ac_try) 2>&5
41868   ac_status=$?
41869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41870   (exit $ac_status); }; } &&
41871          { ac_try='test -s conftest$ac_exeext'
41872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41873   (eval $ac_try) 2>&5
41874   ac_status=$?
41875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876   (exit $ac_status); }; }; then
41877   thread_CFLAGS="$flag"
41878 else
41879   echo "$as_me: failed program was:" >&5
41880 sed 's/^/| /' conftest.$ac_ext >&5
41881
41882 fi
41883 rm -f conftest.err conftest.$ac_objext \
41884       conftest$ac_exeext conftest.$ac_ext
41885           if test "X$thread_CFLAGS" != Xfailed; then
41886             break
41887           fi
41888         done
41889         CFLAGS="$chktls_save_CFLAGS"
41890         if test "X$thread_CFLAGS" != Xfailed; then
41891           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41892           if test "$cross_compiling" = yes; then
41893   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41894 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41895 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41896 See \`config.log' for more details." >&5
41897 echo "$as_me: error: cannot run test program while cross compiling
41898 See \`config.log' for more details." >&2;}
41899    { (exit 1); exit 1; }; }; }
41900 else
41901   cat >conftest.$ac_ext <<_ACEOF
41902 /* confdefs.h.  */
41903 _ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h.  */
41907 #include <pthread.h>
41908                 __thread int a;
41909                 static int *a_in_other_thread;
41910                 static void *
41911                 thread_func (void *arg)
41912                 {
41913                   a_in_other_thread = &a;
41914                   return (void *)0;
41915                 }
41916 int
41917 main ()
41918 {
41919 pthread_t thread;
41920                 void *thread_retval;
41921                 int *a_in_main_thread;
41922                 if (pthread_create (&thread, (pthread_attr_t *)0,
41923                                     thread_func, (void *)0))
41924                   return 0;
41925                 a_in_main_thread = &a;
41926                 if (pthread_join (thread, &thread_retval))
41927                   return 0;
41928                 return (a_in_other_thread == a_in_main_thread);
41929   ;
41930   return 0;
41931 }
41932 _ACEOF
41933 rm -f conftest$ac_exeext
41934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41935   (eval $ac_link) 2>&5
41936   ac_status=$?
41937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41938   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41940   (eval $ac_try) 2>&5
41941   ac_status=$?
41942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41943   (exit $ac_status); }; }; then
41944   gcc_cv_have_tls=yes
41945 else
41946   echo "$as_me: program exited with status $ac_status" >&5
41947 echo "$as_me: failed program was:" >&5
41948 sed 's/^/| /' conftest.$ac_ext >&5
41949
41950 ( exit $ac_status )
41951 gcc_cv_have_tls=no
41952 fi
41953 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41954 fi
41955           CFLAGS="$chktls_save_CFLAGS"
41956         fi
41957       fi
41958 else
41959   echo "$as_me: program exited with status $ac_status" >&5
41960 echo "$as_me: failed program was:" >&5
41961 sed 's/^/| /' conftest.$ac_ext >&5
41962
41963 ( exit $ac_status )
41964 gcc_cv_have_tls=no
41965 fi
41966 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41967 fi
41968 fi
41969 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41970 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41971   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41972
41973 cat >>confdefs.h <<\_ACEOF
41974 #define HAVE_TLS 1
41975 _ACEOF
41976
41977   fi
41978
41979   # For iconv support.
41980
41981       if test "X$prefix" = "XNONE"; then
41982     acl_final_prefix="$ac_default_prefix"
41983   else
41984     acl_final_prefix="$prefix"
41985   fi
41986   if test "X$exec_prefix" = "XNONE"; then
41987     acl_final_exec_prefix='${prefix}'
41988   else
41989     acl_final_exec_prefix="$exec_prefix"
41990   fi
41991   acl_save_prefix="$prefix"
41992   prefix="$acl_final_prefix"
41993   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41994   prefix="$acl_save_prefix"
41995
41996
41997 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41998 if test "${with_gnu_ld+set}" = set; then
41999   withval="$with_gnu_ld"
42000   test "$withval" = no || with_gnu_ld=yes
42001 else
42002   with_gnu_ld=no
42003 fi;
42004 # Prepare PATH_SEPARATOR.
42005 # The user is always right.
42006 if test "${PATH_SEPARATOR+set}" != set; then
42007   echo "#! /bin/sh" >conf$$.sh
42008   echo  "exit 0"   >>conf$$.sh
42009   chmod +x conf$$.sh
42010   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42011     PATH_SEPARATOR=';'
42012   else
42013     PATH_SEPARATOR=:
42014   fi
42015   rm -f conf$$.sh
42016 fi
42017 ac_prog=ld
42018 if test "$GCC" = yes; then
42019   # Check if gcc -print-prog-name=ld gives a path.
42020   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42021 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42022   case $host in
42023   *-*-mingw*)
42024     # gcc leaves a trailing carriage return which upsets mingw
42025     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42026   *)
42027     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42028   esac
42029   case $ac_prog in
42030     # Accept absolute paths.
42031     [\\/]* | [A-Za-z]:[\\/]*)
42032       re_direlt='/[^/][^/]*/\.\./'
42033       # Canonicalize the path of ld
42034       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42035       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42036         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42037       done
42038       test -z "$LD" && LD="$ac_prog"
42039       ;;
42040   "")
42041     # If it fails, then pretend we aren't using GCC.
42042     ac_prog=ld
42043     ;;
42044   *)
42045     # If it is relative, then search for the first ld in PATH.
42046     with_gnu_ld=unknown
42047     ;;
42048   esac
42049 elif test "$with_gnu_ld" = yes; then
42050   echo "$as_me:$LINENO: checking for GNU ld" >&5
42051 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42052 else
42053   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42054 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42055 fi
42056 if test "${acl_cv_path_LD+set}" = set; then
42057   echo $ECHO_N "(cached) $ECHO_C" >&6
42058 else
42059   if test -z "$LD"; then
42060   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42061   for ac_dir in $PATH; do
42062     test -z "$ac_dir" && ac_dir=.
42063     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42064       acl_cv_path_LD="$ac_dir/$ac_prog"
42065       # Check to see if the program is GNU ld.  I'd rather use --version,
42066       # but apparently some GNU ld's only accept -v.
42067       # Break only if it was the GNU/non-GNU ld that we prefer.
42068       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42069         test "$with_gnu_ld" != no && break
42070       else
42071         test "$with_gnu_ld" != yes && break
42072       fi
42073     fi
42074   done
42075   IFS="$ac_save_ifs"
42076 else
42077   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42078 fi
42079 fi
42080
42081 LD="$acl_cv_path_LD"
42082 if test -n "$LD"; then
42083   echo "$as_me:$LINENO: result: $LD" >&5
42084 echo "${ECHO_T}$LD" >&6
42085 else
42086   echo "$as_me:$LINENO: result: no" >&5
42087 echo "${ECHO_T}no" >&6
42088 fi
42089 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42090 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42091    { (exit 1); exit 1; }; }
42092 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42093 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42094 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42095   echo $ECHO_N "(cached) $ECHO_C" >&6
42096 else
42097   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42098 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42099   acl_cv_prog_gnu_ld=yes
42100 else
42101   acl_cv_prog_gnu_ld=no
42102 fi
42103 fi
42104 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42105 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42106 with_gnu_ld=$acl_cv_prog_gnu_ld
42107
42108
42109
42110                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42111 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42112 if test "${acl_cv_rpath+set}" = set; then
42113   echo $ECHO_N "(cached) $ECHO_C" >&6
42114 else
42115
42116     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42117     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42118     . ./conftest.sh
42119     rm -f ./conftest.sh
42120     acl_cv_rpath=done
42121
42122 fi
42123 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42124 echo "${ECHO_T}$acl_cv_rpath" >&6
42125   wl="$acl_cv_wl"
42126   libext="$acl_cv_libext"
42127   shlibext="$acl_cv_shlibext"
42128   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42129   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42130   hardcode_direct="$acl_cv_hardcode_direct"
42131   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42132     # Check whether --enable-rpath or --disable-rpath was given.
42133 if test "${enable_rpath+set}" = set; then
42134   enableval="$enable_rpath"
42135   :
42136 else
42137   enable_rpath=yes
42138 fi;
42139
42140
42141
42142
42143
42144
42145
42146     use_additional=yes
42147
42148   acl_save_prefix="$prefix"
42149   prefix="$acl_final_prefix"
42150   acl_save_exec_prefix="$exec_prefix"
42151   exec_prefix="$acl_final_exec_prefix"
42152
42153     eval additional_includedir=\"$includedir\"
42154     eval additional_libdir=\"$libdir\"
42155
42156   exec_prefix="$acl_save_exec_prefix"
42157   prefix="$acl_save_prefix"
42158
42159
42160 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42161 if test "${with_libiconv_prefix+set}" = set; then
42162   withval="$with_libiconv_prefix"
42163
42164     if test "X$withval" = "Xno"; then
42165       use_additional=no
42166     else
42167       if test "X$withval" = "X"; then
42168
42169   acl_save_prefix="$prefix"
42170   prefix="$acl_final_prefix"
42171   acl_save_exec_prefix="$exec_prefix"
42172   exec_prefix="$acl_final_exec_prefix"
42173
42174           eval additional_includedir=\"$includedir\"
42175           eval additional_libdir=\"$libdir\"
42176
42177   exec_prefix="$acl_save_exec_prefix"
42178   prefix="$acl_save_prefix"
42179
42180       else
42181         additional_includedir="$withval/include"
42182         additional_libdir="$withval/lib"
42183       fi
42184     fi
42185
42186 fi;
42187       LIBICONV=
42188   LTLIBICONV=
42189   INCICONV=
42190   rpathdirs=
42191   ltrpathdirs=
42192   names_already_handled=
42193   names_next_round='iconv '
42194   while test -n "$names_next_round"; do
42195     names_this_round="$names_next_round"
42196     names_next_round=
42197     for name in $names_this_round; do
42198       already_handled=
42199       for n in $names_already_handled; do
42200         if test "$n" = "$name"; then
42201           already_handled=yes
42202           break
42203         fi
42204       done
42205       if test -z "$already_handled"; then
42206         names_already_handled="$names_already_handled $name"
42207                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42208         eval value=\"\$HAVE_LIB$uppername\"
42209         if test -n "$value"; then
42210           if test "$value" = yes; then
42211             eval value=\"\$LIB$uppername\"
42212             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42213             eval value=\"\$LTLIB$uppername\"
42214             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42215           else
42216                                     :
42217           fi
42218         else
42219                               found_dir=
42220           found_la=
42221           found_so=
42222           found_a=
42223           if test $use_additional = yes; then
42224             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42225               found_dir="$additional_libdir"
42226               found_so="$additional_libdir/lib$name.$shlibext"
42227               if test -f "$additional_libdir/lib$name.la"; then
42228                 found_la="$additional_libdir/lib$name.la"
42229               fi
42230             else
42231               if test -f "$additional_libdir/lib$name.$libext"; then
42232                 found_dir="$additional_libdir"
42233                 found_a="$additional_libdir/lib$name.$libext"
42234                 if test -f "$additional_libdir/lib$name.la"; then
42235                   found_la="$additional_libdir/lib$name.la"
42236                 fi
42237               fi
42238             fi
42239           fi
42240           if test "X$found_dir" = "X"; then
42241             for x in $LDFLAGS $LTLIBICONV; do
42242
42243   acl_save_prefix="$prefix"
42244   prefix="$acl_final_prefix"
42245   acl_save_exec_prefix="$exec_prefix"
42246   exec_prefix="$acl_final_exec_prefix"
42247   eval x=\"$x\"
42248   exec_prefix="$acl_save_exec_prefix"
42249   prefix="$acl_save_prefix"
42250
42251               case "$x" in
42252                 -L*)
42253                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42254                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42255                     found_dir="$dir"
42256                     found_so="$dir/lib$name.$shlibext"
42257                     if test -f "$dir/lib$name.la"; then
42258                       found_la="$dir/lib$name.la"
42259                     fi
42260                   else
42261                     if test -f "$dir/lib$name.$libext"; then
42262                       found_dir="$dir"
42263                       found_a="$dir/lib$name.$libext"
42264                       if test -f "$dir/lib$name.la"; then
42265                         found_la="$dir/lib$name.la"
42266                       fi
42267                     fi
42268                   fi
42269                   ;;
42270               esac
42271               if test "X$found_dir" != "X"; then
42272                 break
42273               fi
42274             done
42275           fi
42276           if test "X$found_dir" != "X"; then
42277                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42278             if test "X$found_so" != "X"; then
42279                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42280                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42281               else
42282                                                                                 haveit=
42283                 for x in $ltrpathdirs; do
42284                   if test "X$x" = "X$found_dir"; then
42285                     haveit=yes
42286                     break
42287                   fi
42288                 done
42289                 if test -z "$haveit"; then
42290                   ltrpathdirs="$ltrpathdirs $found_dir"
42291                 fi
42292                                 if test "$hardcode_direct" = yes; then
42293                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42294                 else
42295                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42296                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42297                                                             haveit=
42298                     for x in $rpathdirs; do
42299                       if test "X$x" = "X$found_dir"; then
42300                         haveit=yes
42301                         break
42302                       fi
42303                     done
42304                     if test -z "$haveit"; then
42305                       rpathdirs="$rpathdirs $found_dir"
42306                     fi
42307                   else
42308                                                                                 haveit=
42309                     for x in $LDFLAGS $LIBICONV; do
42310
42311   acl_save_prefix="$prefix"
42312   prefix="$acl_final_prefix"
42313   acl_save_exec_prefix="$exec_prefix"
42314   exec_prefix="$acl_final_exec_prefix"
42315   eval x=\"$x\"
42316   exec_prefix="$acl_save_exec_prefix"
42317   prefix="$acl_save_prefix"
42318
42319                       if test "X$x" = "X-L$found_dir"; then
42320                         haveit=yes
42321                         break
42322                       fi
42323                     done
42324                     if test -z "$haveit"; then
42325                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42326                     fi
42327                     if test "$hardcode_minus_L" != no; then
42328                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42329                     else
42330                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42331                     fi
42332                   fi
42333                 fi
42334               fi
42335             else
42336               if test "X$found_a" != "X"; then
42337                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42338               else
42339                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42340               fi
42341             fi
42342                         additional_includedir=
42343             case "$found_dir" in
42344               */lib | */lib/)
42345                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42346                 additional_includedir="$basedir/include"
42347                 ;;
42348             esac
42349             if test "X$additional_includedir" != "X"; then
42350                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42351                 haveit=
42352                 if test "X$additional_includedir" = "X/usr/local/include"; then
42353                   if test -n "$GCC"; then
42354                     case $host_os in
42355                       linux*) haveit=yes;;
42356                     esac
42357                   fi
42358                 fi
42359                 if test -z "$haveit"; then
42360                   for x in $CPPFLAGS $INCICONV; do
42361
42362   acl_save_prefix="$prefix"
42363   prefix="$acl_final_prefix"
42364   acl_save_exec_prefix="$exec_prefix"
42365   exec_prefix="$acl_final_exec_prefix"
42366   eval x=\"$x\"
42367   exec_prefix="$acl_save_exec_prefix"
42368   prefix="$acl_save_prefix"
42369
42370                     if test "X$x" = "X-I$additional_includedir"; then
42371                       haveit=yes
42372                       break
42373                     fi
42374                   done
42375                   if test -z "$haveit"; then
42376                     if test -d "$additional_includedir"; then
42377                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42378                     fi
42379                   fi
42380                 fi
42381               fi
42382             fi
42383                         if test -n "$found_la"; then
42384                                                         save_libdir="$libdir"
42385               case "$found_la" in
42386                 */* | *\\*) . "$found_la" ;;
42387                 *) . "./$found_la" ;;
42388               esac
42389               libdir="$save_libdir"
42390                             for dep in $dependency_libs; do
42391                 case "$dep" in
42392                   -L*)
42393                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42394                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42395                       haveit=
42396                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42397                         if test -n "$GCC"; then
42398                           case $host_os in
42399                             linux*) haveit=yes;;
42400                           esac
42401                         fi
42402                       fi
42403                       if test -z "$haveit"; then
42404                         haveit=
42405                         for x in $LDFLAGS $LIBICONV; do
42406
42407   acl_save_prefix="$prefix"
42408   prefix="$acl_final_prefix"
42409   acl_save_exec_prefix="$exec_prefix"
42410   exec_prefix="$acl_final_exec_prefix"
42411   eval x=\"$x\"
42412   exec_prefix="$acl_save_exec_prefix"
42413   prefix="$acl_save_prefix"
42414
42415                           if test "X$x" = "X-L$additional_libdir"; then
42416                             haveit=yes
42417                             break
42418                           fi
42419                         done
42420                         if test -z "$haveit"; then
42421                           if test -d "$additional_libdir"; then
42422                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42423                           fi
42424                         fi
42425                         haveit=
42426                         for x in $LDFLAGS $LTLIBICONV; do
42427
42428   acl_save_prefix="$prefix"
42429   prefix="$acl_final_prefix"
42430   acl_save_exec_prefix="$exec_prefix"
42431   exec_prefix="$acl_final_exec_prefix"
42432   eval x=\"$x\"
42433   exec_prefix="$acl_save_exec_prefix"
42434   prefix="$acl_save_prefix"
42435
42436                           if test "X$x" = "X-L$additional_libdir"; then
42437                             haveit=yes
42438                             break
42439                           fi
42440                         done
42441                         if test -z "$haveit"; then
42442                           if test -d "$additional_libdir"; then
42443                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42444                           fi
42445                         fi
42446                       fi
42447                     fi
42448                     ;;
42449                   -R*)
42450                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42451                     if test "$enable_rpath" != no; then
42452                                                                   haveit=
42453                       for x in $rpathdirs; do
42454                         if test "X$x" = "X$dir"; then
42455                           haveit=yes
42456                           break
42457                         fi
42458                       done
42459                       if test -z "$haveit"; then
42460                         rpathdirs="$rpathdirs $dir"
42461                       fi
42462                                                                   haveit=
42463                       for x in $ltrpathdirs; do
42464                         if test "X$x" = "X$dir"; then
42465                           haveit=yes
42466                           break
42467                         fi
42468                       done
42469                       if test -z "$haveit"; then
42470                         ltrpathdirs="$ltrpathdirs $dir"
42471                       fi
42472                     fi
42473                     ;;
42474                   -l*)
42475                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42476                     ;;
42477                   *.la)
42478                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42479                     ;;
42480                   *)
42481                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42482                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42483                     ;;
42484                 esac
42485               done
42486             fi
42487           else
42488                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42489             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42490           fi
42491         fi
42492       fi
42493     done
42494   done
42495   if test "X$rpathdirs" != "X"; then
42496     if test -n "$hardcode_libdir_separator"; then
42497                         alldirs=
42498       for found_dir in $rpathdirs; do
42499         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42500       done
42501             acl_save_libdir="$libdir"
42502       libdir="$alldirs"
42503       eval flag=\"$hardcode_libdir_flag_spec\"
42504       libdir="$acl_save_libdir"
42505       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42506     else
42507             for found_dir in $rpathdirs; do
42508         acl_save_libdir="$libdir"
42509         libdir="$found_dir"
42510         eval flag=\"$hardcode_libdir_flag_spec\"
42511         libdir="$acl_save_libdir"
42512         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42513       done
42514     fi
42515   fi
42516   if test "X$ltrpathdirs" != "X"; then
42517             for found_dir in $ltrpathdirs; do
42518       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42519     done
42520   fi
42521
42522
42523
42524
42525
42526
42527
42528           am_save_CPPFLAGS="$CPPFLAGS"
42529
42530   for element in $INCICONV; do
42531     haveit=
42532     for x in $CPPFLAGS; do
42533
42534   acl_save_prefix="$prefix"
42535   prefix="$acl_final_prefix"
42536   acl_save_exec_prefix="$exec_prefix"
42537   exec_prefix="$acl_final_exec_prefix"
42538   eval x=\"$x\"
42539   exec_prefix="$acl_save_exec_prefix"
42540   prefix="$acl_save_prefix"
42541
42542       if test "X$x" = "X$element"; then
42543         haveit=yes
42544         break
42545       fi
42546     done
42547     if test -z "$haveit"; then
42548       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42549     fi
42550   done
42551
42552
42553   echo "$as_me:$LINENO: checking for iconv" >&5
42554 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42555 if test "${am_cv_func_iconv+set}" = set; then
42556   echo $ECHO_N "(cached) $ECHO_C" >&6
42557 else
42558
42559     am_cv_func_iconv="no, consider installing GNU libiconv"
42560     am_cv_lib_iconv=no
42561     if test x$gcc_no_link = xyes; then
42562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42564    { (exit 1); exit 1; }; }
42565 fi
42566 cat >conftest.$ac_ext <<_ACEOF
42567 /* confdefs.h.  */
42568 _ACEOF
42569 cat confdefs.h >>conftest.$ac_ext
42570 cat >>conftest.$ac_ext <<_ACEOF
42571 /* end confdefs.h.  */
42572 #include <stdlib.h>
42573 #include <iconv.h>
42574 int
42575 main ()
42576 {
42577 iconv_t cd = iconv_open("","");
42578        iconv(cd,NULL,NULL,NULL,NULL);
42579        iconv_close(cd);
42580   ;
42581   return 0;
42582 }
42583 _ACEOF
42584 rm -f conftest.$ac_objext conftest$ac_exeext
42585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42586   (eval $ac_link) 2>conftest.er1
42587   ac_status=$?
42588   grep -v '^ *+' conftest.er1 >conftest.err
42589   rm -f conftest.er1
42590   cat conftest.err >&5
42591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592   (exit $ac_status); } &&
42593          { ac_try='test -z "$ac_c_werror_flag"
42594                          || test ! -s conftest.err'
42595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42596   (eval $ac_try) 2>&5
42597   ac_status=$?
42598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599   (exit $ac_status); }; } &&
42600          { ac_try='test -s conftest$ac_exeext'
42601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602   (eval $ac_try) 2>&5
42603   ac_status=$?
42604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605   (exit $ac_status); }; }; then
42606   am_cv_func_iconv=yes
42607 else
42608   echo "$as_me: failed program was:" >&5
42609 sed 's/^/| /' conftest.$ac_ext >&5
42610
42611 fi
42612 rm -f conftest.err conftest.$ac_objext \
42613       conftest$ac_exeext conftest.$ac_ext
42614     if test "$am_cv_func_iconv" != yes; then
42615       am_save_LIBS="$LIBS"
42616       LIBS="$LIBS $LIBICONV"
42617       if test x$gcc_no_link = xyes; then
42618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42620    { (exit 1); exit 1; }; }
42621 fi
42622 cat >conftest.$ac_ext <<_ACEOF
42623 /* confdefs.h.  */
42624 _ACEOF
42625 cat confdefs.h >>conftest.$ac_ext
42626 cat >>conftest.$ac_ext <<_ACEOF
42627 /* end confdefs.h.  */
42628 #include <stdlib.h>
42629 #include <iconv.h>
42630 int
42631 main ()
42632 {
42633 iconv_t cd = iconv_open("","");
42634          iconv(cd,NULL,NULL,NULL,NULL);
42635          iconv_close(cd);
42636   ;
42637   return 0;
42638 }
42639 _ACEOF
42640 rm -f conftest.$ac_objext conftest$ac_exeext
42641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42642   (eval $ac_link) 2>conftest.er1
42643   ac_status=$?
42644   grep -v '^ *+' conftest.er1 >conftest.err
42645   rm -f conftest.er1
42646   cat conftest.err >&5
42647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648   (exit $ac_status); } &&
42649          { ac_try='test -z "$ac_c_werror_flag"
42650                          || test ! -s conftest.err'
42651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652   (eval $ac_try) 2>&5
42653   ac_status=$?
42654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655   (exit $ac_status); }; } &&
42656          { ac_try='test -s conftest$ac_exeext'
42657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42658   (eval $ac_try) 2>&5
42659   ac_status=$?
42660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661   (exit $ac_status); }; }; then
42662   am_cv_lib_iconv=yes
42663         am_cv_func_iconv=yes
42664 else
42665   echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42667
42668 fi
42669 rm -f conftest.err conftest.$ac_objext \
42670       conftest$ac_exeext conftest.$ac_ext
42671       LIBS="$am_save_LIBS"
42672     fi
42673
42674 fi
42675 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42676 echo "${ECHO_T}$am_cv_func_iconv" >&6
42677   if test "$am_cv_func_iconv" = yes; then
42678
42679 cat >>confdefs.h <<\_ACEOF
42680 #define HAVE_ICONV 1
42681 _ACEOF
42682
42683   fi
42684   if test "$am_cv_lib_iconv" = yes; then
42685     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42686 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42687     echo "$as_me:$LINENO: result: $LIBICONV" >&5
42688 echo "${ECHO_T}$LIBICONV" >&6
42689   else
42690             CPPFLAGS="$am_save_CPPFLAGS"
42691     LIBICONV=
42692     LTLIBICONV=
42693   fi
42694
42695
42696
42697   if test "$am_cv_func_iconv" = yes; then
42698     echo "$as_me:$LINENO: checking for iconv declaration" >&5
42699 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42700     if test "${am_cv_proto_iconv+set}" = set; then
42701   echo $ECHO_N "(cached) $ECHO_C" >&6
42702 else
42703
42704       cat >conftest.$ac_ext <<_ACEOF
42705 /* confdefs.h.  */
42706 _ACEOF
42707 cat confdefs.h >>conftest.$ac_ext
42708 cat >>conftest.$ac_ext <<_ACEOF
42709 /* end confdefs.h.  */
42710
42711 #include <stdlib.h>
42712 #include <iconv.h>
42713 extern
42714 #ifdef __cplusplus
42715 "C"
42716 #endif
42717 #if defined(__STDC__) || defined(__cplusplus)
42718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42719 #else
42720 size_t iconv();
42721 #endif
42722
42723 int
42724 main ()
42725 {
42726
42727   ;
42728   return 0;
42729 }
42730 _ACEOF
42731 rm -f conftest.$ac_objext
42732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42733   (eval $ac_compile) 2>conftest.er1
42734   ac_status=$?
42735   grep -v '^ *+' conftest.er1 >conftest.err
42736   rm -f conftest.er1
42737   cat conftest.err >&5
42738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739   (exit $ac_status); } &&
42740          { ac_try='test -z "$ac_c_werror_flag"
42741                          || test ! -s conftest.err'
42742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42743   (eval $ac_try) 2>&5
42744   ac_status=$?
42745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746   (exit $ac_status); }; } &&
42747          { ac_try='test -s conftest.$ac_objext'
42748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42749   (eval $ac_try) 2>&5
42750   ac_status=$?
42751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752   (exit $ac_status); }; }; then
42753   am_cv_proto_iconv_arg1=""
42754 else
42755   echo "$as_me: failed program was:" >&5
42756 sed 's/^/| /' conftest.$ac_ext >&5
42757
42758 am_cv_proto_iconv_arg1="const"
42759 fi
42760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42761       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);"
42762 fi
42763
42764     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42765     echo "$as_me:$LINENO: result: ${ac_t:-
42766          }$am_cv_proto_iconv" >&5
42767 echo "${ECHO_T}${ac_t:-
42768          }$am_cv_proto_iconv" >&6
42769
42770 cat >>confdefs.h <<_ACEOF
42771 #define ICONV_CONST $am_cv_proto_iconv_arg1
42772 _ACEOF
42773
42774   fi
42775
42776
42777 else
42778
42779   # This lets us hard-code the functionality we know we'll have in the cross
42780   # target environment.  "Let" is a sugar-coated word placed on an especially
42781   # dull and tedious hack, actually.
42782   #
42783   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42784   # that involve linking, can't be used:
42785   #    "cannot open sim-crt0.o"
42786   #    "cannot open crt0.o"
42787   # etc.  All this is because there currently exists no unified, consistent
42788   # way for top level CC information to be passed down to target directories:
42789   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42790   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42791   # crosses can be removed.
42792
42793   # If Canadian cross, then don't pick up tools from the build directory.
42794   # Used only in GLIBCXX_EXPORT_INCLUDES.
42795   if test -n "$with_cross_host" &&
42796      test x"$build_alias" != x"$with_cross_host" &&
42797      test x"$build" != x"$target";
42798   then
42799     CANADIAN=yes
42800   else
42801     CANADIAN=no
42802   fi
42803
42804   # Construct crosses by hand, eliminating bits that need ld...
42805   # GLIBCXX_CHECK_MATH_SUPPORT
42806
42807   # First, test for "known" system libraries.  We may be using newlib even
42808   # on a hosted environment.
42809   if test "x${with_newlib}" = "xyes"; then
42810     os_include_dir="os/newlib"
42811     cat >>confdefs.h <<\_ACEOF
42812 #define HAVE_HYPOT 1
42813 _ACEOF
42814
42815
42816     # GLIBCXX_CHECK_STDLIB_SUPPORT
42817     cat >>confdefs.h <<\_ACEOF
42818 #define HAVE_STRTOF 1
42819 _ACEOF
42820
42821
42822     cat >>confdefs.h <<\_ACEOF
42823 #define HAVE_ACOSF 1
42824 _ACEOF
42825
42826     cat >>confdefs.h <<\_ACEOF
42827 #define HAVE_ASINF 1
42828 _ACEOF
42829
42830     cat >>confdefs.h <<\_ACEOF
42831 #define HAVE_ATAN2F 1
42832 _ACEOF
42833
42834     cat >>confdefs.h <<\_ACEOF
42835 #define HAVE_ATANF 1
42836 _ACEOF
42837
42838     cat >>confdefs.h <<\_ACEOF
42839 #define HAVE_CEILF 1
42840 _ACEOF
42841
42842     cat >>confdefs.h <<\_ACEOF
42843 #define HAVE_COPYSIGN 1
42844 _ACEOF
42845
42846     cat >>confdefs.h <<\_ACEOF
42847 #define HAVE_COPYSIGNF 1
42848 _ACEOF
42849
42850     cat >>confdefs.h <<\_ACEOF
42851 #define HAVE_COSF 1
42852 _ACEOF
42853
42854     cat >>confdefs.h <<\_ACEOF
42855 #define HAVE_COSHF 1
42856 _ACEOF
42857
42858     cat >>confdefs.h <<\_ACEOF
42859 #define HAVE_EXPF 1
42860 _ACEOF
42861
42862     cat >>confdefs.h <<\_ACEOF
42863 #define HAVE_FABSF 1
42864 _ACEOF
42865
42866     cat >>confdefs.h <<\_ACEOF
42867 #define HAVE_FLOORF 1
42868 _ACEOF
42869
42870     cat >>confdefs.h <<\_ACEOF
42871 #define HAVE_FMODF 1
42872 _ACEOF
42873
42874     cat >>confdefs.h <<\_ACEOF
42875 #define HAVE_FREXPF 1
42876 _ACEOF
42877
42878     cat >>confdefs.h <<\_ACEOF
42879 #define HAVE_LDEXPF 1
42880 _ACEOF
42881
42882     cat >>confdefs.h <<\_ACEOF
42883 #define HAVE_LOG10F 1
42884 _ACEOF
42885
42886     cat >>confdefs.h <<\_ACEOF
42887 #define HAVE_LOGF 1
42888 _ACEOF
42889
42890     cat >>confdefs.h <<\_ACEOF
42891 #define HAVE_MODFF 1
42892 _ACEOF
42893
42894     cat >>confdefs.h <<\_ACEOF
42895 #define HAVE_POWF 1
42896 _ACEOF
42897
42898     cat >>confdefs.h <<\_ACEOF
42899 #define HAVE_SINF 1
42900 _ACEOF
42901
42902     cat >>confdefs.h <<\_ACEOF
42903 #define HAVE_SINHF 1
42904 _ACEOF
42905
42906     cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_SQRTF 1
42908 _ACEOF
42909
42910     cat >>confdefs.h <<\_ACEOF
42911 #define HAVE_TANF 1
42912 _ACEOF
42913
42914     cat >>confdefs.h <<\_ACEOF
42915 #define HAVE_TANHF 1
42916 _ACEOF
42917
42918
42919     cat >>confdefs.h <<\_ACEOF
42920 #define HAVE_ICONV 1
42921 _ACEOF
42922
42923   else
42924
42925 # Base decisions on target environment.
42926 case "${host}" in
42927   arm*-*-symbianelf*)
42928     # This is a freestanding configuration; there is nothing to do here.
42929     ;;
42930
42931   mips*-sde-elf*)
42932     # These definitions are for the SDE C library rather than newlib.
42933     SECTION_FLAGS='-ffunction-sections -fdata-sections'
42934
42935
42936   # All these tests are for C++; save the language and the compiler flags.
42937   # The CXXFLAGS thing is suspicious, but based on similar bits previously
42938   # found in GLIBCXX_CONFIGURE.
42939
42940
42941   ac_ext=cc
42942 ac_cpp='$CXXCPP $CPPFLAGS'
42943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42946
42947   ac_test_CXXFLAGS="${CXXFLAGS+set}"
42948   ac_save_CXXFLAGS="$CXXFLAGS"
42949
42950   # Check for maintainer-mode bits.
42951   if test x"$USE_MAINTAINER_MODE" = xno; then
42952     WERROR=''
42953   else
42954     WERROR='-Werror'
42955   fi
42956
42957   # Check for -ffunction-sections -fdata-sections
42958   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42959 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42960   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42961   cat >conftest.$ac_ext <<_ACEOF
42962 /* confdefs.h.  */
42963 _ACEOF
42964 cat confdefs.h >>conftest.$ac_ext
42965 cat >>conftest.$ac_ext <<_ACEOF
42966 /* end confdefs.h.  */
42967 int foo; void bar() { };
42968 int
42969 main ()
42970 {
42971
42972   ;
42973   return 0;
42974 }
42975 _ACEOF
42976 rm -f conftest.$ac_objext
42977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42978   (eval $ac_compile) 2>conftest.er1
42979   ac_status=$?
42980   grep -v '^ *+' conftest.er1 >conftest.err
42981   rm -f conftest.er1
42982   cat conftest.err >&5
42983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984   (exit $ac_status); } &&
42985          { ac_try='test -z "$ac_cxx_werror_flag"
42986                          || test ! -s conftest.err'
42987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42988   (eval $ac_try) 2>&5
42989   ac_status=$?
42990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991   (exit $ac_status); }; } &&
42992          { ac_try='test -s conftest.$ac_objext'
42993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994   (eval $ac_try) 2>&5
42995   ac_status=$?
42996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997   (exit $ac_status); }; }; then
42998   ac_fdsections=yes
42999 else
43000   echo "$as_me: failed program was:" >&5
43001 sed 's/^/| /' conftest.$ac_ext >&5
43002
43003 ac_fdsections=no
43004 fi
43005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43006   if test "$ac_test_CXXFLAGS" = set; then
43007     CXXFLAGS="$ac_save_CXXFLAGS"
43008   else
43009     # this is the suspicious part
43010     CXXFLAGS=''
43011   fi
43012   if test x"$ac_fdsections" = x"yes"; then
43013     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43014   fi
43015   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43016 echo "${ECHO_T}$ac_fdsections" >&6
43017
43018   ac_ext=c
43019 ac_cpp='$CPP $CPPFLAGS'
43020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023
43024
43025
43026
43027
43028   # If we're not using GNU ld, then there's no point in even trying these
43029   # tests.  Check for that first.  We should have already tested for gld
43030   # by now (in libtool), but require it now just to be safe...
43031   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43032   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43033
43034
43035
43036   # The name set by libtool depends on the version of libtool.  Shame on us
43037   # for depending on an impl detail, but c'est la vie.  Older versions used
43038   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43039   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43040   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43041   # set (hence we're using an older libtool), then set it.
43042   if test x${with_gnu_ld+set} != xset; then
43043     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43044       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43045       with_gnu_ld=no
43046     else
43047       with_gnu_ld=$ac_cv_prog_gnu_ld
43048     fi
43049   fi
43050
43051   # Start by getting the version number.  I think the libtool test already
43052   # does some of this, but throws away the result.
43053   glibcxx_ld_is_gold=no
43054   if test x"$with_gnu_ld" = x"yes"; then
43055     echo "$as_me:$LINENO: checking for ld version" >&5
43056 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43057
43058     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43059       glibcxx_ld_is_gold=yes
43060     fi
43061     ldver=`$LD --version 2>/dev/null | head -1 | \
43062            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43063
43064     glibcxx_gnu_ld_version=`echo $ldver | \
43065            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43066     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43067 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43068   fi
43069
43070   # Set --gc-sections.
43071   glibcxx_have_gc_sections=no
43072   if test "$glibcxx_ld_is_gold" = "yes"; then
43073     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43074       glibcxx_have_gc_sections=yes
43075     fi
43076   else
43077     glibcxx_gcsections_min_ld=21602
43078     if test x"$with_gnu_ld" = x"yes" &&
43079         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43080       glibcxx_have_gc_sections=yes
43081     fi
43082   fi
43083   if test "$glibcxx_have_gc_sections" = "yes"; then
43084     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43085     # NB: This flag only works reliably after 2.16.1. Configure tests
43086     # for this are difficult, so hard wire a value that should work.
43087
43088     ac_test_CFLAGS="${CFLAGS+set}"
43089     ac_save_CFLAGS="$CFLAGS"
43090     CFLAGS='-Wl,--gc-sections'
43091
43092     # Check for -Wl,--gc-sections
43093     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43094 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43095     if test x$gcc_no_link = xyes; then
43096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43098    { (exit 1); exit 1; }; }
43099 fi
43100 cat >conftest.$ac_ext <<_ACEOF
43101 /* confdefs.h.  */
43102 _ACEOF
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h.  */
43106  int one(void) { return 1; }
43107      int two(void) { return 2; }
43108
43109 int
43110 main ()
43111 {
43112  two();
43113   ;
43114   return 0;
43115 }
43116 _ACEOF
43117 rm -f conftest.$ac_objext conftest$ac_exeext
43118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43119   (eval $ac_link) 2>conftest.er1
43120   ac_status=$?
43121   grep -v '^ *+' conftest.er1 >conftest.err
43122   rm -f conftest.er1
43123   cat conftest.err >&5
43124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125   (exit $ac_status); } &&
43126          { ac_try='test -z "$ac_c_werror_flag"
43127                          || test ! -s conftest.err'
43128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43129   (eval $ac_try) 2>&5
43130   ac_status=$?
43131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132   (exit $ac_status); }; } &&
43133          { ac_try='test -s conftest$ac_exeext'
43134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43135   (eval $ac_try) 2>&5
43136   ac_status=$?
43137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138   (exit $ac_status); }; }; then
43139   ac_gcsections=yes
43140 else
43141   echo "$as_me: failed program was:" >&5
43142 sed 's/^/| /' conftest.$ac_ext >&5
43143
43144 ac_gcsections=no
43145 fi
43146 rm -f conftest.err conftest.$ac_objext \
43147       conftest$ac_exeext conftest.$ac_ext
43148     if test "$ac_gcsections" = "yes"; then
43149       rm -f conftest.c
43150       touch conftest.c
43151       if $CC -c conftest.c; then
43152         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43153            grep "Warning: gc-sections option ignored" > /dev/null; then
43154           ac_gcsections=no
43155         fi
43156       fi
43157       rm -f conftest.c conftest.o conftest
43158     fi
43159     if test "$ac_gcsections" = "yes"; then
43160       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43161     fi
43162     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43163 echo "${ECHO_T}$ac_gcsections" >&6
43164
43165     if test "$ac_test_CFLAGS" = set; then
43166       CFLAGS="$ac_save_CFLAGS"
43167     else
43168       # this is the suspicious part
43169       CFLAGS=''
43170     fi
43171   fi
43172
43173   # Set -z,relro.
43174   # Note this is only for shared objects.
43175   ac_ld_relro=no
43176   if test x"$with_gnu_ld" = x"yes"; then
43177     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43178 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43179     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43180     if test -n "$cxx_z_relo"; then
43181       OPT_LDFLAGS="-Wl,-z,relro"
43182       ac_ld_relro=yes
43183     fi
43184     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43185 echo "${ECHO_T}$ac_ld_relro" >&6
43186   fi
43187
43188   # Set linker optimization flags.
43189   if test x"$with_gnu_ld" = x"yes"; then
43190     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43191   fi
43192
43193
43194
43195
43196
43197   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43198   ac_save_CXXFLAGS="$CXXFLAGS"
43199   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43200
43201     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43202 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43203 if test "${ac_cv_lib_m_sin+set}" = set; then
43204   echo $ECHO_N "(cached) $ECHO_C" >&6
43205 else
43206   ac_check_lib_save_LIBS=$LIBS
43207 LIBS="-lm  $LIBS"
43208 if test x$gcc_no_link = xyes; then
43209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43211    { (exit 1); exit 1; }; }
43212 fi
43213 cat >conftest.$ac_ext <<_ACEOF
43214 /* confdefs.h.  */
43215 _ACEOF
43216 cat confdefs.h >>conftest.$ac_ext
43217 cat >>conftest.$ac_ext <<_ACEOF
43218 /* end confdefs.h.  */
43219
43220 /* Override any gcc2 internal prototype to avoid an error.  */
43221 #ifdef __cplusplus
43222 extern "C"
43223 #endif
43224 /* We use char because int might match the return type of a gcc2
43225    builtin and then its argument prototype would still apply.  */
43226 char sin ();
43227 int
43228 main ()
43229 {
43230 sin ();
43231   ;
43232   return 0;
43233 }
43234 _ACEOF
43235 rm -f conftest.$ac_objext conftest$ac_exeext
43236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43237   (eval $ac_link) 2>conftest.er1
43238   ac_status=$?
43239   grep -v '^ *+' conftest.er1 >conftest.err
43240   rm -f conftest.er1
43241   cat conftest.err >&5
43242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243   (exit $ac_status); } &&
43244          { ac_try='test -z "$ac_c_werror_flag"
43245                          || test ! -s conftest.err'
43246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247   (eval $ac_try) 2>&5
43248   ac_status=$?
43249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250   (exit $ac_status); }; } &&
43251          { ac_try='test -s conftest$ac_exeext'
43252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43253   (eval $ac_try) 2>&5
43254   ac_status=$?
43255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43256   (exit $ac_status); }; }; then
43257   ac_cv_lib_m_sin=yes
43258 else
43259   echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43261
43262 ac_cv_lib_m_sin=no
43263 fi
43264 rm -f conftest.err conftest.$ac_objext \
43265       conftest$ac_exeext conftest.$ac_ext
43266 LIBS=$ac_check_lib_save_LIBS
43267 fi
43268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43269 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43270 if test $ac_cv_lib_m_sin = yes; then
43271   libm="-lm"
43272 fi
43273
43274   ac_save_LIBS="$LIBS"
43275   LIBS="$LIBS $libm"
43276
43277
43278
43279   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43280 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43281   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43282     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43283   echo $ECHO_N "(cached) $ECHO_C" >&6
43284 else
43285
43286
43287
43288       ac_ext=cc
43289 ac_cpp='$CXXCPP $CPPFLAGS'
43290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43293
43294       cat >conftest.$ac_ext <<_ACEOF
43295 /* confdefs.h.  */
43296 _ACEOF
43297 cat confdefs.h >>conftest.$ac_ext
43298 cat >>conftest.$ac_ext <<_ACEOF
43299 /* end confdefs.h.  */
43300 #include <math.h>
43301                       #ifdef HAVE_IEEEFP_H
43302                       #include <ieeefp.h>
43303                       #endif
43304
43305 int
43306 main ()
43307 {
43308  isinf(0);
43309   ;
43310   return 0;
43311 }
43312 _ACEOF
43313 rm -f conftest.$ac_objext
43314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43315   (eval $ac_compile) 2>conftest.er1
43316   ac_status=$?
43317   grep -v '^ *+' conftest.er1 >conftest.err
43318   rm -f conftest.er1
43319   cat conftest.err >&5
43320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321   (exit $ac_status); } &&
43322          { ac_try='test -z "$ac_cxx_werror_flag"
43323                          || test ! -s conftest.err'
43324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43325   (eval $ac_try) 2>&5
43326   ac_status=$?
43327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43328   (exit $ac_status); }; } &&
43329          { ac_try='test -s conftest.$ac_objext'
43330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43331   (eval $ac_try) 2>&5
43332   ac_status=$?
43333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334   (exit $ac_status); }; }; then
43335   glibcxx_cv_func_isinf_use=yes
43336 else
43337   echo "$as_me: failed program was:" >&5
43338 sed 's/^/| /' conftest.$ac_ext >&5
43339
43340 glibcxx_cv_func_isinf_use=no
43341 fi
43342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43343       ac_ext=c
43344 ac_cpp='$CPP $CPPFLAGS'
43345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43348
43349
43350 fi
43351
43352   fi
43353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43354 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43355
43356   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43357
43358 for ac_func in isinf
43359 do
43360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43361 echo "$as_me:$LINENO: checking for $ac_func" >&5
43362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43363 if eval "test \"\${$as_ac_var+set}\" = set"; then
43364   echo $ECHO_N "(cached) $ECHO_C" >&6
43365 else
43366   if test x$gcc_no_link = xyes; then
43367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43369    { (exit 1); exit 1; }; }
43370 fi
43371 cat >conftest.$ac_ext <<_ACEOF
43372 /* confdefs.h.  */
43373 _ACEOF
43374 cat confdefs.h >>conftest.$ac_ext
43375 cat >>conftest.$ac_ext <<_ACEOF
43376 /* end confdefs.h.  */
43377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43378    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43379 #define $ac_func innocuous_$ac_func
43380
43381 /* System header to define __stub macros and hopefully few prototypes,
43382     which can conflict with char $ac_func (); below.
43383     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43384     <limits.h> exists even on freestanding compilers.  */
43385
43386 #ifdef __STDC__
43387 # include <limits.h>
43388 #else
43389 # include <assert.h>
43390 #endif
43391
43392 #undef $ac_func
43393
43394 /* Override any gcc2 internal prototype to avoid an error.  */
43395 #ifdef __cplusplus
43396 extern "C"
43397 {
43398 #endif
43399 /* We use char because int might match the return type of a gcc2
43400    builtin and then its argument prototype would still apply.  */
43401 char $ac_func ();
43402 /* The GNU C library defines this for functions which it implements
43403     to always fail with ENOSYS.  Some functions are actually named
43404     something starting with __ and the normal name is an alias.  */
43405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43406 choke me
43407 #else
43408 char (*f) () = $ac_func;
43409 #endif
43410 #ifdef __cplusplus
43411 }
43412 #endif
43413
43414 int
43415 main ()
43416 {
43417 return f != $ac_func;
43418   ;
43419   return 0;
43420 }
43421 _ACEOF
43422 rm -f conftest.$ac_objext conftest$ac_exeext
43423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43424   (eval $ac_link) 2>conftest.er1
43425   ac_status=$?
43426   grep -v '^ *+' conftest.er1 >conftest.err
43427   rm -f conftest.er1
43428   cat conftest.err >&5
43429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430   (exit $ac_status); } &&
43431          { ac_try='test -z "$ac_c_werror_flag"
43432                          || test ! -s conftest.err'
43433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43434   (eval $ac_try) 2>&5
43435   ac_status=$?
43436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437   (exit $ac_status); }; } &&
43438          { ac_try='test -s conftest$ac_exeext'
43439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440   (eval $ac_try) 2>&5
43441   ac_status=$?
43442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443   (exit $ac_status); }; }; then
43444   eval "$as_ac_var=yes"
43445 else
43446   echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43448
43449 eval "$as_ac_var=no"
43450 fi
43451 rm -f conftest.err conftest.$ac_objext \
43452       conftest$ac_exeext conftest.$ac_ext
43453 fi
43454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43456 if test `eval echo '${'$as_ac_var'}'` = yes; then
43457   cat >>confdefs.h <<_ACEOF
43458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43459 _ACEOF
43460
43461 fi
43462 done
43463
43464   else
43465
43466   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43467 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43468   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43469     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43470   echo $ECHO_N "(cached) $ECHO_C" >&6
43471 else
43472
43473
43474
43475       ac_ext=cc
43476 ac_cpp='$CXXCPP $CPPFLAGS'
43477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43480
43481       cat >conftest.$ac_ext <<_ACEOF
43482 /* confdefs.h.  */
43483 _ACEOF
43484 cat confdefs.h >>conftest.$ac_ext
43485 cat >>conftest.$ac_ext <<_ACEOF
43486 /* end confdefs.h.  */
43487 #include <math.h>
43488                       #ifdef HAVE_IEEEFP_H
43489                       #include <ieeefp.h>
43490                       #endif
43491
43492 int
43493 main ()
43494 {
43495  _isinf(0);
43496   ;
43497   return 0;
43498 }
43499 _ACEOF
43500 rm -f conftest.$ac_objext
43501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43502   (eval $ac_compile) 2>conftest.er1
43503   ac_status=$?
43504   grep -v '^ *+' conftest.er1 >conftest.err
43505   rm -f conftest.er1
43506   cat conftest.err >&5
43507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508   (exit $ac_status); } &&
43509          { ac_try='test -z "$ac_cxx_werror_flag"
43510                          || test ! -s conftest.err'
43511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43512   (eval $ac_try) 2>&5
43513   ac_status=$?
43514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43515   (exit $ac_status); }; } &&
43516          { ac_try='test -s conftest.$ac_objext'
43517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43518   (eval $ac_try) 2>&5
43519   ac_status=$?
43520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521   (exit $ac_status); }; }; then
43522   glibcxx_cv_func__isinf_use=yes
43523 else
43524   echo "$as_me: failed program was:" >&5
43525 sed 's/^/| /' conftest.$ac_ext >&5
43526
43527 glibcxx_cv_func__isinf_use=no
43528 fi
43529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43530       ac_ext=c
43531 ac_cpp='$CPP $CPPFLAGS'
43532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43535
43536
43537 fi
43538
43539   fi
43540   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43541 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43542
43543     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43544
43545 for ac_func in _isinf
43546 do
43547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43548 echo "$as_me:$LINENO: checking for $ac_func" >&5
43549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43550 if eval "test \"\${$as_ac_var+set}\" = set"; then
43551   echo $ECHO_N "(cached) $ECHO_C" >&6
43552 else
43553   if test x$gcc_no_link = xyes; then
43554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43556    { (exit 1); exit 1; }; }
43557 fi
43558 cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h.  */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h.  */
43564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43566 #define $ac_func innocuous_$ac_func
43567
43568 /* System header to define __stub macros and hopefully few prototypes,
43569     which can conflict with char $ac_func (); below.
43570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43571     <limits.h> exists even on freestanding compilers.  */
43572
43573 #ifdef __STDC__
43574 # include <limits.h>
43575 #else
43576 # include <assert.h>
43577 #endif
43578
43579 #undef $ac_func
43580
43581 /* Override any gcc2 internal prototype to avoid an error.  */
43582 #ifdef __cplusplus
43583 extern "C"
43584 {
43585 #endif
43586 /* We use char because int might match the return type of a gcc2
43587    builtin and then its argument prototype would still apply.  */
43588 char $ac_func ();
43589 /* The GNU C library defines this for functions which it implements
43590     to always fail with ENOSYS.  Some functions are actually named
43591     something starting with __ and the normal name is an alias.  */
43592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43593 choke me
43594 #else
43595 char (*f) () = $ac_func;
43596 #endif
43597 #ifdef __cplusplus
43598 }
43599 #endif
43600
43601 int
43602 main ()
43603 {
43604 return f != $ac_func;
43605   ;
43606   return 0;
43607 }
43608 _ACEOF
43609 rm -f conftest.$ac_objext conftest$ac_exeext
43610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43611   (eval $ac_link) 2>conftest.er1
43612   ac_status=$?
43613   grep -v '^ *+' conftest.er1 >conftest.err
43614   rm -f conftest.er1
43615   cat conftest.err >&5
43616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43617   (exit $ac_status); } &&
43618          { ac_try='test -z "$ac_c_werror_flag"
43619                          || test ! -s conftest.err'
43620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621   (eval $ac_try) 2>&5
43622   ac_status=$?
43623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624   (exit $ac_status); }; } &&
43625          { ac_try='test -s conftest$ac_exeext'
43626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43627   (eval $ac_try) 2>&5
43628   ac_status=$?
43629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630   (exit $ac_status); }; }; then
43631   eval "$as_ac_var=yes"
43632 else
43633   echo "$as_me: failed program was:" >&5
43634 sed 's/^/| /' conftest.$ac_ext >&5
43635
43636 eval "$as_ac_var=no"
43637 fi
43638 rm -f conftest.err conftest.$ac_objext \
43639       conftest$ac_exeext conftest.$ac_ext
43640 fi
43641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43643 if test `eval echo '${'$as_ac_var'}'` = yes; then
43644   cat >>confdefs.h <<_ACEOF
43645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43646 _ACEOF
43647
43648 fi
43649 done
43650
43651     fi
43652   fi
43653
43654
43655
43656
43657
43658
43659   echo "$as_me:$LINENO: checking for isnan declaration" >&5
43660 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43661   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43662     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43663   echo $ECHO_N "(cached) $ECHO_C" >&6
43664 else
43665
43666
43667
43668       ac_ext=cc
43669 ac_cpp='$CXXCPP $CPPFLAGS'
43670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43673
43674       cat >conftest.$ac_ext <<_ACEOF
43675 /* confdefs.h.  */
43676 _ACEOF
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h.  */
43680 #include <math.h>
43681                       #ifdef HAVE_IEEEFP_H
43682                       #include <ieeefp.h>
43683                       #endif
43684
43685 int
43686 main ()
43687 {
43688  isnan(0);
43689   ;
43690   return 0;
43691 }
43692 _ACEOF
43693 rm -f conftest.$ac_objext
43694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43695   (eval $ac_compile) 2>conftest.er1
43696   ac_status=$?
43697   grep -v '^ *+' conftest.er1 >conftest.err
43698   rm -f conftest.er1
43699   cat conftest.err >&5
43700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43701   (exit $ac_status); } &&
43702          { ac_try='test -z "$ac_cxx_werror_flag"
43703                          || test ! -s conftest.err'
43704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43705   (eval $ac_try) 2>&5
43706   ac_status=$?
43707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43708   (exit $ac_status); }; } &&
43709          { ac_try='test -s conftest.$ac_objext'
43710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43711   (eval $ac_try) 2>&5
43712   ac_status=$?
43713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714   (exit $ac_status); }; }; then
43715   glibcxx_cv_func_isnan_use=yes
43716 else
43717   echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720 glibcxx_cv_func_isnan_use=no
43721 fi
43722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43723       ac_ext=c
43724 ac_cpp='$CPP $CPPFLAGS'
43725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43728
43729
43730 fi
43731
43732   fi
43733   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43734 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43735
43736   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43737
43738 for ac_func in isnan
43739 do
43740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43741 echo "$as_me:$LINENO: checking for $ac_func" >&5
43742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43743 if eval "test \"\${$as_ac_var+set}\" = set"; then
43744   echo $ECHO_N "(cached) $ECHO_C" >&6
43745 else
43746   if test x$gcc_no_link = xyes; then
43747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43749    { (exit 1); exit 1; }; }
43750 fi
43751 cat >conftest.$ac_ext <<_ACEOF
43752 /* confdefs.h.  */
43753 _ACEOF
43754 cat confdefs.h >>conftest.$ac_ext
43755 cat >>conftest.$ac_ext <<_ACEOF
43756 /* end confdefs.h.  */
43757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43759 #define $ac_func innocuous_$ac_func
43760
43761 /* System header to define __stub macros and hopefully few prototypes,
43762     which can conflict with char $ac_func (); below.
43763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43764     <limits.h> exists even on freestanding compilers.  */
43765
43766 #ifdef __STDC__
43767 # include <limits.h>
43768 #else
43769 # include <assert.h>
43770 #endif
43771
43772 #undef $ac_func
43773
43774 /* Override any gcc2 internal prototype to avoid an error.  */
43775 #ifdef __cplusplus
43776 extern "C"
43777 {
43778 #endif
43779 /* We use char because int might match the return type of a gcc2
43780    builtin and then its argument prototype would still apply.  */
43781 char $ac_func ();
43782 /* The GNU C library defines this for functions which it implements
43783     to always fail with ENOSYS.  Some functions are actually named
43784     something starting with __ and the normal name is an alias.  */
43785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43786 choke me
43787 #else
43788 char (*f) () = $ac_func;
43789 #endif
43790 #ifdef __cplusplus
43791 }
43792 #endif
43793
43794 int
43795 main ()
43796 {
43797 return f != $ac_func;
43798   ;
43799   return 0;
43800 }
43801 _ACEOF
43802 rm -f conftest.$ac_objext conftest$ac_exeext
43803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43804   (eval $ac_link) 2>conftest.er1
43805   ac_status=$?
43806   grep -v '^ *+' conftest.er1 >conftest.err
43807   rm -f conftest.er1
43808   cat conftest.err >&5
43809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810   (exit $ac_status); } &&
43811          { ac_try='test -z "$ac_c_werror_flag"
43812                          || test ! -s conftest.err'
43813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43814   (eval $ac_try) 2>&5
43815   ac_status=$?
43816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817   (exit $ac_status); }; } &&
43818          { ac_try='test -s conftest$ac_exeext'
43819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43820   (eval $ac_try) 2>&5
43821   ac_status=$?
43822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823   (exit $ac_status); }; }; then
43824   eval "$as_ac_var=yes"
43825 else
43826   echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43828
43829 eval "$as_ac_var=no"
43830 fi
43831 rm -f conftest.err conftest.$ac_objext \
43832       conftest$ac_exeext conftest.$ac_ext
43833 fi
43834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43836 if test `eval echo '${'$as_ac_var'}'` = yes; then
43837   cat >>confdefs.h <<_ACEOF
43838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43839 _ACEOF
43840
43841 fi
43842 done
43843
43844   else
43845
43846   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43847 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43848   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43849     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43850   echo $ECHO_N "(cached) $ECHO_C" >&6
43851 else
43852
43853
43854
43855       ac_ext=cc
43856 ac_cpp='$CXXCPP $CPPFLAGS'
43857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43860
43861       cat >conftest.$ac_ext <<_ACEOF
43862 /* confdefs.h.  */
43863 _ACEOF
43864 cat confdefs.h >>conftest.$ac_ext
43865 cat >>conftest.$ac_ext <<_ACEOF
43866 /* end confdefs.h.  */
43867 #include <math.h>
43868                       #ifdef HAVE_IEEEFP_H
43869                       #include <ieeefp.h>
43870                       #endif
43871
43872 int
43873 main ()
43874 {
43875  _isnan(0);
43876   ;
43877   return 0;
43878 }
43879 _ACEOF
43880 rm -f conftest.$ac_objext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43882   (eval $ac_compile) 2>conftest.er1
43883   ac_status=$?
43884   grep -v '^ *+' conftest.er1 >conftest.err
43885   rm -f conftest.er1
43886   cat conftest.err >&5
43887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888   (exit $ac_status); } &&
43889          { ac_try='test -z "$ac_cxx_werror_flag"
43890                          || test ! -s conftest.err'
43891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43892   (eval $ac_try) 2>&5
43893   ac_status=$?
43894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895   (exit $ac_status); }; } &&
43896          { ac_try='test -s conftest.$ac_objext'
43897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43898   (eval $ac_try) 2>&5
43899   ac_status=$?
43900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901   (exit $ac_status); }; }; then
43902   glibcxx_cv_func__isnan_use=yes
43903 else
43904   echo "$as_me: failed program was:" >&5
43905 sed 's/^/| /' conftest.$ac_ext >&5
43906
43907 glibcxx_cv_func__isnan_use=no
43908 fi
43909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43910       ac_ext=c
43911 ac_cpp='$CPP $CPPFLAGS'
43912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915
43916
43917 fi
43918
43919   fi
43920   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43921 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43922
43923     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43924
43925 for ac_func in _isnan
43926 do
43927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43928 echo "$as_me:$LINENO: checking for $ac_func" >&5
43929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43930 if eval "test \"\${$as_ac_var+set}\" = set"; then
43931   echo $ECHO_N "(cached) $ECHO_C" >&6
43932 else
43933   if test x$gcc_no_link = xyes; then
43934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43936    { (exit 1); exit 1; }; }
43937 fi
43938 cat >conftest.$ac_ext <<_ACEOF
43939 /* confdefs.h.  */
43940 _ACEOF
43941 cat confdefs.h >>conftest.$ac_ext
43942 cat >>conftest.$ac_ext <<_ACEOF
43943 /* end confdefs.h.  */
43944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43946 #define $ac_func innocuous_$ac_func
43947
43948 /* System header to define __stub macros and hopefully few prototypes,
43949     which can conflict with char $ac_func (); below.
43950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43951     <limits.h> exists even on freestanding compilers.  */
43952
43953 #ifdef __STDC__
43954 # include <limits.h>
43955 #else
43956 # include <assert.h>
43957 #endif
43958
43959 #undef $ac_func
43960
43961 /* Override any gcc2 internal prototype to avoid an error.  */
43962 #ifdef __cplusplus
43963 extern "C"
43964 {
43965 #endif
43966 /* We use char because int might match the return type of a gcc2
43967    builtin and then its argument prototype would still apply.  */
43968 char $ac_func ();
43969 /* The GNU C library defines this for functions which it implements
43970     to always fail with ENOSYS.  Some functions are actually named
43971     something starting with __ and the normal name is an alias.  */
43972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43973 choke me
43974 #else
43975 char (*f) () = $ac_func;
43976 #endif
43977 #ifdef __cplusplus
43978 }
43979 #endif
43980
43981 int
43982 main ()
43983 {
43984 return f != $ac_func;
43985   ;
43986   return 0;
43987 }
43988 _ACEOF
43989 rm -f conftest.$ac_objext conftest$ac_exeext
43990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43991   (eval $ac_link) 2>conftest.er1
43992   ac_status=$?
43993   grep -v '^ *+' conftest.er1 >conftest.err
43994   rm -f conftest.er1
43995   cat conftest.err >&5
43996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997   (exit $ac_status); } &&
43998          { ac_try='test -z "$ac_c_werror_flag"
43999                          || test ! -s conftest.err'
44000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44001   (eval $ac_try) 2>&5
44002   ac_status=$?
44003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004   (exit $ac_status); }; } &&
44005          { ac_try='test -s conftest$ac_exeext'
44006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44007   (eval $ac_try) 2>&5
44008   ac_status=$?
44009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010   (exit $ac_status); }; }; then
44011   eval "$as_ac_var=yes"
44012 else
44013   echo "$as_me: failed program was:" >&5
44014 sed 's/^/| /' conftest.$ac_ext >&5
44015
44016 eval "$as_ac_var=no"
44017 fi
44018 rm -f conftest.err conftest.$ac_objext \
44019       conftest$ac_exeext conftest.$ac_ext
44020 fi
44021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44023 if test `eval echo '${'$as_ac_var'}'` = yes; then
44024   cat >>confdefs.h <<_ACEOF
44025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44026 _ACEOF
44027
44028 fi
44029 done
44030
44031     fi
44032   fi
44033
44034
44035
44036
44037
44038
44039   echo "$as_me:$LINENO: checking for finite declaration" >&5
44040 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44041   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44042     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44043   echo $ECHO_N "(cached) $ECHO_C" >&6
44044 else
44045
44046
44047
44048       ac_ext=cc
44049 ac_cpp='$CXXCPP $CPPFLAGS'
44050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44053
44054       cat >conftest.$ac_ext <<_ACEOF
44055 /* confdefs.h.  */
44056 _ACEOF
44057 cat confdefs.h >>conftest.$ac_ext
44058 cat >>conftest.$ac_ext <<_ACEOF
44059 /* end confdefs.h.  */
44060 #include <math.h>
44061                       #ifdef HAVE_IEEEFP_H
44062                       #include <ieeefp.h>
44063                       #endif
44064
44065 int
44066 main ()
44067 {
44068  finite(0);
44069   ;
44070   return 0;
44071 }
44072 _ACEOF
44073 rm -f conftest.$ac_objext
44074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44075   (eval $ac_compile) 2>conftest.er1
44076   ac_status=$?
44077   grep -v '^ *+' conftest.er1 >conftest.err
44078   rm -f conftest.er1
44079   cat conftest.err >&5
44080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44081   (exit $ac_status); } &&
44082          { ac_try='test -z "$ac_cxx_werror_flag"
44083                          || test ! -s conftest.err'
44084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44085   (eval $ac_try) 2>&5
44086   ac_status=$?
44087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088   (exit $ac_status); }; } &&
44089          { ac_try='test -s conftest.$ac_objext'
44090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091   (eval $ac_try) 2>&5
44092   ac_status=$?
44093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094   (exit $ac_status); }; }; then
44095   glibcxx_cv_func_finite_use=yes
44096 else
44097   echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44099
44100 glibcxx_cv_func_finite_use=no
44101 fi
44102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44103       ac_ext=c
44104 ac_cpp='$CPP $CPPFLAGS'
44105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44108
44109
44110 fi
44111
44112   fi
44113   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44114 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44115
44116   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44117
44118 for ac_func in finite
44119 do
44120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44121 echo "$as_me:$LINENO: checking for $ac_func" >&5
44122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44123 if eval "test \"\${$as_ac_var+set}\" = set"; then
44124   echo $ECHO_N "(cached) $ECHO_C" >&6
44125 else
44126   if test x$gcc_no_link = xyes; then
44127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44129    { (exit 1); exit 1; }; }
44130 fi
44131 cat >conftest.$ac_ext <<_ACEOF
44132 /* confdefs.h.  */
44133 _ACEOF
44134 cat confdefs.h >>conftest.$ac_ext
44135 cat >>conftest.$ac_ext <<_ACEOF
44136 /* end confdefs.h.  */
44137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44139 #define $ac_func innocuous_$ac_func
44140
44141 /* System header to define __stub macros and hopefully few prototypes,
44142     which can conflict with char $ac_func (); below.
44143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44144     <limits.h> exists even on freestanding compilers.  */
44145
44146 #ifdef __STDC__
44147 # include <limits.h>
44148 #else
44149 # include <assert.h>
44150 #endif
44151
44152 #undef $ac_func
44153
44154 /* Override any gcc2 internal prototype to avoid an error.  */
44155 #ifdef __cplusplus
44156 extern "C"
44157 {
44158 #endif
44159 /* We use char because int might match the return type of a gcc2
44160    builtin and then its argument prototype would still apply.  */
44161 char $ac_func ();
44162 /* The GNU C library defines this for functions which it implements
44163     to always fail with ENOSYS.  Some functions are actually named
44164     something starting with __ and the normal name is an alias.  */
44165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44166 choke me
44167 #else
44168 char (*f) () = $ac_func;
44169 #endif
44170 #ifdef __cplusplus
44171 }
44172 #endif
44173
44174 int
44175 main ()
44176 {
44177 return f != $ac_func;
44178   ;
44179   return 0;
44180 }
44181 _ACEOF
44182 rm -f conftest.$ac_objext conftest$ac_exeext
44183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44184   (eval $ac_link) 2>conftest.er1
44185   ac_status=$?
44186   grep -v '^ *+' conftest.er1 >conftest.err
44187   rm -f conftest.er1
44188   cat conftest.err >&5
44189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190   (exit $ac_status); } &&
44191          { ac_try='test -z "$ac_c_werror_flag"
44192                          || test ! -s conftest.err'
44193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44194   (eval $ac_try) 2>&5
44195   ac_status=$?
44196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197   (exit $ac_status); }; } &&
44198          { ac_try='test -s conftest$ac_exeext'
44199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44200   (eval $ac_try) 2>&5
44201   ac_status=$?
44202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44203   (exit $ac_status); }; }; then
44204   eval "$as_ac_var=yes"
44205 else
44206   echo "$as_me: failed program was:" >&5
44207 sed 's/^/| /' conftest.$ac_ext >&5
44208
44209 eval "$as_ac_var=no"
44210 fi
44211 rm -f conftest.err conftest.$ac_objext \
44212       conftest$ac_exeext conftest.$ac_ext
44213 fi
44214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44216 if test `eval echo '${'$as_ac_var'}'` = yes; then
44217   cat >>confdefs.h <<_ACEOF
44218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44219 _ACEOF
44220
44221 fi
44222 done
44223
44224   else
44225
44226   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44227 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44228   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44229     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44230   echo $ECHO_N "(cached) $ECHO_C" >&6
44231 else
44232
44233
44234
44235       ac_ext=cc
44236 ac_cpp='$CXXCPP $CPPFLAGS'
44237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44240
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 #include <math.h>
44248                       #ifdef HAVE_IEEEFP_H
44249                       #include <ieeefp.h>
44250                       #endif
44251
44252 int
44253 main ()
44254 {
44255  _finite(0);
44256   ;
44257   return 0;
44258 }
44259 _ACEOF
44260 rm -f conftest.$ac_objext
44261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44262   (eval $ac_compile) 2>conftest.er1
44263   ac_status=$?
44264   grep -v '^ *+' conftest.er1 >conftest.err
44265   rm -f conftest.er1
44266   cat conftest.err >&5
44267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268   (exit $ac_status); } &&
44269          { ac_try='test -z "$ac_cxx_werror_flag"
44270                          || test ! -s conftest.err'
44271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44272   (eval $ac_try) 2>&5
44273   ac_status=$?
44274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275   (exit $ac_status); }; } &&
44276          { ac_try='test -s conftest.$ac_objext'
44277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44278   (eval $ac_try) 2>&5
44279   ac_status=$?
44280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281   (exit $ac_status); }; }; then
44282   glibcxx_cv_func__finite_use=yes
44283 else
44284   echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.$ac_ext >&5
44286
44287 glibcxx_cv_func__finite_use=no
44288 fi
44289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44290       ac_ext=c
44291 ac_cpp='$CPP $CPPFLAGS'
44292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44295
44296
44297 fi
44298
44299   fi
44300   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44301 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44302
44303     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44304
44305 for ac_func in _finite
44306 do
44307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44308 echo "$as_me:$LINENO: checking for $ac_func" >&5
44309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44310 if eval "test \"\${$as_ac_var+set}\" = set"; then
44311   echo $ECHO_N "(cached) $ECHO_C" >&6
44312 else
44313   if test x$gcc_no_link = xyes; then
44314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44316    { (exit 1); exit 1; }; }
44317 fi
44318 cat >conftest.$ac_ext <<_ACEOF
44319 /* confdefs.h.  */
44320 _ACEOF
44321 cat confdefs.h >>conftest.$ac_ext
44322 cat >>conftest.$ac_ext <<_ACEOF
44323 /* end confdefs.h.  */
44324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44325    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44326 #define $ac_func innocuous_$ac_func
44327
44328 /* System header to define __stub macros and hopefully few prototypes,
44329     which can conflict with char $ac_func (); below.
44330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44331     <limits.h> exists even on freestanding compilers.  */
44332
44333 #ifdef __STDC__
44334 # include <limits.h>
44335 #else
44336 # include <assert.h>
44337 #endif
44338
44339 #undef $ac_func
44340
44341 /* Override any gcc2 internal prototype to avoid an error.  */
44342 #ifdef __cplusplus
44343 extern "C"
44344 {
44345 #endif
44346 /* We use char because int might match the return type of a gcc2
44347    builtin and then its argument prototype would still apply.  */
44348 char $ac_func ();
44349 /* The GNU C library defines this for functions which it implements
44350     to always fail with ENOSYS.  Some functions are actually named
44351     something starting with __ and the normal name is an alias.  */
44352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44353 choke me
44354 #else
44355 char (*f) () = $ac_func;
44356 #endif
44357 #ifdef __cplusplus
44358 }
44359 #endif
44360
44361 int
44362 main ()
44363 {
44364 return f != $ac_func;
44365   ;
44366   return 0;
44367 }
44368 _ACEOF
44369 rm -f conftest.$ac_objext conftest$ac_exeext
44370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44371   (eval $ac_link) 2>conftest.er1
44372   ac_status=$?
44373   grep -v '^ *+' conftest.er1 >conftest.err
44374   rm -f conftest.er1
44375   cat conftest.err >&5
44376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44377   (exit $ac_status); } &&
44378          { ac_try='test -z "$ac_c_werror_flag"
44379                          || test ! -s conftest.err'
44380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381   (eval $ac_try) 2>&5
44382   ac_status=$?
44383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384   (exit $ac_status); }; } &&
44385          { ac_try='test -s conftest$ac_exeext'
44386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44387   (eval $ac_try) 2>&5
44388   ac_status=$?
44389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390   (exit $ac_status); }; }; then
44391   eval "$as_ac_var=yes"
44392 else
44393   echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44395
44396 eval "$as_ac_var=no"
44397 fi
44398 rm -f conftest.err conftest.$ac_objext \
44399       conftest$ac_exeext conftest.$ac_ext
44400 fi
44401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44403 if test `eval echo '${'$as_ac_var'}'` = yes; then
44404   cat >>confdefs.h <<_ACEOF
44405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44406 _ACEOF
44407
44408 fi
44409 done
44410
44411     fi
44412   fi
44413
44414
44415
44416
44417
44418
44419   echo "$as_me:$LINENO: checking for copysign declaration" >&5
44420 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44421   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44422     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44423   echo $ECHO_N "(cached) $ECHO_C" >&6
44424 else
44425
44426
44427
44428       ac_ext=cc
44429 ac_cpp='$CXXCPP $CPPFLAGS'
44430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44433
44434       cat >conftest.$ac_ext <<_ACEOF
44435 /* confdefs.h.  */
44436 _ACEOF
44437 cat confdefs.h >>conftest.$ac_ext
44438 cat >>conftest.$ac_ext <<_ACEOF
44439 /* end confdefs.h.  */
44440 #include <math.h>
44441 int
44442 main ()
44443 {
44444  copysign(0, 0);
44445   ;
44446   return 0;
44447 }
44448 _ACEOF
44449 rm -f conftest.$ac_objext
44450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44451   (eval $ac_compile) 2>conftest.er1
44452   ac_status=$?
44453   grep -v '^ *+' conftest.er1 >conftest.err
44454   rm -f conftest.er1
44455   cat conftest.err >&5
44456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44457   (exit $ac_status); } &&
44458          { ac_try='test -z "$ac_cxx_werror_flag"
44459                          || test ! -s conftest.err'
44460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44461   (eval $ac_try) 2>&5
44462   ac_status=$?
44463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464   (exit $ac_status); }; } &&
44465          { ac_try='test -s conftest.$ac_objext'
44466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467   (eval $ac_try) 2>&5
44468   ac_status=$?
44469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470   (exit $ac_status); }; }; then
44471   glibcxx_cv_func_copysign_use=yes
44472 else
44473   echo "$as_me: failed program was:" >&5
44474 sed 's/^/| /' conftest.$ac_ext >&5
44475
44476 glibcxx_cv_func_copysign_use=no
44477 fi
44478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44479       ac_ext=c
44480 ac_cpp='$CPP $CPPFLAGS'
44481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44484
44485
44486 fi
44487
44488   fi
44489   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44490 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44491
44492   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44493
44494 for ac_func in copysign
44495 do
44496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44497 echo "$as_me:$LINENO: checking for $ac_func" >&5
44498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44499 if eval "test \"\${$as_ac_var+set}\" = set"; then
44500   echo $ECHO_N "(cached) $ECHO_C" >&6
44501 else
44502   if test x$gcc_no_link = xyes; then
44503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44505    { (exit 1); exit 1; }; }
44506 fi
44507 cat >conftest.$ac_ext <<_ACEOF
44508 /* confdefs.h.  */
44509 _ACEOF
44510 cat confdefs.h >>conftest.$ac_ext
44511 cat >>conftest.$ac_ext <<_ACEOF
44512 /* end confdefs.h.  */
44513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44515 #define $ac_func innocuous_$ac_func
44516
44517 /* System header to define __stub macros and hopefully few prototypes,
44518     which can conflict with char $ac_func (); below.
44519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44520     <limits.h> exists even on freestanding compilers.  */
44521
44522 #ifdef __STDC__
44523 # include <limits.h>
44524 #else
44525 # include <assert.h>
44526 #endif
44527
44528 #undef $ac_func
44529
44530 /* Override any gcc2 internal prototype to avoid an error.  */
44531 #ifdef __cplusplus
44532 extern "C"
44533 {
44534 #endif
44535 /* We use char because int might match the return type of a gcc2
44536    builtin and then its argument prototype would still apply.  */
44537 char $ac_func ();
44538 /* The GNU C library defines this for functions which it implements
44539     to always fail with ENOSYS.  Some functions are actually named
44540     something starting with __ and the normal name is an alias.  */
44541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44542 choke me
44543 #else
44544 char (*f) () = $ac_func;
44545 #endif
44546 #ifdef __cplusplus
44547 }
44548 #endif
44549
44550 int
44551 main ()
44552 {
44553 return f != $ac_func;
44554   ;
44555   return 0;
44556 }
44557 _ACEOF
44558 rm -f conftest.$ac_objext conftest$ac_exeext
44559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44560   (eval $ac_link) 2>conftest.er1
44561   ac_status=$?
44562   grep -v '^ *+' conftest.er1 >conftest.err
44563   rm -f conftest.er1
44564   cat conftest.err >&5
44565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44566   (exit $ac_status); } &&
44567          { ac_try='test -z "$ac_c_werror_flag"
44568                          || test ! -s conftest.err'
44569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44570   (eval $ac_try) 2>&5
44571   ac_status=$?
44572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44573   (exit $ac_status); }; } &&
44574          { ac_try='test -s conftest$ac_exeext'
44575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44576   (eval $ac_try) 2>&5
44577   ac_status=$?
44578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579   (exit $ac_status); }; }; then
44580   eval "$as_ac_var=yes"
44581 else
44582   echo "$as_me: failed program was:" >&5
44583 sed 's/^/| /' conftest.$ac_ext >&5
44584
44585 eval "$as_ac_var=no"
44586 fi
44587 rm -f conftest.err conftest.$ac_objext \
44588       conftest$ac_exeext conftest.$ac_ext
44589 fi
44590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44592 if test `eval echo '${'$as_ac_var'}'` = yes; then
44593   cat >>confdefs.h <<_ACEOF
44594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44595 _ACEOF
44596
44597 fi
44598 done
44599
44600   else
44601
44602   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44603 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44604   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44605     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44606   echo $ECHO_N "(cached) $ECHO_C" >&6
44607 else
44608
44609
44610
44611       ac_ext=cc
44612 ac_cpp='$CXXCPP $CPPFLAGS'
44613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44616
44617       cat >conftest.$ac_ext <<_ACEOF
44618 /* confdefs.h.  */
44619 _ACEOF
44620 cat confdefs.h >>conftest.$ac_ext
44621 cat >>conftest.$ac_ext <<_ACEOF
44622 /* end confdefs.h.  */
44623 #include <math.h>
44624 int
44625 main ()
44626 {
44627  _copysign(0, 0);
44628   ;
44629   return 0;
44630 }
44631 _ACEOF
44632 rm -f conftest.$ac_objext
44633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44634   (eval $ac_compile) 2>conftest.er1
44635   ac_status=$?
44636   grep -v '^ *+' conftest.er1 >conftest.err
44637   rm -f conftest.er1
44638   cat conftest.err >&5
44639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640   (exit $ac_status); } &&
44641          { ac_try='test -z "$ac_cxx_werror_flag"
44642                          || test ! -s conftest.err'
44643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44644   (eval $ac_try) 2>&5
44645   ac_status=$?
44646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44647   (exit $ac_status); }; } &&
44648          { ac_try='test -s conftest.$ac_objext'
44649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44650   (eval $ac_try) 2>&5
44651   ac_status=$?
44652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44653   (exit $ac_status); }; }; then
44654   glibcxx_cv_func__copysign_use=yes
44655 else
44656   echo "$as_me: failed program was:" >&5
44657 sed 's/^/| /' conftest.$ac_ext >&5
44658
44659 glibcxx_cv_func__copysign_use=no
44660 fi
44661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44662       ac_ext=c
44663 ac_cpp='$CPP $CPPFLAGS'
44664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44667
44668
44669 fi
44670
44671   fi
44672   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44673 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44674
44675     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44676
44677 for ac_func in _copysign
44678 do
44679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44680 echo "$as_me:$LINENO: checking for $ac_func" >&5
44681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44682 if eval "test \"\${$as_ac_var+set}\" = set"; then
44683   echo $ECHO_N "(cached) $ECHO_C" >&6
44684 else
44685   if test x$gcc_no_link = xyes; then
44686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44688    { (exit 1); exit 1; }; }
44689 fi
44690 cat >conftest.$ac_ext <<_ACEOF
44691 /* confdefs.h.  */
44692 _ACEOF
44693 cat confdefs.h >>conftest.$ac_ext
44694 cat >>conftest.$ac_ext <<_ACEOF
44695 /* end confdefs.h.  */
44696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44698 #define $ac_func innocuous_$ac_func
44699
44700 /* System header to define __stub macros and hopefully few prototypes,
44701     which can conflict with char $ac_func (); below.
44702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44703     <limits.h> exists even on freestanding compilers.  */
44704
44705 #ifdef __STDC__
44706 # include <limits.h>
44707 #else
44708 # include <assert.h>
44709 #endif
44710
44711 #undef $ac_func
44712
44713 /* Override any gcc2 internal prototype to avoid an error.  */
44714 #ifdef __cplusplus
44715 extern "C"
44716 {
44717 #endif
44718 /* We use char because int might match the return type of a gcc2
44719    builtin and then its argument prototype would still apply.  */
44720 char $ac_func ();
44721 /* The GNU C library defines this for functions which it implements
44722     to always fail with ENOSYS.  Some functions are actually named
44723     something starting with __ and the normal name is an alias.  */
44724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44725 choke me
44726 #else
44727 char (*f) () = $ac_func;
44728 #endif
44729 #ifdef __cplusplus
44730 }
44731 #endif
44732
44733 int
44734 main ()
44735 {
44736 return f != $ac_func;
44737   ;
44738   return 0;
44739 }
44740 _ACEOF
44741 rm -f conftest.$ac_objext conftest$ac_exeext
44742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44743   (eval $ac_link) 2>conftest.er1
44744   ac_status=$?
44745   grep -v '^ *+' conftest.er1 >conftest.err
44746   rm -f conftest.er1
44747   cat conftest.err >&5
44748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44749   (exit $ac_status); } &&
44750          { ac_try='test -z "$ac_c_werror_flag"
44751                          || test ! -s conftest.err'
44752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44753   (eval $ac_try) 2>&5
44754   ac_status=$?
44755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44756   (exit $ac_status); }; } &&
44757          { ac_try='test -s conftest$ac_exeext'
44758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44759   (eval $ac_try) 2>&5
44760   ac_status=$?
44761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44762   (exit $ac_status); }; }; then
44763   eval "$as_ac_var=yes"
44764 else
44765   echo "$as_me: failed program was:" >&5
44766 sed 's/^/| /' conftest.$ac_ext >&5
44767
44768 eval "$as_ac_var=no"
44769 fi
44770 rm -f conftest.err conftest.$ac_objext \
44771       conftest$ac_exeext conftest.$ac_ext
44772 fi
44773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44775 if test `eval echo '${'$as_ac_var'}'` = yes; then
44776   cat >>confdefs.h <<_ACEOF
44777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44778 _ACEOF
44779
44780 fi
44781 done
44782
44783     fi
44784   fi
44785
44786
44787
44788
44789
44790
44791   echo "$as_me:$LINENO: checking for sincos declaration" >&5
44792 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44793   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44794     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44795   echo $ECHO_N "(cached) $ECHO_C" >&6
44796 else
44797
44798
44799
44800       ac_ext=cc
44801 ac_cpp='$CXXCPP $CPPFLAGS'
44802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44805
44806       cat >conftest.$ac_ext <<_ACEOF
44807 /* confdefs.h.  */
44808 _ACEOF
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h.  */
44812 #include <math.h>
44813 int
44814 main ()
44815 {
44816  sincos(0, 0, 0);
44817   ;
44818   return 0;
44819 }
44820 _ACEOF
44821 rm -f conftest.$ac_objext
44822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44823   (eval $ac_compile) 2>conftest.er1
44824   ac_status=$?
44825   grep -v '^ *+' conftest.er1 >conftest.err
44826   rm -f conftest.er1
44827   cat conftest.err >&5
44828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829   (exit $ac_status); } &&
44830          { ac_try='test -z "$ac_cxx_werror_flag"
44831                          || test ! -s conftest.err'
44832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44833   (eval $ac_try) 2>&5
44834   ac_status=$?
44835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836   (exit $ac_status); }; } &&
44837          { ac_try='test -s conftest.$ac_objext'
44838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44839   (eval $ac_try) 2>&5
44840   ac_status=$?
44841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842   (exit $ac_status); }; }; then
44843   glibcxx_cv_func_sincos_use=yes
44844 else
44845   echo "$as_me: failed program was:" >&5
44846 sed 's/^/| /' conftest.$ac_ext >&5
44847
44848 glibcxx_cv_func_sincos_use=no
44849 fi
44850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44851       ac_ext=c
44852 ac_cpp='$CPP $CPPFLAGS'
44853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44856
44857
44858 fi
44859
44860   fi
44861   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44862 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44863
44864   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44865
44866 for ac_func in sincos
44867 do
44868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44869 echo "$as_me:$LINENO: checking for $ac_func" >&5
44870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44871 if eval "test \"\${$as_ac_var+set}\" = set"; then
44872   echo $ECHO_N "(cached) $ECHO_C" >&6
44873 else
44874   if test x$gcc_no_link = xyes; then
44875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44877    { (exit 1); exit 1; }; }
44878 fi
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h.  */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h.  */
44885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44887 #define $ac_func innocuous_$ac_func
44888
44889 /* System header to define __stub macros and hopefully few prototypes,
44890     which can conflict with char $ac_func (); below.
44891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44892     <limits.h> exists even on freestanding compilers.  */
44893
44894 #ifdef __STDC__
44895 # include <limits.h>
44896 #else
44897 # include <assert.h>
44898 #endif
44899
44900 #undef $ac_func
44901
44902 /* Override any gcc2 internal prototype to avoid an error.  */
44903 #ifdef __cplusplus
44904 extern "C"
44905 {
44906 #endif
44907 /* We use char because int might match the return type of a gcc2
44908    builtin and then its argument prototype would still apply.  */
44909 char $ac_func ();
44910 /* The GNU C library defines this for functions which it implements
44911     to always fail with ENOSYS.  Some functions are actually named
44912     something starting with __ and the normal name is an alias.  */
44913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44914 choke me
44915 #else
44916 char (*f) () = $ac_func;
44917 #endif
44918 #ifdef __cplusplus
44919 }
44920 #endif
44921
44922 int
44923 main ()
44924 {
44925 return f != $ac_func;
44926   ;
44927   return 0;
44928 }
44929 _ACEOF
44930 rm -f conftest.$ac_objext conftest$ac_exeext
44931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44932   (eval $ac_link) 2>conftest.er1
44933   ac_status=$?
44934   grep -v '^ *+' conftest.er1 >conftest.err
44935   rm -f conftest.er1
44936   cat conftest.err >&5
44937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938   (exit $ac_status); } &&
44939          { ac_try='test -z "$ac_c_werror_flag"
44940                          || test ! -s conftest.err'
44941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942   (eval $ac_try) 2>&5
44943   ac_status=$?
44944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945   (exit $ac_status); }; } &&
44946          { ac_try='test -s conftest$ac_exeext'
44947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44948   (eval $ac_try) 2>&5
44949   ac_status=$?
44950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951   (exit $ac_status); }; }; then
44952   eval "$as_ac_var=yes"
44953 else
44954   echo "$as_me: failed program was:" >&5
44955 sed 's/^/| /' conftest.$ac_ext >&5
44956
44957 eval "$as_ac_var=no"
44958 fi
44959 rm -f conftest.err conftest.$ac_objext \
44960       conftest$ac_exeext conftest.$ac_ext
44961 fi
44962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44964 if test `eval echo '${'$as_ac_var'}'` = yes; then
44965   cat >>confdefs.h <<_ACEOF
44966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44967 _ACEOF
44968
44969 fi
44970 done
44971
44972   else
44973
44974   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44975 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44976   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44977     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44978   echo $ECHO_N "(cached) $ECHO_C" >&6
44979 else
44980
44981
44982
44983       ac_ext=cc
44984 ac_cpp='$CXXCPP $CPPFLAGS'
44985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44988
44989       cat >conftest.$ac_ext <<_ACEOF
44990 /* confdefs.h.  */
44991 _ACEOF
44992 cat confdefs.h >>conftest.$ac_ext
44993 cat >>conftest.$ac_ext <<_ACEOF
44994 /* end confdefs.h.  */
44995 #include <math.h>
44996 int
44997 main ()
44998 {
44999  _sincos(0, 0, 0);
45000   ;
45001   return 0;
45002 }
45003 _ACEOF
45004 rm -f conftest.$ac_objext
45005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45006   (eval $ac_compile) 2>conftest.er1
45007   ac_status=$?
45008   grep -v '^ *+' conftest.er1 >conftest.err
45009   rm -f conftest.er1
45010   cat conftest.err >&5
45011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45012   (exit $ac_status); } &&
45013          { ac_try='test -z "$ac_cxx_werror_flag"
45014                          || test ! -s conftest.err'
45015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016   (eval $ac_try) 2>&5
45017   ac_status=$?
45018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019   (exit $ac_status); }; } &&
45020          { ac_try='test -s conftest.$ac_objext'
45021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45022   (eval $ac_try) 2>&5
45023   ac_status=$?
45024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025   (exit $ac_status); }; }; then
45026   glibcxx_cv_func__sincos_use=yes
45027 else
45028   echo "$as_me: failed program was:" >&5
45029 sed 's/^/| /' conftest.$ac_ext >&5
45030
45031 glibcxx_cv_func__sincos_use=no
45032 fi
45033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45034       ac_ext=c
45035 ac_cpp='$CPP $CPPFLAGS'
45036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45039
45040
45041 fi
45042
45043   fi
45044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45045 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45046
45047     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45048
45049 for ac_func in _sincos
45050 do
45051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45052 echo "$as_me:$LINENO: checking for $ac_func" >&5
45053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45054 if eval "test \"\${$as_ac_var+set}\" = set"; then
45055   echo $ECHO_N "(cached) $ECHO_C" >&6
45056 else
45057   if test x$gcc_no_link = xyes; then
45058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45060    { (exit 1); exit 1; }; }
45061 fi
45062 cat >conftest.$ac_ext <<_ACEOF
45063 /* confdefs.h.  */
45064 _ACEOF
45065 cat confdefs.h >>conftest.$ac_ext
45066 cat >>conftest.$ac_ext <<_ACEOF
45067 /* end confdefs.h.  */
45068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45070 #define $ac_func innocuous_$ac_func
45071
45072 /* System header to define __stub macros and hopefully few prototypes,
45073     which can conflict with char $ac_func (); below.
45074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45075     <limits.h> exists even on freestanding compilers.  */
45076
45077 #ifdef __STDC__
45078 # include <limits.h>
45079 #else
45080 # include <assert.h>
45081 #endif
45082
45083 #undef $ac_func
45084
45085 /* Override any gcc2 internal prototype to avoid an error.  */
45086 #ifdef __cplusplus
45087 extern "C"
45088 {
45089 #endif
45090 /* We use char because int might match the return type of a gcc2
45091    builtin and then its argument prototype would still apply.  */
45092 char $ac_func ();
45093 /* The GNU C library defines this for functions which it implements
45094     to always fail with ENOSYS.  Some functions are actually named
45095     something starting with __ and the normal name is an alias.  */
45096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45097 choke me
45098 #else
45099 char (*f) () = $ac_func;
45100 #endif
45101 #ifdef __cplusplus
45102 }
45103 #endif
45104
45105 int
45106 main ()
45107 {
45108 return f != $ac_func;
45109   ;
45110   return 0;
45111 }
45112 _ACEOF
45113 rm -f conftest.$ac_objext conftest$ac_exeext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45115   (eval $ac_link) 2>conftest.er1
45116   ac_status=$?
45117   grep -v '^ *+' conftest.er1 >conftest.err
45118   rm -f conftest.er1
45119   cat conftest.err >&5
45120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121   (exit $ac_status); } &&
45122          { ac_try='test -z "$ac_c_werror_flag"
45123                          || test ! -s conftest.err'
45124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45125   (eval $ac_try) 2>&5
45126   ac_status=$?
45127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128   (exit $ac_status); }; } &&
45129          { ac_try='test -s conftest$ac_exeext'
45130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45131   (eval $ac_try) 2>&5
45132   ac_status=$?
45133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45134   (exit $ac_status); }; }; then
45135   eval "$as_ac_var=yes"
45136 else
45137   echo "$as_me: failed program was:" >&5
45138 sed 's/^/| /' conftest.$ac_ext >&5
45139
45140 eval "$as_ac_var=no"
45141 fi
45142 rm -f conftest.err conftest.$ac_objext \
45143       conftest$ac_exeext conftest.$ac_ext
45144 fi
45145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45147 if test `eval echo '${'$as_ac_var'}'` = yes; then
45148   cat >>confdefs.h <<_ACEOF
45149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45150 _ACEOF
45151
45152 fi
45153 done
45154
45155     fi
45156   fi
45157
45158
45159
45160
45161
45162
45163   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45164 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45165   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45166     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45167   echo $ECHO_N "(cached) $ECHO_C" >&6
45168 else
45169
45170
45171
45172       ac_ext=cc
45173 ac_cpp='$CXXCPP $CPPFLAGS'
45174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45177
45178       cat >conftest.$ac_ext <<_ACEOF
45179 /* confdefs.h.  */
45180 _ACEOF
45181 cat confdefs.h >>conftest.$ac_ext
45182 cat >>conftest.$ac_ext <<_ACEOF
45183 /* end confdefs.h.  */
45184 #include <math.h>
45185                       #ifdef HAVE_IEEEFP_H
45186                       #include <ieeefp.h>
45187                       #endif
45188
45189 int
45190 main ()
45191 {
45192  fpclass(0);
45193   ;
45194   return 0;
45195 }
45196 _ACEOF
45197 rm -f conftest.$ac_objext
45198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45199   (eval $ac_compile) 2>conftest.er1
45200   ac_status=$?
45201   grep -v '^ *+' conftest.er1 >conftest.err
45202   rm -f conftest.er1
45203   cat conftest.err >&5
45204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205   (exit $ac_status); } &&
45206          { ac_try='test -z "$ac_cxx_werror_flag"
45207                          || test ! -s conftest.err'
45208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45209   (eval $ac_try) 2>&5
45210   ac_status=$?
45211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212   (exit $ac_status); }; } &&
45213          { ac_try='test -s conftest.$ac_objext'
45214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215   (eval $ac_try) 2>&5
45216   ac_status=$?
45217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218   (exit $ac_status); }; }; then
45219   glibcxx_cv_func_fpclass_use=yes
45220 else
45221   echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.$ac_ext >&5
45223
45224 glibcxx_cv_func_fpclass_use=no
45225 fi
45226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45227       ac_ext=c
45228 ac_cpp='$CPP $CPPFLAGS'
45229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45232
45233
45234 fi
45235
45236   fi
45237   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45238 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45239
45240   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45241
45242 for ac_func in fpclass
45243 do
45244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45245 echo "$as_me:$LINENO: checking for $ac_func" >&5
45246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45247 if eval "test \"\${$as_ac_var+set}\" = set"; then
45248   echo $ECHO_N "(cached) $ECHO_C" >&6
45249 else
45250   if test x$gcc_no_link = xyes; then
45251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45253    { (exit 1); exit 1; }; }
45254 fi
45255 cat >conftest.$ac_ext <<_ACEOF
45256 /* confdefs.h.  */
45257 _ACEOF
45258 cat confdefs.h >>conftest.$ac_ext
45259 cat >>conftest.$ac_ext <<_ACEOF
45260 /* end confdefs.h.  */
45261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45263 #define $ac_func innocuous_$ac_func
45264
45265 /* System header to define __stub macros and hopefully few prototypes,
45266     which can conflict with char $ac_func (); below.
45267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45268     <limits.h> exists even on freestanding compilers.  */
45269
45270 #ifdef __STDC__
45271 # include <limits.h>
45272 #else
45273 # include <assert.h>
45274 #endif
45275
45276 #undef $ac_func
45277
45278 /* Override any gcc2 internal prototype to avoid an error.  */
45279 #ifdef __cplusplus
45280 extern "C"
45281 {
45282 #endif
45283 /* We use char because int might match the return type of a gcc2
45284    builtin and then its argument prototype would still apply.  */
45285 char $ac_func ();
45286 /* The GNU C library defines this for functions which it implements
45287     to always fail with ENOSYS.  Some functions are actually named
45288     something starting with __ and the normal name is an alias.  */
45289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45290 choke me
45291 #else
45292 char (*f) () = $ac_func;
45293 #endif
45294 #ifdef __cplusplus
45295 }
45296 #endif
45297
45298 int
45299 main ()
45300 {
45301 return f != $ac_func;
45302   ;
45303   return 0;
45304 }
45305 _ACEOF
45306 rm -f conftest.$ac_objext conftest$ac_exeext
45307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45308   (eval $ac_link) 2>conftest.er1
45309   ac_status=$?
45310   grep -v '^ *+' conftest.er1 >conftest.err
45311   rm -f conftest.er1
45312   cat conftest.err >&5
45313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45314   (exit $ac_status); } &&
45315          { ac_try='test -z "$ac_c_werror_flag"
45316                          || test ! -s conftest.err'
45317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318   (eval $ac_try) 2>&5
45319   ac_status=$?
45320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321   (exit $ac_status); }; } &&
45322          { ac_try='test -s conftest$ac_exeext'
45323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45324   (eval $ac_try) 2>&5
45325   ac_status=$?
45326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45327   (exit $ac_status); }; }; then
45328   eval "$as_ac_var=yes"
45329 else
45330   echo "$as_me: failed program was:" >&5
45331 sed 's/^/| /' conftest.$ac_ext >&5
45332
45333 eval "$as_ac_var=no"
45334 fi
45335 rm -f conftest.err conftest.$ac_objext \
45336       conftest$ac_exeext conftest.$ac_ext
45337 fi
45338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45340 if test `eval echo '${'$as_ac_var'}'` = yes; then
45341   cat >>confdefs.h <<_ACEOF
45342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45343 _ACEOF
45344
45345 fi
45346 done
45347
45348   else
45349
45350   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45351 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45352   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45353     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45354   echo $ECHO_N "(cached) $ECHO_C" >&6
45355 else
45356
45357
45358
45359       ac_ext=cc
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45364
45365       cat >conftest.$ac_ext <<_ACEOF
45366 /* confdefs.h.  */
45367 _ACEOF
45368 cat confdefs.h >>conftest.$ac_ext
45369 cat >>conftest.$ac_ext <<_ACEOF
45370 /* end confdefs.h.  */
45371 #include <math.h>
45372                       #ifdef HAVE_IEEEFP_H
45373                       #include <ieeefp.h>
45374                       #endif
45375
45376 int
45377 main ()
45378 {
45379  _fpclass(0);
45380   ;
45381   return 0;
45382 }
45383 _ACEOF
45384 rm -f conftest.$ac_objext
45385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45386   (eval $ac_compile) 2>conftest.er1
45387   ac_status=$?
45388   grep -v '^ *+' conftest.er1 >conftest.err
45389   rm -f conftest.er1
45390   cat conftest.err >&5
45391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392   (exit $ac_status); } &&
45393          { ac_try='test -z "$ac_cxx_werror_flag"
45394                          || test ! -s conftest.err'
45395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396   (eval $ac_try) 2>&5
45397   ac_status=$?
45398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399   (exit $ac_status); }; } &&
45400          { ac_try='test -s conftest.$ac_objext'
45401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45402   (eval $ac_try) 2>&5
45403   ac_status=$?
45404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45405   (exit $ac_status); }; }; then
45406   glibcxx_cv_func__fpclass_use=yes
45407 else
45408   echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45410
45411 glibcxx_cv_func__fpclass_use=no
45412 fi
45413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45414       ac_ext=c
45415 ac_cpp='$CPP $CPPFLAGS'
45416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45419
45420
45421 fi
45422
45423   fi
45424   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45425 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45426
45427     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45428
45429 for ac_func in _fpclass
45430 do
45431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45432 echo "$as_me:$LINENO: checking for $ac_func" >&5
45433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45434 if eval "test \"\${$as_ac_var+set}\" = set"; then
45435   echo $ECHO_N "(cached) $ECHO_C" >&6
45436 else
45437   if test x$gcc_no_link = xyes; then
45438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45440    { (exit 1); exit 1; }; }
45441 fi
45442 cat >conftest.$ac_ext <<_ACEOF
45443 /* confdefs.h.  */
45444 _ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h.  */
45448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45450 #define $ac_func innocuous_$ac_func
45451
45452 /* System header to define __stub macros and hopefully few prototypes,
45453     which can conflict with char $ac_func (); below.
45454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45455     <limits.h> exists even on freestanding compilers.  */
45456
45457 #ifdef __STDC__
45458 # include <limits.h>
45459 #else
45460 # include <assert.h>
45461 #endif
45462
45463 #undef $ac_func
45464
45465 /* Override any gcc2 internal prototype to avoid an error.  */
45466 #ifdef __cplusplus
45467 extern "C"
45468 {
45469 #endif
45470 /* We use char because int might match the return type of a gcc2
45471    builtin and then its argument prototype would still apply.  */
45472 char $ac_func ();
45473 /* The GNU C library defines this for functions which it implements
45474     to always fail with ENOSYS.  Some functions are actually named
45475     something starting with __ and the normal name is an alias.  */
45476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45477 choke me
45478 #else
45479 char (*f) () = $ac_func;
45480 #endif
45481 #ifdef __cplusplus
45482 }
45483 #endif
45484
45485 int
45486 main ()
45487 {
45488 return f != $ac_func;
45489   ;
45490   return 0;
45491 }
45492 _ACEOF
45493 rm -f conftest.$ac_objext conftest$ac_exeext
45494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45495   (eval $ac_link) 2>conftest.er1
45496   ac_status=$?
45497   grep -v '^ *+' conftest.er1 >conftest.err
45498   rm -f conftest.er1
45499   cat conftest.err >&5
45500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501   (exit $ac_status); } &&
45502          { ac_try='test -z "$ac_c_werror_flag"
45503                          || test ! -s conftest.err'
45504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45505   (eval $ac_try) 2>&5
45506   ac_status=$?
45507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508   (exit $ac_status); }; } &&
45509          { ac_try='test -s conftest$ac_exeext'
45510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45511   (eval $ac_try) 2>&5
45512   ac_status=$?
45513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514   (exit $ac_status); }; }; then
45515   eval "$as_ac_var=yes"
45516 else
45517   echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45519
45520 eval "$as_ac_var=no"
45521 fi
45522 rm -f conftest.err conftest.$ac_objext \
45523       conftest$ac_exeext conftest.$ac_ext
45524 fi
45525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45527 if test `eval echo '${'$as_ac_var'}'` = yes; then
45528   cat >>confdefs.h <<_ACEOF
45529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45530 _ACEOF
45531
45532 fi
45533 done
45534
45535     fi
45536   fi
45537
45538
45539
45540
45541
45542
45543   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45544 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45545   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45546     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45547   echo $ECHO_N "(cached) $ECHO_C" >&6
45548 else
45549
45550
45551
45552       ac_ext=cc
45553 ac_cpp='$CXXCPP $CPPFLAGS'
45554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45557
45558       cat >conftest.$ac_ext <<_ACEOF
45559 /* confdefs.h.  */
45560 _ACEOF
45561 cat confdefs.h >>conftest.$ac_ext
45562 cat >>conftest.$ac_ext <<_ACEOF
45563 /* end confdefs.h.  */
45564 #include <math.h>
45565                       #ifdef HAVE_IEEEFP_H
45566                       #include <ieeefp.h>
45567                       #endif
45568
45569 int
45570 main ()
45571 {
45572  qfpclass(0);
45573   ;
45574   return 0;
45575 }
45576 _ACEOF
45577 rm -f conftest.$ac_objext
45578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45579   (eval $ac_compile) 2>conftest.er1
45580   ac_status=$?
45581   grep -v '^ *+' conftest.er1 >conftest.err
45582   rm -f conftest.er1
45583   cat conftest.err >&5
45584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585   (exit $ac_status); } &&
45586          { ac_try='test -z "$ac_cxx_werror_flag"
45587                          || test ! -s conftest.err'
45588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45589   (eval $ac_try) 2>&5
45590   ac_status=$?
45591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45592   (exit $ac_status); }; } &&
45593          { ac_try='test -s conftest.$ac_objext'
45594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45595   (eval $ac_try) 2>&5
45596   ac_status=$?
45597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45598   (exit $ac_status); }; }; then
45599   glibcxx_cv_func_qfpclass_use=yes
45600 else
45601   echo "$as_me: failed program was:" >&5
45602 sed 's/^/| /' conftest.$ac_ext >&5
45603
45604 glibcxx_cv_func_qfpclass_use=no
45605 fi
45606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45607       ac_ext=c
45608 ac_cpp='$CPP $CPPFLAGS'
45609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45612
45613
45614 fi
45615
45616   fi
45617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45618 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45619
45620   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45621
45622 for ac_func in qfpclass
45623 do
45624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45625 echo "$as_me:$LINENO: checking for $ac_func" >&5
45626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45627 if eval "test \"\${$as_ac_var+set}\" = set"; then
45628   echo $ECHO_N "(cached) $ECHO_C" >&6
45629 else
45630   if test x$gcc_no_link = xyes; then
45631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45633    { (exit 1); exit 1; }; }
45634 fi
45635 cat >conftest.$ac_ext <<_ACEOF
45636 /* confdefs.h.  */
45637 _ACEOF
45638 cat confdefs.h >>conftest.$ac_ext
45639 cat >>conftest.$ac_ext <<_ACEOF
45640 /* end confdefs.h.  */
45641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45643 #define $ac_func innocuous_$ac_func
45644
45645 /* System header to define __stub macros and hopefully few prototypes,
45646     which can conflict with char $ac_func (); below.
45647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45648     <limits.h> exists even on freestanding compilers.  */
45649
45650 #ifdef __STDC__
45651 # include <limits.h>
45652 #else
45653 # include <assert.h>
45654 #endif
45655
45656 #undef $ac_func
45657
45658 /* Override any gcc2 internal prototype to avoid an error.  */
45659 #ifdef __cplusplus
45660 extern "C"
45661 {
45662 #endif
45663 /* We use char because int might match the return type of a gcc2
45664    builtin and then its argument prototype would still apply.  */
45665 char $ac_func ();
45666 /* The GNU C library defines this for functions which it implements
45667     to always fail with ENOSYS.  Some functions are actually named
45668     something starting with __ and the normal name is an alias.  */
45669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45670 choke me
45671 #else
45672 char (*f) () = $ac_func;
45673 #endif
45674 #ifdef __cplusplus
45675 }
45676 #endif
45677
45678 int
45679 main ()
45680 {
45681 return f != $ac_func;
45682   ;
45683   return 0;
45684 }
45685 _ACEOF
45686 rm -f conftest.$ac_objext conftest$ac_exeext
45687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45688   (eval $ac_link) 2>conftest.er1
45689   ac_status=$?
45690   grep -v '^ *+' conftest.er1 >conftest.err
45691   rm -f conftest.er1
45692   cat conftest.err >&5
45693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694   (exit $ac_status); } &&
45695          { ac_try='test -z "$ac_c_werror_flag"
45696                          || test ! -s conftest.err'
45697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45698   (eval $ac_try) 2>&5
45699   ac_status=$?
45700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701   (exit $ac_status); }; } &&
45702          { ac_try='test -s conftest$ac_exeext'
45703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45704   (eval $ac_try) 2>&5
45705   ac_status=$?
45706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707   (exit $ac_status); }; }; then
45708   eval "$as_ac_var=yes"
45709 else
45710   echo "$as_me: failed program was:" >&5
45711 sed 's/^/| /' conftest.$ac_ext >&5
45712
45713 eval "$as_ac_var=no"
45714 fi
45715 rm -f conftest.err conftest.$ac_objext \
45716       conftest$ac_exeext conftest.$ac_ext
45717 fi
45718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45720 if test `eval echo '${'$as_ac_var'}'` = yes; then
45721   cat >>confdefs.h <<_ACEOF
45722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45723 _ACEOF
45724
45725 fi
45726 done
45727
45728   else
45729
45730   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45731 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45732   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45733     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45734   echo $ECHO_N "(cached) $ECHO_C" >&6
45735 else
45736
45737
45738
45739       ac_ext=cc
45740 ac_cpp='$CXXCPP $CPPFLAGS'
45741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45744
45745       cat >conftest.$ac_ext <<_ACEOF
45746 /* confdefs.h.  */
45747 _ACEOF
45748 cat confdefs.h >>conftest.$ac_ext
45749 cat >>conftest.$ac_ext <<_ACEOF
45750 /* end confdefs.h.  */
45751 #include <math.h>
45752                       #ifdef HAVE_IEEEFP_H
45753                       #include <ieeefp.h>
45754                       #endif
45755
45756 int
45757 main ()
45758 {
45759  _qfpclass(0);
45760   ;
45761   return 0;
45762 }
45763 _ACEOF
45764 rm -f conftest.$ac_objext
45765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45766   (eval $ac_compile) 2>conftest.er1
45767   ac_status=$?
45768   grep -v '^ *+' conftest.er1 >conftest.err
45769   rm -f conftest.er1
45770   cat conftest.err >&5
45771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772   (exit $ac_status); } &&
45773          { ac_try='test -z "$ac_cxx_werror_flag"
45774                          || test ! -s conftest.err'
45775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45776   (eval $ac_try) 2>&5
45777   ac_status=$?
45778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45779   (exit $ac_status); }; } &&
45780          { ac_try='test -s conftest.$ac_objext'
45781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45782   (eval $ac_try) 2>&5
45783   ac_status=$?
45784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45785   (exit $ac_status); }; }; then
45786   glibcxx_cv_func__qfpclass_use=yes
45787 else
45788   echo "$as_me: failed program was:" >&5
45789 sed 's/^/| /' conftest.$ac_ext >&5
45790
45791 glibcxx_cv_func__qfpclass_use=no
45792 fi
45793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45794       ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45799
45800
45801 fi
45802
45803   fi
45804   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45805 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45806
45807     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45808
45809 for ac_func in _qfpclass
45810 do
45811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45812 echo "$as_me:$LINENO: checking for $ac_func" >&5
45813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45814 if eval "test \"\${$as_ac_var+set}\" = set"; then
45815   echo $ECHO_N "(cached) $ECHO_C" >&6
45816 else
45817   if test x$gcc_no_link = xyes; then
45818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45820    { (exit 1); exit 1; }; }
45821 fi
45822 cat >conftest.$ac_ext <<_ACEOF
45823 /* confdefs.h.  */
45824 _ACEOF
45825 cat confdefs.h >>conftest.$ac_ext
45826 cat >>conftest.$ac_ext <<_ACEOF
45827 /* end confdefs.h.  */
45828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45830 #define $ac_func innocuous_$ac_func
45831
45832 /* System header to define __stub macros and hopefully few prototypes,
45833     which can conflict with char $ac_func (); below.
45834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45835     <limits.h> exists even on freestanding compilers.  */
45836
45837 #ifdef __STDC__
45838 # include <limits.h>
45839 #else
45840 # include <assert.h>
45841 #endif
45842
45843 #undef $ac_func
45844
45845 /* Override any gcc2 internal prototype to avoid an error.  */
45846 #ifdef __cplusplus
45847 extern "C"
45848 {
45849 #endif
45850 /* We use char because int might match the return type of a gcc2
45851    builtin and then its argument prototype would still apply.  */
45852 char $ac_func ();
45853 /* The GNU C library defines this for functions which it implements
45854     to always fail with ENOSYS.  Some functions are actually named
45855     something starting with __ and the normal name is an alias.  */
45856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45857 choke me
45858 #else
45859 char (*f) () = $ac_func;
45860 #endif
45861 #ifdef __cplusplus
45862 }
45863 #endif
45864
45865 int
45866 main ()
45867 {
45868 return f != $ac_func;
45869   ;
45870   return 0;
45871 }
45872 _ACEOF
45873 rm -f conftest.$ac_objext conftest$ac_exeext
45874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45875   (eval $ac_link) 2>conftest.er1
45876   ac_status=$?
45877   grep -v '^ *+' conftest.er1 >conftest.err
45878   rm -f conftest.er1
45879   cat conftest.err >&5
45880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45881   (exit $ac_status); } &&
45882          { ac_try='test -z "$ac_c_werror_flag"
45883                          || test ! -s conftest.err'
45884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45885   (eval $ac_try) 2>&5
45886   ac_status=$?
45887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888   (exit $ac_status); }; } &&
45889          { ac_try='test -s conftest$ac_exeext'
45890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45891   (eval $ac_try) 2>&5
45892   ac_status=$?
45893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894   (exit $ac_status); }; }; then
45895   eval "$as_ac_var=yes"
45896 else
45897   echo "$as_me: failed program was:" >&5
45898 sed 's/^/| /' conftest.$ac_ext >&5
45899
45900 eval "$as_ac_var=no"
45901 fi
45902 rm -f conftest.err conftest.$ac_objext \
45903       conftest$ac_exeext conftest.$ac_ext
45904 fi
45905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45907 if test `eval echo '${'$as_ac_var'}'` = yes; then
45908   cat >>confdefs.h <<_ACEOF
45909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45910 _ACEOF
45911
45912 fi
45913 done
45914
45915     fi
45916   fi
45917
45918
45919
45920
45921
45922
45923   echo "$as_me:$LINENO: checking for hypot declaration" >&5
45924 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45925   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45926     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45927   echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929
45930
45931
45932       ac_ext=cc
45933 ac_cpp='$CXXCPP $CPPFLAGS'
45934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45937
45938       cat >conftest.$ac_ext <<_ACEOF
45939 /* confdefs.h.  */
45940 _ACEOF
45941 cat confdefs.h >>conftest.$ac_ext
45942 cat >>conftest.$ac_ext <<_ACEOF
45943 /* end confdefs.h.  */
45944 #include <math.h>
45945 int
45946 main ()
45947 {
45948  hypot(0, 0);
45949   ;
45950   return 0;
45951 }
45952 _ACEOF
45953 rm -f conftest.$ac_objext
45954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45955   (eval $ac_compile) 2>conftest.er1
45956   ac_status=$?
45957   grep -v '^ *+' conftest.er1 >conftest.err
45958   rm -f conftest.er1
45959   cat conftest.err >&5
45960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961   (exit $ac_status); } &&
45962          { ac_try='test -z "$ac_cxx_werror_flag"
45963                          || test ! -s conftest.err'
45964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45965   (eval $ac_try) 2>&5
45966   ac_status=$?
45967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968   (exit $ac_status); }; } &&
45969          { ac_try='test -s conftest.$ac_objext'
45970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45971   (eval $ac_try) 2>&5
45972   ac_status=$?
45973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45974   (exit $ac_status); }; }; then
45975   glibcxx_cv_func_hypot_use=yes
45976 else
45977   echo "$as_me: failed program was:" >&5
45978 sed 's/^/| /' conftest.$ac_ext >&5
45979
45980 glibcxx_cv_func_hypot_use=no
45981 fi
45982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45983       ac_ext=c
45984 ac_cpp='$CPP $CPPFLAGS'
45985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45988
45989
45990 fi
45991
45992   fi
45993   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45994 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45995
45996   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45997
45998 for ac_func in hypot
45999 do
46000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46001 echo "$as_me:$LINENO: checking for $ac_func" >&5
46002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46003 if eval "test \"\${$as_ac_var+set}\" = set"; then
46004   echo $ECHO_N "(cached) $ECHO_C" >&6
46005 else
46006   if test x$gcc_no_link = xyes; then
46007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46009    { (exit 1); exit 1; }; }
46010 fi
46011 cat >conftest.$ac_ext <<_ACEOF
46012 /* confdefs.h.  */
46013 _ACEOF
46014 cat confdefs.h >>conftest.$ac_ext
46015 cat >>conftest.$ac_ext <<_ACEOF
46016 /* end confdefs.h.  */
46017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46019 #define $ac_func innocuous_$ac_func
46020
46021 /* System header to define __stub macros and hopefully few prototypes,
46022     which can conflict with char $ac_func (); below.
46023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46024     <limits.h> exists even on freestanding compilers.  */
46025
46026 #ifdef __STDC__
46027 # include <limits.h>
46028 #else
46029 # include <assert.h>
46030 #endif
46031
46032 #undef $ac_func
46033
46034 /* Override any gcc2 internal prototype to avoid an error.  */
46035 #ifdef __cplusplus
46036 extern "C"
46037 {
46038 #endif
46039 /* We use char because int might match the return type of a gcc2
46040    builtin and then its argument prototype would still apply.  */
46041 char $ac_func ();
46042 /* The GNU C library defines this for functions which it implements
46043     to always fail with ENOSYS.  Some functions are actually named
46044     something starting with __ and the normal name is an alias.  */
46045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46046 choke me
46047 #else
46048 char (*f) () = $ac_func;
46049 #endif
46050 #ifdef __cplusplus
46051 }
46052 #endif
46053
46054 int
46055 main ()
46056 {
46057 return f != $ac_func;
46058   ;
46059   return 0;
46060 }
46061 _ACEOF
46062 rm -f conftest.$ac_objext conftest$ac_exeext
46063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46064   (eval $ac_link) 2>conftest.er1
46065   ac_status=$?
46066   grep -v '^ *+' conftest.er1 >conftest.err
46067   rm -f conftest.er1
46068   cat conftest.err >&5
46069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46070   (exit $ac_status); } &&
46071          { ac_try='test -z "$ac_c_werror_flag"
46072                          || test ! -s conftest.err'
46073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46074   (eval $ac_try) 2>&5
46075   ac_status=$?
46076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077   (exit $ac_status); }; } &&
46078          { ac_try='test -s conftest$ac_exeext'
46079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46080   (eval $ac_try) 2>&5
46081   ac_status=$?
46082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46083   (exit $ac_status); }; }; then
46084   eval "$as_ac_var=yes"
46085 else
46086   echo "$as_me: failed program was:" >&5
46087 sed 's/^/| /' conftest.$ac_ext >&5
46088
46089 eval "$as_ac_var=no"
46090 fi
46091 rm -f conftest.err conftest.$ac_objext \
46092       conftest$ac_exeext conftest.$ac_ext
46093 fi
46094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46096 if test `eval echo '${'$as_ac_var'}'` = yes; then
46097   cat >>confdefs.h <<_ACEOF
46098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46099 _ACEOF
46100
46101 fi
46102 done
46103
46104   else
46105
46106   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46107 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46108   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46109     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46110   echo $ECHO_N "(cached) $ECHO_C" >&6
46111 else
46112
46113
46114
46115       ac_ext=cc
46116 ac_cpp='$CXXCPP $CPPFLAGS'
46117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46120
46121       cat >conftest.$ac_ext <<_ACEOF
46122 /* confdefs.h.  */
46123 _ACEOF
46124 cat confdefs.h >>conftest.$ac_ext
46125 cat >>conftest.$ac_ext <<_ACEOF
46126 /* end confdefs.h.  */
46127 #include <math.h>
46128 int
46129 main ()
46130 {
46131  _hypot(0, 0);
46132   ;
46133   return 0;
46134 }
46135 _ACEOF
46136 rm -f conftest.$ac_objext
46137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46138   (eval $ac_compile) 2>conftest.er1
46139   ac_status=$?
46140   grep -v '^ *+' conftest.er1 >conftest.err
46141   rm -f conftest.er1
46142   cat conftest.err >&5
46143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144   (exit $ac_status); } &&
46145          { ac_try='test -z "$ac_cxx_werror_flag"
46146                          || test ! -s conftest.err'
46147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46148   (eval $ac_try) 2>&5
46149   ac_status=$?
46150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46151   (exit $ac_status); }; } &&
46152          { ac_try='test -s conftest.$ac_objext'
46153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46154   (eval $ac_try) 2>&5
46155   ac_status=$?
46156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157   (exit $ac_status); }; }; then
46158   glibcxx_cv_func__hypot_use=yes
46159 else
46160   echo "$as_me: failed program was:" >&5
46161 sed 's/^/| /' conftest.$ac_ext >&5
46162
46163 glibcxx_cv_func__hypot_use=no
46164 fi
46165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46166       ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171
46172
46173 fi
46174
46175   fi
46176   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46177 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46178
46179     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46180
46181 for ac_func in _hypot
46182 do
46183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46184 echo "$as_me:$LINENO: checking for $ac_func" >&5
46185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46186 if eval "test \"\${$as_ac_var+set}\" = set"; then
46187   echo $ECHO_N "(cached) $ECHO_C" >&6
46188 else
46189   if test x$gcc_no_link = xyes; then
46190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46192    { (exit 1); exit 1; }; }
46193 fi
46194 cat >conftest.$ac_ext <<_ACEOF
46195 /* confdefs.h.  */
46196 _ACEOF
46197 cat confdefs.h >>conftest.$ac_ext
46198 cat >>conftest.$ac_ext <<_ACEOF
46199 /* end confdefs.h.  */
46200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46202 #define $ac_func innocuous_$ac_func
46203
46204 /* System header to define __stub macros and hopefully few prototypes,
46205     which can conflict with char $ac_func (); below.
46206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46207     <limits.h> exists even on freestanding compilers.  */
46208
46209 #ifdef __STDC__
46210 # include <limits.h>
46211 #else
46212 # include <assert.h>
46213 #endif
46214
46215 #undef $ac_func
46216
46217 /* Override any gcc2 internal prototype to avoid an error.  */
46218 #ifdef __cplusplus
46219 extern "C"
46220 {
46221 #endif
46222 /* We use char because int might match the return type of a gcc2
46223    builtin and then its argument prototype would still apply.  */
46224 char $ac_func ();
46225 /* The GNU C library defines this for functions which it implements
46226     to always fail with ENOSYS.  Some functions are actually named
46227     something starting with __ and the normal name is an alias.  */
46228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46229 choke me
46230 #else
46231 char (*f) () = $ac_func;
46232 #endif
46233 #ifdef __cplusplus
46234 }
46235 #endif
46236
46237 int
46238 main ()
46239 {
46240 return f != $ac_func;
46241   ;
46242   return 0;
46243 }
46244 _ACEOF
46245 rm -f conftest.$ac_objext conftest$ac_exeext
46246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46247   (eval $ac_link) 2>conftest.er1
46248   ac_status=$?
46249   grep -v '^ *+' conftest.er1 >conftest.err
46250   rm -f conftest.er1
46251   cat conftest.err >&5
46252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253   (exit $ac_status); } &&
46254          { ac_try='test -z "$ac_c_werror_flag"
46255                          || test ! -s conftest.err'
46256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46257   (eval $ac_try) 2>&5
46258   ac_status=$?
46259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260   (exit $ac_status); }; } &&
46261          { ac_try='test -s conftest$ac_exeext'
46262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263   (eval $ac_try) 2>&5
46264   ac_status=$?
46265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266   (exit $ac_status); }; }; then
46267   eval "$as_ac_var=yes"
46268 else
46269   echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46271
46272 eval "$as_ac_var=no"
46273 fi
46274 rm -f conftest.err conftest.$ac_objext \
46275       conftest$ac_exeext conftest.$ac_ext
46276 fi
46277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46279 if test `eval echo '${'$as_ac_var'}'` = yes; then
46280   cat >>confdefs.h <<_ACEOF
46281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46282 _ACEOF
46283
46284 fi
46285 done
46286
46287     fi
46288   fi
46289
46290
46291
46292
46293
46294
46295     echo "$as_me:$LINENO: checking for float trig functions" >&5
46296 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46297   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46298   echo $ECHO_N "(cached) $ECHO_C" >&6
46299 else
46300
46301
46302
46303     ac_ext=cc
46304 ac_cpp='$CXXCPP $CPPFLAGS'
46305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46308
46309     cat >conftest.$ac_ext <<_ACEOF
46310 /* confdefs.h.  */
46311 _ACEOF
46312 cat confdefs.h >>conftest.$ac_ext
46313 cat >>conftest.$ac_ext <<_ACEOF
46314 /* end confdefs.h.  */
46315 #include <math.h>
46316 int
46317 main ()
46318 {
46319 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46320   ;
46321   return 0;
46322 }
46323 _ACEOF
46324 rm -f conftest.$ac_objext
46325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46326   (eval $ac_compile) 2>conftest.er1
46327   ac_status=$?
46328   grep -v '^ *+' conftest.er1 >conftest.err
46329   rm -f conftest.er1
46330   cat conftest.err >&5
46331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332   (exit $ac_status); } &&
46333          { ac_try='test -z "$ac_cxx_werror_flag"
46334                          || test ! -s conftest.err'
46335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46336   (eval $ac_try) 2>&5
46337   ac_status=$?
46338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46339   (exit $ac_status); }; } &&
46340          { ac_try='test -s conftest.$ac_objext'
46341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46342   (eval $ac_try) 2>&5
46343   ac_status=$?
46344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46345   (exit $ac_status); }; }; then
46346   glibcxx_cv_func_float_trig_use=yes
46347 else
46348   echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46350
46351 glibcxx_cv_func_float_trig_use=no
46352 fi
46353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46354     ac_ext=c
46355 ac_cpp='$CPP $CPPFLAGS'
46356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359
46360 fi
46361
46362   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46363 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46364   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46375 do
46376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46377 echo "$as_me:$LINENO: checking for $ac_func" >&5
46378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46379 if eval "test \"\${$as_ac_var+set}\" = set"; then
46380   echo $ECHO_N "(cached) $ECHO_C" >&6
46381 else
46382   if test x$gcc_no_link = xyes; then
46383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46385    { (exit 1); exit 1; }; }
46386 fi
46387 cat >conftest.$ac_ext <<_ACEOF
46388 /* confdefs.h.  */
46389 _ACEOF
46390 cat confdefs.h >>conftest.$ac_ext
46391 cat >>conftest.$ac_ext <<_ACEOF
46392 /* end confdefs.h.  */
46393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46395 #define $ac_func innocuous_$ac_func
46396
46397 /* System header to define __stub macros and hopefully few prototypes,
46398     which can conflict with char $ac_func (); below.
46399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46400     <limits.h> exists even on freestanding compilers.  */
46401
46402 #ifdef __STDC__
46403 # include <limits.h>
46404 #else
46405 # include <assert.h>
46406 #endif
46407
46408 #undef $ac_func
46409
46410 /* Override any gcc2 internal prototype to avoid an error.  */
46411 #ifdef __cplusplus
46412 extern "C"
46413 {
46414 #endif
46415 /* We use char because int might match the return type of a gcc2
46416    builtin and then its argument prototype would still apply.  */
46417 char $ac_func ();
46418 /* The GNU C library defines this for functions which it implements
46419     to always fail with ENOSYS.  Some functions are actually named
46420     something starting with __ and the normal name is an alias.  */
46421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46422 choke me
46423 #else
46424 char (*f) () = $ac_func;
46425 #endif
46426 #ifdef __cplusplus
46427 }
46428 #endif
46429
46430 int
46431 main ()
46432 {
46433 return f != $ac_func;
46434   ;
46435   return 0;
46436 }
46437 _ACEOF
46438 rm -f conftest.$ac_objext conftest$ac_exeext
46439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46440   (eval $ac_link) 2>conftest.er1
46441   ac_status=$?
46442   grep -v '^ *+' conftest.er1 >conftest.err
46443   rm -f conftest.er1
46444   cat conftest.err >&5
46445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46446   (exit $ac_status); } &&
46447          { ac_try='test -z "$ac_c_werror_flag"
46448                          || test ! -s conftest.err'
46449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46450   (eval $ac_try) 2>&5
46451   ac_status=$?
46452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453   (exit $ac_status); }; } &&
46454          { ac_try='test -s conftest$ac_exeext'
46455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46456   (eval $ac_try) 2>&5
46457   ac_status=$?
46458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46459   (exit $ac_status); }; }; then
46460   eval "$as_ac_var=yes"
46461 else
46462   echo "$as_me: failed program was:" >&5
46463 sed 's/^/| /' conftest.$ac_ext >&5
46464
46465 eval "$as_ac_var=no"
46466 fi
46467 rm -f conftest.err conftest.$ac_objext \
46468       conftest$ac_exeext conftest.$ac_ext
46469 fi
46470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46472 if test `eval echo '${'$as_ac_var'}'` = yes; then
46473   cat >>confdefs.h <<_ACEOF
46474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46475 _ACEOF
46476
46477 fi
46478 done
46479
46480   else
46481     echo "$as_me:$LINENO: checking for _float trig functions" >&5
46482 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46483     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46484   echo $ECHO_N "(cached) $ECHO_C" >&6
46485 else
46486
46487
46488
46489       ac_ext=cc
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46494
46495       cat >conftest.$ac_ext <<_ACEOF
46496 /* confdefs.h.  */
46497 _ACEOF
46498 cat confdefs.h >>conftest.$ac_ext
46499 cat >>conftest.$ac_ext <<_ACEOF
46500 /* end confdefs.h.  */
46501 #include <math.h>
46502 int
46503 main ()
46504 {
46505 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46506   ;
46507   return 0;
46508 }
46509 _ACEOF
46510 rm -f conftest.$ac_objext
46511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46512   (eval $ac_compile) 2>conftest.er1
46513   ac_status=$?
46514   grep -v '^ *+' conftest.er1 >conftest.err
46515   rm -f conftest.er1
46516   cat conftest.err >&5
46517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46518   (exit $ac_status); } &&
46519          { ac_try='test -z "$ac_cxx_werror_flag"
46520                          || test ! -s conftest.err'
46521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46522   (eval $ac_try) 2>&5
46523   ac_status=$?
46524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46525   (exit $ac_status); }; } &&
46526          { ac_try='test -s conftest.$ac_objext'
46527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46528   (eval $ac_try) 2>&5
46529   ac_status=$?
46530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46531   (exit $ac_status); }; }; then
46532   glibcxx_cv_func__float_trig_use=yes
46533 else
46534   echo "$as_me: failed program was:" >&5
46535 sed 's/^/| /' conftest.$ac_ext >&5
46536
46537 glibcxx_cv_func__float_trig_use=no
46538 fi
46539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46540       ac_ext=c
46541 ac_cpp='$CPP $CPPFLAGS'
46542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46545
46546 fi
46547
46548     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46549 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46550     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46561 do
46562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46563 echo "$as_me:$LINENO: checking for $ac_func" >&5
46564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46565 if eval "test \"\${$as_ac_var+set}\" = set"; then
46566   echo $ECHO_N "(cached) $ECHO_C" >&6
46567 else
46568   if test x$gcc_no_link = xyes; then
46569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46571    { (exit 1); exit 1; }; }
46572 fi
46573 cat >conftest.$ac_ext <<_ACEOF
46574 /* confdefs.h.  */
46575 _ACEOF
46576 cat confdefs.h >>conftest.$ac_ext
46577 cat >>conftest.$ac_ext <<_ACEOF
46578 /* end confdefs.h.  */
46579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46581 #define $ac_func innocuous_$ac_func
46582
46583 /* System header to define __stub macros and hopefully few prototypes,
46584     which can conflict with char $ac_func (); below.
46585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46586     <limits.h> exists even on freestanding compilers.  */
46587
46588 #ifdef __STDC__
46589 # include <limits.h>
46590 #else
46591 # include <assert.h>
46592 #endif
46593
46594 #undef $ac_func
46595
46596 /* Override any gcc2 internal prototype to avoid an error.  */
46597 #ifdef __cplusplus
46598 extern "C"
46599 {
46600 #endif
46601 /* We use char because int might match the return type of a gcc2
46602    builtin and then its argument prototype would still apply.  */
46603 char $ac_func ();
46604 /* The GNU C library defines this for functions which it implements
46605     to always fail with ENOSYS.  Some functions are actually named
46606     something starting with __ and the normal name is an alias.  */
46607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46608 choke me
46609 #else
46610 char (*f) () = $ac_func;
46611 #endif
46612 #ifdef __cplusplus
46613 }
46614 #endif
46615
46616 int
46617 main ()
46618 {
46619 return f != $ac_func;
46620   ;
46621   return 0;
46622 }
46623 _ACEOF
46624 rm -f conftest.$ac_objext conftest$ac_exeext
46625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46626   (eval $ac_link) 2>conftest.er1
46627   ac_status=$?
46628   grep -v '^ *+' conftest.er1 >conftest.err
46629   rm -f conftest.er1
46630   cat conftest.err >&5
46631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632   (exit $ac_status); } &&
46633          { ac_try='test -z "$ac_c_werror_flag"
46634                          || test ! -s conftest.err'
46635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46636   (eval $ac_try) 2>&5
46637   ac_status=$?
46638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46639   (exit $ac_status); }; } &&
46640          { ac_try='test -s conftest$ac_exeext'
46641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46642   (eval $ac_try) 2>&5
46643   ac_status=$?
46644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46645   (exit $ac_status); }; }; then
46646   eval "$as_ac_var=yes"
46647 else
46648   echo "$as_me: failed program was:" >&5
46649 sed 's/^/| /' conftest.$ac_ext >&5
46650
46651 eval "$as_ac_var=no"
46652 fi
46653 rm -f conftest.err conftest.$ac_objext \
46654       conftest$ac_exeext conftest.$ac_ext
46655 fi
46656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46658 if test `eval echo '${'$as_ac_var'}'` = yes; then
46659   cat >>confdefs.h <<_ACEOF
46660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46661 _ACEOF
46662
46663 fi
46664 done
46665
46666     fi
46667   fi
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682     echo "$as_me:$LINENO: checking for float round functions" >&5
46683 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46684   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46685   echo $ECHO_N "(cached) $ECHO_C" >&6
46686 else
46687
46688
46689
46690     ac_ext=cc
46691 ac_cpp='$CXXCPP $CPPFLAGS'
46692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695
46696     cat >conftest.$ac_ext <<_ACEOF
46697 /* confdefs.h.  */
46698 _ACEOF
46699 cat confdefs.h >>conftest.$ac_ext
46700 cat >>conftest.$ac_ext <<_ACEOF
46701 /* end confdefs.h.  */
46702 #include <math.h>
46703 int
46704 main ()
46705 {
46706 ceilf (0); floorf (0);
46707   ;
46708   return 0;
46709 }
46710 _ACEOF
46711 rm -f conftest.$ac_objext
46712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46713   (eval $ac_compile) 2>conftest.er1
46714   ac_status=$?
46715   grep -v '^ *+' conftest.er1 >conftest.err
46716   rm -f conftest.er1
46717   cat conftest.err >&5
46718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719   (exit $ac_status); } &&
46720          { ac_try='test -z "$ac_cxx_werror_flag"
46721                          || test ! -s conftest.err'
46722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46723   (eval $ac_try) 2>&5
46724   ac_status=$?
46725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46726   (exit $ac_status); }; } &&
46727          { ac_try='test -s conftest.$ac_objext'
46728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46729   (eval $ac_try) 2>&5
46730   ac_status=$?
46731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46732   (exit $ac_status); }; }; then
46733   glibcxx_cv_func_float_round_use=yes
46734 else
46735   echo "$as_me: failed program was:" >&5
46736 sed 's/^/| /' conftest.$ac_ext >&5
46737
46738 glibcxx_cv_func_float_round_use=no
46739 fi
46740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46741     ac_ext=c
46742 ac_cpp='$CPP $CPPFLAGS'
46743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46746
46747 fi
46748
46749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46750 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46751   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46752
46753
46754 for ac_func in ceilf floorf
46755 do
46756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46757 echo "$as_me:$LINENO: checking for $ac_func" >&5
46758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46759 if eval "test \"\${$as_ac_var+set}\" = set"; then
46760   echo $ECHO_N "(cached) $ECHO_C" >&6
46761 else
46762   if test x$gcc_no_link = xyes; then
46763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46765    { (exit 1); exit 1; }; }
46766 fi
46767 cat >conftest.$ac_ext <<_ACEOF
46768 /* confdefs.h.  */
46769 _ACEOF
46770 cat confdefs.h >>conftest.$ac_ext
46771 cat >>conftest.$ac_ext <<_ACEOF
46772 /* end confdefs.h.  */
46773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46775 #define $ac_func innocuous_$ac_func
46776
46777 /* System header to define __stub macros and hopefully few prototypes,
46778     which can conflict with char $ac_func (); below.
46779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46780     <limits.h> exists even on freestanding compilers.  */
46781
46782 #ifdef __STDC__
46783 # include <limits.h>
46784 #else
46785 # include <assert.h>
46786 #endif
46787
46788 #undef $ac_func
46789
46790 /* Override any gcc2 internal prototype to avoid an error.  */
46791 #ifdef __cplusplus
46792 extern "C"
46793 {
46794 #endif
46795 /* We use char because int might match the return type of a gcc2
46796    builtin and then its argument prototype would still apply.  */
46797 char $ac_func ();
46798 /* The GNU C library defines this for functions which it implements
46799     to always fail with ENOSYS.  Some functions are actually named
46800     something starting with __ and the normal name is an alias.  */
46801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46802 choke me
46803 #else
46804 char (*f) () = $ac_func;
46805 #endif
46806 #ifdef __cplusplus
46807 }
46808 #endif
46809
46810 int
46811 main ()
46812 {
46813 return f != $ac_func;
46814   ;
46815   return 0;
46816 }
46817 _ACEOF
46818 rm -f conftest.$ac_objext conftest$ac_exeext
46819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46820   (eval $ac_link) 2>conftest.er1
46821   ac_status=$?
46822   grep -v '^ *+' conftest.er1 >conftest.err
46823   rm -f conftest.er1
46824   cat conftest.err >&5
46825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826   (exit $ac_status); } &&
46827          { ac_try='test -z "$ac_c_werror_flag"
46828                          || test ! -s conftest.err'
46829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46830   (eval $ac_try) 2>&5
46831   ac_status=$?
46832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833   (exit $ac_status); }; } &&
46834          { ac_try='test -s conftest$ac_exeext'
46835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46836   (eval $ac_try) 2>&5
46837   ac_status=$?
46838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46839   (exit $ac_status); }; }; then
46840   eval "$as_ac_var=yes"
46841 else
46842   echo "$as_me: failed program was:" >&5
46843 sed 's/^/| /' conftest.$ac_ext >&5
46844
46845 eval "$as_ac_var=no"
46846 fi
46847 rm -f conftest.err conftest.$ac_objext \
46848       conftest$ac_exeext conftest.$ac_ext
46849 fi
46850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46852 if test `eval echo '${'$as_ac_var'}'` = yes; then
46853   cat >>confdefs.h <<_ACEOF
46854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46855 _ACEOF
46856
46857 fi
46858 done
46859
46860   else
46861     echo "$as_me:$LINENO: checking for _float round functions" >&5
46862 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46863     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46864   echo $ECHO_N "(cached) $ECHO_C" >&6
46865 else
46866
46867
46868
46869       ac_ext=cc
46870 ac_cpp='$CXXCPP $CPPFLAGS'
46871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46874
46875       cat >conftest.$ac_ext <<_ACEOF
46876 /* confdefs.h.  */
46877 _ACEOF
46878 cat confdefs.h >>conftest.$ac_ext
46879 cat >>conftest.$ac_ext <<_ACEOF
46880 /* end confdefs.h.  */
46881 #include <math.h>
46882 int
46883 main ()
46884 {
46885 _ceilf (0); _floorf (0);
46886   ;
46887   return 0;
46888 }
46889 _ACEOF
46890 rm -f conftest.$ac_objext
46891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46892   (eval $ac_compile) 2>conftest.er1
46893   ac_status=$?
46894   grep -v '^ *+' conftest.er1 >conftest.err
46895   rm -f conftest.er1
46896   cat conftest.err >&5
46897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46898   (exit $ac_status); } &&
46899          { ac_try='test -z "$ac_cxx_werror_flag"
46900                          || test ! -s conftest.err'
46901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46902   (eval $ac_try) 2>&5
46903   ac_status=$?
46904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46905   (exit $ac_status); }; } &&
46906          { ac_try='test -s conftest.$ac_objext'
46907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46908   (eval $ac_try) 2>&5
46909   ac_status=$?
46910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46911   (exit $ac_status); }; }; then
46912   glibcxx_cv_func__float_round_use=yes
46913 else
46914   echo "$as_me: failed program was:" >&5
46915 sed 's/^/| /' conftest.$ac_ext >&5
46916
46917 glibcxx_cv_func__float_round_use=no
46918 fi
46919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46920       ac_ext=c
46921 ac_cpp='$CPP $CPPFLAGS'
46922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46925
46926 fi
46927
46928     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46929 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46930     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46931
46932
46933 for ac_func in _ceilf _floorf
46934 do
46935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46936 echo "$as_me:$LINENO: checking for $ac_func" >&5
46937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46938 if eval "test \"\${$as_ac_var+set}\" = set"; then
46939   echo $ECHO_N "(cached) $ECHO_C" >&6
46940 else
46941   if test x$gcc_no_link = xyes; then
46942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46944    { (exit 1); exit 1; }; }
46945 fi
46946 cat >conftest.$ac_ext <<_ACEOF
46947 /* confdefs.h.  */
46948 _ACEOF
46949 cat confdefs.h >>conftest.$ac_ext
46950 cat >>conftest.$ac_ext <<_ACEOF
46951 /* end confdefs.h.  */
46952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46954 #define $ac_func innocuous_$ac_func
46955
46956 /* System header to define __stub macros and hopefully few prototypes,
46957     which can conflict with char $ac_func (); below.
46958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46959     <limits.h> exists even on freestanding compilers.  */
46960
46961 #ifdef __STDC__
46962 # include <limits.h>
46963 #else
46964 # include <assert.h>
46965 #endif
46966
46967 #undef $ac_func
46968
46969 /* Override any gcc2 internal prototype to avoid an error.  */
46970 #ifdef __cplusplus
46971 extern "C"
46972 {
46973 #endif
46974 /* We use char because int might match the return type of a gcc2
46975    builtin and then its argument prototype would still apply.  */
46976 char $ac_func ();
46977 /* The GNU C library defines this for functions which it implements
46978     to always fail with ENOSYS.  Some functions are actually named
46979     something starting with __ and the normal name is an alias.  */
46980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46981 choke me
46982 #else
46983 char (*f) () = $ac_func;
46984 #endif
46985 #ifdef __cplusplus
46986 }
46987 #endif
46988
46989 int
46990 main ()
46991 {
46992 return f != $ac_func;
46993   ;
46994   return 0;
46995 }
46996 _ACEOF
46997 rm -f conftest.$ac_objext conftest$ac_exeext
46998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46999   (eval $ac_link) 2>conftest.er1
47000   ac_status=$?
47001   grep -v '^ *+' conftest.er1 >conftest.err
47002   rm -f conftest.er1
47003   cat conftest.err >&5
47004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47005   (exit $ac_status); } &&
47006          { ac_try='test -z "$ac_c_werror_flag"
47007                          || test ! -s conftest.err'
47008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47009   (eval $ac_try) 2>&5
47010   ac_status=$?
47011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012   (exit $ac_status); }; } &&
47013          { ac_try='test -s conftest$ac_exeext'
47014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47015   (eval $ac_try) 2>&5
47016   ac_status=$?
47017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47018   (exit $ac_status); }; }; then
47019   eval "$as_ac_var=yes"
47020 else
47021   echo "$as_me: failed program was:" >&5
47022 sed 's/^/| /' conftest.$ac_ext >&5
47023
47024 eval "$as_ac_var=no"
47025 fi
47026 rm -f conftest.err conftest.$ac_objext \
47027       conftest$ac_exeext conftest.$ac_ext
47028 fi
47029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47031 if test `eval echo '${'$as_ac_var'}'` = yes; then
47032   cat >>confdefs.h <<_ACEOF
47033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47034 _ACEOF
47035
47036 fi
47037 done
47038
47039     fi
47040   fi
47041
47042
47043
47044
47045
47046
47047
47048
47049   echo "$as_me:$LINENO: checking for expf declaration" >&5
47050 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47051   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47052     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47053   echo $ECHO_N "(cached) $ECHO_C" >&6
47054 else
47055
47056
47057
47058       ac_ext=cc
47059 ac_cpp='$CXXCPP $CPPFLAGS'
47060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47063
47064       cat >conftest.$ac_ext <<_ACEOF
47065 /* confdefs.h.  */
47066 _ACEOF
47067 cat confdefs.h >>conftest.$ac_ext
47068 cat >>conftest.$ac_ext <<_ACEOF
47069 /* end confdefs.h.  */
47070 #include <math.h>
47071                       #ifdef HAVE_IEEEFP_H
47072                       #include <ieeefp.h>
47073                       #endif
47074
47075 int
47076 main ()
47077 {
47078  expf(0);
47079   ;
47080   return 0;
47081 }
47082 _ACEOF
47083 rm -f conftest.$ac_objext
47084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47085   (eval $ac_compile) 2>conftest.er1
47086   ac_status=$?
47087   grep -v '^ *+' conftest.er1 >conftest.err
47088   rm -f conftest.er1
47089   cat conftest.err >&5
47090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47091   (exit $ac_status); } &&
47092          { ac_try='test -z "$ac_cxx_werror_flag"
47093                          || test ! -s conftest.err'
47094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47095   (eval $ac_try) 2>&5
47096   ac_status=$?
47097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47098   (exit $ac_status); }; } &&
47099          { ac_try='test -s conftest.$ac_objext'
47100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47101   (eval $ac_try) 2>&5
47102   ac_status=$?
47103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104   (exit $ac_status); }; }; then
47105   glibcxx_cv_func_expf_use=yes
47106 else
47107   echo "$as_me: failed program was:" >&5
47108 sed 's/^/| /' conftest.$ac_ext >&5
47109
47110 glibcxx_cv_func_expf_use=no
47111 fi
47112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47113       ac_ext=c
47114 ac_cpp='$CPP $CPPFLAGS'
47115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47118
47119
47120 fi
47121
47122   fi
47123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47124 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47125
47126   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47127
47128 for ac_func in expf
47129 do
47130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47131 echo "$as_me:$LINENO: checking for $ac_func" >&5
47132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47133 if eval "test \"\${$as_ac_var+set}\" = set"; then
47134   echo $ECHO_N "(cached) $ECHO_C" >&6
47135 else
47136   if test x$gcc_no_link = xyes; then
47137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47139    { (exit 1); exit 1; }; }
47140 fi
47141 cat >conftest.$ac_ext <<_ACEOF
47142 /* confdefs.h.  */
47143 _ACEOF
47144 cat confdefs.h >>conftest.$ac_ext
47145 cat >>conftest.$ac_ext <<_ACEOF
47146 /* end confdefs.h.  */
47147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47149 #define $ac_func innocuous_$ac_func
47150
47151 /* System header to define __stub macros and hopefully few prototypes,
47152     which can conflict with char $ac_func (); below.
47153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47154     <limits.h> exists even on freestanding compilers.  */
47155
47156 #ifdef __STDC__
47157 # include <limits.h>
47158 #else
47159 # include <assert.h>
47160 #endif
47161
47162 #undef $ac_func
47163
47164 /* Override any gcc2 internal prototype to avoid an error.  */
47165 #ifdef __cplusplus
47166 extern "C"
47167 {
47168 #endif
47169 /* We use char because int might match the return type of a gcc2
47170    builtin and then its argument prototype would still apply.  */
47171 char $ac_func ();
47172 /* The GNU C library defines this for functions which it implements
47173     to always fail with ENOSYS.  Some functions are actually named
47174     something starting with __ and the normal name is an alias.  */
47175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47176 choke me
47177 #else
47178 char (*f) () = $ac_func;
47179 #endif
47180 #ifdef __cplusplus
47181 }
47182 #endif
47183
47184 int
47185 main ()
47186 {
47187 return f != $ac_func;
47188   ;
47189   return 0;
47190 }
47191 _ACEOF
47192 rm -f conftest.$ac_objext conftest$ac_exeext
47193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47194   (eval $ac_link) 2>conftest.er1
47195   ac_status=$?
47196   grep -v '^ *+' conftest.er1 >conftest.err
47197   rm -f conftest.er1
47198   cat conftest.err >&5
47199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200   (exit $ac_status); } &&
47201          { ac_try='test -z "$ac_c_werror_flag"
47202                          || test ! -s conftest.err'
47203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47204   (eval $ac_try) 2>&5
47205   ac_status=$?
47206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47207   (exit $ac_status); }; } &&
47208          { ac_try='test -s conftest$ac_exeext'
47209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47210   (eval $ac_try) 2>&5
47211   ac_status=$?
47212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213   (exit $ac_status); }; }; then
47214   eval "$as_ac_var=yes"
47215 else
47216   echo "$as_me: failed program was:" >&5
47217 sed 's/^/| /' conftest.$ac_ext >&5
47218
47219 eval "$as_ac_var=no"
47220 fi
47221 rm -f conftest.err conftest.$ac_objext \
47222       conftest$ac_exeext conftest.$ac_ext
47223 fi
47224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47226 if test `eval echo '${'$as_ac_var'}'` = yes; then
47227   cat >>confdefs.h <<_ACEOF
47228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47229 _ACEOF
47230
47231 fi
47232 done
47233
47234   else
47235
47236   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47237 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47238   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47239     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47240   echo $ECHO_N "(cached) $ECHO_C" >&6
47241 else
47242
47243
47244
47245       ac_ext=cc
47246 ac_cpp='$CXXCPP $CPPFLAGS'
47247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47250
47251       cat >conftest.$ac_ext <<_ACEOF
47252 /* confdefs.h.  */
47253 _ACEOF
47254 cat confdefs.h >>conftest.$ac_ext
47255 cat >>conftest.$ac_ext <<_ACEOF
47256 /* end confdefs.h.  */
47257 #include <math.h>
47258                       #ifdef HAVE_IEEEFP_H
47259                       #include <ieeefp.h>
47260                       #endif
47261
47262 int
47263 main ()
47264 {
47265  _expf(0);
47266   ;
47267   return 0;
47268 }
47269 _ACEOF
47270 rm -f conftest.$ac_objext
47271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47272   (eval $ac_compile) 2>conftest.er1
47273   ac_status=$?
47274   grep -v '^ *+' conftest.er1 >conftest.err
47275   rm -f conftest.er1
47276   cat conftest.err >&5
47277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47278   (exit $ac_status); } &&
47279          { ac_try='test -z "$ac_cxx_werror_flag"
47280                          || test ! -s conftest.err'
47281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47282   (eval $ac_try) 2>&5
47283   ac_status=$?
47284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47285   (exit $ac_status); }; } &&
47286          { ac_try='test -s conftest.$ac_objext'
47287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47288   (eval $ac_try) 2>&5
47289   ac_status=$?
47290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291   (exit $ac_status); }; }; then
47292   glibcxx_cv_func__expf_use=yes
47293 else
47294   echo "$as_me: failed program was:" >&5
47295 sed 's/^/| /' conftest.$ac_ext >&5
47296
47297 glibcxx_cv_func__expf_use=no
47298 fi
47299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47300       ac_ext=c
47301 ac_cpp='$CPP $CPPFLAGS'
47302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47305
47306
47307 fi
47308
47309   fi
47310   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47311 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47312
47313     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47314
47315 for ac_func in _expf
47316 do
47317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47318 echo "$as_me:$LINENO: checking for $ac_func" >&5
47319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47320 if eval "test \"\${$as_ac_var+set}\" = set"; then
47321   echo $ECHO_N "(cached) $ECHO_C" >&6
47322 else
47323   if test x$gcc_no_link = xyes; then
47324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47326    { (exit 1); exit 1; }; }
47327 fi
47328 cat >conftest.$ac_ext <<_ACEOF
47329 /* confdefs.h.  */
47330 _ACEOF
47331 cat confdefs.h >>conftest.$ac_ext
47332 cat >>conftest.$ac_ext <<_ACEOF
47333 /* end confdefs.h.  */
47334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47336 #define $ac_func innocuous_$ac_func
47337
47338 /* System header to define __stub macros and hopefully few prototypes,
47339     which can conflict with char $ac_func (); below.
47340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47341     <limits.h> exists even on freestanding compilers.  */
47342
47343 #ifdef __STDC__
47344 # include <limits.h>
47345 #else
47346 # include <assert.h>
47347 #endif
47348
47349 #undef $ac_func
47350
47351 /* Override any gcc2 internal prototype to avoid an error.  */
47352 #ifdef __cplusplus
47353 extern "C"
47354 {
47355 #endif
47356 /* We use char because int might match the return type of a gcc2
47357    builtin and then its argument prototype would still apply.  */
47358 char $ac_func ();
47359 /* The GNU C library defines this for functions which it implements
47360     to always fail with ENOSYS.  Some functions are actually named
47361     something starting with __ and the normal name is an alias.  */
47362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47363 choke me
47364 #else
47365 char (*f) () = $ac_func;
47366 #endif
47367 #ifdef __cplusplus
47368 }
47369 #endif
47370
47371 int
47372 main ()
47373 {
47374 return f != $ac_func;
47375   ;
47376   return 0;
47377 }
47378 _ACEOF
47379 rm -f conftest.$ac_objext conftest$ac_exeext
47380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47381   (eval $ac_link) 2>conftest.er1
47382   ac_status=$?
47383   grep -v '^ *+' conftest.er1 >conftest.err
47384   rm -f conftest.er1
47385   cat conftest.err >&5
47386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47387   (exit $ac_status); } &&
47388          { ac_try='test -z "$ac_c_werror_flag"
47389                          || test ! -s conftest.err'
47390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391   (eval $ac_try) 2>&5
47392   ac_status=$?
47393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394   (exit $ac_status); }; } &&
47395          { ac_try='test -s conftest$ac_exeext'
47396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47397   (eval $ac_try) 2>&5
47398   ac_status=$?
47399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47400   (exit $ac_status); }; }; then
47401   eval "$as_ac_var=yes"
47402 else
47403   echo "$as_me: failed program was:" >&5
47404 sed 's/^/| /' conftest.$ac_ext >&5
47405
47406 eval "$as_ac_var=no"
47407 fi
47408 rm -f conftest.err conftest.$ac_objext \
47409       conftest$ac_exeext conftest.$ac_ext
47410 fi
47411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47413 if test `eval echo '${'$as_ac_var'}'` = yes; then
47414   cat >>confdefs.h <<_ACEOF
47415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47416 _ACEOF
47417
47418 fi
47419 done
47420
47421     fi
47422   fi
47423
47424
47425
47426
47427
47428
47429   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47430 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47431   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47432     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47433   echo $ECHO_N "(cached) $ECHO_C" >&6
47434 else
47435
47436
47437
47438       ac_ext=cc
47439 ac_cpp='$CXXCPP $CPPFLAGS'
47440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47443
47444       cat >conftest.$ac_ext <<_ACEOF
47445 /* confdefs.h.  */
47446 _ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h.  */
47450 #include <math.h>
47451                       #ifdef HAVE_IEEEFP_H
47452                       #include <ieeefp.h>
47453                       #endif
47454
47455 int
47456 main ()
47457 {
47458  isnanf(0);
47459   ;
47460   return 0;
47461 }
47462 _ACEOF
47463 rm -f conftest.$ac_objext
47464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47465   (eval $ac_compile) 2>conftest.er1
47466   ac_status=$?
47467   grep -v '^ *+' conftest.er1 >conftest.err
47468   rm -f conftest.er1
47469   cat conftest.err >&5
47470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47471   (exit $ac_status); } &&
47472          { ac_try='test -z "$ac_cxx_werror_flag"
47473                          || test ! -s conftest.err'
47474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47475   (eval $ac_try) 2>&5
47476   ac_status=$?
47477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47478   (exit $ac_status); }; } &&
47479          { ac_try='test -s conftest.$ac_objext'
47480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47481   (eval $ac_try) 2>&5
47482   ac_status=$?
47483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47484   (exit $ac_status); }; }; then
47485   glibcxx_cv_func_isnanf_use=yes
47486 else
47487   echo "$as_me: failed program was:" >&5
47488 sed 's/^/| /' conftest.$ac_ext >&5
47489
47490 glibcxx_cv_func_isnanf_use=no
47491 fi
47492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47493       ac_ext=c
47494 ac_cpp='$CPP $CPPFLAGS'
47495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47498
47499
47500 fi
47501
47502   fi
47503   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47504 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47505
47506   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47507
47508 for ac_func in isnanf
47509 do
47510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47511 echo "$as_me:$LINENO: checking for $ac_func" >&5
47512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47513 if eval "test \"\${$as_ac_var+set}\" = set"; then
47514   echo $ECHO_N "(cached) $ECHO_C" >&6
47515 else
47516   if test x$gcc_no_link = xyes; then
47517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47519    { (exit 1); exit 1; }; }
47520 fi
47521 cat >conftest.$ac_ext <<_ACEOF
47522 /* confdefs.h.  */
47523 _ACEOF
47524 cat confdefs.h >>conftest.$ac_ext
47525 cat >>conftest.$ac_ext <<_ACEOF
47526 /* end confdefs.h.  */
47527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47529 #define $ac_func innocuous_$ac_func
47530
47531 /* System header to define __stub macros and hopefully few prototypes,
47532     which can conflict with char $ac_func (); below.
47533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47534     <limits.h> exists even on freestanding compilers.  */
47535
47536 #ifdef __STDC__
47537 # include <limits.h>
47538 #else
47539 # include <assert.h>
47540 #endif
47541
47542 #undef $ac_func
47543
47544 /* Override any gcc2 internal prototype to avoid an error.  */
47545 #ifdef __cplusplus
47546 extern "C"
47547 {
47548 #endif
47549 /* We use char because int might match the return type of a gcc2
47550    builtin and then its argument prototype would still apply.  */
47551 char $ac_func ();
47552 /* The GNU C library defines this for functions which it implements
47553     to always fail with ENOSYS.  Some functions are actually named
47554     something starting with __ and the normal name is an alias.  */
47555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47556 choke me
47557 #else
47558 char (*f) () = $ac_func;
47559 #endif
47560 #ifdef __cplusplus
47561 }
47562 #endif
47563
47564 int
47565 main ()
47566 {
47567 return f != $ac_func;
47568   ;
47569   return 0;
47570 }
47571 _ACEOF
47572 rm -f conftest.$ac_objext conftest$ac_exeext
47573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47574   (eval $ac_link) 2>conftest.er1
47575   ac_status=$?
47576   grep -v '^ *+' conftest.er1 >conftest.err
47577   rm -f conftest.er1
47578   cat conftest.err >&5
47579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47580   (exit $ac_status); } &&
47581          { ac_try='test -z "$ac_c_werror_flag"
47582                          || test ! -s conftest.err'
47583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47584   (eval $ac_try) 2>&5
47585   ac_status=$?
47586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47587   (exit $ac_status); }; } &&
47588          { ac_try='test -s conftest$ac_exeext'
47589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47590   (eval $ac_try) 2>&5
47591   ac_status=$?
47592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47593   (exit $ac_status); }; }; then
47594   eval "$as_ac_var=yes"
47595 else
47596   echo "$as_me: failed program was:" >&5
47597 sed 's/^/| /' conftest.$ac_ext >&5
47598
47599 eval "$as_ac_var=no"
47600 fi
47601 rm -f conftest.err conftest.$ac_objext \
47602       conftest$ac_exeext conftest.$ac_ext
47603 fi
47604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47606 if test `eval echo '${'$as_ac_var'}'` = yes; then
47607   cat >>confdefs.h <<_ACEOF
47608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47609 _ACEOF
47610
47611 fi
47612 done
47613
47614   else
47615
47616   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47617 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47618   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47619     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47620   echo $ECHO_N "(cached) $ECHO_C" >&6
47621 else
47622
47623
47624
47625       ac_ext=cc
47626 ac_cpp='$CXXCPP $CPPFLAGS'
47627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47630
47631       cat >conftest.$ac_ext <<_ACEOF
47632 /* confdefs.h.  */
47633 _ACEOF
47634 cat confdefs.h >>conftest.$ac_ext
47635 cat >>conftest.$ac_ext <<_ACEOF
47636 /* end confdefs.h.  */
47637 #include <math.h>
47638                       #ifdef HAVE_IEEEFP_H
47639                       #include <ieeefp.h>
47640                       #endif
47641
47642 int
47643 main ()
47644 {
47645  _isnanf(0);
47646   ;
47647   return 0;
47648 }
47649 _ACEOF
47650 rm -f conftest.$ac_objext
47651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47652   (eval $ac_compile) 2>conftest.er1
47653   ac_status=$?
47654   grep -v '^ *+' conftest.er1 >conftest.err
47655   rm -f conftest.er1
47656   cat conftest.err >&5
47657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47658   (exit $ac_status); } &&
47659          { ac_try='test -z "$ac_cxx_werror_flag"
47660                          || test ! -s conftest.err'
47661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662   (eval $ac_try) 2>&5
47663   ac_status=$?
47664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665   (exit $ac_status); }; } &&
47666          { ac_try='test -s conftest.$ac_objext'
47667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47668   (eval $ac_try) 2>&5
47669   ac_status=$?
47670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671   (exit $ac_status); }; }; then
47672   glibcxx_cv_func__isnanf_use=yes
47673 else
47674   echo "$as_me: failed program was:" >&5
47675 sed 's/^/| /' conftest.$ac_ext >&5
47676
47677 glibcxx_cv_func__isnanf_use=no
47678 fi
47679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47680       ac_ext=c
47681 ac_cpp='$CPP $CPPFLAGS'
47682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685
47686
47687 fi
47688
47689   fi
47690   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47691 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47692
47693     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47694
47695 for ac_func in _isnanf
47696 do
47697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47698 echo "$as_me:$LINENO: checking for $ac_func" >&5
47699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47700 if eval "test \"\${$as_ac_var+set}\" = set"; then
47701   echo $ECHO_N "(cached) $ECHO_C" >&6
47702 else
47703   if test x$gcc_no_link = xyes; then
47704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47706    { (exit 1); exit 1; }; }
47707 fi
47708 cat >conftest.$ac_ext <<_ACEOF
47709 /* confdefs.h.  */
47710 _ACEOF
47711 cat confdefs.h >>conftest.$ac_ext
47712 cat >>conftest.$ac_ext <<_ACEOF
47713 /* end confdefs.h.  */
47714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47716 #define $ac_func innocuous_$ac_func
47717
47718 /* System header to define __stub macros and hopefully few prototypes,
47719     which can conflict with char $ac_func (); below.
47720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47721     <limits.h> exists even on freestanding compilers.  */
47722
47723 #ifdef __STDC__
47724 # include <limits.h>
47725 #else
47726 # include <assert.h>
47727 #endif
47728
47729 #undef $ac_func
47730
47731 /* Override any gcc2 internal prototype to avoid an error.  */
47732 #ifdef __cplusplus
47733 extern "C"
47734 {
47735 #endif
47736 /* We use char because int might match the return type of a gcc2
47737    builtin and then its argument prototype would still apply.  */
47738 char $ac_func ();
47739 /* The GNU C library defines this for functions which it implements
47740     to always fail with ENOSYS.  Some functions are actually named
47741     something starting with __ and the normal name is an alias.  */
47742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47743 choke me
47744 #else
47745 char (*f) () = $ac_func;
47746 #endif
47747 #ifdef __cplusplus
47748 }
47749 #endif
47750
47751 int
47752 main ()
47753 {
47754 return f != $ac_func;
47755   ;
47756   return 0;
47757 }
47758 _ACEOF
47759 rm -f conftest.$ac_objext conftest$ac_exeext
47760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47761   (eval $ac_link) 2>conftest.er1
47762   ac_status=$?
47763   grep -v '^ *+' conftest.er1 >conftest.err
47764   rm -f conftest.er1
47765   cat conftest.err >&5
47766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47767   (exit $ac_status); } &&
47768          { ac_try='test -z "$ac_c_werror_flag"
47769                          || test ! -s conftest.err'
47770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771   (eval $ac_try) 2>&5
47772   ac_status=$?
47773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774   (exit $ac_status); }; } &&
47775          { ac_try='test -s conftest$ac_exeext'
47776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47777   (eval $ac_try) 2>&5
47778   ac_status=$?
47779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780   (exit $ac_status); }; }; then
47781   eval "$as_ac_var=yes"
47782 else
47783   echo "$as_me: failed program was:" >&5
47784 sed 's/^/| /' conftest.$ac_ext >&5
47785
47786 eval "$as_ac_var=no"
47787 fi
47788 rm -f conftest.err conftest.$ac_objext \
47789       conftest$ac_exeext conftest.$ac_ext
47790 fi
47791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47793 if test `eval echo '${'$as_ac_var'}'` = yes; then
47794   cat >>confdefs.h <<_ACEOF
47795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47796 _ACEOF
47797
47798 fi
47799 done
47800
47801     fi
47802   fi
47803
47804
47805
47806
47807
47808
47809   echo "$as_me:$LINENO: checking for isinff declaration" >&5
47810 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47811   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47812     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47813   echo $ECHO_N "(cached) $ECHO_C" >&6
47814 else
47815
47816
47817
47818       ac_ext=cc
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47823
47824       cat >conftest.$ac_ext <<_ACEOF
47825 /* confdefs.h.  */
47826 _ACEOF
47827 cat confdefs.h >>conftest.$ac_ext
47828 cat >>conftest.$ac_ext <<_ACEOF
47829 /* end confdefs.h.  */
47830 #include <math.h>
47831                       #ifdef HAVE_IEEEFP_H
47832                       #include <ieeefp.h>
47833                       #endif
47834
47835 int
47836 main ()
47837 {
47838  isinff(0);
47839   ;
47840   return 0;
47841 }
47842 _ACEOF
47843 rm -f conftest.$ac_objext
47844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47845   (eval $ac_compile) 2>conftest.er1
47846   ac_status=$?
47847   grep -v '^ *+' conftest.er1 >conftest.err
47848   rm -f conftest.er1
47849   cat conftest.err >&5
47850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47851   (exit $ac_status); } &&
47852          { ac_try='test -z "$ac_cxx_werror_flag"
47853                          || test ! -s conftest.err'
47854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47855   (eval $ac_try) 2>&5
47856   ac_status=$?
47857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47858   (exit $ac_status); }; } &&
47859          { ac_try='test -s conftest.$ac_objext'
47860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47861   (eval $ac_try) 2>&5
47862   ac_status=$?
47863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47864   (exit $ac_status); }; }; then
47865   glibcxx_cv_func_isinff_use=yes
47866 else
47867   echo "$as_me: failed program was:" >&5
47868 sed 's/^/| /' conftest.$ac_ext >&5
47869
47870 glibcxx_cv_func_isinff_use=no
47871 fi
47872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47873       ac_ext=c
47874 ac_cpp='$CPP $CPPFLAGS'
47875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47878
47879
47880 fi
47881
47882   fi
47883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47884 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47885
47886   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47887
47888 for ac_func in isinff
47889 do
47890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47891 echo "$as_me:$LINENO: checking for $ac_func" >&5
47892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47893 if eval "test \"\${$as_ac_var+set}\" = set"; then
47894   echo $ECHO_N "(cached) $ECHO_C" >&6
47895 else
47896   if test x$gcc_no_link = xyes; then
47897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47899    { (exit 1); exit 1; }; }
47900 fi
47901 cat >conftest.$ac_ext <<_ACEOF
47902 /* confdefs.h.  */
47903 _ACEOF
47904 cat confdefs.h >>conftest.$ac_ext
47905 cat >>conftest.$ac_ext <<_ACEOF
47906 /* end confdefs.h.  */
47907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47909 #define $ac_func innocuous_$ac_func
47910
47911 /* System header to define __stub macros and hopefully few prototypes,
47912     which can conflict with char $ac_func (); below.
47913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47914     <limits.h> exists even on freestanding compilers.  */
47915
47916 #ifdef __STDC__
47917 # include <limits.h>
47918 #else
47919 # include <assert.h>
47920 #endif
47921
47922 #undef $ac_func
47923
47924 /* Override any gcc2 internal prototype to avoid an error.  */
47925 #ifdef __cplusplus
47926 extern "C"
47927 {
47928 #endif
47929 /* We use char because int might match the return type of a gcc2
47930    builtin and then its argument prototype would still apply.  */
47931 char $ac_func ();
47932 /* The GNU C library defines this for functions which it implements
47933     to always fail with ENOSYS.  Some functions are actually named
47934     something starting with __ and the normal name is an alias.  */
47935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47936 choke me
47937 #else
47938 char (*f) () = $ac_func;
47939 #endif
47940 #ifdef __cplusplus
47941 }
47942 #endif
47943
47944 int
47945 main ()
47946 {
47947 return f != $ac_func;
47948   ;
47949   return 0;
47950 }
47951 _ACEOF
47952 rm -f conftest.$ac_objext conftest$ac_exeext
47953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47954   (eval $ac_link) 2>conftest.er1
47955   ac_status=$?
47956   grep -v '^ *+' conftest.er1 >conftest.err
47957   rm -f conftest.er1
47958   cat conftest.err >&5
47959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47960   (exit $ac_status); } &&
47961          { ac_try='test -z "$ac_c_werror_flag"
47962                          || test ! -s conftest.err'
47963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47964   (eval $ac_try) 2>&5
47965   ac_status=$?
47966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47967   (exit $ac_status); }; } &&
47968          { ac_try='test -s conftest$ac_exeext'
47969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47970   (eval $ac_try) 2>&5
47971   ac_status=$?
47972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47973   (exit $ac_status); }; }; then
47974   eval "$as_ac_var=yes"
47975 else
47976   echo "$as_me: failed program was:" >&5
47977 sed 's/^/| /' conftest.$ac_ext >&5
47978
47979 eval "$as_ac_var=no"
47980 fi
47981 rm -f conftest.err conftest.$ac_objext \
47982       conftest$ac_exeext conftest.$ac_ext
47983 fi
47984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47986 if test `eval echo '${'$as_ac_var'}'` = yes; then
47987   cat >>confdefs.h <<_ACEOF
47988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47989 _ACEOF
47990
47991 fi
47992 done
47993
47994   else
47995
47996   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47997 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47998   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47999     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48000   echo $ECHO_N "(cached) $ECHO_C" >&6
48001 else
48002
48003
48004
48005       ac_ext=cc
48006 ac_cpp='$CXXCPP $CPPFLAGS'
48007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48010
48011       cat >conftest.$ac_ext <<_ACEOF
48012 /* confdefs.h.  */
48013 _ACEOF
48014 cat confdefs.h >>conftest.$ac_ext
48015 cat >>conftest.$ac_ext <<_ACEOF
48016 /* end confdefs.h.  */
48017 #include <math.h>
48018                       #ifdef HAVE_IEEEFP_H
48019                       #include <ieeefp.h>
48020                       #endif
48021
48022 int
48023 main ()
48024 {
48025  _isinff(0);
48026   ;
48027   return 0;
48028 }
48029 _ACEOF
48030 rm -f conftest.$ac_objext
48031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48032   (eval $ac_compile) 2>conftest.er1
48033   ac_status=$?
48034   grep -v '^ *+' conftest.er1 >conftest.err
48035   rm -f conftest.er1
48036   cat conftest.err >&5
48037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038   (exit $ac_status); } &&
48039          { ac_try='test -z "$ac_cxx_werror_flag"
48040                          || test ! -s conftest.err'
48041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48042   (eval $ac_try) 2>&5
48043   ac_status=$?
48044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48045   (exit $ac_status); }; } &&
48046          { ac_try='test -s conftest.$ac_objext'
48047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48048   (eval $ac_try) 2>&5
48049   ac_status=$?
48050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051   (exit $ac_status); }; }; then
48052   glibcxx_cv_func__isinff_use=yes
48053 else
48054   echo "$as_me: failed program was:" >&5
48055 sed 's/^/| /' conftest.$ac_ext >&5
48056
48057 glibcxx_cv_func__isinff_use=no
48058 fi
48059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48060       ac_ext=c
48061 ac_cpp='$CPP $CPPFLAGS'
48062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065
48066
48067 fi
48068
48069   fi
48070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48071 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48072
48073     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48074
48075 for ac_func in _isinff
48076 do
48077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48078 echo "$as_me:$LINENO: checking for $ac_func" >&5
48079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48080 if eval "test \"\${$as_ac_var+set}\" = set"; then
48081   echo $ECHO_N "(cached) $ECHO_C" >&6
48082 else
48083   if test x$gcc_no_link = xyes; then
48084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48086    { (exit 1); exit 1; }; }
48087 fi
48088 cat >conftest.$ac_ext <<_ACEOF
48089 /* confdefs.h.  */
48090 _ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h.  */
48094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48096 #define $ac_func innocuous_$ac_func
48097
48098 /* System header to define __stub macros and hopefully few prototypes,
48099     which can conflict with char $ac_func (); below.
48100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48101     <limits.h> exists even on freestanding compilers.  */
48102
48103 #ifdef __STDC__
48104 # include <limits.h>
48105 #else
48106 # include <assert.h>
48107 #endif
48108
48109 #undef $ac_func
48110
48111 /* Override any gcc2 internal prototype to avoid an error.  */
48112 #ifdef __cplusplus
48113 extern "C"
48114 {
48115 #endif
48116 /* We use char because int might match the return type of a gcc2
48117    builtin and then its argument prototype would still apply.  */
48118 char $ac_func ();
48119 /* The GNU C library defines this for functions which it implements
48120     to always fail with ENOSYS.  Some functions are actually named
48121     something starting with __ and the normal name is an alias.  */
48122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48123 choke me
48124 #else
48125 char (*f) () = $ac_func;
48126 #endif
48127 #ifdef __cplusplus
48128 }
48129 #endif
48130
48131 int
48132 main ()
48133 {
48134 return f != $ac_func;
48135   ;
48136   return 0;
48137 }
48138 _ACEOF
48139 rm -f conftest.$ac_objext conftest$ac_exeext
48140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48141   (eval $ac_link) 2>conftest.er1
48142   ac_status=$?
48143   grep -v '^ *+' conftest.er1 >conftest.err
48144   rm -f conftest.er1
48145   cat conftest.err >&5
48146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48147   (exit $ac_status); } &&
48148          { ac_try='test -z "$ac_c_werror_flag"
48149                          || test ! -s conftest.err'
48150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48151   (eval $ac_try) 2>&5
48152   ac_status=$?
48153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48154   (exit $ac_status); }; } &&
48155          { ac_try='test -s conftest$ac_exeext'
48156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48157   (eval $ac_try) 2>&5
48158   ac_status=$?
48159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48160   (exit $ac_status); }; }; then
48161   eval "$as_ac_var=yes"
48162 else
48163   echo "$as_me: failed program was:" >&5
48164 sed 's/^/| /' conftest.$ac_ext >&5
48165
48166 eval "$as_ac_var=no"
48167 fi
48168 rm -f conftest.err conftest.$ac_objext \
48169       conftest$ac_exeext conftest.$ac_ext
48170 fi
48171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48173 if test `eval echo '${'$as_ac_var'}'` = yes; then
48174   cat >>confdefs.h <<_ACEOF
48175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48176 _ACEOF
48177
48178 fi
48179 done
48180
48181     fi
48182   fi
48183
48184
48185
48186
48187
48188
48189   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48190 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48191   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48192     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48193   echo $ECHO_N "(cached) $ECHO_C" >&6
48194 else
48195
48196
48197
48198       ac_ext=cc
48199 ac_cpp='$CXXCPP $CPPFLAGS'
48200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48203
48204       cat >conftest.$ac_ext <<_ACEOF
48205 /* confdefs.h.  */
48206 _ACEOF
48207 cat confdefs.h >>conftest.$ac_ext
48208 cat >>conftest.$ac_ext <<_ACEOF
48209 /* end confdefs.h.  */
48210 #include <math.h>
48211 int
48212 main ()
48213 {
48214  atan2f(0, 0);
48215   ;
48216   return 0;
48217 }
48218 _ACEOF
48219 rm -f conftest.$ac_objext
48220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48221   (eval $ac_compile) 2>conftest.er1
48222   ac_status=$?
48223   grep -v '^ *+' conftest.er1 >conftest.err
48224   rm -f conftest.er1
48225   cat conftest.err >&5
48226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227   (exit $ac_status); } &&
48228          { ac_try='test -z "$ac_cxx_werror_flag"
48229                          || test ! -s conftest.err'
48230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48231   (eval $ac_try) 2>&5
48232   ac_status=$?
48233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234   (exit $ac_status); }; } &&
48235          { ac_try='test -s conftest.$ac_objext'
48236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48237   (eval $ac_try) 2>&5
48238   ac_status=$?
48239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240   (exit $ac_status); }; }; then
48241   glibcxx_cv_func_atan2f_use=yes
48242 else
48243   echo "$as_me: failed program was:" >&5
48244 sed 's/^/| /' conftest.$ac_ext >&5
48245
48246 glibcxx_cv_func_atan2f_use=no
48247 fi
48248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48249       ac_ext=c
48250 ac_cpp='$CPP $CPPFLAGS'
48251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48254
48255
48256 fi
48257
48258   fi
48259   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48260 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48261
48262   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48263
48264 for ac_func in atan2f
48265 do
48266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48267 echo "$as_me:$LINENO: checking for $ac_func" >&5
48268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48269 if eval "test \"\${$as_ac_var+set}\" = set"; then
48270   echo $ECHO_N "(cached) $ECHO_C" >&6
48271 else
48272   if test x$gcc_no_link = xyes; then
48273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48275    { (exit 1); exit 1; }; }
48276 fi
48277 cat >conftest.$ac_ext <<_ACEOF
48278 /* confdefs.h.  */
48279 _ACEOF
48280 cat confdefs.h >>conftest.$ac_ext
48281 cat >>conftest.$ac_ext <<_ACEOF
48282 /* end confdefs.h.  */
48283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48285 #define $ac_func innocuous_$ac_func
48286
48287 /* System header to define __stub macros and hopefully few prototypes,
48288     which can conflict with char $ac_func (); below.
48289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48290     <limits.h> exists even on freestanding compilers.  */
48291
48292 #ifdef __STDC__
48293 # include <limits.h>
48294 #else
48295 # include <assert.h>
48296 #endif
48297
48298 #undef $ac_func
48299
48300 /* Override any gcc2 internal prototype to avoid an error.  */
48301 #ifdef __cplusplus
48302 extern "C"
48303 {
48304 #endif
48305 /* We use char because int might match the return type of a gcc2
48306    builtin and then its argument prototype would still apply.  */
48307 char $ac_func ();
48308 /* The GNU C library defines this for functions which it implements
48309     to always fail with ENOSYS.  Some functions are actually named
48310     something starting with __ and the normal name is an alias.  */
48311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48312 choke me
48313 #else
48314 char (*f) () = $ac_func;
48315 #endif
48316 #ifdef __cplusplus
48317 }
48318 #endif
48319
48320 int
48321 main ()
48322 {
48323 return f != $ac_func;
48324   ;
48325   return 0;
48326 }
48327 _ACEOF
48328 rm -f conftest.$ac_objext conftest$ac_exeext
48329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48330   (eval $ac_link) 2>conftest.er1
48331   ac_status=$?
48332   grep -v '^ *+' conftest.er1 >conftest.err
48333   rm -f conftest.er1
48334   cat conftest.err >&5
48335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336   (exit $ac_status); } &&
48337          { ac_try='test -z "$ac_c_werror_flag"
48338                          || test ! -s conftest.err'
48339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48340   (eval $ac_try) 2>&5
48341   ac_status=$?
48342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48343   (exit $ac_status); }; } &&
48344          { ac_try='test -s conftest$ac_exeext'
48345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48346   (eval $ac_try) 2>&5
48347   ac_status=$?
48348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48349   (exit $ac_status); }; }; then
48350   eval "$as_ac_var=yes"
48351 else
48352   echo "$as_me: failed program was:" >&5
48353 sed 's/^/| /' conftest.$ac_ext >&5
48354
48355 eval "$as_ac_var=no"
48356 fi
48357 rm -f conftest.err conftest.$ac_objext \
48358       conftest$ac_exeext conftest.$ac_ext
48359 fi
48360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48362 if test `eval echo '${'$as_ac_var'}'` = yes; then
48363   cat >>confdefs.h <<_ACEOF
48364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48365 _ACEOF
48366
48367 fi
48368 done
48369
48370   else
48371
48372   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48373 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48374   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48375     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48376   echo $ECHO_N "(cached) $ECHO_C" >&6
48377 else
48378
48379
48380
48381       ac_ext=cc
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48386
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 #include <math.h>
48394 int
48395 main ()
48396 {
48397  _atan2f(0, 0);
48398   ;
48399   return 0;
48400 }
48401 _ACEOF
48402 rm -f conftest.$ac_objext
48403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48404   (eval $ac_compile) 2>conftest.er1
48405   ac_status=$?
48406   grep -v '^ *+' conftest.er1 >conftest.err
48407   rm -f conftest.er1
48408   cat conftest.err >&5
48409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410   (exit $ac_status); } &&
48411          { ac_try='test -z "$ac_cxx_werror_flag"
48412                          || test ! -s conftest.err'
48413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48414   (eval $ac_try) 2>&5
48415   ac_status=$?
48416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417   (exit $ac_status); }; } &&
48418          { ac_try='test -s conftest.$ac_objext'
48419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48420   (eval $ac_try) 2>&5
48421   ac_status=$?
48422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48423   (exit $ac_status); }; }; then
48424   glibcxx_cv_func__atan2f_use=yes
48425 else
48426   echo "$as_me: failed program was:" >&5
48427 sed 's/^/| /' conftest.$ac_ext >&5
48428
48429 glibcxx_cv_func__atan2f_use=no
48430 fi
48431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48432       ac_ext=c
48433 ac_cpp='$CPP $CPPFLAGS'
48434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48437
48438
48439 fi
48440
48441   fi
48442   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48443 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48444
48445     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48446
48447 for ac_func in _atan2f
48448 do
48449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48450 echo "$as_me:$LINENO: checking for $ac_func" >&5
48451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48452 if eval "test \"\${$as_ac_var+set}\" = set"; then
48453   echo $ECHO_N "(cached) $ECHO_C" >&6
48454 else
48455   if test x$gcc_no_link = xyes; then
48456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48458    { (exit 1); exit 1; }; }
48459 fi
48460 cat >conftest.$ac_ext <<_ACEOF
48461 /* confdefs.h.  */
48462 _ACEOF
48463 cat confdefs.h >>conftest.$ac_ext
48464 cat >>conftest.$ac_ext <<_ACEOF
48465 /* end confdefs.h.  */
48466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48468 #define $ac_func innocuous_$ac_func
48469
48470 /* System header to define __stub macros and hopefully few prototypes,
48471     which can conflict with char $ac_func (); below.
48472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48473     <limits.h> exists even on freestanding compilers.  */
48474
48475 #ifdef __STDC__
48476 # include <limits.h>
48477 #else
48478 # include <assert.h>
48479 #endif
48480
48481 #undef $ac_func
48482
48483 /* Override any gcc2 internal prototype to avoid an error.  */
48484 #ifdef __cplusplus
48485 extern "C"
48486 {
48487 #endif
48488 /* We use char because int might match the return type of a gcc2
48489    builtin and then its argument prototype would still apply.  */
48490 char $ac_func ();
48491 /* The GNU C library defines this for functions which it implements
48492     to always fail with ENOSYS.  Some functions are actually named
48493     something starting with __ and the normal name is an alias.  */
48494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48495 choke me
48496 #else
48497 char (*f) () = $ac_func;
48498 #endif
48499 #ifdef __cplusplus
48500 }
48501 #endif
48502
48503 int
48504 main ()
48505 {
48506 return f != $ac_func;
48507   ;
48508   return 0;
48509 }
48510 _ACEOF
48511 rm -f conftest.$ac_objext conftest$ac_exeext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48513   (eval $ac_link) 2>conftest.er1
48514   ac_status=$?
48515   grep -v '^ *+' conftest.er1 >conftest.err
48516   rm -f conftest.er1
48517   cat conftest.err >&5
48518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519   (exit $ac_status); } &&
48520          { ac_try='test -z "$ac_c_werror_flag"
48521                          || test ! -s conftest.err'
48522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523   (eval $ac_try) 2>&5
48524   ac_status=$?
48525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526   (exit $ac_status); }; } &&
48527          { ac_try='test -s conftest$ac_exeext'
48528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529   (eval $ac_try) 2>&5
48530   ac_status=$?
48531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532   (exit $ac_status); }; }; then
48533   eval "$as_ac_var=yes"
48534 else
48535   echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48537
48538 eval "$as_ac_var=no"
48539 fi
48540 rm -f conftest.err conftest.$ac_objext \
48541       conftest$ac_exeext conftest.$ac_ext
48542 fi
48543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48545 if test `eval echo '${'$as_ac_var'}'` = yes; then
48546   cat >>confdefs.h <<_ACEOF
48547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48548 _ACEOF
48549
48550 fi
48551 done
48552
48553     fi
48554   fi
48555
48556
48557
48558
48559
48560
48561   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48562 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48563   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48564     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48565   echo $ECHO_N "(cached) $ECHO_C" >&6
48566 else
48567
48568
48569
48570       ac_ext=cc
48571 ac_cpp='$CXXCPP $CPPFLAGS'
48572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575
48576       cat >conftest.$ac_ext <<_ACEOF
48577 /* confdefs.h.  */
48578 _ACEOF
48579 cat confdefs.h >>conftest.$ac_ext
48580 cat >>conftest.$ac_ext <<_ACEOF
48581 /* end confdefs.h.  */
48582 #include <math.h>
48583                       #ifdef HAVE_IEEEFP_H
48584                       #include <ieeefp.h>
48585                       #endif
48586
48587 int
48588 main ()
48589 {
48590  fabsf(0);
48591   ;
48592   return 0;
48593 }
48594 _ACEOF
48595 rm -f conftest.$ac_objext
48596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48597   (eval $ac_compile) 2>conftest.er1
48598   ac_status=$?
48599   grep -v '^ *+' conftest.er1 >conftest.err
48600   rm -f conftest.er1
48601   cat conftest.err >&5
48602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603   (exit $ac_status); } &&
48604          { ac_try='test -z "$ac_cxx_werror_flag"
48605                          || test ! -s conftest.err'
48606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48607   (eval $ac_try) 2>&5
48608   ac_status=$?
48609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48610   (exit $ac_status); }; } &&
48611          { ac_try='test -s conftest.$ac_objext'
48612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48613   (eval $ac_try) 2>&5
48614   ac_status=$?
48615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616   (exit $ac_status); }; }; then
48617   glibcxx_cv_func_fabsf_use=yes
48618 else
48619   echo "$as_me: failed program was:" >&5
48620 sed 's/^/| /' conftest.$ac_ext >&5
48621
48622 glibcxx_cv_func_fabsf_use=no
48623 fi
48624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48625       ac_ext=c
48626 ac_cpp='$CPP $CPPFLAGS'
48627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48630
48631
48632 fi
48633
48634   fi
48635   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48636 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48637
48638   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48639
48640 for ac_func in fabsf
48641 do
48642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48643 echo "$as_me:$LINENO: checking for $ac_func" >&5
48644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48645 if eval "test \"\${$as_ac_var+set}\" = set"; then
48646   echo $ECHO_N "(cached) $ECHO_C" >&6
48647 else
48648   if test x$gcc_no_link = xyes; then
48649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48651    { (exit 1); exit 1; }; }
48652 fi
48653 cat >conftest.$ac_ext <<_ACEOF
48654 /* confdefs.h.  */
48655 _ACEOF
48656 cat confdefs.h >>conftest.$ac_ext
48657 cat >>conftest.$ac_ext <<_ACEOF
48658 /* end confdefs.h.  */
48659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48661 #define $ac_func innocuous_$ac_func
48662
48663 /* System header to define __stub macros and hopefully few prototypes,
48664     which can conflict with char $ac_func (); below.
48665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48666     <limits.h> exists even on freestanding compilers.  */
48667
48668 #ifdef __STDC__
48669 # include <limits.h>
48670 #else
48671 # include <assert.h>
48672 #endif
48673
48674 #undef $ac_func
48675
48676 /* Override any gcc2 internal prototype to avoid an error.  */
48677 #ifdef __cplusplus
48678 extern "C"
48679 {
48680 #endif
48681 /* We use char because int might match the return type of a gcc2
48682    builtin and then its argument prototype would still apply.  */
48683 char $ac_func ();
48684 /* The GNU C library defines this for functions which it implements
48685     to always fail with ENOSYS.  Some functions are actually named
48686     something starting with __ and the normal name is an alias.  */
48687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48688 choke me
48689 #else
48690 char (*f) () = $ac_func;
48691 #endif
48692 #ifdef __cplusplus
48693 }
48694 #endif
48695
48696 int
48697 main ()
48698 {
48699 return f != $ac_func;
48700   ;
48701   return 0;
48702 }
48703 _ACEOF
48704 rm -f conftest.$ac_objext conftest$ac_exeext
48705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48706   (eval $ac_link) 2>conftest.er1
48707   ac_status=$?
48708   grep -v '^ *+' conftest.er1 >conftest.err
48709   rm -f conftest.er1
48710   cat conftest.err >&5
48711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712   (exit $ac_status); } &&
48713          { ac_try='test -z "$ac_c_werror_flag"
48714                          || test ! -s conftest.err'
48715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48716   (eval $ac_try) 2>&5
48717   ac_status=$?
48718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719   (exit $ac_status); }; } &&
48720          { ac_try='test -s conftest$ac_exeext'
48721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48722   (eval $ac_try) 2>&5
48723   ac_status=$?
48724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48725   (exit $ac_status); }; }; then
48726   eval "$as_ac_var=yes"
48727 else
48728   echo "$as_me: failed program was:" >&5
48729 sed 's/^/| /' conftest.$ac_ext >&5
48730
48731 eval "$as_ac_var=no"
48732 fi
48733 rm -f conftest.err conftest.$ac_objext \
48734       conftest$ac_exeext conftest.$ac_ext
48735 fi
48736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48738 if test `eval echo '${'$as_ac_var'}'` = yes; then
48739   cat >>confdefs.h <<_ACEOF
48740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48741 _ACEOF
48742
48743 fi
48744 done
48745
48746   else
48747
48748   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48749 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48750   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48751     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48752   echo $ECHO_N "(cached) $ECHO_C" >&6
48753 else
48754
48755
48756
48757       ac_ext=cc
48758 ac_cpp='$CXXCPP $CPPFLAGS'
48759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762
48763       cat >conftest.$ac_ext <<_ACEOF
48764 /* confdefs.h.  */
48765 _ACEOF
48766 cat confdefs.h >>conftest.$ac_ext
48767 cat >>conftest.$ac_ext <<_ACEOF
48768 /* end confdefs.h.  */
48769 #include <math.h>
48770                       #ifdef HAVE_IEEEFP_H
48771                       #include <ieeefp.h>
48772                       #endif
48773
48774 int
48775 main ()
48776 {
48777  _fabsf(0);
48778   ;
48779   return 0;
48780 }
48781 _ACEOF
48782 rm -f conftest.$ac_objext
48783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48784   (eval $ac_compile) 2>conftest.er1
48785   ac_status=$?
48786   grep -v '^ *+' conftest.er1 >conftest.err
48787   rm -f conftest.er1
48788   cat conftest.err >&5
48789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790   (exit $ac_status); } &&
48791          { ac_try='test -z "$ac_cxx_werror_flag"
48792                          || test ! -s conftest.err'
48793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48794   (eval $ac_try) 2>&5
48795   ac_status=$?
48796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48797   (exit $ac_status); }; } &&
48798          { ac_try='test -s conftest.$ac_objext'
48799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48800   (eval $ac_try) 2>&5
48801   ac_status=$?
48802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48803   (exit $ac_status); }; }; then
48804   glibcxx_cv_func__fabsf_use=yes
48805 else
48806   echo "$as_me: failed program was:" >&5
48807 sed 's/^/| /' conftest.$ac_ext >&5
48808
48809 glibcxx_cv_func__fabsf_use=no
48810 fi
48811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48812       ac_ext=c
48813 ac_cpp='$CPP $CPPFLAGS'
48814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48817
48818
48819 fi
48820
48821   fi
48822   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48823 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48824
48825     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48826
48827 for ac_func in _fabsf
48828 do
48829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48830 echo "$as_me:$LINENO: checking for $ac_func" >&5
48831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48832 if eval "test \"\${$as_ac_var+set}\" = set"; then
48833   echo $ECHO_N "(cached) $ECHO_C" >&6
48834 else
48835   if test x$gcc_no_link = xyes; then
48836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48838    { (exit 1); exit 1; }; }
48839 fi
48840 cat >conftest.$ac_ext <<_ACEOF
48841 /* confdefs.h.  */
48842 _ACEOF
48843 cat confdefs.h >>conftest.$ac_ext
48844 cat >>conftest.$ac_ext <<_ACEOF
48845 /* end confdefs.h.  */
48846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48848 #define $ac_func innocuous_$ac_func
48849
48850 /* System header to define __stub macros and hopefully few prototypes,
48851     which can conflict with char $ac_func (); below.
48852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48853     <limits.h> exists even on freestanding compilers.  */
48854
48855 #ifdef __STDC__
48856 # include <limits.h>
48857 #else
48858 # include <assert.h>
48859 #endif
48860
48861 #undef $ac_func
48862
48863 /* Override any gcc2 internal prototype to avoid an error.  */
48864 #ifdef __cplusplus
48865 extern "C"
48866 {
48867 #endif
48868 /* We use char because int might match the return type of a gcc2
48869    builtin and then its argument prototype would still apply.  */
48870 char $ac_func ();
48871 /* The GNU C library defines this for functions which it implements
48872     to always fail with ENOSYS.  Some functions are actually named
48873     something starting with __ and the normal name is an alias.  */
48874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48875 choke me
48876 #else
48877 char (*f) () = $ac_func;
48878 #endif
48879 #ifdef __cplusplus
48880 }
48881 #endif
48882
48883 int
48884 main ()
48885 {
48886 return f != $ac_func;
48887   ;
48888   return 0;
48889 }
48890 _ACEOF
48891 rm -f conftest.$ac_objext conftest$ac_exeext
48892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48893   (eval $ac_link) 2>conftest.er1
48894   ac_status=$?
48895   grep -v '^ *+' conftest.er1 >conftest.err
48896   rm -f conftest.er1
48897   cat conftest.err >&5
48898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899   (exit $ac_status); } &&
48900          { ac_try='test -z "$ac_c_werror_flag"
48901                          || test ! -s conftest.err'
48902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48903   (eval $ac_try) 2>&5
48904   ac_status=$?
48905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48906   (exit $ac_status); }; } &&
48907          { ac_try='test -s conftest$ac_exeext'
48908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48909   (eval $ac_try) 2>&5
48910   ac_status=$?
48911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48912   (exit $ac_status); }; }; then
48913   eval "$as_ac_var=yes"
48914 else
48915   echo "$as_me: failed program was:" >&5
48916 sed 's/^/| /' conftest.$ac_ext >&5
48917
48918 eval "$as_ac_var=no"
48919 fi
48920 rm -f conftest.err conftest.$ac_objext \
48921       conftest$ac_exeext conftest.$ac_ext
48922 fi
48923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48925 if test `eval echo '${'$as_ac_var'}'` = yes; then
48926   cat >>confdefs.h <<_ACEOF
48927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48928 _ACEOF
48929
48930 fi
48931 done
48932
48933     fi
48934   fi
48935
48936
48937
48938
48939
48940
48941   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48942 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48943   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48944     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48945   echo $ECHO_N "(cached) $ECHO_C" >&6
48946 else
48947
48948
48949
48950       ac_ext=cc
48951 ac_cpp='$CXXCPP $CPPFLAGS'
48952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48955
48956       cat >conftest.$ac_ext <<_ACEOF
48957 /* confdefs.h.  */
48958 _ACEOF
48959 cat confdefs.h >>conftest.$ac_ext
48960 cat >>conftest.$ac_ext <<_ACEOF
48961 /* end confdefs.h.  */
48962 #include <math.h>
48963 int
48964 main ()
48965 {
48966  fmodf(0, 0);
48967   ;
48968   return 0;
48969 }
48970 _ACEOF
48971 rm -f conftest.$ac_objext
48972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48973   (eval $ac_compile) 2>conftest.er1
48974   ac_status=$?
48975   grep -v '^ *+' conftest.er1 >conftest.err
48976   rm -f conftest.er1
48977   cat conftest.err >&5
48978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48979   (exit $ac_status); } &&
48980          { ac_try='test -z "$ac_cxx_werror_flag"
48981                          || test ! -s conftest.err'
48982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48983   (eval $ac_try) 2>&5
48984   ac_status=$?
48985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48986   (exit $ac_status); }; } &&
48987          { ac_try='test -s conftest.$ac_objext'
48988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48989   (eval $ac_try) 2>&5
48990   ac_status=$?
48991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992   (exit $ac_status); }; }; then
48993   glibcxx_cv_func_fmodf_use=yes
48994 else
48995   echo "$as_me: failed program was:" >&5
48996 sed 's/^/| /' conftest.$ac_ext >&5
48997
48998 glibcxx_cv_func_fmodf_use=no
48999 fi
49000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49001       ac_ext=c
49002 ac_cpp='$CPP $CPPFLAGS'
49003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49006
49007
49008 fi
49009
49010   fi
49011   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49012 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49013
49014   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49015
49016 for ac_func in fmodf
49017 do
49018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49019 echo "$as_me:$LINENO: checking for $ac_func" >&5
49020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49021 if eval "test \"\${$as_ac_var+set}\" = set"; then
49022   echo $ECHO_N "(cached) $ECHO_C" >&6
49023 else
49024   if test x$gcc_no_link = xyes; then
49025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49027    { (exit 1); exit 1; }; }
49028 fi
49029 cat >conftest.$ac_ext <<_ACEOF
49030 /* confdefs.h.  */
49031 _ACEOF
49032 cat confdefs.h >>conftest.$ac_ext
49033 cat >>conftest.$ac_ext <<_ACEOF
49034 /* end confdefs.h.  */
49035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49037 #define $ac_func innocuous_$ac_func
49038
49039 /* System header to define __stub macros and hopefully few prototypes,
49040     which can conflict with char $ac_func (); below.
49041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49042     <limits.h> exists even on freestanding compilers.  */
49043
49044 #ifdef __STDC__
49045 # include <limits.h>
49046 #else
49047 # include <assert.h>
49048 #endif
49049
49050 #undef $ac_func
49051
49052 /* Override any gcc2 internal prototype to avoid an error.  */
49053 #ifdef __cplusplus
49054 extern "C"
49055 {
49056 #endif
49057 /* We use char because int might match the return type of a gcc2
49058    builtin and then its argument prototype would still apply.  */
49059 char $ac_func ();
49060 /* The GNU C library defines this for functions which it implements
49061     to always fail with ENOSYS.  Some functions are actually named
49062     something starting with __ and the normal name is an alias.  */
49063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49064 choke me
49065 #else
49066 char (*f) () = $ac_func;
49067 #endif
49068 #ifdef __cplusplus
49069 }
49070 #endif
49071
49072 int
49073 main ()
49074 {
49075 return f != $ac_func;
49076   ;
49077   return 0;
49078 }
49079 _ACEOF
49080 rm -f conftest.$ac_objext conftest$ac_exeext
49081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49082   (eval $ac_link) 2>conftest.er1
49083   ac_status=$?
49084   grep -v '^ *+' conftest.er1 >conftest.err
49085   rm -f conftest.er1
49086   cat conftest.err >&5
49087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088   (exit $ac_status); } &&
49089          { ac_try='test -z "$ac_c_werror_flag"
49090                          || test ! -s conftest.err'
49091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49092   (eval $ac_try) 2>&5
49093   ac_status=$?
49094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095   (exit $ac_status); }; } &&
49096          { ac_try='test -s conftest$ac_exeext'
49097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49098   (eval $ac_try) 2>&5
49099   ac_status=$?
49100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101   (exit $ac_status); }; }; then
49102   eval "$as_ac_var=yes"
49103 else
49104   echo "$as_me: failed program was:" >&5
49105 sed 's/^/| /' conftest.$ac_ext >&5
49106
49107 eval "$as_ac_var=no"
49108 fi
49109 rm -f conftest.err conftest.$ac_objext \
49110       conftest$ac_exeext conftest.$ac_ext
49111 fi
49112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49114 if test `eval echo '${'$as_ac_var'}'` = yes; then
49115   cat >>confdefs.h <<_ACEOF
49116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49117 _ACEOF
49118
49119 fi
49120 done
49121
49122   else
49123
49124   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49125 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49126   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49127     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49128   echo $ECHO_N "(cached) $ECHO_C" >&6
49129 else
49130
49131
49132
49133       ac_ext=cc
49134 ac_cpp='$CXXCPP $CPPFLAGS'
49135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49138
49139       cat >conftest.$ac_ext <<_ACEOF
49140 /* confdefs.h.  */
49141 _ACEOF
49142 cat confdefs.h >>conftest.$ac_ext
49143 cat >>conftest.$ac_ext <<_ACEOF
49144 /* end confdefs.h.  */
49145 #include <math.h>
49146 int
49147 main ()
49148 {
49149  _fmodf(0, 0);
49150   ;
49151   return 0;
49152 }
49153 _ACEOF
49154 rm -f conftest.$ac_objext
49155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49156   (eval $ac_compile) 2>conftest.er1
49157   ac_status=$?
49158   grep -v '^ *+' conftest.er1 >conftest.err
49159   rm -f conftest.er1
49160   cat conftest.err >&5
49161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162   (exit $ac_status); } &&
49163          { ac_try='test -z "$ac_cxx_werror_flag"
49164                          || test ! -s conftest.err'
49165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49166   (eval $ac_try) 2>&5
49167   ac_status=$?
49168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169   (exit $ac_status); }; } &&
49170          { ac_try='test -s conftest.$ac_objext'
49171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49172   (eval $ac_try) 2>&5
49173   ac_status=$?
49174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49175   (exit $ac_status); }; }; then
49176   glibcxx_cv_func__fmodf_use=yes
49177 else
49178   echo "$as_me: failed program was:" >&5
49179 sed 's/^/| /' conftest.$ac_ext >&5
49180
49181 glibcxx_cv_func__fmodf_use=no
49182 fi
49183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49184       ac_ext=c
49185 ac_cpp='$CPP $CPPFLAGS'
49186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49189
49190
49191 fi
49192
49193   fi
49194   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49195 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49196
49197     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49198
49199 for ac_func in _fmodf
49200 do
49201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49202 echo "$as_me:$LINENO: checking for $ac_func" >&5
49203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49204 if eval "test \"\${$as_ac_var+set}\" = set"; then
49205   echo $ECHO_N "(cached) $ECHO_C" >&6
49206 else
49207   if test x$gcc_no_link = xyes; then
49208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49210    { (exit 1); exit 1; }; }
49211 fi
49212 cat >conftest.$ac_ext <<_ACEOF
49213 /* confdefs.h.  */
49214 _ACEOF
49215 cat confdefs.h >>conftest.$ac_ext
49216 cat >>conftest.$ac_ext <<_ACEOF
49217 /* end confdefs.h.  */
49218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49220 #define $ac_func innocuous_$ac_func
49221
49222 /* System header to define __stub macros and hopefully few prototypes,
49223     which can conflict with char $ac_func (); below.
49224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49225     <limits.h> exists even on freestanding compilers.  */
49226
49227 #ifdef __STDC__
49228 # include <limits.h>
49229 #else
49230 # include <assert.h>
49231 #endif
49232
49233 #undef $ac_func
49234
49235 /* Override any gcc2 internal prototype to avoid an error.  */
49236 #ifdef __cplusplus
49237 extern "C"
49238 {
49239 #endif
49240 /* We use char because int might match the return type of a gcc2
49241    builtin and then its argument prototype would still apply.  */
49242 char $ac_func ();
49243 /* The GNU C library defines this for functions which it implements
49244     to always fail with ENOSYS.  Some functions are actually named
49245     something starting with __ and the normal name is an alias.  */
49246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49247 choke me
49248 #else
49249 char (*f) () = $ac_func;
49250 #endif
49251 #ifdef __cplusplus
49252 }
49253 #endif
49254
49255 int
49256 main ()
49257 {
49258 return f != $ac_func;
49259   ;
49260   return 0;
49261 }
49262 _ACEOF
49263 rm -f conftest.$ac_objext conftest$ac_exeext
49264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49265   (eval $ac_link) 2>conftest.er1
49266   ac_status=$?
49267   grep -v '^ *+' conftest.er1 >conftest.err
49268   rm -f conftest.er1
49269   cat conftest.err >&5
49270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49271   (exit $ac_status); } &&
49272          { ac_try='test -z "$ac_c_werror_flag"
49273                          || test ! -s conftest.err'
49274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275   (eval $ac_try) 2>&5
49276   ac_status=$?
49277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278   (exit $ac_status); }; } &&
49279          { ac_try='test -s conftest$ac_exeext'
49280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49281   (eval $ac_try) 2>&5
49282   ac_status=$?
49283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49284   (exit $ac_status); }; }; then
49285   eval "$as_ac_var=yes"
49286 else
49287   echo "$as_me: failed program was:" >&5
49288 sed 's/^/| /' conftest.$ac_ext >&5
49289
49290 eval "$as_ac_var=no"
49291 fi
49292 rm -f conftest.err conftest.$ac_objext \
49293       conftest$ac_exeext conftest.$ac_ext
49294 fi
49295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49297 if test `eval echo '${'$as_ac_var'}'` = yes; then
49298   cat >>confdefs.h <<_ACEOF
49299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49300 _ACEOF
49301
49302 fi
49303 done
49304
49305     fi
49306   fi
49307
49308
49309
49310
49311
49312
49313   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49314 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49315   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49316     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49317   echo $ECHO_N "(cached) $ECHO_C" >&6
49318 else
49319
49320
49321
49322       ac_ext=cc
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328       cat >conftest.$ac_ext <<_ACEOF
49329 /* confdefs.h.  */
49330 _ACEOF
49331 cat confdefs.h >>conftest.$ac_ext
49332 cat >>conftest.$ac_ext <<_ACEOF
49333 /* end confdefs.h.  */
49334 #include <math.h>
49335 int
49336 main ()
49337 {
49338  frexpf(0, 0);
49339   ;
49340   return 0;
49341 }
49342 _ACEOF
49343 rm -f conftest.$ac_objext
49344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49345   (eval $ac_compile) 2>conftest.er1
49346   ac_status=$?
49347   grep -v '^ *+' conftest.er1 >conftest.err
49348   rm -f conftest.er1
49349   cat conftest.err >&5
49350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49351   (exit $ac_status); } &&
49352          { ac_try='test -z "$ac_cxx_werror_flag"
49353                          || test ! -s conftest.err'
49354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355   (eval $ac_try) 2>&5
49356   ac_status=$?
49357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358   (exit $ac_status); }; } &&
49359          { ac_try='test -s conftest.$ac_objext'
49360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49361   (eval $ac_try) 2>&5
49362   ac_status=$?
49363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49364   (exit $ac_status); }; }; then
49365   glibcxx_cv_func_frexpf_use=yes
49366 else
49367   echo "$as_me: failed program was:" >&5
49368 sed 's/^/| /' conftest.$ac_ext >&5
49369
49370 glibcxx_cv_func_frexpf_use=no
49371 fi
49372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49373       ac_ext=c
49374 ac_cpp='$CPP $CPPFLAGS'
49375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49378
49379
49380 fi
49381
49382   fi
49383   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49384 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49385
49386   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49387
49388 for ac_func in frexpf
49389 do
49390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49391 echo "$as_me:$LINENO: checking for $ac_func" >&5
49392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49393 if eval "test \"\${$as_ac_var+set}\" = set"; then
49394   echo $ECHO_N "(cached) $ECHO_C" >&6
49395 else
49396   if test x$gcc_no_link = xyes; then
49397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49399    { (exit 1); exit 1; }; }
49400 fi
49401 cat >conftest.$ac_ext <<_ACEOF
49402 /* confdefs.h.  */
49403 _ACEOF
49404 cat confdefs.h >>conftest.$ac_ext
49405 cat >>conftest.$ac_ext <<_ACEOF
49406 /* end confdefs.h.  */
49407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49409 #define $ac_func innocuous_$ac_func
49410
49411 /* System header to define __stub macros and hopefully few prototypes,
49412     which can conflict with char $ac_func (); below.
49413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49414     <limits.h> exists even on freestanding compilers.  */
49415
49416 #ifdef __STDC__
49417 # include <limits.h>
49418 #else
49419 # include <assert.h>
49420 #endif
49421
49422 #undef $ac_func
49423
49424 /* Override any gcc2 internal prototype to avoid an error.  */
49425 #ifdef __cplusplus
49426 extern "C"
49427 {
49428 #endif
49429 /* We use char because int might match the return type of a gcc2
49430    builtin and then its argument prototype would still apply.  */
49431 char $ac_func ();
49432 /* The GNU C library defines this for functions which it implements
49433     to always fail with ENOSYS.  Some functions are actually named
49434     something starting with __ and the normal name is an alias.  */
49435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49436 choke me
49437 #else
49438 char (*f) () = $ac_func;
49439 #endif
49440 #ifdef __cplusplus
49441 }
49442 #endif
49443
49444 int
49445 main ()
49446 {
49447 return f != $ac_func;
49448   ;
49449   return 0;
49450 }
49451 _ACEOF
49452 rm -f conftest.$ac_objext conftest$ac_exeext
49453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49454   (eval $ac_link) 2>conftest.er1
49455   ac_status=$?
49456   grep -v '^ *+' conftest.er1 >conftest.err
49457   rm -f conftest.er1
49458   cat conftest.err >&5
49459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460   (exit $ac_status); } &&
49461          { ac_try='test -z "$ac_c_werror_flag"
49462                          || test ! -s conftest.err'
49463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49464   (eval $ac_try) 2>&5
49465   ac_status=$?
49466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49467   (exit $ac_status); }; } &&
49468          { ac_try='test -s conftest$ac_exeext'
49469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49470   (eval $ac_try) 2>&5
49471   ac_status=$?
49472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49473   (exit $ac_status); }; }; then
49474   eval "$as_ac_var=yes"
49475 else
49476   echo "$as_me: failed program was:" >&5
49477 sed 's/^/| /' conftest.$ac_ext >&5
49478
49479 eval "$as_ac_var=no"
49480 fi
49481 rm -f conftest.err conftest.$ac_objext \
49482       conftest$ac_exeext conftest.$ac_ext
49483 fi
49484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49486 if test `eval echo '${'$as_ac_var'}'` = yes; then
49487   cat >>confdefs.h <<_ACEOF
49488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49489 _ACEOF
49490
49491 fi
49492 done
49493
49494   else
49495
49496   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49497 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49498   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49499     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49500   echo $ECHO_N "(cached) $ECHO_C" >&6
49501 else
49502
49503
49504
49505       ac_ext=cc
49506 ac_cpp='$CXXCPP $CPPFLAGS'
49507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49510
49511       cat >conftest.$ac_ext <<_ACEOF
49512 /* confdefs.h.  */
49513 _ACEOF
49514 cat confdefs.h >>conftest.$ac_ext
49515 cat >>conftest.$ac_ext <<_ACEOF
49516 /* end confdefs.h.  */
49517 #include <math.h>
49518 int
49519 main ()
49520 {
49521  _frexpf(0, 0);
49522   ;
49523   return 0;
49524 }
49525 _ACEOF
49526 rm -f conftest.$ac_objext
49527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49528   (eval $ac_compile) 2>conftest.er1
49529   ac_status=$?
49530   grep -v '^ *+' conftest.er1 >conftest.err
49531   rm -f conftest.er1
49532   cat conftest.err >&5
49533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49534   (exit $ac_status); } &&
49535          { ac_try='test -z "$ac_cxx_werror_flag"
49536                          || test ! -s conftest.err'
49537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49538   (eval $ac_try) 2>&5
49539   ac_status=$?
49540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49541   (exit $ac_status); }; } &&
49542          { ac_try='test -s conftest.$ac_objext'
49543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49544   (eval $ac_try) 2>&5
49545   ac_status=$?
49546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49547   (exit $ac_status); }; }; then
49548   glibcxx_cv_func__frexpf_use=yes
49549 else
49550   echo "$as_me: failed program was:" >&5
49551 sed 's/^/| /' conftest.$ac_ext >&5
49552
49553 glibcxx_cv_func__frexpf_use=no
49554 fi
49555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49556       ac_ext=c
49557 ac_cpp='$CPP $CPPFLAGS'
49558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49561
49562
49563 fi
49564
49565   fi
49566   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49567 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49568
49569     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49570
49571 for ac_func in _frexpf
49572 do
49573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49574 echo "$as_me:$LINENO: checking for $ac_func" >&5
49575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49576 if eval "test \"\${$as_ac_var+set}\" = set"; then
49577   echo $ECHO_N "(cached) $ECHO_C" >&6
49578 else
49579   if test x$gcc_no_link = xyes; then
49580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49582    { (exit 1); exit 1; }; }
49583 fi
49584 cat >conftest.$ac_ext <<_ACEOF
49585 /* confdefs.h.  */
49586 _ACEOF
49587 cat confdefs.h >>conftest.$ac_ext
49588 cat >>conftest.$ac_ext <<_ACEOF
49589 /* end confdefs.h.  */
49590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49592 #define $ac_func innocuous_$ac_func
49593
49594 /* System header to define __stub macros and hopefully few prototypes,
49595     which can conflict with char $ac_func (); below.
49596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49597     <limits.h> exists even on freestanding compilers.  */
49598
49599 #ifdef __STDC__
49600 # include <limits.h>
49601 #else
49602 # include <assert.h>
49603 #endif
49604
49605 #undef $ac_func
49606
49607 /* Override any gcc2 internal prototype to avoid an error.  */
49608 #ifdef __cplusplus
49609 extern "C"
49610 {
49611 #endif
49612 /* We use char because int might match the return type of a gcc2
49613    builtin and then its argument prototype would still apply.  */
49614 char $ac_func ();
49615 /* The GNU C library defines this for functions which it implements
49616     to always fail with ENOSYS.  Some functions are actually named
49617     something starting with __ and the normal name is an alias.  */
49618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49619 choke me
49620 #else
49621 char (*f) () = $ac_func;
49622 #endif
49623 #ifdef __cplusplus
49624 }
49625 #endif
49626
49627 int
49628 main ()
49629 {
49630 return f != $ac_func;
49631   ;
49632   return 0;
49633 }
49634 _ACEOF
49635 rm -f conftest.$ac_objext conftest$ac_exeext
49636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49637   (eval $ac_link) 2>conftest.er1
49638   ac_status=$?
49639   grep -v '^ *+' conftest.er1 >conftest.err
49640   rm -f conftest.er1
49641   cat conftest.err >&5
49642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49643   (exit $ac_status); } &&
49644          { ac_try='test -z "$ac_c_werror_flag"
49645                          || test ! -s conftest.err'
49646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49647   (eval $ac_try) 2>&5
49648   ac_status=$?
49649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650   (exit $ac_status); }; } &&
49651          { ac_try='test -s conftest$ac_exeext'
49652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49653   (eval $ac_try) 2>&5
49654   ac_status=$?
49655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49656   (exit $ac_status); }; }; then
49657   eval "$as_ac_var=yes"
49658 else
49659   echo "$as_me: failed program was:" >&5
49660 sed 's/^/| /' conftest.$ac_ext >&5
49661
49662 eval "$as_ac_var=no"
49663 fi
49664 rm -f conftest.err conftest.$ac_objext \
49665       conftest$ac_exeext conftest.$ac_ext
49666 fi
49667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49669 if test `eval echo '${'$as_ac_var'}'` = yes; then
49670   cat >>confdefs.h <<_ACEOF
49671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49672 _ACEOF
49673
49674 fi
49675 done
49676
49677     fi
49678   fi
49679
49680
49681
49682
49683
49684
49685   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49686 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49687   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49688     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49689   echo $ECHO_N "(cached) $ECHO_C" >&6
49690 else
49691
49692
49693
49694       ac_ext=cc
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700       cat >conftest.$ac_ext <<_ACEOF
49701 /* confdefs.h.  */
49702 _ACEOF
49703 cat confdefs.h >>conftest.$ac_ext
49704 cat >>conftest.$ac_ext <<_ACEOF
49705 /* end confdefs.h.  */
49706 #include <math.h>
49707 int
49708 main ()
49709 {
49710  hypotf(0, 0);
49711   ;
49712   return 0;
49713 }
49714 _ACEOF
49715 rm -f conftest.$ac_objext
49716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49717   (eval $ac_compile) 2>conftest.er1
49718   ac_status=$?
49719   grep -v '^ *+' conftest.er1 >conftest.err
49720   rm -f conftest.er1
49721   cat conftest.err >&5
49722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49723   (exit $ac_status); } &&
49724          { ac_try='test -z "$ac_cxx_werror_flag"
49725                          || test ! -s conftest.err'
49726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727   (eval $ac_try) 2>&5
49728   ac_status=$?
49729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730   (exit $ac_status); }; } &&
49731          { ac_try='test -s conftest.$ac_objext'
49732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49733   (eval $ac_try) 2>&5
49734   ac_status=$?
49735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736   (exit $ac_status); }; }; then
49737   glibcxx_cv_func_hypotf_use=yes
49738 else
49739   echo "$as_me: failed program was:" >&5
49740 sed 's/^/| /' conftest.$ac_ext >&5
49741
49742 glibcxx_cv_func_hypotf_use=no
49743 fi
49744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49745       ac_ext=c
49746 ac_cpp='$CPP $CPPFLAGS'
49747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49750
49751
49752 fi
49753
49754   fi
49755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49756 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49757
49758   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49759
49760 for ac_func in hypotf
49761 do
49762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49763 echo "$as_me:$LINENO: checking for $ac_func" >&5
49764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49765 if eval "test \"\${$as_ac_var+set}\" = set"; then
49766   echo $ECHO_N "(cached) $ECHO_C" >&6
49767 else
49768   if test x$gcc_no_link = xyes; then
49769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49771    { (exit 1); exit 1; }; }
49772 fi
49773 cat >conftest.$ac_ext <<_ACEOF
49774 /* confdefs.h.  */
49775 _ACEOF
49776 cat confdefs.h >>conftest.$ac_ext
49777 cat >>conftest.$ac_ext <<_ACEOF
49778 /* end confdefs.h.  */
49779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49781 #define $ac_func innocuous_$ac_func
49782
49783 /* System header to define __stub macros and hopefully few prototypes,
49784     which can conflict with char $ac_func (); below.
49785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49786     <limits.h> exists even on freestanding compilers.  */
49787
49788 #ifdef __STDC__
49789 # include <limits.h>
49790 #else
49791 # include <assert.h>
49792 #endif
49793
49794 #undef $ac_func
49795
49796 /* Override any gcc2 internal prototype to avoid an error.  */
49797 #ifdef __cplusplus
49798 extern "C"
49799 {
49800 #endif
49801 /* We use char because int might match the return type of a gcc2
49802    builtin and then its argument prototype would still apply.  */
49803 char $ac_func ();
49804 /* The GNU C library defines this for functions which it implements
49805     to always fail with ENOSYS.  Some functions are actually named
49806     something starting with __ and the normal name is an alias.  */
49807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49808 choke me
49809 #else
49810 char (*f) () = $ac_func;
49811 #endif
49812 #ifdef __cplusplus
49813 }
49814 #endif
49815
49816 int
49817 main ()
49818 {
49819 return f != $ac_func;
49820   ;
49821   return 0;
49822 }
49823 _ACEOF
49824 rm -f conftest.$ac_objext conftest$ac_exeext
49825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49826   (eval $ac_link) 2>conftest.er1
49827   ac_status=$?
49828   grep -v '^ *+' conftest.er1 >conftest.err
49829   rm -f conftest.er1
49830   cat conftest.err >&5
49831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49832   (exit $ac_status); } &&
49833          { ac_try='test -z "$ac_c_werror_flag"
49834                          || test ! -s conftest.err'
49835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49836   (eval $ac_try) 2>&5
49837   ac_status=$?
49838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839   (exit $ac_status); }; } &&
49840          { ac_try='test -s conftest$ac_exeext'
49841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49842   (eval $ac_try) 2>&5
49843   ac_status=$?
49844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49845   (exit $ac_status); }; }; then
49846   eval "$as_ac_var=yes"
49847 else
49848   echo "$as_me: failed program was:" >&5
49849 sed 's/^/| /' conftest.$ac_ext >&5
49850
49851 eval "$as_ac_var=no"
49852 fi
49853 rm -f conftest.err conftest.$ac_objext \
49854       conftest$ac_exeext conftest.$ac_ext
49855 fi
49856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49858 if test `eval echo '${'$as_ac_var'}'` = yes; then
49859   cat >>confdefs.h <<_ACEOF
49860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49861 _ACEOF
49862
49863 fi
49864 done
49865
49866   else
49867
49868   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49869 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49870   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49871     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49872   echo $ECHO_N "(cached) $ECHO_C" >&6
49873 else
49874
49875
49876
49877       ac_ext=cc
49878 ac_cpp='$CXXCPP $CPPFLAGS'
49879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882
49883       cat >conftest.$ac_ext <<_ACEOF
49884 /* confdefs.h.  */
49885 _ACEOF
49886 cat confdefs.h >>conftest.$ac_ext
49887 cat >>conftest.$ac_ext <<_ACEOF
49888 /* end confdefs.h.  */
49889 #include <math.h>
49890 int
49891 main ()
49892 {
49893  _hypotf(0, 0);
49894   ;
49895   return 0;
49896 }
49897 _ACEOF
49898 rm -f conftest.$ac_objext
49899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49900   (eval $ac_compile) 2>conftest.er1
49901   ac_status=$?
49902   grep -v '^ *+' conftest.er1 >conftest.err
49903   rm -f conftest.er1
49904   cat conftest.err >&5
49905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906   (exit $ac_status); } &&
49907          { ac_try='test -z "$ac_cxx_werror_flag"
49908                          || test ! -s conftest.err'
49909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49910   (eval $ac_try) 2>&5
49911   ac_status=$?
49912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49913   (exit $ac_status); }; } &&
49914          { ac_try='test -s conftest.$ac_objext'
49915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49916   (eval $ac_try) 2>&5
49917   ac_status=$?
49918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49919   (exit $ac_status); }; }; then
49920   glibcxx_cv_func__hypotf_use=yes
49921 else
49922   echo "$as_me: failed program was:" >&5
49923 sed 's/^/| /' conftest.$ac_ext >&5
49924
49925 glibcxx_cv_func__hypotf_use=no
49926 fi
49927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49928       ac_ext=c
49929 ac_cpp='$CPP $CPPFLAGS'
49930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49933
49934
49935 fi
49936
49937   fi
49938   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49939 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49940
49941     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49942
49943 for ac_func in _hypotf
49944 do
49945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49946 echo "$as_me:$LINENO: checking for $ac_func" >&5
49947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49948 if eval "test \"\${$as_ac_var+set}\" = set"; then
49949   echo $ECHO_N "(cached) $ECHO_C" >&6
49950 else
49951   if test x$gcc_no_link = xyes; then
49952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49954    { (exit 1); exit 1; }; }
49955 fi
49956 cat >conftest.$ac_ext <<_ACEOF
49957 /* confdefs.h.  */
49958 _ACEOF
49959 cat confdefs.h >>conftest.$ac_ext
49960 cat >>conftest.$ac_ext <<_ACEOF
49961 /* end confdefs.h.  */
49962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49964 #define $ac_func innocuous_$ac_func
49965
49966 /* System header to define __stub macros and hopefully few prototypes,
49967     which can conflict with char $ac_func (); below.
49968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49969     <limits.h> exists even on freestanding compilers.  */
49970
49971 #ifdef __STDC__
49972 # include <limits.h>
49973 #else
49974 # include <assert.h>
49975 #endif
49976
49977 #undef $ac_func
49978
49979 /* Override any gcc2 internal prototype to avoid an error.  */
49980 #ifdef __cplusplus
49981 extern "C"
49982 {
49983 #endif
49984 /* We use char because int might match the return type of a gcc2
49985    builtin and then its argument prototype would still apply.  */
49986 char $ac_func ();
49987 /* The GNU C library defines this for functions which it implements
49988     to always fail with ENOSYS.  Some functions are actually named
49989     something starting with __ and the normal name is an alias.  */
49990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49991 choke me
49992 #else
49993 char (*f) () = $ac_func;
49994 #endif
49995 #ifdef __cplusplus
49996 }
49997 #endif
49998
49999 int
50000 main ()
50001 {
50002 return f != $ac_func;
50003   ;
50004   return 0;
50005 }
50006 _ACEOF
50007 rm -f conftest.$ac_objext conftest$ac_exeext
50008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50009   (eval $ac_link) 2>conftest.er1
50010   ac_status=$?
50011   grep -v '^ *+' conftest.er1 >conftest.err
50012   rm -f conftest.er1
50013   cat conftest.err >&5
50014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50015   (exit $ac_status); } &&
50016          { ac_try='test -z "$ac_c_werror_flag"
50017                          || test ! -s conftest.err'
50018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50019   (eval $ac_try) 2>&5
50020   ac_status=$?
50021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50022   (exit $ac_status); }; } &&
50023          { ac_try='test -s conftest$ac_exeext'
50024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50025   (eval $ac_try) 2>&5
50026   ac_status=$?
50027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50028   (exit $ac_status); }; }; then
50029   eval "$as_ac_var=yes"
50030 else
50031   echo "$as_me: failed program was:" >&5
50032 sed 's/^/| /' conftest.$ac_ext >&5
50033
50034 eval "$as_ac_var=no"
50035 fi
50036 rm -f conftest.err conftest.$ac_objext \
50037       conftest$ac_exeext conftest.$ac_ext
50038 fi
50039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50041 if test `eval echo '${'$as_ac_var'}'` = yes; then
50042   cat >>confdefs.h <<_ACEOF
50043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50044 _ACEOF
50045
50046 fi
50047 done
50048
50049     fi
50050   fi
50051
50052
50053
50054
50055
50056
50057   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50058 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50059   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50060     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50061   echo $ECHO_N "(cached) $ECHO_C" >&6
50062 else
50063
50064
50065
50066       ac_ext=cc
50067 ac_cpp='$CXXCPP $CPPFLAGS'
50068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50071
50072       cat >conftest.$ac_ext <<_ACEOF
50073 /* confdefs.h.  */
50074 _ACEOF
50075 cat confdefs.h >>conftest.$ac_ext
50076 cat >>conftest.$ac_ext <<_ACEOF
50077 /* end confdefs.h.  */
50078 #include <math.h>
50079 int
50080 main ()
50081 {
50082  ldexpf(0, 0);
50083   ;
50084   return 0;
50085 }
50086 _ACEOF
50087 rm -f conftest.$ac_objext
50088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50089   (eval $ac_compile) 2>conftest.er1
50090   ac_status=$?
50091   grep -v '^ *+' conftest.er1 >conftest.err
50092   rm -f conftest.er1
50093   cat conftest.err >&5
50094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095   (exit $ac_status); } &&
50096          { ac_try='test -z "$ac_cxx_werror_flag"
50097                          || test ! -s conftest.err'
50098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099   (eval $ac_try) 2>&5
50100   ac_status=$?
50101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102   (exit $ac_status); }; } &&
50103          { ac_try='test -s conftest.$ac_objext'
50104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50105   (eval $ac_try) 2>&5
50106   ac_status=$?
50107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108   (exit $ac_status); }; }; then
50109   glibcxx_cv_func_ldexpf_use=yes
50110 else
50111   echo "$as_me: failed program was:" >&5
50112 sed 's/^/| /' conftest.$ac_ext >&5
50113
50114 glibcxx_cv_func_ldexpf_use=no
50115 fi
50116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50117       ac_ext=c
50118 ac_cpp='$CPP $CPPFLAGS'
50119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50122
50123
50124 fi
50125
50126   fi
50127   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50128 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50129
50130   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50131
50132 for ac_func in ldexpf
50133 do
50134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50135 echo "$as_me:$LINENO: checking for $ac_func" >&5
50136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50137 if eval "test \"\${$as_ac_var+set}\" = set"; then
50138   echo $ECHO_N "(cached) $ECHO_C" >&6
50139 else
50140   if test x$gcc_no_link = xyes; then
50141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50143    { (exit 1); exit 1; }; }
50144 fi
50145 cat >conftest.$ac_ext <<_ACEOF
50146 /* confdefs.h.  */
50147 _ACEOF
50148 cat confdefs.h >>conftest.$ac_ext
50149 cat >>conftest.$ac_ext <<_ACEOF
50150 /* end confdefs.h.  */
50151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50153 #define $ac_func innocuous_$ac_func
50154
50155 /* System header to define __stub macros and hopefully few prototypes,
50156     which can conflict with char $ac_func (); below.
50157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50158     <limits.h> exists even on freestanding compilers.  */
50159
50160 #ifdef __STDC__
50161 # include <limits.h>
50162 #else
50163 # include <assert.h>
50164 #endif
50165
50166 #undef $ac_func
50167
50168 /* Override any gcc2 internal prototype to avoid an error.  */
50169 #ifdef __cplusplus
50170 extern "C"
50171 {
50172 #endif
50173 /* We use char because int might match the return type of a gcc2
50174    builtin and then its argument prototype would still apply.  */
50175 char $ac_func ();
50176 /* The GNU C library defines this for functions which it implements
50177     to always fail with ENOSYS.  Some functions are actually named
50178     something starting with __ and the normal name is an alias.  */
50179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50180 choke me
50181 #else
50182 char (*f) () = $ac_func;
50183 #endif
50184 #ifdef __cplusplus
50185 }
50186 #endif
50187
50188 int
50189 main ()
50190 {
50191 return f != $ac_func;
50192   ;
50193   return 0;
50194 }
50195 _ACEOF
50196 rm -f conftest.$ac_objext conftest$ac_exeext
50197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50198   (eval $ac_link) 2>conftest.er1
50199   ac_status=$?
50200   grep -v '^ *+' conftest.er1 >conftest.err
50201   rm -f conftest.er1
50202   cat conftest.err >&5
50203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204   (exit $ac_status); } &&
50205          { ac_try='test -z "$ac_c_werror_flag"
50206                          || test ! -s conftest.err'
50207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50208   (eval $ac_try) 2>&5
50209   ac_status=$?
50210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211   (exit $ac_status); }; } &&
50212          { ac_try='test -s conftest$ac_exeext'
50213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50214   (eval $ac_try) 2>&5
50215   ac_status=$?
50216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50217   (exit $ac_status); }; }; then
50218   eval "$as_ac_var=yes"
50219 else
50220   echo "$as_me: failed program was:" >&5
50221 sed 's/^/| /' conftest.$ac_ext >&5
50222
50223 eval "$as_ac_var=no"
50224 fi
50225 rm -f conftest.err conftest.$ac_objext \
50226       conftest$ac_exeext conftest.$ac_ext
50227 fi
50228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50230 if test `eval echo '${'$as_ac_var'}'` = yes; then
50231   cat >>confdefs.h <<_ACEOF
50232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238   else
50239
50240   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50241 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50242   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50243     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50244   echo $ECHO_N "(cached) $ECHO_C" >&6
50245 else
50246
50247
50248
50249       ac_ext=cc
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50254
50255       cat >conftest.$ac_ext <<_ACEOF
50256 /* confdefs.h.  */
50257 _ACEOF
50258 cat confdefs.h >>conftest.$ac_ext
50259 cat >>conftest.$ac_ext <<_ACEOF
50260 /* end confdefs.h.  */
50261 #include <math.h>
50262 int
50263 main ()
50264 {
50265  _ldexpf(0, 0);
50266   ;
50267   return 0;
50268 }
50269 _ACEOF
50270 rm -f conftest.$ac_objext
50271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50272   (eval $ac_compile) 2>conftest.er1
50273   ac_status=$?
50274   grep -v '^ *+' conftest.er1 >conftest.err
50275   rm -f conftest.er1
50276   cat conftest.err >&5
50277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50278   (exit $ac_status); } &&
50279          { ac_try='test -z "$ac_cxx_werror_flag"
50280                          || test ! -s conftest.err'
50281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50282   (eval $ac_try) 2>&5
50283   ac_status=$?
50284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50285   (exit $ac_status); }; } &&
50286          { ac_try='test -s conftest.$ac_objext'
50287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288   (eval $ac_try) 2>&5
50289   ac_status=$?
50290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291   (exit $ac_status); }; }; then
50292   glibcxx_cv_func__ldexpf_use=yes
50293 else
50294   echo "$as_me: failed program was:" >&5
50295 sed 's/^/| /' conftest.$ac_ext >&5
50296
50297 glibcxx_cv_func__ldexpf_use=no
50298 fi
50299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50300       ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50305
50306
50307 fi
50308
50309   fi
50310   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50311 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50312
50313     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50314
50315 for ac_func in _ldexpf
50316 do
50317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50318 echo "$as_me:$LINENO: checking for $ac_func" >&5
50319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50320 if eval "test \"\${$as_ac_var+set}\" = set"; then
50321   echo $ECHO_N "(cached) $ECHO_C" >&6
50322 else
50323   if test x$gcc_no_link = xyes; then
50324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50326    { (exit 1); exit 1; }; }
50327 fi
50328 cat >conftest.$ac_ext <<_ACEOF
50329 /* confdefs.h.  */
50330 _ACEOF
50331 cat confdefs.h >>conftest.$ac_ext
50332 cat >>conftest.$ac_ext <<_ACEOF
50333 /* end confdefs.h.  */
50334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50336 #define $ac_func innocuous_$ac_func
50337
50338 /* System header to define __stub macros and hopefully few prototypes,
50339     which can conflict with char $ac_func (); below.
50340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50341     <limits.h> exists even on freestanding compilers.  */
50342
50343 #ifdef __STDC__
50344 # include <limits.h>
50345 #else
50346 # include <assert.h>
50347 #endif
50348
50349 #undef $ac_func
50350
50351 /* Override any gcc2 internal prototype to avoid an error.  */
50352 #ifdef __cplusplus
50353 extern "C"
50354 {
50355 #endif
50356 /* We use char because int might match the return type of a gcc2
50357    builtin and then its argument prototype would still apply.  */
50358 char $ac_func ();
50359 /* The GNU C library defines this for functions which it implements
50360     to always fail with ENOSYS.  Some functions are actually named
50361     something starting with __ and the normal name is an alias.  */
50362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50363 choke me
50364 #else
50365 char (*f) () = $ac_func;
50366 #endif
50367 #ifdef __cplusplus
50368 }
50369 #endif
50370
50371 int
50372 main ()
50373 {
50374 return f != $ac_func;
50375   ;
50376   return 0;
50377 }
50378 _ACEOF
50379 rm -f conftest.$ac_objext conftest$ac_exeext
50380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50381   (eval $ac_link) 2>conftest.er1
50382   ac_status=$?
50383   grep -v '^ *+' conftest.er1 >conftest.err
50384   rm -f conftest.er1
50385   cat conftest.err >&5
50386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387   (exit $ac_status); } &&
50388          { ac_try='test -z "$ac_c_werror_flag"
50389                          || test ! -s conftest.err'
50390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50391   (eval $ac_try) 2>&5
50392   ac_status=$?
50393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394   (exit $ac_status); }; } &&
50395          { ac_try='test -s conftest$ac_exeext'
50396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397   (eval $ac_try) 2>&5
50398   ac_status=$?
50399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400   (exit $ac_status); }; }; then
50401   eval "$as_ac_var=yes"
50402 else
50403   echo "$as_me: failed program was:" >&5
50404 sed 's/^/| /' conftest.$ac_ext >&5
50405
50406 eval "$as_ac_var=no"
50407 fi
50408 rm -f conftest.err conftest.$ac_objext \
50409       conftest$ac_exeext conftest.$ac_ext
50410 fi
50411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50413 if test `eval echo '${'$as_ac_var'}'` = yes; then
50414   cat >>confdefs.h <<_ACEOF
50415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50416 _ACEOF
50417
50418 fi
50419 done
50420
50421     fi
50422   fi
50423
50424
50425
50426
50427
50428
50429   echo "$as_me:$LINENO: checking for logf declaration" >&5
50430 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50431   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50432     if test "${glibcxx_cv_func_logf_use+set}" = set; then
50433   echo $ECHO_N "(cached) $ECHO_C" >&6
50434 else
50435
50436
50437
50438       ac_ext=cc
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50443
50444       cat >conftest.$ac_ext <<_ACEOF
50445 /* confdefs.h.  */
50446 _ACEOF
50447 cat confdefs.h >>conftest.$ac_ext
50448 cat >>conftest.$ac_ext <<_ACEOF
50449 /* end confdefs.h.  */
50450 #include <math.h>
50451                       #ifdef HAVE_IEEEFP_H
50452                       #include <ieeefp.h>
50453                       #endif
50454
50455 int
50456 main ()
50457 {
50458  logf(0);
50459   ;
50460   return 0;
50461 }
50462 _ACEOF
50463 rm -f conftest.$ac_objext
50464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50465   (eval $ac_compile) 2>conftest.er1
50466   ac_status=$?
50467   grep -v '^ *+' conftest.er1 >conftest.err
50468   rm -f conftest.er1
50469   cat conftest.err >&5
50470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50471   (exit $ac_status); } &&
50472          { ac_try='test -z "$ac_cxx_werror_flag"
50473                          || test ! -s conftest.err'
50474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50475   (eval $ac_try) 2>&5
50476   ac_status=$?
50477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50478   (exit $ac_status); }; } &&
50479          { ac_try='test -s conftest.$ac_objext'
50480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50481   (eval $ac_try) 2>&5
50482   ac_status=$?
50483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50484   (exit $ac_status); }; }; then
50485   glibcxx_cv_func_logf_use=yes
50486 else
50487   echo "$as_me: failed program was:" >&5
50488 sed 's/^/| /' conftest.$ac_ext >&5
50489
50490 glibcxx_cv_func_logf_use=no
50491 fi
50492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50493       ac_ext=c
50494 ac_cpp='$CPP $CPPFLAGS'
50495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50498
50499
50500 fi
50501
50502   fi
50503   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50504 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50505
50506   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50507
50508 for ac_func in logf
50509 do
50510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50511 echo "$as_me:$LINENO: checking for $ac_func" >&5
50512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50513 if eval "test \"\${$as_ac_var+set}\" = set"; then
50514   echo $ECHO_N "(cached) $ECHO_C" >&6
50515 else
50516   if test x$gcc_no_link = xyes; then
50517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50519    { (exit 1); exit 1; }; }
50520 fi
50521 cat >conftest.$ac_ext <<_ACEOF
50522 /* confdefs.h.  */
50523 _ACEOF
50524 cat confdefs.h >>conftest.$ac_ext
50525 cat >>conftest.$ac_ext <<_ACEOF
50526 /* end confdefs.h.  */
50527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50529 #define $ac_func innocuous_$ac_func
50530
50531 /* System header to define __stub macros and hopefully few prototypes,
50532     which can conflict with char $ac_func (); below.
50533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50534     <limits.h> exists even on freestanding compilers.  */
50535
50536 #ifdef __STDC__
50537 # include <limits.h>
50538 #else
50539 # include <assert.h>
50540 #endif
50541
50542 #undef $ac_func
50543
50544 /* Override any gcc2 internal prototype to avoid an error.  */
50545 #ifdef __cplusplus
50546 extern "C"
50547 {
50548 #endif
50549 /* We use char because int might match the return type of a gcc2
50550    builtin and then its argument prototype would still apply.  */
50551 char $ac_func ();
50552 /* The GNU C library defines this for functions which it implements
50553     to always fail with ENOSYS.  Some functions are actually named
50554     something starting with __ and the normal name is an alias.  */
50555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50556 choke me
50557 #else
50558 char (*f) () = $ac_func;
50559 #endif
50560 #ifdef __cplusplus
50561 }
50562 #endif
50563
50564 int
50565 main ()
50566 {
50567 return f != $ac_func;
50568   ;
50569   return 0;
50570 }
50571 _ACEOF
50572 rm -f conftest.$ac_objext conftest$ac_exeext
50573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50574   (eval $ac_link) 2>conftest.er1
50575   ac_status=$?
50576   grep -v '^ *+' conftest.er1 >conftest.err
50577   rm -f conftest.er1
50578   cat conftest.err >&5
50579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50580   (exit $ac_status); } &&
50581          { ac_try='test -z "$ac_c_werror_flag"
50582                          || test ! -s conftest.err'
50583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50584   (eval $ac_try) 2>&5
50585   ac_status=$?
50586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50587   (exit $ac_status); }; } &&
50588          { ac_try='test -s conftest$ac_exeext'
50589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50590   (eval $ac_try) 2>&5
50591   ac_status=$?
50592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50593   (exit $ac_status); }; }; then
50594   eval "$as_ac_var=yes"
50595 else
50596   echo "$as_me: failed program was:" >&5
50597 sed 's/^/| /' conftest.$ac_ext >&5
50598
50599 eval "$as_ac_var=no"
50600 fi
50601 rm -f conftest.err conftest.$ac_objext \
50602       conftest$ac_exeext conftest.$ac_ext
50603 fi
50604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50606 if test `eval echo '${'$as_ac_var'}'` = yes; then
50607   cat >>confdefs.h <<_ACEOF
50608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50609 _ACEOF
50610
50611 fi
50612 done
50613
50614   else
50615
50616   echo "$as_me:$LINENO: checking for _logf declaration" >&5
50617 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50618   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50619     if test "${glibcxx_cv_func__logf_use+set}" = set; then
50620   echo $ECHO_N "(cached) $ECHO_C" >&6
50621 else
50622
50623
50624
50625       ac_ext=cc
50626 ac_cpp='$CXXCPP $CPPFLAGS'
50627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50630
50631       cat >conftest.$ac_ext <<_ACEOF
50632 /* confdefs.h.  */
50633 _ACEOF
50634 cat confdefs.h >>conftest.$ac_ext
50635 cat >>conftest.$ac_ext <<_ACEOF
50636 /* end confdefs.h.  */
50637 #include <math.h>
50638                       #ifdef HAVE_IEEEFP_H
50639                       #include <ieeefp.h>
50640                       #endif
50641
50642 int
50643 main ()
50644 {
50645  _logf(0);
50646   ;
50647   return 0;
50648 }
50649 _ACEOF
50650 rm -f conftest.$ac_objext
50651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50652   (eval $ac_compile) 2>conftest.er1
50653   ac_status=$?
50654   grep -v '^ *+' conftest.er1 >conftest.err
50655   rm -f conftest.er1
50656   cat conftest.err >&5
50657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658   (exit $ac_status); } &&
50659          { ac_try='test -z "$ac_cxx_werror_flag"
50660                          || test ! -s conftest.err'
50661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662   (eval $ac_try) 2>&5
50663   ac_status=$?
50664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665   (exit $ac_status); }; } &&
50666          { ac_try='test -s conftest.$ac_objext'
50667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50668   (eval $ac_try) 2>&5
50669   ac_status=$?
50670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50671   (exit $ac_status); }; }; then
50672   glibcxx_cv_func__logf_use=yes
50673 else
50674   echo "$as_me: failed program was:" >&5
50675 sed 's/^/| /' conftest.$ac_ext >&5
50676
50677 glibcxx_cv_func__logf_use=no
50678 fi
50679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50680       ac_ext=c
50681 ac_cpp='$CPP $CPPFLAGS'
50682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50685
50686
50687 fi
50688
50689   fi
50690   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50691 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50692
50693     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50694
50695 for ac_func in _logf
50696 do
50697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50698 echo "$as_me:$LINENO: checking for $ac_func" >&5
50699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50700 if eval "test \"\${$as_ac_var+set}\" = set"; then
50701   echo $ECHO_N "(cached) $ECHO_C" >&6
50702 else
50703   if test x$gcc_no_link = xyes; then
50704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50706    { (exit 1); exit 1; }; }
50707 fi
50708 cat >conftest.$ac_ext <<_ACEOF
50709 /* confdefs.h.  */
50710 _ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h.  */
50714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50716 #define $ac_func innocuous_$ac_func
50717
50718 /* System header to define __stub macros and hopefully few prototypes,
50719     which can conflict with char $ac_func (); below.
50720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50721     <limits.h> exists even on freestanding compilers.  */
50722
50723 #ifdef __STDC__
50724 # include <limits.h>
50725 #else
50726 # include <assert.h>
50727 #endif
50728
50729 #undef $ac_func
50730
50731 /* Override any gcc2 internal prototype to avoid an error.  */
50732 #ifdef __cplusplus
50733 extern "C"
50734 {
50735 #endif
50736 /* We use char because int might match the return type of a gcc2
50737    builtin and then its argument prototype would still apply.  */
50738 char $ac_func ();
50739 /* The GNU C library defines this for functions which it implements
50740     to always fail with ENOSYS.  Some functions are actually named
50741     something starting with __ and the normal name is an alias.  */
50742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50743 choke me
50744 #else
50745 char (*f) () = $ac_func;
50746 #endif
50747 #ifdef __cplusplus
50748 }
50749 #endif
50750
50751 int
50752 main ()
50753 {
50754 return f != $ac_func;
50755   ;
50756   return 0;
50757 }
50758 _ACEOF
50759 rm -f conftest.$ac_objext conftest$ac_exeext
50760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50761   (eval $ac_link) 2>conftest.er1
50762   ac_status=$?
50763   grep -v '^ *+' conftest.er1 >conftest.err
50764   rm -f conftest.er1
50765   cat conftest.err >&5
50766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767   (exit $ac_status); } &&
50768          { ac_try='test -z "$ac_c_werror_flag"
50769                          || test ! -s conftest.err'
50770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50771   (eval $ac_try) 2>&5
50772   ac_status=$?
50773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774   (exit $ac_status); }; } &&
50775          { ac_try='test -s conftest$ac_exeext'
50776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50777   (eval $ac_try) 2>&5
50778   ac_status=$?
50779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50780   (exit $ac_status); }; }; then
50781   eval "$as_ac_var=yes"
50782 else
50783   echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.$ac_ext >&5
50785
50786 eval "$as_ac_var=no"
50787 fi
50788 rm -f conftest.err conftest.$ac_objext \
50789       conftest$ac_exeext conftest.$ac_ext
50790 fi
50791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50793 if test `eval echo '${'$as_ac_var'}'` = yes; then
50794   cat >>confdefs.h <<_ACEOF
50795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50796 _ACEOF
50797
50798 fi
50799 done
50800
50801     fi
50802   fi
50803
50804
50805
50806
50807
50808
50809   echo "$as_me:$LINENO: checking for log10f declaration" >&5
50810 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50811   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50812     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50813   echo $ECHO_N "(cached) $ECHO_C" >&6
50814 else
50815
50816
50817
50818       ac_ext=cc
50819 ac_cpp='$CXXCPP $CPPFLAGS'
50820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50823
50824       cat >conftest.$ac_ext <<_ACEOF
50825 /* confdefs.h.  */
50826 _ACEOF
50827 cat confdefs.h >>conftest.$ac_ext
50828 cat >>conftest.$ac_ext <<_ACEOF
50829 /* end confdefs.h.  */
50830 #include <math.h>
50831                       #ifdef HAVE_IEEEFP_H
50832                       #include <ieeefp.h>
50833                       #endif
50834
50835 int
50836 main ()
50837 {
50838  log10f(0);
50839   ;
50840   return 0;
50841 }
50842 _ACEOF
50843 rm -f conftest.$ac_objext
50844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50845   (eval $ac_compile) 2>conftest.er1
50846   ac_status=$?
50847   grep -v '^ *+' conftest.er1 >conftest.err
50848   rm -f conftest.er1
50849   cat conftest.err >&5
50850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50851   (exit $ac_status); } &&
50852          { ac_try='test -z "$ac_cxx_werror_flag"
50853                          || test ! -s conftest.err'
50854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50855   (eval $ac_try) 2>&5
50856   ac_status=$?
50857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50858   (exit $ac_status); }; } &&
50859          { ac_try='test -s conftest.$ac_objext'
50860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50861   (eval $ac_try) 2>&5
50862   ac_status=$?
50863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864   (exit $ac_status); }; }; then
50865   glibcxx_cv_func_log10f_use=yes
50866 else
50867   echo "$as_me: failed program was:" >&5
50868 sed 's/^/| /' conftest.$ac_ext >&5
50869
50870 glibcxx_cv_func_log10f_use=no
50871 fi
50872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50873       ac_ext=c
50874 ac_cpp='$CPP $CPPFLAGS'
50875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50878
50879
50880 fi
50881
50882   fi
50883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50884 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50885
50886   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50887
50888 for ac_func in log10f
50889 do
50890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50891 echo "$as_me:$LINENO: checking for $ac_func" >&5
50892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50893 if eval "test \"\${$as_ac_var+set}\" = set"; then
50894   echo $ECHO_N "(cached) $ECHO_C" >&6
50895 else
50896   if test x$gcc_no_link = xyes; then
50897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50899    { (exit 1); exit 1; }; }
50900 fi
50901 cat >conftest.$ac_ext <<_ACEOF
50902 /* confdefs.h.  */
50903 _ACEOF
50904 cat confdefs.h >>conftest.$ac_ext
50905 cat >>conftest.$ac_ext <<_ACEOF
50906 /* end confdefs.h.  */
50907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50909 #define $ac_func innocuous_$ac_func
50910
50911 /* System header to define __stub macros and hopefully few prototypes,
50912     which can conflict with char $ac_func (); below.
50913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50914     <limits.h> exists even on freestanding compilers.  */
50915
50916 #ifdef __STDC__
50917 # include <limits.h>
50918 #else
50919 # include <assert.h>
50920 #endif
50921
50922 #undef $ac_func
50923
50924 /* Override any gcc2 internal prototype to avoid an error.  */
50925 #ifdef __cplusplus
50926 extern "C"
50927 {
50928 #endif
50929 /* We use char because int might match the return type of a gcc2
50930    builtin and then its argument prototype would still apply.  */
50931 char $ac_func ();
50932 /* The GNU C library defines this for functions which it implements
50933     to always fail with ENOSYS.  Some functions are actually named
50934     something starting with __ and the normal name is an alias.  */
50935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50936 choke me
50937 #else
50938 char (*f) () = $ac_func;
50939 #endif
50940 #ifdef __cplusplus
50941 }
50942 #endif
50943
50944 int
50945 main ()
50946 {
50947 return f != $ac_func;
50948   ;
50949   return 0;
50950 }
50951 _ACEOF
50952 rm -f conftest.$ac_objext conftest$ac_exeext
50953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50954   (eval $ac_link) 2>conftest.er1
50955   ac_status=$?
50956   grep -v '^ *+' conftest.er1 >conftest.err
50957   rm -f conftest.er1
50958   cat conftest.err >&5
50959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50960   (exit $ac_status); } &&
50961          { ac_try='test -z "$ac_c_werror_flag"
50962                          || test ! -s conftest.err'
50963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50964   (eval $ac_try) 2>&5
50965   ac_status=$?
50966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50967   (exit $ac_status); }; } &&
50968          { ac_try='test -s conftest$ac_exeext'
50969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50970   (eval $ac_try) 2>&5
50971   ac_status=$?
50972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50973   (exit $ac_status); }; }; then
50974   eval "$as_ac_var=yes"
50975 else
50976   echo "$as_me: failed program was:" >&5
50977 sed 's/^/| /' conftest.$ac_ext >&5
50978
50979 eval "$as_ac_var=no"
50980 fi
50981 rm -f conftest.err conftest.$ac_objext \
50982       conftest$ac_exeext conftest.$ac_ext
50983 fi
50984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50986 if test `eval echo '${'$as_ac_var'}'` = yes; then
50987   cat >>confdefs.h <<_ACEOF
50988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50989 _ACEOF
50990
50991 fi
50992 done
50993
50994   else
50995
50996   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50997 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50998   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50999     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51000   echo $ECHO_N "(cached) $ECHO_C" >&6
51001 else
51002
51003
51004
51005       ac_ext=cc
51006 ac_cpp='$CXXCPP $CPPFLAGS'
51007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010
51011       cat >conftest.$ac_ext <<_ACEOF
51012 /* confdefs.h.  */
51013 _ACEOF
51014 cat confdefs.h >>conftest.$ac_ext
51015 cat >>conftest.$ac_ext <<_ACEOF
51016 /* end confdefs.h.  */
51017 #include <math.h>
51018                       #ifdef HAVE_IEEEFP_H
51019                       #include <ieeefp.h>
51020                       #endif
51021
51022 int
51023 main ()
51024 {
51025  _log10f(0);
51026   ;
51027   return 0;
51028 }
51029 _ACEOF
51030 rm -f conftest.$ac_objext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51032   (eval $ac_compile) 2>conftest.er1
51033   ac_status=$?
51034   grep -v '^ *+' conftest.er1 >conftest.err
51035   rm -f conftest.er1
51036   cat conftest.err >&5
51037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51038   (exit $ac_status); } &&
51039          { ac_try='test -z "$ac_cxx_werror_flag"
51040                          || test ! -s conftest.err'
51041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51042   (eval $ac_try) 2>&5
51043   ac_status=$?
51044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51045   (exit $ac_status); }; } &&
51046          { ac_try='test -s conftest.$ac_objext'
51047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51048   (eval $ac_try) 2>&5
51049   ac_status=$?
51050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51051   (exit $ac_status); }; }; then
51052   glibcxx_cv_func__log10f_use=yes
51053 else
51054   echo "$as_me: failed program was:" >&5
51055 sed 's/^/| /' conftest.$ac_ext >&5
51056
51057 glibcxx_cv_func__log10f_use=no
51058 fi
51059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51060       ac_ext=c
51061 ac_cpp='$CPP $CPPFLAGS'
51062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51065
51066
51067 fi
51068
51069   fi
51070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51071 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51072
51073     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51074
51075 for ac_func in _log10f
51076 do
51077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51078 echo "$as_me:$LINENO: checking for $ac_func" >&5
51079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51080 if eval "test \"\${$as_ac_var+set}\" = set"; then
51081   echo $ECHO_N "(cached) $ECHO_C" >&6
51082 else
51083   if test x$gcc_no_link = xyes; then
51084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51086    { (exit 1); exit 1; }; }
51087 fi
51088 cat >conftest.$ac_ext <<_ACEOF
51089 /* confdefs.h.  */
51090 _ACEOF
51091 cat confdefs.h >>conftest.$ac_ext
51092 cat >>conftest.$ac_ext <<_ACEOF
51093 /* end confdefs.h.  */
51094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51096 #define $ac_func innocuous_$ac_func
51097
51098 /* System header to define __stub macros and hopefully few prototypes,
51099     which can conflict with char $ac_func (); below.
51100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51101     <limits.h> exists even on freestanding compilers.  */
51102
51103 #ifdef __STDC__
51104 # include <limits.h>
51105 #else
51106 # include <assert.h>
51107 #endif
51108
51109 #undef $ac_func
51110
51111 /* Override any gcc2 internal prototype to avoid an error.  */
51112 #ifdef __cplusplus
51113 extern "C"
51114 {
51115 #endif
51116 /* We use char because int might match the return type of a gcc2
51117    builtin and then its argument prototype would still apply.  */
51118 char $ac_func ();
51119 /* The GNU C library defines this for functions which it implements
51120     to always fail with ENOSYS.  Some functions are actually named
51121     something starting with __ and the normal name is an alias.  */
51122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51123 choke me
51124 #else
51125 char (*f) () = $ac_func;
51126 #endif
51127 #ifdef __cplusplus
51128 }
51129 #endif
51130
51131 int
51132 main ()
51133 {
51134 return f != $ac_func;
51135   ;
51136   return 0;
51137 }
51138 _ACEOF
51139 rm -f conftest.$ac_objext conftest$ac_exeext
51140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51141   (eval $ac_link) 2>conftest.er1
51142   ac_status=$?
51143   grep -v '^ *+' conftest.er1 >conftest.err
51144   rm -f conftest.er1
51145   cat conftest.err >&5
51146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147   (exit $ac_status); } &&
51148          { ac_try='test -z "$ac_c_werror_flag"
51149                          || test ! -s conftest.err'
51150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51151   (eval $ac_try) 2>&5
51152   ac_status=$?
51153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51154   (exit $ac_status); }; } &&
51155          { ac_try='test -s conftest$ac_exeext'
51156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51157   (eval $ac_try) 2>&5
51158   ac_status=$?
51159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51160   (exit $ac_status); }; }; then
51161   eval "$as_ac_var=yes"
51162 else
51163   echo "$as_me: failed program was:" >&5
51164 sed 's/^/| /' conftest.$ac_ext >&5
51165
51166 eval "$as_ac_var=no"
51167 fi
51168 rm -f conftest.err conftest.$ac_objext \
51169       conftest$ac_exeext conftest.$ac_ext
51170 fi
51171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51173 if test `eval echo '${'$as_ac_var'}'` = yes; then
51174   cat >>confdefs.h <<_ACEOF
51175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51176 _ACEOF
51177
51178 fi
51179 done
51180
51181     fi
51182   fi
51183
51184
51185
51186
51187
51188
51189   echo "$as_me:$LINENO: checking for modff declaration" >&5
51190 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51191   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51192     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51193   echo $ECHO_N "(cached) $ECHO_C" >&6
51194 else
51195
51196
51197
51198       ac_ext=cc
51199 ac_cpp='$CXXCPP $CPPFLAGS'
51200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51203
51204       cat >conftest.$ac_ext <<_ACEOF
51205 /* confdefs.h.  */
51206 _ACEOF
51207 cat confdefs.h >>conftest.$ac_ext
51208 cat >>conftest.$ac_ext <<_ACEOF
51209 /* end confdefs.h.  */
51210 #include <math.h>
51211 int
51212 main ()
51213 {
51214  modff(0, 0);
51215   ;
51216   return 0;
51217 }
51218 _ACEOF
51219 rm -f conftest.$ac_objext
51220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51221   (eval $ac_compile) 2>conftest.er1
51222   ac_status=$?
51223   grep -v '^ *+' conftest.er1 >conftest.err
51224   rm -f conftest.er1
51225   cat conftest.err >&5
51226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51227   (exit $ac_status); } &&
51228          { ac_try='test -z "$ac_cxx_werror_flag"
51229                          || test ! -s conftest.err'
51230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51231   (eval $ac_try) 2>&5
51232   ac_status=$?
51233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51234   (exit $ac_status); }; } &&
51235          { ac_try='test -s conftest.$ac_objext'
51236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51237   (eval $ac_try) 2>&5
51238   ac_status=$?
51239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51240   (exit $ac_status); }; }; then
51241   glibcxx_cv_func_modff_use=yes
51242 else
51243   echo "$as_me: failed program was:" >&5
51244 sed 's/^/| /' conftest.$ac_ext >&5
51245
51246 glibcxx_cv_func_modff_use=no
51247 fi
51248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51249       ac_ext=c
51250 ac_cpp='$CPP $CPPFLAGS'
51251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51254
51255
51256 fi
51257
51258   fi
51259   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51260 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51261
51262   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51263
51264 for ac_func in modff
51265 do
51266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51267 echo "$as_me:$LINENO: checking for $ac_func" >&5
51268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51269 if eval "test \"\${$as_ac_var+set}\" = set"; then
51270   echo $ECHO_N "(cached) $ECHO_C" >&6
51271 else
51272   if test x$gcc_no_link = xyes; then
51273   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51275    { (exit 1); exit 1; }; }
51276 fi
51277 cat >conftest.$ac_ext <<_ACEOF
51278 /* confdefs.h.  */
51279 _ACEOF
51280 cat confdefs.h >>conftest.$ac_ext
51281 cat >>conftest.$ac_ext <<_ACEOF
51282 /* end confdefs.h.  */
51283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51284    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51285 #define $ac_func innocuous_$ac_func
51286
51287 /* System header to define __stub macros and hopefully few prototypes,
51288     which can conflict with char $ac_func (); below.
51289     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51290     <limits.h> exists even on freestanding compilers.  */
51291
51292 #ifdef __STDC__
51293 # include <limits.h>
51294 #else
51295 # include <assert.h>
51296 #endif
51297
51298 #undef $ac_func
51299
51300 /* Override any gcc2 internal prototype to avoid an error.  */
51301 #ifdef __cplusplus
51302 extern "C"
51303 {
51304 #endif
51305 /* We use char because int might match the return type of a gcc2
51306    builtin and then its argument prototype would still apply.  */
51307 char $ac_func ();
51308 /* The GNU C library defines this for functions which it implements
51309     to always fail with ENOSYS.  Some functions are actually named
51310     something starting with __ and the normal name is an alias.  */
51311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51312 choke me
51313 #else
51314 char (*f) () = $ac_func;
51315 #endif
51316 #ifdef __cplusplus
51317 }
51318 #endif
51319
51320 int
51321 main ()
51322 {
51323 return f != $ac_func;
51324   ;
51325   return 0;
51326 }
51327 _ACEOF
51328 rm -f conftest.$ac_objext conftest$ac_exeext
51329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51330   (eval $ac_link) 2>conftest.er1
51331   ac_status=$?
51332   grep -v '^ *+' conftest.er1 >conftest.err
51333   rm -f conftest.er1
51334   cat conftest.err >&5
51335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51336   (exit $ac_status); } &&
51337          { ac_try='test -z "$ac_c_werror_flag"
51338                          || test ! -s conftest.err'
51339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51340   (eval $ac_try) 2>&5
51341   ac_status=$?
51342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51343   (exit $ac_status); }; } &&
51344          { ac_try='test -s conftest$ac_exeext'
51345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51346   (eval $ac_try) 2>&5
51347   ac_status=$?
51348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51349   (exit $ac_status); }; }; then
51350   eval "$as_ac_var=yes"
51351 else
51352   echo "$as_me: failed program was:" >&5
51353 sed 's/^/| /' conftest.$ac_ext >&5
51354
51355 eval "$as_ac_var=no"
51356 fi
51357 rm -f conftest.err conftest.$ac_objext \
51358       conftest$ac_exeext conftest.$ac_ext
51359 fi
51360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51362 if test `eval echo '${'$as_ac_var'}'` = yes; then
51363   cat >>confdefs.h <<_ACEOF
51364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51365 _ACEOF
51366
51367 fi
51368 done
51369
51370   else
51371
51372   echo "$as_me:$LINENO: checking for _modff declaration" >&5
51373 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51374   if test x${glibcxx_cv_func__modff_use+set} != xset; then
51375     if test "${glibcxx_cv_func__modff_use+set}" = set; then
51376   echo $ECHO_N "(cached) $ECHO_C" >&6
51377 else
51378
51379
51380
51381       ac_ext=cc
51382 ac_cpp='$CXXCPP $CPPFLAGS'
51383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51386
51387       cat >conftest.$ac_ext <<_ACEOF
51388 /* confdefs.h.  */
51389 _ACEOF
51390 cat confdefs.h >>conftest.$ac_ext
51391 cat >>conftest.$ac_ext <<_ACEOF
51392 /* end confdefs.h.  */
51393 #include <math.h>
51394 int
51395 main ()
51396 {
51397  _modff(0, 0);
51398   ;
51399   return 0;
51400 }
51401 _ACEOF
51402 rm -f conftest.$ac_objext
51403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51404   (eval $ac_compile) 2>conftest.er1
51405   ac_status=$?
51406   grep -v '^ *+' conftest.er1 >conftest.err
51407   rm -f conftest.er1
51408   cat conftest.err >&5
51409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51410   (exit $ac_status); } &&
51411          { ac_try='test -z "$ac_cxx_werror_flag"
51412                          || test ! -s conftest.err'
51413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51414   (eval $ac_try) 2>&5
51415   ac_status=$?
51416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417   (exit $ac_status); }; } &&
51418          { ac_try='test -s conftest.$ac_objext'
51419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51420   (eval $ac_try) 2>&5
51421   ac_status=$?
51422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51423   (exit $ac_status); }; }; then
51424   glibcxx_cv_func__modff_use=yes
51425 else
51426   echo "$as_me: failed program was:" >&5
51427 sed 's/^/| /' conftest.$ac_ext >&5
51428
51429 glibcxx_cv_func__modff_use=no
51430 fi
51431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51432       ac_ext=c
51433 ac_cpp='$CPP $CPPFLAGS'
51434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51437
51438
51439 fi
51440
51441   fi
51442   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51443 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51444
51445     if test x$glibcxx_cv_func__modff_use = x"yes"; then
51446
51447 for ac_func in _modff
51448 do
51449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51450 echo "$as_me:$LINENO: checking for $ac_func" >&5
51451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51452 if eval "test \"\${$as_ac_var+set}\" = set"; then
51453   echo $ECHO_N "(cached) $ECHO_C" >&6
51454 else
51455   if test x$gcc_no_link = xyes; then
51456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51458    { (exit 1); exit 1; }; }
51459 fi
51460 cat >conftest.$ac_ext <<_ACEOF
51461 /* confdefs.h.  */
51462 _ACEOF
51463 cat confdefs.h >>conftest.$ac_ext
51464 cat >>conftest.$ac_ext <<_ACEOF
51465 /* end confdefs.h.  */
51466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51468 #define $ac_func innocuous_$ac_func
51469
51470 /* System header to define __stub macros and hopefully few prototypes,
51471     which can conflict with char $ac_func (); below.
51472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51473     <limits.h> exists even on freestanding compilers.  */
51474
51475 #ifdef __STDC__
51476 # include <limits.h>
51477 #else
51478 # include <assert.h>
51479 #endif
51480
51481 #undef $ac_func
51482
51483 /* Override any gcc2 internal prototype to avoid an error.  */
51484 #ifdef __cplusplus
51485 extern "C"
51486 {
51487 #endif
51488 /* We use char because int might match the return type of a gcc2
51489    builtin and then its argument prototype would still apply.  */
51490 char $ac_func ();
51491 /* The GNU C library defines this for functions which it implements
51492     to always fail with ENOSYS.  Some functions are actually named
51493     something starting with __ and the normal name is an alias.  */
51494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51495 choke me
51496 #else
51497 char (*f) () = $ac_func;
51498 #endif
51499 #ifdef __cplusplus
51500 }
51501 #endif
51502
51503 int
51504 main ()
51505 {
51506 return f != $ac_func;
51507   ;
51508   return 0;
51509 }
51510 _ACEOF
51511 rm -f conftest.$ac_objext conftest$ac_exeext
51512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51513   (eval $ac_link) 2>conftest.er1
51514   ac_status=$?
51515   grep -v '^ *+' conftest.er1 >conftest.err
51516   rm -f conftest.er1
51517   cat conftest.err >&5
51518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51519   (exit $ac_status); } &&
51520          { ac_try='test -z "$ac_c_werror_flag"
51521                          || test ! -s conftest.err'
51522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51523   (eval $ac_try) 2>&5
51524   ac_status=$?
51525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51526   (exit $ac_status); }; } &&
51527          { ac_try='test -s conftest$ac_exeext'
51528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51529   (eval $ac_try) 2>&5
51530   ac_status=$?
51531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51532   (exit $ac_status); }; }; then
51533   eval "$as_ac_var=yes"
51534 else
51535   echo "$as_me: failed program was:" >&5
51536 sed 's/^/| /' conftest.$ac_ext >&5
51537
51538 eval "$as_ac_var=no"
51539 fi
51540 rm -f conftest.err conftest.$ac_objext \
51541       conftest$ac_exeext conftest.$ac_ext
51542 fi
51543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51545 if test `eval echo '${'$as_ac_var'}'` = yes; then
51546   cat >>confdefs.h <<_ACEOF
51547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51548 _ACEOF
51549
51550 fi
51551 done
51552
51553     fi
51554   fi
51555
51556
51557
51558
51559
51560
51561   echo "$as_me:$LINENO: checking for modf declaration" >&5
51562 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51563   if test x${glibcxx_cv_func_modf_use+set} != xset; then
51564     if test "${glibcxx_cv_func_modf_use+set}" = set; then
51565   echo $ECHO_N "(cached) $ECHO_C" >&6
51566 else
51567
51568
51569
51570       ac_ext=cc
51571 ac_cpp='$CXXCPP $CPPFLAGS'
51572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575
51576       cat >conftest.$ac_ext <<_ACEOF
51577 /* confdefs.h.  */
51578 _ACEOF
51579 cat confdefs.h >>conftest.$ac_ext
51580 cat >>conftest.$ac_ext <<_ACEOF
51581 /* end confdefs.h.  */
51582 #include <math.h>
51583 int
51584 main ()
51585 {
51586  modf(0, 0);
51587   ;
51588   return 0;
51589 }
51590 _ACEOF
51591 rm -f conftest.$ac_objext
51592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51593   (eval $ac_compile) 2>conftest.er1
51594   ac_status=$?
51595   grep -v '^ *+' conftest.er1 >conftest.err
51596   rm -f conftest.er1
51597   cat conftest.err >&5
51598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51599   (exit $ac_status); } &&
51600          { ac_try='test -z "$ac_cxx_werror_flag"
51601                          || test ! -s conftest.err'
51602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51603   (eval $ac_try) 2>&5
51604   ac_status=$?
51605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51606   (exit $ac_status); }; } &&
51607          { ac_try='test -s conftest.$ac_objext'
51608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51609   (eval $ac_try) 2>&5
51610   ac_status=$?
51611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51612   (exit $ac_status); }; }; then
51613   glibcxx_cv_func_modf_use=yes
51614 else
51615   echo "$as_me: failed program was:" >&5
51616 sed 's/^/| /' conftest.$ac_ext >&5
51617
51618 glibcxx_cv_func_modf_use=no
51619 fi
51620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51621       ac_ext=c
51622 ac_cpp='$CPP $CPPFLAGS'
51623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51626
51627
51628 fi
51629
51630   fi
51631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51632 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51633
51634   if test x$glibcxx_cv_func_modf_use = x"yes"; then
51635
51636 for ac_func in modf
51637 do
51638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51639 echo "$as_me:$LINENO: checking for $ac_func" >&5
51640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51641 if eval "test \"\${$as_ac_var+set}\" = set"; then
51642   echo $ECHO_N "(cached) $ECHO_C" >&6
51643 else
51644   if test x$gcc_no_link = xyes; then
51645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51647    { (exit 1); exit 1; }; }
51648 fi
51649 cat >conftest.$ac_ext <<_ACEOF
51650 /* confdefs.h.  */
51651 _ACEOF
51652 cat confdefs.h >>conftest.$ac_ext
51653 cat >>conftest.$ac_ext <<_ACEOF
51654 /* end confdefs.h.  */
51655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51657 #define $ac_func innocuous_$ac_func
51658
51659 /* System header to define __stub macros and hopefully few prototypes,
51660     which can conflict with char $ac_func (); below.
51661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51662     <limits.h> exists even on freestanding compilers.  */
51663
51664 #ifdef __STDC__
51665 # include <limits.h>
51666 #else
51667 # include <assert.h>
51668 #endif
51669
51670 #undef $ac_func
51671
51672 /* Override any gcc2 internal prototype to avoid an error.  */
51673 #ifdef __cplusplus
51674 extern "C"
51675 {
51676 #endif
51677 /* We use char because int might match the return type of a gcc2
51678    builtin and then its argument prototype would still apply.  */
51679 char $ac_func ();
51680 /* The GNU C library defines this for functions which it implements
51681     to always fail with ENOSYS.  Some functions are actually named
51682     something starting with __ and the normal name is an alias.  */
51683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51684 choke me
51685 #else
51686 char (*f) () = $ac_func;
51687 #endif
51688 #ifdef __cplusplus
51689 }
51690 #endif
51691
51692 int
51693 main ()
51694 {
51695 return f != $ac_func;
51696   ;
51697   return 0;
51698 }
51699 _ACEOF
51700 rm -f conftest.$ac_objext conftest$ac_exeext
51701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51702   (eval $ac_link) 2>conftest.er1
51703   ac_status=$?
51704   grep -v '^ *+' conftest.er1 >conftest.err
51705   rm -f conftest.er1
51706   cat conftest.err >&5
51707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51708   (exit $ac_status); } &&
51709          { ac_try='test -z "$ac_c_werror_flag"
51710                          || test ! -s conftest.err'
51711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51712   (eval $ac_try) 2>&5
51713   ac_status=$?
51714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715   (exit $ac_status); }; } &&
51716          { ac_try='test -s conftest$ac_exeext'
51717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51718   (eval $ac_try) 2>&5
51719   ac_status=$?
51720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51721   (exit $ac_status); }; }; then
51722   eval "$as_ac_var=yes"
51723 else
51724   echo "$as_me: failed program was:" >&5
51725 sed 's/^/| /' conftest.$ac_ext >&5
51726
51727 eval "$as_ac_var=no"
51728 fi
51729 rm -f conftest.err conftest.$ac_objext \
51730       conftest$ac_exeext conftest.$ac_ext
51731 fi
51732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51734 if test `eval echo '${'$as_ac_var'}'` = yes; then
51735   cat >>confdefs.h <<_ACEOF
51736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51737 _ACEOF
51738
51739 fi
51740 done
51741
51742   else
51743
51744   echo "$as_me:$LINENO: checking for _modf declaration" >&5
51745 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51746   if test x${glibcxx_cv_func__modf_use+set} != xset; then
51747     if test "${glibcxx_cv_func__modf_use+set}" = set; then
51748   echo $ECHO_N "(cached) $ECHO_C" >&6
51749 else
51750
51751
51752
51753       ac_ext=cc
51754 ac_cpp='$CXXCPP $CPPFLAGS'
51755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51758
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 #include <math.h>
51766 int
51767 main ()
51768 {
51769  _modf(0, 0);
51770   ;
51771   return 0;
51772 }
51773 _ACEOF
51774 rm -f conftest.$ac_objext
51775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51776   (eval $ac_compile) 2>conftest.er1
51777   ac_status=$?
51778   grep -v '^ *+' conftest.er1 >conftest.err
51779   rm -f conftest.er1
51780   cat conftest.err >&5
51781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51782   (exit $ac_status); } &&
51783          { ac_try='test -z "$ac_cxx_werror_flag"
51784                          || test ! -s conftest.err'
51785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51786   (eval $ac_try) 2>&5
51787   ac_status=$?
51788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789   (exit $ac_status); }; } &&
51790          { ac_try='test -s conftest.$ac_objext'
51791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792   (eval $ac_try) 2>&5
51793   ac_status=$?
51794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795   (exit $ac_status); }; }; then
51796   glibcxx_cv_func__modf_use=yes
51797 else
51798   echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51800
51801 glibcxx_cv_func__modf_use=no
51802 fi
51803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51804       ac_ext=c
51805 ac_cpp='$CPP $CPPFLAGS'
51806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51809
51810
51811 fi
51812
51813   fi
51814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51815 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51816
51817     if test x$glibcxx_cv_func__modf_use = x"yes"; then
51818
51819 for ac_func in _modf
51820 do
51821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51822 echo "$as_me:$LINENO: checking for $ac_func" >&5
51823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51824 if eval "test \"\${$as_ac_var+set}\" = set"; then
51825   echo $ECHO_N "(cached) $ECHO_C" >&6
51826 else
51827   if test x$gcc_no_link = xyes; then
51828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51830    { (exit 1); exit 1; }; }
51831 fi
51832 cat >conftest.$ac_ext <<_ACEOF
51833 /* confdefs.h.  */
51834 _ACEOF
51835 cat confdefs.h >>conftest.$ac_ext
51836 cat >>conftest.$ac_ext <<_ACEOF
51837 /* end confdefs.h.  */
51838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51840 #define $ac_func innocuous_$ac_func
51841
51842 /* System header to define __stub macros and hopefully few prototypes,
51843     which can conflict with char $ac_func (); below.
51844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51845     <limits.h> exists even on freestanding compilers.  */
51846
51847 #ifdef __STDC__
51848 # include <limits.h>
51849 #else
51850 # include <assert.h>
51851 #endif
51852
51853 #undef $ac_func
51854
51855 /* Override any gcc2 internal prototype to avoid an error.  */
51856 #ifdef __cplusplus
51857 extern "C"
51858 {
51859 #endif
51860 /* We use char because int might match the return type of a gcc2
51861    builtin and then its argument prototype would still apply.  */
51862 char $ac_func ();
51863 /* The GNU C library defines this for functions which it implements
51864     to always fail with ENOSYS.  Some functions are actually named
51865     something starting with __ and the normal name is an alias.  */
51866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51867 choke me
51868 #else
51869 char (*f) () = $ac_func;
51870 #endif
51871 #ifdef __cplusplus
51872 }
51873 #endif
51874
51875 int
51876 main ()
51877 {
51878 return f != $ac_func;
51879   ;
51880   return 0;
51881 }
51882 _ACEOF
51883 rm -f conftest.$ac_objext conftest$ac_exeext
51884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51885   (eval $ac_link) 2>conftest.er1
51886   ac_status=$?
51887   grep -v '^ *+' conftest.er1 >conftest.err
51888   rm -f conftest.er1
51889   cat conftest.err >&5
51890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51891   (exit $ac_status); } &&
51892          { ac_try='test -z "$ac_c_werror_flag"
51893                          || test ! -s conftest.err'
51894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51895   (eval $ac_try) 2>&5
51896   ac_status=$?
51897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898   (exit $ac_status); }; } &&
51899          { ac_try='test -s conftest$ac_exeext'
51900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51901   (eval $ac_try) 2>&5
51902   ac_status=$?
51903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51904   (exit $ac_status); }; }; then
51905   eval "$as_ac_var=yes"
51906 else
51907   echo "$as_me: failed program was:" >&5
51908 sed 's/^/| /' conftest.$ac_ext >&5
51909
51910 eval "$as_ac_var=no"
51911 fi
51912 rm -f conftest.err conftest.$ac_objext \
51913       conftest$ac_exeext conftest.$ac_ext
51914 fi
51915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51917 if test `eval echo '${'$as_ac_var'}'` = yes; then
51918   cat >>confdefs.h <<_ACEOF
51919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51920 _ACEOF
51921
51922 fi
51923 done
51924
51925     fi
51926   fi
51927
51928
51929
51930
51931
51932
51933   echo "$as_me:$LINENO: checking for powf declaration" >&5
51934 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51935   if test x${glibcxx_cv_func_powf_use+set} != xset; then
51936     if test "${glibcxx_cv_func_powf_use+set}" = set; then
51937   echo $ECHO_N "(cached) $ECHO_C" >&6
51938 else
51939
51940
51941
51942       ac_ext=cc
51943 ac_cpp='$CXXCPP $CPPFLAGS'
51944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51947
51948       cat >conftest.$ac_ext <<_ACEOF
51949 /* confdefs.h.  */
51950 _ACEOF
51951 cat confdefs.h >>conftest.$ac_ext
51952 cat >>conftest.$ac_ext <<_ACEOF
51953 /* end confdefs.h.  */
51954 #include <math.h>
51955 int
51956 main ()
51957 {
51958  powf(0, 0);
51959   ;
51960   return 0;
51961 }
51962 _ACEOF
51963 rm -f conftest.$ac_objext
51964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51965   (eval $ac_compile) 2>conftest.er1
51966   ac_status=$?
51967   grep -v '^ *+' conftest.er1 >conftest.err
51968   rm -f conftest.er1
51969   cat conftest.err >&5
51970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51971   (exit $ac_status); } &&
51972          { ac_try='test -z "$ac_cxx_werror_flag"
51973                          || test ! -s conftest.err'
51974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51975   (eval $ac_try) 2>&5
51976   ac_status=$?
51977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978   (exit $ac_status); }; } &&
51979          { ac_try='test -s conftest.$ac_objext'
51980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51981   (eval $ac_try) 2>&5
51982   ac_status=$?
51983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51984   (exit $ac_status); }; }; then
51985   glibcxx_cv_func_powf_use=yes
51986 else
51987   echo "$as_me: failed program was:" >&5
51988 sed 's/^/| /' conftest.$ac_ext >&5
51989
51990 glibcxx_cv_func_powf_use=no
51991 fi
51992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51993       ac_ext=c
51994 ac_cpp='$CPP $CPPFLAGS'
51995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51998
51999
52000 fi
52001
52002   fi
52003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52004 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52005
52006   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52007
52008 for ac_func in powf
52009 do
52010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52011 echo "$as_me:$LINENO: checking for $ac_func" >&5
52012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52013 if eval "test \"\${$as_ac_var+set}\" = set"; then
52014   echo $ECHO_N "(cached) $ECHO_C" >&6
52015 else
52016   if test x$gcc_no_link = xyes; then
52017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52019    { (exit 1); exit 1; }; }
52020 fi
52021 cat >conftest.$ac_ext <<_ACEOF
52022 /* confdefs.h.  */
52023 _ACEOF
52024 cat confdefs.h >>conftest.$ac_ext
52025 cat >>conftest.$ac_ext <<_ACEOF
52026 /* end confdefs.h.  */
52027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52029 #define $ac_func innocuous_$ac_func
52030
52031 /* System header to define __stub macros and hopefully few prototypes,
52032     which can conflict with char $ac_func (); below.
52033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52034     <limits.h> exists even on freestanding compilers.  */
52035
52036 #ifdef __STDC__
52037 # include <limits.h>
52038 #else
52039 # include <assert.h>
52040 #endif
52041
52042 #undef $ac_func
52043
52044 /* Override any gcc2 internal prototype to avoid an error.  */
52045 #ifdef __cplusplus
52046 extern "C"
52047 {
52048 #endif
52049 /* We use char because int might match the return type of a gcc2
52050    builtin and then its argument prototype would still apply.  */
52051 char $ac_func ();
52052 /* The GNU C library defines this for functions which it implements
52053     to always fail with ENOSYS.  Some functions are actually named
52054     something starting with __ and the normal name is an alias.  */
52055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52056 choke me
52057 #else
52058 char (*f) () = $ac_func;
52059 #endif
52060 #ifdef __cplusplus
52061 }
52062 #endif
52063
52064 int
52065 main ()
52066 {
52067 return f != $ac_func;
52068   ;
52069   return 0;
52070 }
52071 _ACEOF
52072 rm -f conftest.$ac_objext conftest$ac_exeext
52073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52074   (eval $ac_link) 2>conftest.er1
52075   ac_status=$?
52076   grep -v '^ *+' conftest.er1 >conftest.err
52077   rm -f conftest.er1
52078   cat conftest.err >&5
52079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52080   (exit $ac_status); } &&
52081          { ac_try='test -z "$ac_c_werror_flag"
52082                          || test ! -s conftest.err'
52083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52084   (eval $ac_try) 2>&5
52085   ac_status=$?
52086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52087   (exit $ac_status); }; } &&
52088          { ac_try='test -s conftest$ac_exeext'
52089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52090   (eval $ac_try) 2>&5
52091   ac_status=$?
52092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52093   (exit $ac_status); }; }; then
52094   eval "$as_ac_var=yes"
52095 else
52096   echo "$as_me: failed program was:" >&5
52097 sed 's/^/| /' conftest.$ac_ext >&5
52098
52099 eval "$as_ac_var=no"
52100 fi
52101 rm -f conftest.err conftest.$ac_objext \
52102       conftest$ac_exeext conftest.$ac_ext
52103 fi
52104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52106 if test `eval echo '${'$as_ac_var'}'` = yes; then
52107   cat >>confdefs.h <<_ACEOF
52108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52109 _ACEOF
52110
52111 fi
52112 done
52113
52114   else
52115
52116   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52117 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52118   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52119     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52120   echo $ECHO_N "(cached) $ECHO_C" >&6
52121 else
52122
52123
52124
52125       ac_ext=cc
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130
52131       cat >conftest.$ac_ext <<_ACEOF
52132 /* confdefs.h.  */
52133 _ACEOF
52134 cat confdefs.h >>conftest.$ac_ext
52135 cat >>conftest.$ac_ext <<_ACEOF
52136 /* end confdefs.h.  */
52137 #include <math.h>
52138 int
52139 main ()
52140 {
52141  _powf(0, 0);
52142   ;
52143   return 0;
52144 }
52145 _ACEOF
52146 rm -f conftest.$ac_objext
52147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52148   (eval $ac_compile) 2>conftest.er1
52149   ac_status=$?
52150   grep -v '^ *+' conftest.er1 >conftest.err
52151   rm -f conftest.er1
52152   cat conftest.err >&5
52153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154   (exit $ac_status); } &&
52155          { ac_try='test -z "$ac_cxx_werror_flag"
52156                          || test ! -s conftest.err'
52157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52158   (eval $ac_try) 2>&5
52159   ac_status=$?
52160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161   (exit $ac_status); }; } &&
52162          { ac_try='test -s conftest.$ac_objext'
52163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52164   (eval $ac_try) 2>&5
52165   ac_status=$?
52166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167   (exit $ac_status); }; }; then
52168   glibcxx_cv_func__powf_use=yes
52169 else
52170   echo "$as_me: failed program was:" >&5
52171 sed 's/^/| /' conftest.$ac_ext >&5
52172
52173 glibcxx_cv_func__powf_use=no
52174 fi
52175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52176       ac_ext=c
52177 ac_cpp='$CPP $CPPFLAGS'
52178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52181
52182
52183 fi
52184
52185   fi
52186   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52187 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52188
52189     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52190
52191 for ac_func in _powf
52192 do
52193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52194 echo "$as_me:$LINENO: checking for $ac_func" >&5
52195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52196 if eval "test \"\${$as_ac_var+set}\" = set"; then
52197   echo $ECHO_N "(cached) $ECHO_C" >&6
52198 else
52199   if test x$gcc_no_link = xyes; then
52200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52202    { (exit 1); exit 1; }; }
52203 fi
52204 cat >conftest.$ac_ext <<_ACEOF
52205 /* confdefs.h.  */
52206 _ACEOF
52207 cat confdefs.h >>conftest.$ac_ext
52208 cat >>conftest.$ac_ext <<_ACEOF
52209 /* end confdefs.h.  */
52210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52212 #define $ac_func innocuous_$ac_func
52213
52214 /* System header to define __stub macros and hopefully few prototypes,
52215     which can conflict with char $ac_func (); below.
52216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52217     <limits.h> exists even on freestanding compilers.  */
52218
52219 #ifdef __STDC__
52220 # include <limits.h>
52221 #else
52222 # include <assert.h>
52223 #endif
52224
52225 #undef $ac_func
52226
52227 /* Override any gcc2 internal prototype to avoid an error.  */
52228 #ifdef __cplusplus
52229 extern "C"
52230 {
52231 #endif
52232 /* We use char because int might match the return type of a gcc2
52233    builtin and then its argument prototype would still apply.  */
52234 char $ac_func ();
52235 /* The GNU C library defines this for functions which it implements
52236     to always fail with ENOSYS.  Some functions are actually named
52237     something starting with __ and the normal name is an alias.  */
52238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52239 choke me
52240 #else
52241 char (*f) () = $ac_func;
52242 #endif
52243 #ifdef __cplusplus
52244 }
52245 #endif
52246
52247 int
52248 main ()
52249 {
52250 return f != $ac_func;
52251   ;
52252   return 0;
52253 }
52254 _ACEOF
52255 rm -f conftest.$ac_objext conftest$ac_exeext
52256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52257   (eval $ac_link) 2>conftest.er1
52258   ac_status=$?
52259   grep -v '^ *+' conftest.er1 >conftest.err
52260   rm -f conftest.er1
52261   cat conftest.err >&5
52262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52263   (exit $ac_status); } &&
52264          { ac_try='test -z "$ac_c_werror_flag"
52265                          || test ! -s conftest.err'
52266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52267   (eval $ac_try) 2>&5
52268   ac_status=$?
52269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52270   (exit $ac_status); }; } &&
52271          { ac_try='test -s conftest$ac_exeext'
52272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52273   (eval $ac_try) 2>&5
52274   ac_status=$?
52275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52276   (exit $ac_status); }; }; then
52277   eval "$as_ac_var=yes"
52278 else
52279   echo "$as_me: failed program was:" >&5
52280 sed 's/^/| /' conftest.$ac_ext >&5
52281
52282 eval "$as_ac_var=no"
52283 fi
52284 rm -f conftest.err conftest.$ac_objext \
52285       conftest$ac_exeext conftest.$ac_ext
52286 fi
52287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52289 if test `eval echo '${'$as_ac_var'}'` = yes; then
52290   cat >>confdefs.h <<_ACEOF
52291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52292 _ACEOF
52293
52294 fi
52295 done
52296
52297     fi
52298   fi
52299
52300
52301
52302
52303
52304
52305   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52306 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52307   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52308     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52309   echo $ECHO_N "(cached) $ECHO_C" >&6
52310 else
52311
52312
52313
52314       ac_ext=cc
52315 ac_cpp='$CXXCPP $CPPFLAGS'
52316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52319
52320       cat >conftest.$ac_ext <<_ACEOF
52321 /* confdefs.h.  */
52322 _ACEOF
52323 cat confdefs.h >>conftest.$ac_ext
52324 cat >>conftest.$ac_ext <<_ACEOF
52325 /* end confdefs.h.  */
52326 #include <math.h>
52327                       #ifdef HAVE_IEEEFP_H
52328                       #include <ieeefp.h>
52329                       #endif
52330
52331 int
52332 main ()
52333 {
52334  sqrtf(0);
52335   ;
52336   return 0;
52337 }
52338 _ACEOF
52339 rm -f conftest.$ac_objext
52340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52341   (eval $ac_compile) 2>conftest.er1
52342   ac_status=$?
52343   grep -v '^ *+' conftest.er1 >conftest.err
52344   rm -f conftest.er1
52345   cat conftest.err >&5
52346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52347   (exit $ac_status); } &&
52348          { ac_try='test -z "$ac_cxx_werror_flag"
52349                          || test ! -s conftest.err'
52350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52351   (eval $ac_try) 2>&5
52352   ac_status=$?
52353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52354   (exit $ac_status); }; } &&
52355          { ac_try='test -s conftest.$ac_objext'
52356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52357   (eval $ac_try) 2>&5
52358   ac_status=$?
52359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52360   (exit $ac_status); }; }; then
52361   glibcxx_cv_func_sqrtf_use=yes
52362 else
52363   echo "$as_me: failed program was:" >&5
52364 sed 's/^/| /' conftest.$ac_ext >&5
52365
52366 glibcxx_cv_func_sqrtf_use=no
52367 fi
52368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52369       ac_ext=c
52370 ac_cpp='$CPP $CPPFLAGS'
52371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52374
52375
52376 fi
52377
52378   fi
52379   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52380 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52381
52382   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52383
52384 for ac_func in sqrtf
52385 do
52386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52387 echo "$as_me:$LINENO: checking for $ac_func" >&5
52388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52389 if eval "test \"\${$as_ac_var+set}\" = set"; then
52390   echo $ECHO_N "(cached) $ECHO_C" >&6
52391 else
52392   if test x$gcc_no_link = xyes; then
52393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52395    { (exit 1); exit 1; }; }
52396 fi
52397 cat >conftest.$ac_ext <<_ACEOF
52398 /* confdefs.h.  */
52399 _ACEOF
52400 cat confdefs.h >>conftest.$ac_ext
52401 cat >>conftest.$ac_ext <<_ACEOF
52402 /* end confdefs.h.  */
52403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52405 #define $ac_func innocuous_$ac_func
52406
52407 /* System header to define __stub macros and hopefully few prototypes,
52408     which can conflict with char $ac_func (); below.
52409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52410     <limits.h> exists even on freestanding compilers.  */
52411
52412 #ifdef __STDC__
52413 # include <limits.h>
52414 #else
52415 # include <assert.h>
52416 #endif
52417
52418 #undef $ac_func
52419
52420 /* Override any gcc2 internal prototype to avoid an error.  */
52421 #ifdef __cplusplus
52422 extern "C"
52423 {
52424 #endif
52425 /* We use char because int might match the return type of a gcc2
52426    builtin and then its argument prototype would still apply.  */
52427 char $ac_func ();
52428 /* The GNU C library defines this for functions which it implements
52429     to always fail with ENOSYS.  Some functions are actually named
52430     something starting with __ and the normal name is an alias.  */
52431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52432 choke me
52433 #else
52434 char (*f) () = $ac_func;
52435 #endif
52436 #ifdef __cplusplus
52437 }
52438 #endif
52439
52440 int
52441 main ()
52442 {
52443 return f != $ac_func;
52444   ;
52445   return 0;
52446 }
52447 _ACEOF
52448 rm -f conftest.$ac_objext conftest$ac_exeext
52449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52450   (eval $ac_link) 2>conftest.er1
52451   ac_status=$?
52452   grep -v '^ *+' conftest.er1 >conftest.err
52453   rm -f conftest.er1
52454   cat conftest.err >&5
52455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52456   (exit $ac_status); } &&
52457          { ac_try='test -z "$ac_c_werror_flag"
52458                          || test ! -s conftest.err'
52459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52460   (eval $ac_try) 2>&5
52461   ac_status=$?
52462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52463   (exit $ac_status); }; } &&
52464          { ac_try='test -s conftest$ac_exeext'
52465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52466   (eval $ac_try) 2>&5
52467   ac_status=$?
52468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52469   (exit $ac_status); }; }; then
52470   eval "$as_ac_var=yes"
52471 else
52472   echo "$as_me: failed program was:" >&5
52473 sed 's/^/| /' conftest.$ac_ext >&5
52474
52475 eval "$as_ac_var=no"
52476 fi
52477 rm -f conftest.err conftest.$ac_objext \
52478       conftest$ac_exeext conftest.$ac_ext
52479 fi
52480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52482 if test `eval echo '${'$as_ac_var'}'` = yes; then
52483   cat >>confdefs.h <<_ACEOF
52484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52485 _ACEOF
52486
52487 fi
52488 done
52489
52490   else
52491
52492   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52493 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52494   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52495     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52496   echo $ECHO_N "(cached) $ECHO_C" >&6
52497 else
52498
52499
52500
52501       ac_ext=cc
52502 ac_cpp='$CXXCPP $CPPFLAGS'
52503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52506
52507       cat >conftest.$ac_ext <<_ACEOF
52508 /* confdefs.h.  */
52509 _ACEOF
52510 cat confdefs.h >>conftest.$ac_ext
52511 cat >>conftest.$ac_ext <<_ACEOF
52512 /* end confdefs.h.  */
52513 #include <math.h>
52514                       #ifdef HAVE_IEEEFP_H
52515                       #include <ieeefp.h>
52516                       #endif
52517
52518 int
52519 main ()
52520 {
52521  _sqrtf(0);
52522   ;
52523   return 0;
52524 }
52525 _ACEOF
52526 rm -f conftest.$ac_objext
52527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52528   (eval $ac_compile) 2>conftest.er1
52529   ac_status=$?
52530   grep -v '^ *+' conftest.er1 >conftest.err
52531   rm -f conftest.er1
52532   cat conftest.err >&5
52533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52534   (exit $ac_status); } &&
52535          { ac_try='test -z "$ac_cxx_werror_flag"
52536                          || test ! -s conftest.err'
52537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52538   (eval $ac_try) 2>&5
52539   ac_status=$?
52540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52541   (exit $ac_status); }; } &&
52542          { ac_try='test -s conftest.$ac_objext'
52543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52544   (eval $ac_try) 2>&5
52545   ac_status=$?
52546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52547   (exit $ac_status); }; }; then
52548   glibcxx_cv_func__sqrtf_use=yes
52549 else
52550   echo "$as_me: failed program was:" >&5
52551 sed 's/^/| /' conftest.$ac_ext >&5
52552
52553 glibcxx_cv_func__sqrtf_use=no
52554 fi
52555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52556       ac_ext=c
52557 ac_cpp='$CPP $CPPFLAGS'
52558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52561
52562
52563 fi
52564
52565   fi
52566   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52567 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52568
52569     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52570
52571 for ac_func in _sqrtf
52572 do
52573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52574 echo "$as_me:$LINENO: checking for $ac_func" >&5
52575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52576 if eval "test \"\${$as_ac_var+set}\" = set"; then
52577   echo $ECHO_N "(cached) $ECHO_C" >&6
52578 else
52579   if test x$gcc_no_link = xyes; then
52580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52582    { (exit 1); exit 1; }; }
52583 fi
52584 cat >conftest.$ac_ext <<_ACEOF
52585 /* confdefs.h.  */
52586 _ACEOF
52587 cat confdefs.h >>conftest.$ac_ext
52588 cat >>conftest.$ac_ext <<_ACEOF
52589 /* end confdefs.h.  */
52590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52592 #define $ac_func innocuous_$ac_func
52593
52594 /* System header to define __stub macros and hopefully few prototypes,
52595     which can conflict with char $ac_func (); below.
52596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52597     <limits.h> exists even on freestanding compilers.  */
52598
52599 #ifdef __STDC__
52600 # include <limits.h>
52601 #else
52602 # include <assert.h>
52603 #endif
52604
52605 #undef $ac_func
52606
52607 /* Override any gcc2 internal prototype to avoid an error.  */
52608 #ifdef __cplusplus
52609 extern "C"
52610 {
52611 #endif
52612 /* We use char because int might match the return type of a gcc2
52613    builtin and then its argument prototype would still apply.  */
52614 char $ac_func ();
52615 /* The GNU C library defines this for functions which it implements
52616     to always fail with ENOSYS.  Some functions are actually named
52617     something starting with __ and the normal name is an alias.  */
52618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52619 choke me
52620 #else
52621 char (*f) () = $ac_func;
52622 #endif
52623 #ifdef __cplusplus
52624 }
52625 #endif
52626
52627 int
52628 main ()
52629 {
52630 return f != $ac_func;
52631   ;
52632   return 0;
52633 }
52634 _ACEOF
52635 rm -f conftest.$ac_objext conftest$ac_exeext
52636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52637   (eval $ac_link) 2>conftest.er1
52638   ac_status=$?
52639   grep -v '^ *+' conftest.er1 >conftest.err
52640   rm -f conftest.er1
52641   cat conftest.err >&5
52642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52643   (exit $ac_status); } &&
52644          { ac_try='test -z "$ac_c_werror_flag"
52645                          || test ! -s conftest.err'
52646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52647   (eval $ac_try) 2>&5
52648   ac_status=$?
52649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52650   (exit $ac_status); }; } &&
52651          { ac_try='test -s conftest$ac_exeext'
52652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52653   (eval $ac_try) 2>&5
52654   ac_status=$?
52655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52656   (exit $ac_status); }; }; then
52657   eval "$as_ac_var=yes"
52658 else
52659   echo "$as_me: failed program was:" >&5
52660 sed 's/^/| /' conftest.$ac_ext >&5
52661
52662 eval "$as_ac_var=no"
52663 fi
52664 rm -f conftest.err conftest.$ac_objext \
52665       conftest$ac_exeext conftest.$ac_ext
52666 fi
52667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52669 if test `eval echo '${'$as_ac_var'}'` = yes; then
52670   cat >>confdefs.h <<_ACEOF
52671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52672 _ACEOF
52673
52674 fi
52675 done
52676
52677     fi
52678   fi
52679
52680
52681
52682
52683
52684
52685   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52686 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52687   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52688     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52689   echo $ECHO_N "(cached) $ECHO_C" >&6
52690 else
52691
52692
52693
52694       ac_ext=cc
52695 ac_cpp='$CXXCPP $CPPFLAGS'
52696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52699
52700       cat >conftest.$ac_ext <<_ACEOF
52701 /* confdefs.h.  */
52702 _ACEOF
52703 cat confdefs.h >>conftest.$ac_ext
52704 cat >>conftest.$ac_ext <<_ACEOF
52705 /* end confdefs.h.  */
52706 #include <math.h>
52707 int
52708 main ()
52709 {
52710  sincosf(0, 0, 0);
52711   ;
52712   return 0;
52713 }
52714 _ACEOF
52715 rm -f conftest.$ac_objext
52716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52717   (eval $ac_compile) 2>conftest.er1
52718   ac_status=$?
52719   grep -v '^ *+' conftest.er1 >conftest.err
52720   rm -f conftest.er1
52721   cat conftest.err >&5
52722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52723   (exit $ac_status); } &&
52724          { ac_try='test -z "$ac_cxx_werror_flag"
52725                          || test ! -s conftest.err'
52726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727   (eval $ac_try) 2>&5
52728   ac_status=$?
52729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730   (exit $ac_status); }; } &&
52731          { ac_try='test -s conftest.$ac_objext'
52732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52733   (eval $ac_try) 2>&5
52734   ac_status=$?
52735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52736   (exit $ac_status); }; }; then
52737   glibcxx_cv_func_sincosf_use=yes
52738 else
52739   echo "$as_me: failed program was:" >&5
52740 sed 's/^/| /' conftest.$ac_ext >&5
52741
52742 glibcxx_cv_func_sincosf_use=no
52743 fi
52744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52745       ac_ext=c
52746 ac_cpp='$CPP $CPPFLAGS'
52747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52750
52751
52752 fi
52753
52754   fi
52755   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52756 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52757
52758   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52759
52760 for ac_func in sincosf
52761 do
52762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52763 echo "$as_me:$LINENO: checking for $ac_func" >&5
52764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52765 if eval "test \"\${$as_ac_var+set}\" = set"; then
52766   echo $ECHO_N "(cached) $ECHO_C" >&6
52767 else
52768   if test x$gcc_no_link = xyes; then
52769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52771    { (exit 1); exit 1; }; }
52772 fi
52773 cat >conftest.$ac_ext <<_ACEOF
52774 /* confdefs.h.  */
52775 _ACEOF
52776 cat confdefs.h >>conftest.$ac_ext
52777 cat >>conftest.$ac_ext <<_ACEOF
52778 /* end confdefs.h.  */
52779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52781 #define $ac_func innocuous_$ac_func
52782
52783 /* System header to define __stub macros and hopefully few prototypes,
52784     which can conflict with char $ac_func (); below.
52785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52786     <limits.h> exists even on freestanding compilers.  */
52787
52788 #ifdef __STDC__
52789 # include <limits.h>
52790 #else
52791 # include <assert.h>
52792 #endif
52793
52794 #undef $ac_func
52795
52796 /* Override any gcc2 internal prototype to avoid an error.  */
52797 #ifdef __cplusplus
52798 extern "C"
52799 {
52800 #endif
52801 /* We use char because int might match the return type of a gcc2
52802    builtin and then its argument prototype would still apply.  */
52803 char $ac_func ();
52804 /* The GNU C library defines this for functions which it implements
52805     to always fail with ENOSYS.  Some functions are actually named
52806     something starting with __ and the normal name is an alias.  */
52807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52808 choke me
52809 #else
52810 char (*f) () = $ac_func;
52811 #endif
52812 #ifdef __cplusplus
52813 }
52814 #endif
52815
52816 int
52817 main ()
52818 {
52819 return f != $ac_func;
52820   ;
52821   return 0;
52822 }
52823 _ACEOF
52824 rm -f conftest.$ac_objext conftest$ac_exeext
52825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52826   (eval $ac_link) 2>conftest.er1
52827   ac_status=$?
52828   grep -v '^ *+' conftest.er1 >conftest.err
52829   rm -f conftest.er1
52830   cat conftest.err >&5
52831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52832   (exit $ac_status); } &&
52833          { ac_try='test -z "$ac_c_werror_flag"
52834                          || test ! -s conftest.err'
52835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52836   (eval $ac_try) 2>&5
52837   ac_status=$?
52838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839   (exit $ac_status); }; } &&
52840          { ac_try='test -s conftest$ac_exeext'
52841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52842   (eval $ac_try) 2>&5
52843   ac_status=$?
52844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52845   (exit $ac_status); }; }; then
52846   eval "$as_ac_var=yes"
52847 else
52848   echo "$as_me: failed program was:" >&5
52849 sed 's/^/| /' conftest.$ac_ext >&5
52850
52851 eval "$as_ac_var=no"
52852 fi
52853 rm -f conftest.err conftest.$ac_objext \
52854       conftest$ac_exeext conftest.$ac_ext
52855 fi
52856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52858 if test `eval echo '${'$as_ac_var'}'` = yes; then
52859   cat >>confdefs.h <<_ACEOF
52860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52861 _ACEOF
52862
52863 fi
52864 done
52865
52866   else
52867
52868   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52869 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52870   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52871     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52872   echo $ECHO_N "(cached) $ECHO_C" >&6
52873 else
52874
52875
52876
52877       ac_ext=cc
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52882
52883       cat >conftest.$ac_ext <<_ACEOF
52884 /* confdefs.h.  */
52885 _ACEOF
52886 cat confdefs.h >>conftest.$ac_ext
52887 cat >>conftest.$ac_ext <<_ACEOF
52888 /* end confdefs.h.  */
52889 #include <math.h>
52890 int
52891 main ()
52892 {
52893  _sincosf(0, 0, 0);
52894   ;
52895   return 0;
52896 }
52897 _ACEOF
52898 rm -f conftest.$ac_objext
52899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52900   (eval $ac_compile) 2>conftest.er1
52901   ac_status=$?
52902   grep -v '^ *+' conftest.er1 >conftest.err
52903   rm -f conftest.er1
52904   cat conftest.err >&5
52905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52906   (exit $ac_status); } &&
52907          { ac_try='test -z "$ac_cxx_werror_flag"
52908                          || test ! -s conftest.err'
52909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52910   (eval $ac_try) 2>&5
52911   ac_status=$?
52912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52913   (exit $ac_status); }; } &&
52914          { ac_try='test -s conftest.$ac_objext'
52915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52916   (eval $ac_try) 2>&5
52917   ac_status=$?
52918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52919   (exit $ac_status); }; }; then
52920   glibcxx_cv_func__sincosf_use=yes
52921 else
52922   echo "$as_me: failed program was:" >&5
52923 sed 's/^/| /' conftest.$ac_ext >&5
52924
52925 glibcxx_cv_func__sincosf_use=no
52926 fi
52927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52928       ac_ext=c
52929 ac_cpp='$CPP $CPPFLAGS'
52930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52933
52934
52935 fi
52936
52937   fi
52938   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52939 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52940
52941     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52942
52943 for ac_func in _sincosf
52944 do
52945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52946 echo "$as_me:$LINENO: checking for $ac_func" >&5
52947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52948 if eval "test \"\${$as_ac_var+set}\" = set"; then
52949   echo $ECHO_N "(cached) $ECHO_C" >&6
52950 else
52951   if test x$gcc_no_link = xyes; then
52952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52954    { (exit 1); exit 1; }; }
52955 fi
52956 cat >conftest.$ac_ext <<_ACEOF
52957 /* confdefs.h.  */
52958 _ACEOF
52959 cat confdefs.h >>conftest.$ac_ext
52960 cat >>conftest.$ac_ext <<_ACEOF
52961 /* end confdefs.h.  */
52962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52964 #define $ac_func innocuous_$ac_func
52965
52966 /* System header to define __stub macros and hopefully few prototypes,
52967     which can conflict with char $ac_func (); below.
52968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52969     <limits.h> exists even on freestanding compilers.  */
52970
52971 #ifdef __STDC__
52972 # include <limits.h>
52973 #else
52974 # include <assert.h>
52975 #endif
52976
52977 #undef $ac_func
52978
52979 /* Override any gcc2 internal prototype to avoid an error.  */
52980 #ifdef __cplusplus
52981 extern "C"
52982 {
52983 #endif
52984 /* We use char because int might match the return type of a gcc2
52985    builtin and then its argument prototype would still apply.  */
52986 char $ac_func ();
52987 /* The GNU C library defines this for functions which it implements
52988     to always fail with ENOSYS.  Some functions are actually named
52989     something starting with __ and the normal name is an alias.  */
52990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52991 choke me
52992 #else
52993 char (*f) () = $ac_func;
52994 #endif
52995 #ifdef __cplusplus
52996 }
52997 #endif
52998
52999 int
53000 main ()
53001 {
53002 return f != $ac_func;
53003   ;
53004   return 0;
53005 }
53006 _ACEOF
53007 rm -f conftest.$ac_objext conftest$ac_exeext
53008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53009   (eval $ac_link) 2>conftest.er1
53010   ac_status=$?
53011   grep -v '^ *+' conftest.er1 >conftest.err
53012   rm -f conftest.er1
53013   cat conftest.err >&5
53014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53015   (exit $ac_status); } &&
53016          { ac_try='test -z "$ac_c_werror_flag"
53017                          || test ! -s conftest.err'
53018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53019   (eval $ac_try) 2>&5
53020   ac_status=$?
53021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022   (exit $ac_status); }; } &&
53023          { ac_try='test -s conftest$ac_exeext'
53024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53025   (eval $ac_try) 2>&5
53026   ac_status=$?
53027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53028   (exit $ac_status); }; }; then
53029   eval "$as_ac_var=yes"
53030 else
53031   echo "$as_me: failed program was:" >&5
53032 sed 's/^/| /' conftest.$ac_ext >&5
53033
53034 eval "$as_ac_var=no"
53035 fi
53036 rm -f conftest.err conftest.$ac_objext \
53037       conftest$ac_exeext conftest.$ac_ext
53038 fi
53039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53041 if test `eval echo '${'$as_ac_var'}'` = yes; then
53042   cat >>confdefs.h <<_ACEOF
53043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53044 _ACEOF
53045
53046 fi
53047 done
53048
53049     fi
53050   fi
53051
53052
53053
53054
53055
53056
53057   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53058 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53059   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53060     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53061   echo $ECHO_N "(cached) $ECHO_C" >&6
53062 else
53063
53064
53065
53066       ac_ext=cc
53067 ac_cpp='$CXXCPP $CPPFLAGS'
53068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53071
53072       cat >conftest.$ac_ext <<_ACEOF
53073 /* confdefs.h.  */
53074 _ACEOF
53075 cat confdefs.h >>conftest.$ac_ext
53076 cat >>conftest.$ac_ext <<_ACEOF
53077 /* end confdefs.h.  */
53078 #include <math.h>
53079                       #ifdef HAVE_IEEEFP_H
53080                       #include <ieeefp.h>
53081                       #endif
53082
53083 int
53084 main ()
53085 {
53086  finitef(0);
53087   ;
53088   return 0;
53089 }
53090 _ACEOF
53091 rm -f conftest.$ac_objext
53092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53093   (eval $ac_compile) 2>conftest.er1
53094   ac_status=$?
53095   grep -v '^ *+' conftest.er1 >conftest.err
53096   rm -f conftest.er1
53097   cat conftest.err >&5
53098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53099   (exit $ac_status); } &&
53100          { ac_try='test -z "$ac_cxx_werror_flag"
53101                          || test ! -s conftest.err'
53102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53103   (eval $ac_try) 2>&5
53104   ac_status=$?
53105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53106   (exit $ac_status); }; } &&
53107          { ac_try='test -s conftest.$ac_objext'
53108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53109   (eval $ac_try) 2>&5
53110   ac_status=$?
53111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112   (exit $ac_status); }; }; then
53113   glibcxx_cv_func_finitef_use=yes
53114 else
53115   echo "$as_me: failed program was:" >&5
53116 sed 's/^/| /' conftest.$ac_ext >&5
53117
53118 glibcxx_cv_func_finitef_use=no
53119 fi
53120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53121       ac_ext=c
53122 ac_cpp='$CPP $CPPFLAGS'
53123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53126
53127
53128 fi
53129
53130   fi
53131   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53132 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53133
53134   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53135
53136 for ac_func in finitef
53137 do
53138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53139 echo "$as_me:$LINENO: checking for $ac_func" >&5
53140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53141 if eval "test \"\${$as_ac_var+set}\" = set"; then
53142   echo $ECHO_N "(cached) $ECHO_C" >&6
53143 else
53144   if test x$gcc_no_link = xyes; then
53145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53147    { (exit 1); exit 1; }; }
53148 fi
53149 cat >conftest.$ac_ext <<_ACEOF
53150 /* confdefs.h.  */
53151 _ACEOF
53152 cat confdefs.h >>conftest.$ac_ext
53153 cat >>conftest.$ac_ext <<_ACEOF
53154 /* end confdefs.h.  */
53155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53157 #define $ac_func innocuous_$ac_func
53158
53159 /* System header to define __stub macros and hopefully few prototypes,
53160     which can conflict with char $ac_func (); below.
53161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53162     <limits.h> exists even on freestanding compilers.  */
53163
53164 #ifdef __STDC__
53165 # include <limits.h>
53166 #else
53167 # include <assert.h>
53168 #endif
53169
53170 #undef $ac_func
53171
53172 /* Override any gcc2 internal prototype to avoid an error.  */
53173 #ifdef __cplusplus
53174 extern "C"
53175 {
53176 #endif
53177 /* We use char because int might match the return type of a gcc2
53178    builtin and then its argument prototype would still apply.  */
53179 char $ac_func ();
53180 /* The GNU C library defines this for functions which it implements
53181     to always fail with ENOSYS.  Some functions are actually named
53182     something starting with __ and the normal name is an alias.  */
53183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53184 choke me
53185 #else
53186 char (*f) () = $ac_func;
53187 #endif
53188 #ifdef __cplusplus
53189 }
53190 #endif
53191
53192 int
53193 main ()
53194 {
53195 return f != $ac_func;
53196   ;
53197   return 0;
53198 }
53199 _ACEOF
53200 rm -f conftest.$ac_objext conftest$ac_exeext
53201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53202   (eval $ac_link) 2>conftest.er1
53203   ac_status=$?
53204   grep -v '^ *+' conftest.er1 >conftest.err
53205   rm -f conftest.er1
53206   cat conftest.err >&5
53207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53208   (exit $ac_status); } &&
53209          { ac_try='test -z "$ac_c_werror_flag"
53210                          || test ! -s conftest.err'
53211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53212   (eval $ac_try) 2>&5
53213   ac_status=$?
53214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53215   (exit $ac_status); }; } &&
53216          { ac_try='test -s conftest$ac_exeext'
53217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53218   (eval $ac_try) 2>&5
53219   ac_status=$?
53220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53221   (exit $ac_status); }; }; then
53222   eval "$as_ac_var=yes"
53223 else
53224   echo "$as_me: failed program was:" >&5
53225 sed 's/^/| /' conftest.$ac_ext >&5
53226
53227 eval "$as_ac_var=no"
53228 fi
53229 rm -f conftest.err conftest.$ac_objext \
53230       conftest$ac_exeext conftest.$ac_ext
53231 fi
53232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53234 if test `eval echo '${'$as_ac_var'}'` = yes; then
53235   cat >>confdefs.h <<_ACEOF
53236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53237 _ACEOF
53238
53239 fi
53240 done
53241
53242   else
53243
53244   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53245 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53246   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53247     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53248   echo $ECHO_N "(cached) $ECHO_C" >&6
53249 else
53250
53251
53252
53253       ac_ext=cc
53254 ac_cpp='$CXXCPP $CPPFLAGS'
53255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53258
53259       cat >conftest.$ac_ext <<_ACEOF
53260 /* confdefs.h.  */
53261 _ACEOF
53262 cat confdefs.h >>conftest.$ac_ext
53263 cat >>conftest.$ac_ext <<_ACEOF
53264 /* end confdefs.h.  */
53265 #include <math.h>
53266                       #ifdef HAVE_IEEEFP_H
53267                       #include <ieeefp.h>
53268                       #endif
53269
53270 int
53271 main ()
53272 {
53273  _finitef(0);
53274   ;
53275   return 0;
53276 }
53277 _ACEOF
53278 rm -f conftest.$ac_objext
53279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53280   (eval $ac_compile) 2>conftest.er1
53281   ac_status=$?
53282   grep -v '^ *+' conftest.er1 >conftest.err
53283   rm -f conftest.er1
53284   cat conftest.err >&5
53285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53286   (exit $ac_status); } &&
53287          { ac_try='test -z "$ac_cxx_werror_flag"
53288                          || test ! -s conftest.err'
53289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53290   (eval $ac_try) 2>&5
53291   ac_status=$?
53292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53293   (exit $ac_status); }; } &&
53294          { ac_try='test -s conftest.$ac_objext'
53295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53296   (eval $ac_try) 2>&5
53297   ac_status=$?
53298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299   (exit $ac_status); }; }; then
53300   glibcxx_cv_func__finitef_use=yes
53301 else
53302   echo "$as_me: failed program was:" >&5
53303 sed 's/^/| /' conftest.$ac_ext >&5
53304
53305 glibcxx_cv_func__finitef_use=no
53306 fi
53307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53308       ac_ext=c
53309 ac_cpp='$CPP $CPPFLAGS'
53310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53313
53314
53315 fi
53316
53317   fi
53318   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53319 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53320
53321     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53322
53323 for ac_func in _finitef
53324 do
53325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53326 echo "$as_me:$LINENO: checking for $ac_func" >&5
53327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53328 if eval "test \"\${$as_ac_var+set}\" = set"; then
53329   echo $ECHO_N "(cached) $ECHO_C" >&6
53330 else
53331   if test x$gcc_no_link = xyes; then
53332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53334    { (exit 1); exit 1; }; }
53335 fi
53336 cat >conftest.$ac_ext <<_ACEOF
53337 /* confdefs.h.  */
53338 _ACEOF
53339 cat confdefs.h >>conftest.$ac_ext
53340 cat >>conftest.$ac_ext <<_ACEOF
53341 /* end confdefs.h.  */
53342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53344 #define $ac_func innocuous_$ac_func
53345
53346 /* System header to define __stub macros and hopefully few prototypes,
53347     which can conflict with char $ac_func (); below.
53348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53349     <limits.h> exists even on freestanding compilers.  */
53350
53351 #ifdef __STDC__
53352 # include <limits.h>
53353 #else
53354 # include <assert.h>
53355 #endif
53356
53357 #undef $ac_func
53358
53359 /* Override any gcc2 internal prototype to avoid an error.  */
53360 #ifdef __cplusplus
53361 extern "C"
53362 {
53363 #endif
53364 /* We use char because int might match the return type of a gcc2
53365    builtin and then its argument prototype would still apply.  */
53366 char $ac_func ();
53367 /* The GNU C library defines this for functions which it implements
53368     to always fail with ENOSYS.  Some functions are actually named
53369     something starting with __ and the normal name is an alias.  */
53370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53371 choke me
53372 #else
53373 char (*f) () = $ac_func;
53374 #endif
53375 #ifdef __cplusplus
53376 }
53377 #endif
53378
53379 int
53380 main ()
53381 {
53382 return f != $ac_func;
53383   ;
53384   return 0;
53385 }
53386 _ACEOF
53387 rm -f conftest.$ac_objext conftest$ac_exeext
53388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53389   (eval $ac_link) 2>conftest.er1
53390   ac_status=$?
53391   grep -v '^ *+' conftest.er1 >conftest.err
53392   rm -f conftest.er1
53393   cat conftest.err >&5
53394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395   (exit $ac_status); } &&
53396          { ac_try='test -z "$ac_c_werror_flag"
53397                          || test ! -s conftest.err'
53398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53399   (eval $ac_try) 2>&5
53400   ac_status=$?
53401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53402   (exit $ac_status); }; } &&
53403          { ac_try='test -s conftest$ac_exeext'
53404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53405   (eval $ac_try) 2>&5
53406   ac_status=$?
53407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53408   (exit $ac_status); }; }; then
53409   eval "$as_ac_var=yes"
53410 else
53411   echo "$as_me: failed program was:" >&5
53412 sed 's/^/| /' conftest.$ac_ext >&5
53413
53414 eval "$as_ac_var=no"
53415 fi
53416 rm -f conftest.err conftest.$ac_objext \
53417       conftest$ac_exeext conftest.$ac_ext
53418 fi
53419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53421 if test `eval echo '${'$as_ac_var'}'` = yes; then
53422   cat >>confdefs.h <<_ACEOF
53423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53424 _ACEOF
53425
53426 fi
53427 done
53428
53429     fi
53430   fi
53431
53432
53433
53434
53435
53436
53437     echo "$as_me:$LINENO: checking for long double trig functions" >&5
53438 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53439   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53440   echo $ECHO_N "(cached) $ECHO_C" >&6
53441 else
53442
53443
53444
53445     ac_ext=cc
53446 ac_cpp='$CXXCPP $CPPFLAGS'
53447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53450
53451     cat >conftest.$ac_ext <<_ACEOF
53452 /* confdefs.h.  */
53453 _ACEOF
53454 cat confdefs.h >>conftest.$ac_ext
53455 cat >>conftest.$ac_ext <<_ACEOF
53456 /* end confdefs.h.  */
53457 #include <math.h>
53458 int
53459 main ()
53460 {
53461 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53462   ;
53463   return 0;
53464 }
53465 _ACEOF
53466 rm -f conftest.$ac_objext
53467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53468   (eval $ac_compile) 2>conftest.er1
53469   ac_status=$?
53470   grep -v '^ *+' conftest.er1 >conftest.err
53471   rm -f conftest.er1
53472   cat conftest.err >&5
53473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53474   (exit $ac_status); } &&
53475          { ac_try='test -z "$ac_cxx_werror_flag"
53476                          || test ! -s conftest.err'
53477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53478   (eval $ac_try) 2>&5
53479   ac_status=$?
53480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53481   (exit $ac_status); }; } &&
53482          { ac_try='test -s conftest.$ac_objext'
53483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53484   (eval $ac_try) 2>&5
53485   ac_status=$?
53486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53487   (exit $ac_status); }; }; then
53488   glibcxx_cv_func_long_double_trig_use=yes
53489 else
53490   echo "$as_me: failed program was:" >&5
53491 sed 's/^/| /' conftest.$ac_ext >&5
53492
53493 glibcxx_cv_func_long_double_trig_use=no
53494 fi
53495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53496     ac_ext=c
53497 ac_cpp='$CPP $CPPFLAGS'
53498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53501
53502 fi
53503
53504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53505 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53506   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53507
53508
53509
53510
53511
53512
53513
53514
53515
53516 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53517 do
53518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53519 echo "$as_me:$LINENO: checking for $ac_func" >&5
53520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53521 if eval "test \"\${$as_ac_var+set}\" = set"; then
53522   echo $ECHO_N "(cached) $ECHO_C" >&6
53523 else
53524   if test x$gcc_no_link = xyes; then
53525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53527    { (exit 1); exit 1; }; }
53528 fi
53529 cat >conftest.$ac_ext <<_ACEOF
53530 /* confdefs.h.  */
53531 _ACEOF
53532 cat confdefs.h >>conftest.$ac_ext
53533 cat >>conftest.$ac_ext <<_ACEOF
53534 /* end confdefs.h.  */
53535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53537 #define $ac_func innocuous_$ac_func
53538
53539 /* System header to define __stub macros and hopefully few prototypes,
53540     which can conflict with char $ac_func (); below.
53541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53542     <limits.h> exists even on freestanding compilers.  */
53543
53544 #ifdef __STDC__
53545 # include <limits.h>
53546 #else
53547 # include <assert.h>
53548 #endif
53549
53550 #undef $ac_func
53551
53552 /* Override any gcc2 internal prototype to avoid an error.  */
53553 #ifdef __cplusplus
53554 extern "C"
53555 {
53556 #endif
53557 /* We use char because int might match the return type of a gcc2
53558    builtin and then its argument prototype would still apply.  */
53559 char $ac_func ();
53560 /* The GNU C library defines this for functions which it implements
53561     to always fail with ENOSYS.  Some functions are actually named
53562     something starting with __ and the normal name is an alias.  */
53563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53564 choke me
53565 #else
53566 char (*f) () = $ac_func;
53567 #endif
53568 #ifdef __cplusplus
53569 }
53570 #endif
53571
53572 int
53573 main ()
53574 {
53575 return f != $ac_func;
53576   ;
53577   return 0;
53578 }
53579 _ACEOF
53580 rm -f conftest.$ac_objext conftest$ac_exeext
53581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53582   (eval $ac_link) 2>conftest.er1
53583   ac_status=$?
53584   grep -v '^ *+' conftest.er1 >conftest.err
53585   rm -f conftest.er1
53586   cat conftest.err >&5
53587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53588   (exit $ac_status); } &&
53589          { ac_try='test -z "$ac_c_werror_flag"
53590                          || test ! -s conftest.err'
53591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53592   (eval $ac_try) 2>&5
53593   ac_status=$?
53594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53595   (exit $ac_status); }; } &&
53596          { ac_try='test -s conftest$ac_exeext'
53597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53598   (eval $ac_try) 2>&5
53599   ac_status=$?
53600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53601   (exit $ac_status); }; }; then
53602   eval "$as_ac_var=yes"
53603 else
53604   echo "$as_me: failed program was:" >&5
53605 sed 's/^/| /' conftest.$ac_ext >&5
53606
53607 eval "$as_ac_var=no"
53608 fi
53609 rm -f conftest.err conftest.$ac_objext \
53610       conftest$ac_exeext conftest.$ac_ext
53611 fi
53612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53614 if test `eval echo '${'$as_ac_var'}'` = yes; then
53615   cat >>confdefs.h <<_ACEOF
53616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53617 _ACEOF
53618
53619 fi
53620 done
53621
53622   else
53623     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53624 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53625     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53626   echo $ECHO_N "(cached) $ECHO_C" >&6
53627 else
53628
53629
53630
53631       ac_ext=cc
53632 ac_cpp='$CXXCPP $CPPFLAGS'
53633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53636
53637       cat >conftest.$ac_ext <<_ACEOF
53638 /* confdefs.h.  */
53639 _ACEOF
53640 cat confdefs.h >>conftest.$ac_ext
53641 cat >>conftest.$ac_ext <<_ACEOF
53642 /* end confdefs.h.  */
53643 #include <math.h>
53644 int
53645 main ()
53646 {
53647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53648   ;
53649   return 0;
53650 }
53651 _ACEOF
53652 rm -f conftest.$ac_objext
53653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53654   (eval $ac_compile) 2>conftest.er1
53655   ac_status=$?
53656   grep -v '^ *+' conftest.er1 >conftest.err
53657   rm -f conftest.er1
53658   cat conftest.err >&5
53659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53660   (exit $ac_status); } &&
53661          { ac_try='test -z "$ac_cxx_werror_flag"
53662                          || test ! -s conftest.err'
53663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53664   (eval $ac_try) 2>&5
53665   ac_status=$?
53666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53667   (exit $ac_status); }; } &&
53668          { ac_try='test -s conftest.$ac_objext'
53669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53670   (eval $ac_try) 2>&5
53671   ac_status=$?
53672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53673   (exit $ac_status); }; }; then
53674   glibcxx_cv_func__long_double_trig_use=yes
53675 else
53676   echo "$as_me: failed program was:" >&5
53677 sed 's/^/| /' conftest.$ac_ext >&5
53678
53679 glibcxx_cv_func__long_double_trig_use=no
53680 fi
53681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53682       ac_ext=c
53683 ac_cpp='$CPP $CPPFLAGS'
53684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53687
53688 fi
53689
53690     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53691 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53692     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53693
53694
53695
53696
53697
53698
53699
53700
53701
53702 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53703 do
53704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53705 echo "$as_me:$LINENO: checking for $ac_func" >&5
53706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53707 if eval "test \"\${$as_ac_var+set}\" = set"; then
53708   echo $ECHO_N "(cached) $ECHO_C" >&6
53709 else
53710   if test x$gcc_no_link = xyes; then
53711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53713    { (exit 1); exit 1; }; }
53714 fi
53715 cat >conftest.$ac_ext <<_ACEOF
53716 /* confdefs.h.  */
53717 _ACEOF
53718 cat confdefs.h >>conftest.$ac_ext
53719 cat >>conftest.$ac_ext <<_ACEOF
53720 /* end confdefs.h.  */
53721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53723 #define $ac_func innocuous_$ac_func
53724
53725 /* System header to define __stub macros and hopefully few prototypes,
53726     which can conflict with char $ac_func (); below.
53727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53728     <limits.h> exists even on freestanding compilers.  */
53729
53730 #ifdef __STDC__
53731 # include <limits.h>
53732 #else
53733 # include <assert.h>
53734 #endif
53735
53736 #undef $ac_func
53737
53738 /* Override any gcc2 internal prototype to avoid an error.  */
53739 #ifdef __cplusplus
53740 extern "C"
53741 {
53742 #endif
53743 /* We use char because int might match the return type of a gcc2
53744    builtin and then its argument prototype would still apply.  */
53745 char $ac_func ();
53746 /* The GNU C library defines this for functions which it implements
53747     to always fail with ENOSYS.  Some functions are actually named
53748     something starting with __ and the normal name is an alias.  */
53749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53750 choke me
53751 #else
53752 char (*f) () = $ac_func;
53753 #endif
53754 #ifdef __cplusplus
53755 }
53756 #endif
53757
53758 int
53759 main ()
53760 {
53761 return f != $ac_func;
53762   ;
53763   return 0;
53764 }
53765 _ACEOF
53766 rm -f conftest.$ac_objext conftest$ac_exeext
53767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53768   (eval $ac_link) 2>conftest.er1
53769   ac_status=$?
53770   grep -v '^ *+' conftest.er1 >conftest.err
53771   rm -f conftest.er1
53772   cat conftest.err >&5
53773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774   (exit $ac_status); } &&
53775          { ac_try='test -z "$ac_c_werror_flag"
53776                          || test ! -s conftest.err'
53777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53778   (eval $ac_try) 2>&5
53779   ac_status=$?
53780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53781   (exit $ac_status); }; } &&
53782          { ac_try='test -s conftest$ac_exeext'
53783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53784   (eval $ac_try) 2>&5
53785   ac_status=$?
53786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53787   (exit $ac_status); }; }; then
53788   eval "$as_ac_var=yes"
53789 else
53790   echo "$as_me: failed program was:" >&5
53791 sed 's/^/| /' conftest.$ac_ext >&5
53792
53793 eval "$as_ac_var=no"
53794 fi
53795 rm -f conftest.err conftest.$ac_objext \
53796       conftest$ac_exeext conftest.$ac_ext
53797 fi
53798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53800 if test `eval echo '${'$as_ac_var'}'` = yes; then
53801   cat >>confdefs.h <<_ACEOF
53802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53803 _ACEOF
53804
53805 fi
53806 done
53807
53808     fi
53809   fi
53810
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821
53822
53823
53824     echo "$as_me:$LINENO: checking for long double round functions" >&5
53825 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53826   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53827   echo $ECHO_N "(cached) $ECHO_C" >&6
53828 else
53829
53830
53831
53832     ac_ext=cc
53833 ac_cpp='$CXXCPP $CPPFLAGS'
53834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53837
53838     cat >conftest.$ac_ext <<_ACEOF
53839 /* confdefs.h.  */
53840 _ACEOF
53841 cat confdefs.h >>conftest.$ac_ext
53842 cat >>conftest.$ac_ext <<_ACEOF
53843 /* end confdefs.h.  */
53844 #include <math.h>
53845 int
53846 main ()
53847 {
53848 ceill (0); floorl (0);
53849   ;
53850   return 0;
53851 }
53852 _ACEOF
53853 rm -f conftest.$ac_objext
53854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53855   (eval $ac_compile) 2>conftest.er1
53856   ac_status=$?
53857   grep -v '^ *+' conftest.er1 >conftest.err
53858   rm -f conftest.er1
53859   cat conftest.err >&5
53860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53861   (exit $ac_status); } &&
53862          { ac_try='test -z "$ac_cxx_werror_flag"
53863                          || test ! -s conftest.err'
53864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53865   (eval $ac_try) 2>&5
53866   ac_status=$?
53867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53868   (exit $ac_status); }; } &&
53869          { ac_try='test -s conftest.$ac_objext'
53870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53871   (eval $ac_try) 2>&5
53872   ac_status=$?
53873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53874   (exit $ac_status); }; }; then
53875   glibcxx_cv_func_long_double_round_use=yes
53876 else
53877   echo "$as_me: failed program was:" >&5
53878 sed 's/^/| /' conftest.$ac_ext >&5
53879
53880 glibcxx_cv_func_long_double_round_use=no
53881 fi
53882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53883     ac_ext=c
53884 ac_cpp='$CPP $CPPFLAGS'
53885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53888
53889 fi
53890
53891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53892 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53893   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53894
53895
53896 for ac_func in ceill floorl
53897 do
53898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53899 echo "$as_me:$LINENO: checking for $ac_func" >&5
53900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53901 if eval "test \"\${$as_ac_var+set}\" = set"; then
53902   echo $ECHO_N "(cached) $ECHO_C" >&6
53903 else
53904   if test x$gcc_no_link = xyes; then
53905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53907    { (exit 1); exit 1; }; }
53908 fi
53909 cat >conftest.$ac_ext <<_ACEOF
53910 /* confdefs.h.  */
53911 _ACEOF
53912 cat confdefs.h >>conftest.$ac_ext
53913 cat >>conftest.$ac_ext <<_ACEOF
53914 /* end confdefs.h.  */
53915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53917 #define $ac_func innocuous_$ac_func
53918
53919 /* System header to define __stub macros and hopefully few prototypes,
53920     which can conflict with char $ac_func (); below.
53921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53922     <limits.h> exists even on freestanding compilers.  */
53923
53924 #ifdef __STDC__
53925 # include <limits.h>
53926 #else
53927 # include <assert.h>
53928 #endif
53929
53930 #undef $ac_func
53931
53932 /* Override any gcc2 internal prototype to avoid an error.  */
53933 #ifdef __cplusplus
53934 extern "C"
53935 {
53936 #endif
53937 /* We use char because int might match the return type of a gcc2
53938    builtin and then its argument prototype would still apply.  */
53939 char $ac_func ();
53940 /* The GNU C library defines this for functions which it implements
53941     to always fail with ENOSYS.  Some functions are actually named
53942     something starting with __ and the normal name is an alias.  */
53943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53944 choke me
53945 #else
53946 char (*f) () = $ac_func;
53947 #endif
53948 #ifdef __cplusplus
53949 }
53950 #endif
53951
53952 int
53953 main ()
53954 {
53955 return f != $ac_func;
53956   ;
53957   return 0;
53958 }
53959 _ACEOF
53960 rm -f conftest.$ac_objext conftest$ac_exeext
53961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53962   (eval $ac_link) 2>conftest.er1
53963   ac_status=$?
53964   grep -v '^ *+' conftest.er1 >conftest.err
53965   rm -f conftest.er1
53966   cat conftest.err >&5
53967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53968   (exit $ac_status); } &&
53969          { ac_try='test -z "$ac_c_werror_flag"
53970                          || test ! -s conftest.err'
53971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53972   (eval $ac_try) 2>&5
53973   ac_status=$?
53974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53975   (exit $ac_status); }; } &&
53976          { ac_try='test -s conftest$ac_exeext'
53977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53978   (eval $ac_try) 2>&5
53979   ac_status=$?
53980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53981   (exit $ac_status); }; }; then
53982   eval "$as_ac_var=yes"
53983 else
53984   echo "$as_me: failed program was:" >&5
53985 sed 's/^/| /' conftest.$ac_ext >&5
53986
53987 eval "$as_ac_var=no"
53988 fi
53989 rm -f conftest.err conftest.$ac_objext \
53990       conftest$ac_exeext conftest.$ac_ext
53991 fi
53992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53994 if test `eval echo '${'$as_ac_var'}'` = yes; then
53995   cat >>confdefs.h <<_ACEOF
53996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53997 _ACEOF
53998
53999 fi
54000 done
54001
54002   else
54003     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54004 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54005     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54006   echo $ECHO_N "(cached) $ECHO_C" >&6
54007 else
54008
54009
54010
54011       ac_ext=cc
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54016
54017       cat >conftest.$ac_ext <<_ACEOF
54018 /* confdefs.h.  */
54019 _ACEOF
54020 cat confdefs.h >>conftest.$ac_ext
54021 cat >>conftest.$ac_ext <<_ACEOF
54022 /* end confdefs.h.  */
54023 #include <math.h>
54024 int
54025 main ()
54026 {
54027 _ceill (0); _floorl (0);
54028   ;
54029   return 0;
54030 }
54031 _ACEOF
54032 rm -f conftest.$ac_objext
54033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54034   (eval $ac_compile) 2>conftest.er1
54035   ac_status=$?
54036   grep -v '^ *+' conftest.er1 >conftest.err
54037   rm -f conftest.er1
54038   cat conftest.err >&5
54039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54040   (exit $ac_status); } &&
54041          { ac_try='test -z "$ac_cxx_werror_flag"
54042                          || test ! -s conftest.err'
54043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54044   (eval $ac_try) 2>&5
54045   ac_status=$?
54046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54047   (exit $ac_status); }; } &&
54048          { ac_try='test -s conftest.$ac_objext'
54049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54050   (eval $ac_try) 2>&5
54051   ac_status=$?
54052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54053   (exit $ac_status); }; }; then
54054   glibcxx_cv_func__long_double_round_use=yes
54055 else
54056   echo "$as_me: failed program was:" >&5
54057 sed 's/^/| /' conftest.$ac_ext >&5
54058
54059 glibcxx_cv_func__long_double_round_use=no
54060 fi
54061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54062       ac_ext=c
54063 ac_cpp='$CPP $CPPFLAGS'
54064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54067
54068 fi
54069
54070     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54071 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54072     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54073
54074
54075 for ac_func in _ceill _floorl
54076 do
54077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54078 echo "$as_me:$LINENO: checking for $ac_func" >&5
54079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54080 if eval "test \"\${$as_ac_var+set}\" = set"; then
54081   echo $ECHO_N "(cached) $ECHO_C" >&6
54082 else
54083   if test x$gcc_no_link = xyes; then
54084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54086    { (exit 1); exit 1; }; }
54087 fi
54088 cat >conftest.$ac_ext <<_ACEOF
54089 /* confdefs.h.  */
54090 _ACEOF
54091 cat confdefs.h >>conftest.$ac_ext
54092 cat >>conftest.$ac_ext <<_ACEOF
54093 /* end confdefs.h.  */
54094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54096 #define $ac_func innocuous_$ac_func
54097
54098 /* System header to define __stub macros and hopefully few prototypes,
54099     which can conflict with char $ac_func (); below.
54100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54101     <limits.h> exists even on freestanding compilers.  */
54102
54103 #ifdef __STDC__
54104 # include <limits.h>
54105 #else
54106 # include <assert.h>
54107 #endif
54108
54109 #undef $ac_func
54110
54111 /* Override any gcc2 internal prototype to avoid an error.  */
54112 #ifdef __cplusplus
54113 extern "C"
54114 {
54115 #endif
54116 /* We use char because int might match the return type of a gcc2
54117    builtin and then its argument prototype would still apply.  */
54118 char $ac_func ();
54119 /* The GNU C library defines this for functions which it implements
54120     to always fail with ENOSYS.  Some functions are actually named
54121     something starting with __ and the normal name is an alias.  */
54122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54123 choke me
54124 #else
54125 char (*f) () = $ac_func;
54126 #endif
54127 #ifdef __cplusplus
54128 }
54129 #endif
54130
54131 int
54132 main ()
54133 {
54134 return f != $ac_func;
54135   ;
54136   return 0;
54137 }
54138 _ACEOF
54139 rm -f conftest.$ac_objext conftest$ac_exeext
54140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54141   (eval $ac_link) 2>conftest.er1
54142   ac_status=$?
54143   grep -v '^ *+' conftest.er1 >conftest.err
54144   rm -f conftest.er1
54145   cat conftest.err >&5
54146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54147   (exit $ac_status); } &&
54148          { ac_try='test -z "$ac_c_werror_flag"
54149                          || test ! -s conftest.err'
54150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54151   (eval $ac_try) 2>&5
54152   ac_status=$?
54153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154   (exit $ac_status); }; } &&
54155          { ac_try='test -s conftest$ac_exeext'
54156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157   (eval $ac_try) 2>&5
54158   ac_status=$?
54159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160   (exit $ac_status); }; }; then
54161   eval "$as_ac_var=yes"
54162 else
54163   echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54165
54166 eval "$as_ac_var=no"
54167 fi
54168 rm -f conftest.err conftest.$ac_objext \
54169       conftest$ac_exeext conftest.$ac_ext
54170 fi
54171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54173 if test `eval echo '${'$as_ac_var'}'` = yes; then
54174   cat >>confdefs.h <<_ACEOF
54175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54176 _ACEOF
54177
54178 fi
54179 done
54180
54181     fi
54182   fi
54183
54184
54185
54186
54187
54188
54189
54190
54191   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54192 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54193   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54194     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54195   echo $ECHO_N "(cached) $ECHO_C" >&6
54196 else
54197
54198
54199
54200       ac_ext=cc
54201 ac_cpp='$CXXCPP $CPPFLAGS'
54202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54205
54206       cat >conftest.$ac_ext <<_ACEOF
54207 /* confdefs.h.  */
54208 _ACEOF
54209 cat confdefs.h >>conftest.$ac_ext
54210 cat >>conftest.$ac_ext <<_ACEOF
54211 /* end confdefs.h.  */
54212 #include <math.h>
54213                       #ifdef HAVE_IEEEFP_H
54214                       #include <ieeefp.h>
54215                       #endif
54216
54217 int
54218 main ()
54219 {
54220  isnanl(0);
54221   ;
54222   return 0;
54223 }
54224 _ACEOF
54225 rm -f conftest.$ac_objext
54226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54227   (eval $ac_compile) 2>conftest.er1
54228   ac_status=$?
54229   grep -v '^ *+' conftest.er1 >conftest.err
54230   rm -f conftest.er1
54231   cat conftest.err >&5
54232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54233   (exit $ac_status); } &&
54234          { ac_try='test -z "$ac_cxx_werror_flag"
54235                          || test ! -s conftest.err'
54236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54237   (eval $ac_try) 2>&5
54238   ac_status=$?
54239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54240   (exit $ac_status); }; } &&
54241          { ac_try='test -s conftest.$ac_objext'
54242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54243   (eval $ac_try) 2>&5
54244   ac_status=$?
54245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54246   (exit $ac_status); }; }; then
54247   glibcxx_cv_func_isnanl_use=yes
54248 else
54249   echo "$as_me: failed program was:" >&5
54250 sed 's/^/| /' conftest.$ac_ext >&5
54251
54252 glibcxx_cv_func_isnanl_use=no
54253 fi
54254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54255       ac_ext=c
54256 ac_cpp='$CPP $CPPFLAGS'
54257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54260
54261
54262 fi
54263
54264   fi
54265   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54266 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54267
54268   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54269
54270 for ac_func in isnanl
54271 do
54272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54273 echo "$as_me:$LINENO: checking for $ac_func" >&5
54274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54275 if eval "test \"\${$as_ac_var+set}\" = set"; then
54276   echo $ECHO_N "(cached) $ECHO_C" >&6
54277 else
54278   if test x$gcc_no_link = xyes; then
54279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54281    { (exit 1); exit 1; }; }
54282 fi
54283 cat >conftest.$ac_ext <<_ACEOF
54284 /* confdefs.h.  */
54285 _ACEOF
54286 cat confdefs.h >>conftest.$ac_ext
54287 cat >>conftest.$ac_ext <<_ACEOF
54288 /* end confdefs.h.  */
54289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54291 #define $ac_func innocuous_$ac_func
54292
54293 /* System header to define __stub macros and hopefully few prototypes,
54294     which can conflict with char $ac_func (); below.
54295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54296     <limits.h> exists even on freestanding compilers.  */
54297
54298 #ifdef __STDC__
54299 # include <limits.h>
54300 #else
54301 # include <assert.h>
54302 #endif
54303
54304 #undef $ac_func
54305
54306 /* Override any gcc2 internal prototype to avoid an error.  */
54307 #ifdef __cplusplus
54308 extern "C"
54309 {
54310 #endif
54311 /* We use char because int might match the return type of a gcc2
54312    builtin and then its argument prototype would still apply.  */
54313 char $ac_func ();
54314 /* The GNU C library defines this for functions which it implements
54315     to always fail with ENOSYS.  Some functions are actually named
54316     something starting with __ and the normal name is an alias.  */
54317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54318 choke me
54319 #else
54320 char (*f) () = $ac_func;
54321 #endif
54322 #ifdef __cplusplus
54323 }
54324 #endif
54325
54326 int
54327 main ()
54328 {
54329 return f != $ac_func;
54330   ;
54331   return 0;
54332 }
54333 _ACEOF
54334 rm -f conftest.$ac_objext conftest$ac_exeext
54335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54336   (eval $ac_link) 2>conftest.er1
54337   ac_status=$?
54338   grep -v '^ *+' conftest.er1 >conftest.err
54339   rm -f conftest.er1
54340   cat conftest.err >&5
54341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54342   (exit $ac_status); } &&
54343          { ac_try='test -z "$ac_c_werror_flag"
54344                          || test ! -s conftest.err'
54345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54346   (eval $ac_try) 2>&5
54347   ac_status=$?
54348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54349   (exit $ac_status); }; } &&
54350          { ac_try='test -s conftest$ac_exeext'
54351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54352   (eval $ac_try) 2>&5
54353   ac_status=$?
54354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54355   (exit $ac_status); }; }; then
54356   eval "$as_ac_var=yes"
54357 else
54358   echo "$as_me: failed program was:" >&5
54359 sed 's/^/| /' conftest.$ac_ext >&5
54360
54361 eval "$as_ac_var=no"
54362 fi
54363 rm -f conftest.err conftest.$ac_objext \
54364       conftest$ac_exeext conftest.$ac_ext
54365 fi
54366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54368 if test `eval echo '${'$as_ac_var'}'` = yes; then
54369   cat >>confdefs.h <<_ACEOF
54370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54371 _ACEOF
54372
54373 fi
54374 done
54375
54376   else
54377
54378   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54379 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54380   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54381     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54382   echo $ECHO_N "(cached) $ECHO_C" >&6
54383 else
54384
54385
54386
54387       ac_ext=cc
54388 ac_cpp='$CXXCPP $CPPFLAGS'
54389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54392
54393       cat >conftest.$ac_ext <<_ACEOF
54394 /* confdefs.h.  */
54395 _ACEOF
54396 cat confdefs.h >>conftest.$ac_ext
54397 cat >>conftest.$ac_ext <<_ACEOF
54398 /* end confdefs.h.  */
54399 #include <math.h>
54400                       #ifdef HAVE_IEEEFP_H
54401                       #include <ieeefp.h>
54402                       #endif
54403
54404 int
54405 main ()
54406 {
54407  _isnanl(0);
54408   ;
54409   return 0;
54410 }
54411 _ACEOF
54412 rm -f conftest.$ac_objext
54413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54414   (eval $ac_compile) 2>conftest.er1
54415   ac_status=$?
54416   grep -v '^ *+' conftest.er1 >conftest.err
54417   rm -f conftest.er1
54418   cat conftest.err >&5
54419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54420   (exit $ac_status); } &&
54421          { ac_try='test -z "$ac_cxx_werror_flag"
54422                          || test ! -s conftest.err'
54423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54424   (eval $ac_try) 2>&5
54425   ac_status=$?
54426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427   (exit $ac_status); }; } &&
54428          { ac_try='test -s conftest.$ac_objext'
54429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54430   (eval $ac_try) 2>&5
54431   ac_status=$?
54432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433   (exit $ac_status); }; }; then
54434   glibcxx_cv_func__isnanl_use=yes
54435 else
54436   echo "$as_me: failed program was:" >&5
54437 sed 's/^/| /' conftest.$ac_ext >&5
54438
54439 glibcxx_cv_func__isnanl_use=no
54440 fi
54441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54442       ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54447
54448
54449 fi
54450
54451   fi
54452   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54453 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54454
54455     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54456
54457 for ac_func in _isnanl
54458 do
54459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54460 echo "$as_me:$LINENO: checking for $ac_func" >&5
54461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54462 if eval "test \"\${$as_ac_var+set}\" = set"; then
54463   echo $ECHO_N "(cached) $ECHO_C" >&6
54464 else
54465   if test x$gcc_no_link = xyes; then
54466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54468    { (exit 1); exit 1; }; }
54469 fi
54470 cat >conftest.$ac_ext <<_ACEOF
54471 /* confdefs.h.  */
54472 _ACEOF
54473 cat confdefs.h >>conftest.$ac_ext
54474 cat >>conftest.$ac_ext <<_ACEOF
54475 /* end confdefs.h.  */
54476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54478 #define $ac_func innocuous_$ac_func
54479
54480 /* System header to define __stub macros and hopefully few prototypes,
54481     which can conflict with char $ac_func (); below.
54482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54483     <limits.h> exists even on freestanding compilers.  */
54484
54485 #ifdef __STDC__
54486 # include <limits.h>
54487 #else
54488 # include <assert.h>
54489 #endif
54490
54491 #undef $ac_func
54492
54493 /* Override any gcc2 internal prototype to avoid an error.  */
54494 #ifdef __cplusplus
54495 extern "C"
54496 {
54497 #endif
54498 /* We use char because int might match the return type of a gcc2
54499    builtin and then its argument prototype would still apply.  */
54500 char $ac_func ();
54501 /* The GNU C library defines this for functions which it implements
54502     to always fail with ENOSYS.  Some functions are actually named
54503     something starting with __ and the normal name is an alias.  */
54504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54505 choke me
54506 #else
54507 char (*f) () = $ac_func;
54508 #endif
54509 #ifdef __cplusplus
54510 }
54511 #endif
54512
54513 int
54514 main ()
54515 {
54516 return f != $ac_func;
54517   ;
54518   return 0;
54519 }
54520 _ACEOF
54521 rm -f conftest.$ac_objext conftest$ac_exeext
54522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54523   (eval $ac_link) 2>conftest.er1
54524   ac_status=$?
54525   grep -v '^ *+' conftest.er1 >conftest.err
54526   rm -f conftest.er1
54527   cat conftest.err >&5
54528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54529   (exit $ac_status); } &&
54530          { ac_try='test -z "$ac_c_werror_flag"
54531                          || test ! -s conftest.err'
54532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54533   (eval $ac_try) 2>&5
54534   ac_status=$?
54535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536   (exit $ac_status); }; } &&
54537          { ac_try='test -s conftest$ac_exeext'
54538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54539   (eval $ac_try) 2>&5
54540   ac_status=$?
54541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54542   (exit $ac_status); }; }; then
54543   eval "$as_ac_var=yes"
54544 else
54545   echo "$as_me: failed program was:" >&5
54546 sed 's/^/| /' conftest.$ac_ext >&5
54547
54548 eval "$as_ac_var=no"
54549 fi
54550 rm -f conftest.err conftest.$ac_objext \
54551       conftest$ac_exeext conftest.$ac_ext
54552 fi
54553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54555 if test `eval echo '${'$as_ac_var'}'` = yes; then
54556   cat >>confdefs.h <<_ACEOF
54557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54558 _ACEOF
54559
54560 fi
54561 done
54562
54563     fi
54564   fi
54565
54566
54567
54568
54569
54570
54571   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54572 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54573   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54574     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54575   echo $ECHO_N "(cached) $ECHO_C" >&6
54576 else
54577
54578
54579
54580       ac_ext=cc
54581 ac_cpp='$CXXCPP $CPPFLAGS'
54582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54585
54586       cat >conftest.$ac_ext <<_ACEOF
54587 /* confdefs.h.  */
54588 _ACEOF
54589 cat confdefs.h >>conftest.$ac_ext
54590 cat >>conftest.$ac_ext <<_ACEOF
54591 /* end confdefs.h.  */
54592 #include <math.h>
54593                       #ifdef HAVE_IEEEFP_H
54594                       #include <ieeefp.h>
54595                       #endif
54596
54597 int
54598 main ()
54599 {
54600  isinfl(0);
54601   ;
54602   return 0;
54603 }
54604 _ACEOF
54605 rm -f conftest.$ac_objext
54606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54607   (eval $ac_compile) 2>conftest.er1
54608   ac_status=$?
54609   grep -v '^ *+' conftest.er1 >conftest.err
54610   rm -f conftest.er1
54611   cat conftest.err >&5
54612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54613   (exit $ac_status); } &&
54614          { ac_try='test -z "$ac_cxx_werror_flag"
54615                          || test ! -s conftest.err'
54616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54617   (eval $ac_try) 2>&5
54618   ac_status=$?
54619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54620   (exit $ac_status); }; } &&
54621          { ac_try='test -s conftest.$ac_objext'
54622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54623   (eval $ac_try) 2>&5
54624   ac_status=$?
54625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54626   (exit $ac_status); }; }; then
54627   glibcxx_cv_func_isinfl_use=yes
54628 else
54629   echo "$as_me: failed program was:" >&5
54630 sed 's/^/| /' conftest.$ac_ext >&5
54631
54632 glibcxx_cv_func_isinfl_use=no
54633 fi
54634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54635       ac_ext=c
54636 ac_cpp='$CPP $CPPFLAGS'
54637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54640
54641
54642 fi
54643
54644   fi
54645   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54646 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54647
54648   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54649
54650 for ac_func in isinfl
54651 do
54652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54653 echo "$as_me:$LINENO: checking for $ac_func" >&5
54654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54655 if eval "test \"\${$as_ac_var+set}\" = set"; then
54656   echo $ECHO_N "(cached) $ECHO_C" >&6
54657 else
54658   if test x$gcc_no_link = xyes; then
54659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54661    { (exit 1); exit 1; }; }
54662 fi
54663 cat >conftest.$ac_ext <<_ACEOF
54664 /* confdefs.h.  */
54665 _ACEOF
54666 cat confdefs.h >>conftest.$ac_ext
54667 cat >>conftest.$ac_ext <<_ACEOF
54668 /* end confdefs.h.  */
54669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54671 #define $ac_func innocuous_$ac_func
54672
54673 /* System header to define __stub macros and hopefully few prototypes,
54674     which can conflict with char $ac_func (); below.
54675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54676     <limits.h> exists even on freestanding compilers.  */
54677
54678 #ifdef __STDC__
54679 # include <limits.h>
54680 #else
54681 # include <assert.h>
54682 #endif
54683
54684 #undef $ac_func
54685
54686 /* Override any gcc2 internal prototype to avoid an error.  */
54687 #ifdef __cplusplus
54688 extern "C"
54689 {
54690 #endif
54691 /* We use char because int might match the return type of a gcc2
54692    builtin and then its argument prototype would still apply.  */
54693 char $ac_func ();
54694 /* The GNU C library defines this for functions which it implements
54695     to always fail with ENOSYS.  Some functions are actually named
54696     something starting with __ and the normal name is an alias.  */
54697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54698 choke me
54699 #else
54700 char (*f) () = $ac_func;
54701 #endif
54702 #ifdef __cplusplus
54703 }
54704 #endif
54705
54706 int
54707 main ()
54708 {
54709 return f != $ac_func;
54710   ;
54711   return 0;
54712 }
54713 _ACEOF
54714 rm -f conftest.$ac_objext conftest$ac_exeext
54715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54716   (eval $ac_link) 2>conftest.er1
54717   ac_status=$?
54718   grep -v '^ *+' conftest.er1 >conftest.err
54719   rm -f conftest.er1
54720   cat conftest.err >&5
54721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54722   (exit $ac_status); } &&
54723          { ac_try='test -z "$ac_c_werror_flag"
54724                          || test ! -s conftest.err'
54725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54726   (eval $ac_try) 2>&5
54727   ac_status=$?
54728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54729   (exit $ac_status); }; } &&
54730          { ac_try='test -s conftest$ac_exeext'
54731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54732   (eval $ac_try) 2>&5
54733   ac_status=$?
54734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54735   (exit $ac_status); }; }; then
54736   eval "$as_ac_var=yes"
54737 else
54738   echo "$as_me: failed program was:" >&5
54739 sed 's/^/| /' conftest.$ac_ext >&5
54740
54741 eval "$as_ac_var=no"
54742 fi
54743 rm -f conftest.err conftest.$ac_objext \
54744       conftest$ac_exeext conftest.$ac_ext
54745 fi
54746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54748 if test `eval echo '${'$as_ac_var'}'` = yes; then
54749   cat >>confdefs.h <<_ACEOF
54750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54751 _ACEOF
54752
54753 fi
54754 done
54755
54756   else
54757
54758   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54759 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54760   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54761     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54762   echo $ECHO_N "(cached) $ECHO_C" >&6
54763 else
54764
54765
54766
54767       ac_ext=cc
54768 ac_cpp='$CXXCPP $CPPFLAGS'
54769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54772
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 #include <math.h>
54780                       #ifdef HAVE_IEEEFP_H
54781                       #include <ieeefp.h>
54782                       #endif
54783
54784 int
54785 main ()
54786 {
54787  _isinfl(0);
54788   ;
54789   return 0;
54790 }
54791 _ACEOF
54792 rm -f conftest.$ac_objext
54793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54794   (eval $ac_compile) 2>conftest.er1
54795   ac_status=$?
54796   grep -v '^ *+' conftest.er1 >conftest.err
54797   rm -f conftest.er1
54798   cat conftest.err >&5
54799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54800   (exit $ac_status); } &&
54801          { ac_try='test -z "$ac_cxx_werror_flag"
54802                          || test ! -s conftest.err'
54803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54804   (eval $ac_try) 2>&5
54805   ac_status=$?
54806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54807   (exit $ac_status); }; } &&
54808          { ac_try='test -s conftest.$ac_objext'
54809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54810   (eval $ac_try) 2>&5
54811   ac_status=$?
54812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54813   (exit $ac_status); }; }; then
54814   glibcxx_cv_func__isinfl_use=yes
54815 else
54816   echo "$as_me: failed program was:" >&5
54817 sed 's/^/| /' conftest.$ac_ext >&5
54818
54819 glibcxx_cv_func__isinfl_use=no
54820 fi
54821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54822       ac_ext=c
54823 ac_cpp='$CPP $CPPFLAGS'
54824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54827
54828
54829 fi
54830
54831   fi
54832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54833 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54834
54835     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54836
54837 for ac_func in _isinfl
54838 do
54839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54840 echo "$as_me:$LINENO: checking for $ac_func" >&5
54841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54842 if eval "test \"\${$as_ac_var+set}\" = set"; then
54843   echo $ECHO_N "(cached) $ECHO_C" >&6
54844 else
54845   if test x$gcc_no_link = xyes; then
54846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54848    { (exit 1); exit 1; }; }
54849 fi
54850 cat >conftest.$ac_ext <<_ACEOF
54851 /* confdefs.h.  */
54852 _ACEOF
54853 cat confdefs.h >>conftest.$ac_ext
54854 cat >>conftest.$ac_ext <<_ACEOF
54855 /* end confdefs.h.  */
54856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54858 #define $ac_func innocuous_$ac_func
54859
54860 /* System header to define __stub macros and hopefully few prototypes,
54861     which can conflict with char $ac_func (); below.
54862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54863     <limits.h> exists even on freestanding compilers.  */
54864
54865 #ifdef __STDC__
54866 # include <limits.h>
54867 #else
54868 # include <assert.h>
54869 #endif
54870
54871 #undef $ac_func
54872
54873 /* Override any gcc2 internal prototype to avoid an error.  */
54874 #ifdef __cplusplus
54875 extern "C"
54876 {
54877 #endif
54878 /* We use char because int might match the return type of a gcc2
54879    builtin and then its argument prototype would still apply.  */
54880 char $ac_func ();
54881 /* The GNU C library defines this for functions which it implements
54882     to always fail with ENOSYS.  Some functions are actually named
54883     something starting with __ and the normal name is an alias.  */
54884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54885 choke me
54886 #else
54887 char (*f) () = $ac_func;
54888 #endif
54889 #ifdef __cplusplus
54890 }
54891 #endif
54892
54893 int
54894 main ()
54895 {
54896 return f != $ac_func;
54897   ;
54898   return 0;
54899 }
54900 _ACEOF
54901 rm -f conftest.$ac_objext conftest$ac_exeext
54902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54903   (eval $ac_link) 2>conftest.er1
54904   ac_status=$?
54905   grep -v '^ *+' conftest.er1 >conftest.err
54906   rm -f conftest.er1
54907   cat conftest.err >&5
54908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54909   (exit $ac_status); } &&
54910          { ac_try='test -z "$ac_c_werror_flag"
54911                          || test ! -s conftest.err'
54912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54913   (eval $ac_try) 2>&5
54914   ac_status=$?
54915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54916   (exit $ac_status); }; } &&
54917          { ac_try='test -s conftest$ac_exeext'
54918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54919   (eval $ac_try) 2>&5
54920   ac_status=$?
54921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54922   (exit $ac_status); }; }; then
54923   eval "$as_ac_var=yes"
54924 else
54925   echo "$as_me: failed program was:" >&5
54926 sed 's/^/| /' conftest.$ac_ext >&5
54927
54928 eval "$as_ac_var=no"
54929 fi
54930 rm -f conftest.err conftest.$ac_objext \
54931       conftest$ac_exeext conftest.$ac_ext
54932 fi
54933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54935 if test `eval echo '${'$as_ac_var'}'` = yes; then
54936   cat >>confdefs.h <<_ACEOF
54937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54938 _ACEOF
54939
54940 fi
54941 done
54942
54943     fi
54944   fi
54945
54946
54947
54948
54949
54950
54951   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54952 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54953   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54954     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54955   echo $ECHO_N "(cached) $ECHO_C" >&6
54956 else
54957
54958
54959
54960       ac_ext=cc
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965
54966       cat >conftest.$ac_ext <<_ACEOF
54967 /* confdefs.h.  */
54968 _ACEOF
54969 cat confdefs.h >>conftest.$ac_ext
54970 cat >>conftest.$ac_ext <<_ACEOF
54971 /* end confdefs.h.  */
54972 #include <math.h>
54973 int
54974 main ()
54975 {
54976  copysignl(0, 0);
54977   ;
54978   return 0;
54979 }
54980 _ACEOF
54981 rm -f conftest.$ac_objext
54982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54983   (eval $ac_compile) 2>conftest.er1
54984   ac_status=$?
54985   grep -v '^ *+' conftest.er1 >conftest.err
54986   rm -f conftest.er1
54987   cat conftest.err >&5
54988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54989   (exit $ac_status); } &&
54990          { ac_try='test -z "$ac_cxx_werror_flag"
54991                          || test ! -s conftest.err'
54992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54993   (eval $ac_try) 2>&5
54994   ac_status=$?
54995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54996   (exit $ac_status); }; } &&
54997          { ac_try='test -s conftest.$ac_objext'
54998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54999   (eval $ac_try) 2>&5
55000   ac_status=$?
55001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55002   (exit $ac_status); }; }; then
55003   glibcxx_cv_func_copysignl_use=yes
55004 else
55005   echo "$as_me: failed program was:" >&5
55006 sed 's/^/| /' conftest.$ac_ext >&5
55007
55008 glibcxx_cv_func_copysignl_use=no
55009 fi
55010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55011       ac_ext=c
55012 ac_cpp='$CPP $CPPFLAGS'
55013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55016
55017
55018 fi
55019
55020   fi
55021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55022 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55023
55024   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55025
55026 for ac_func in copysignl
55027 do
55028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55029 echo "$as_me:$LINENO: checking for $ac_func" >&5
55030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55031 if eval "test \"\${$as_ac_var+set}\" = set"; then
55032   echo $ECHO_N "(cached) $ECHO_C" >&6
55033 else
55034   if test x$gcc_no_link = xyes; then
55035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55037    { (exit 1); exit 1; }; }
55038 fi
55039 cat >conftest.$ac_ext <<_ACEOF
55040 /* confdefs.h.  */
55041 _ACEOF
55042 cat confdefs.h >>conftest.$ac_ext
55043 cat >>conftest.$ac_ext <<_ACEOF
55044 /* end confdefs.h.  */
55045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55047 #define $ac_func innocuous_$ac_func
55048
55049 /* System header to define __stub macros and hopefully few prototypes,
55050     which can conflict with char $ac_func (); below.
55051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55052     <limits.h> exists even on freestanding compilers.  */
55053
55054 #ifdef __STDC__
55055 # include <limits.h>
55056 #else
55057 # include <assert.h>
55058 #endif
55059
55060 #undef $ac_func
55061
55062 /* Override any gcc2 internal prototype to avoid an error.  */
55063 #ifdef __cplusplus
55064 extern "C"
55065 {
55066 #endif
55067 /* We use char because int might match the return type of a gcc2
55068    builtin and then its argument prototype would still apply.  */
55069 char $ac_func ();
55070 /* The GNU C library defines this for functions which it implements
55071     to always fail with ENOSYS.  Some functions are actually named
55072     something starting with __ and the normal name is an alias.  */
55073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55074 choke me
55075 #else
55076 char (*f) () = $ac_func;
55077 #endif
55078 #ifdef __cplusplus
55079 }
55080 #endif
55081
55082 int
55083 main ()
55084 {
55085 return f != $ac_func;
55086   ;
55087   return 0;
55088 }
55089 _ACEOF
55090 rm -f conftest.$ac_objext conftest$ac_exeext
55091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55092   (eval $ac_link) 2>conftest.er1
55093   ac_status=$?
55094   grep -v '^ *+' conftest.er1 >conftest.err
55095   rm -f conftest.er1
55096   cat conftest.err >&5
55097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55098   (exit $ac_status); } &&
55099          { ac_try='test -z "$ac_c_werror_flag"
55100                          || test ! -s conftest.err'
55101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55102   (eval $ac_try) 2>&5
55103   ac_status=$?
55104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55105   (exit $ac_status); }; } &&
55106          { ac_try='test -s conftest$ac_exeext'
55107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55108   (eval $ac_try) 2>&5
55109   ac_status=$?
55110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55111   (exit $ac_status); }; }; then
55112   eval "$as_ac_var=yes"
55113 else
55114   echo "$as_me: failed program was:" >&5
55115 sed 's/^/| /' conftest.$ac_ext >&5
55116
55117 eval "$as_ac_var=no"
55118 fi
55119 rm -f conftest.err conftest.$ac_objext \
55120       conftest$ac_exeext conftest.$ac_ext
55121 fi
55122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55124 if test `eval echo '${'$as_ac_var'}'` = yes; then
55125   cat >>confdefs.h <<_ACEOF
55126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55127 _ACEOF
55128
55129 fi
55130 done
55131
55132   else
55133
55134   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55135 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55136   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55137     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55138   echo $ECHO_N "(cached) $ECHO_C" >&6
55139 else
55140
55141
55142
55143       ac_ext=cc
55144 ac_cpp='$CXXCPP $CPPFLAGS'
55145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55148
55149       cat >conftest.$ac_ext <<_ACEOF
55150 /* confdefs.h.  */
55151 _ACEOF
55152 cat confdefs.h >>conftest.$ac_ext
55153 cat >>conftest.$ac_ext <<_ACEOF
55154 /* end confdefs.h.  */
55155 #include <math.h>
55156 int
55157 main ()
55158 {
55159  _copysignl(0, 0);
55160   ;
55161   return 0;
55162 }
55163 _ACEOF
55164 rm -f conftest.$ac_objext
55165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55166   (eval $ac_compile) 2>conftest.er1
55167   ac_status=$?
55168   grep -v '^ *+' conftest.er1 >conftest.err
55169   rm -f conftest.er1
55170   cat conftest.err >&5
55171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55172   (exit $ac_status); } &&
55173          { ac_try='test -z "$ac_cxx_werror_flag"
55174                          || test ! -s conftest.err'
55175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55176   (eval $ac_try) 2>&5
55177   ac_status=$?
55178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55179   (exit $ac_status); }; } &&
55180          { ac_try='test -s conftest.$ac_objext'
55181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55182   (eval $ac_try) 2>&5
55183   ac_status=$?
55184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185   (exit $ac_status); }; }; then
55186   glibcxx_cv_func__copysignl_use=yes
55187 else
55188   echo "$as_me: failed program was:" >&5
55189 sed 's/^/| /' conftest.$ac_ext >&5
55190
55191 glibcxx_cv_func__copysignl_use=no
55192 fi
55193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55194       ac_ext=c
55195 ac_cpp='$CPP $CPPFLAGS'
55196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55199
55200
55201 fi
55202
55203   fi
55204   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55205 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55206
55207     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55208
55209 for ac_func in _copysignl
55210 do
55211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55212 echo "$as_me:$LINENO: checking for $ac_func" >&5
55213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55214 if eval "test \"\${$as_ac_var+set}\" = set"; then
55215   echo $ECHO_N "(cached) $ECHO_C" >&6
55216 else
55217   if test x$gcc_no_link = xyes; then
55218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55220    { (exit 1); exit 1; }; }
55221 fi
55222 cat >conftest.$ac_ext <<_ACEOF
55223 /* confdefs.h.  */
55224 _ACEOF
55225 cat confdefs.h >>conftest.$ac_ext
55226 cat >>conftest.$ac_ext <<_ACEOF
55227 /* end confdefs.h.  */
55228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55230 #define $ac_func innocuous_$ac_func
55231
55232 /* System header to define __stub macros and hopefully few prototypes,
55233     which can conflict with char $ac_func (); below.
55234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55235     <limits.h> exists even on freestanding compilers.  */
55236
55237 #ifdef __STDC__
55238 # include <limits.h>
55239 #else
55240 # include <assert.h>
55241 #endif
55242
55243 #undef $ac_func
55244
55245 /* Override any gcc2 internal prototype to avoid an error.  */
55246 #ifdef __cplusplus
55247 extern "C"
55248 {
55249 #endif
55250 /* We use char because int might match the return type of a gcc2
55251    builtin and then its argument prototype would still apply.  */
55252 char $ac_func ();
55253 /* The GNU C library defines this for functions which it implements
55254     to always fail with ENOSYS.  Some functions are actually named
55255     something starting with __ and the normal name is an alias.  */
55256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55257 choke me
55258 #else
55259 char (*f) () = $ac_func;
55260 #endif
55261 #ifdef __cplusplus
55262 }
55263 #endif
55264
55265 int
55266 main ()
55267 {
55268 return f != $ac_func;
55269   ;
55270   return 0;
55271 }
55272 _ACEOF
55273 rm -f conftest.$ac_objext conftest$ac_exeext
55274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55275   (eval $ac_link) 2>conftest.er1
55276   ac_status=$?
55277   grep -v '^ *+' conftest.er1 >conftest.err
55278   rm -f conftest.er1
55279   cat conftest.err >&5
55280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55281   (exit $ac_status); } &&
55282          { ac_try='test -z "$ac_c_werror_flag"
55283                          || test ! -s conftest.err'
55284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55285   (eval $ac_try) 2>&5
55286   ac_status=$?
55287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55288   (exit $ac_status); }; } &&
55289          { ac_try='test -s conftest$ac_exeext'
55290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55291   (eval $ac_try) 2>&5
55292   ac_status=$?
55293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55294   (exit $ac_status); }; }; then
55295   eval "$as_ac_var=yes"
55296 else
55297   echo "$as_me: failed program was:" >&5
55298 sed 's/^/| /' conftest.$ac_ext >&5
55299
55300 eval "$as_ac_var=no"
55301 fi
55302 rm -f conftest.err conftest.$ac_objext \
55303       conftest$ac_exeext conftest.$ac_ext
55304 fi
55305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55307 if test `eval echo '${'$as_ac_var'}'` = yes; then
55308   cat >>confdefs.h <<_ACEOF
55309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55310 _ACEOF
55311
55312 fi
55313 done
55314
55315     fi
55316   fi
55317
55318
55319
55320
55321
55322
55323   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55324 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55325   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55326     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55327   echo $ECHO_N "(cached) $ECHO_C" >&6
55328 else
55329
55330
55331
55332       ac_ext=cc
55333 ac_cpp='$CXXCPP $CPPFLAGS'
55334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55337
55338       cat >conftest.$ac_ext <<_ACEOF
55339 /* confdefs.h.  */
55340 _ACEOF
55341 cat confdefs.h >>conftest.$ac_ext
55342 cat >>conftest.$ac_ext <<_ACEOF
55343 /* end confdefs.h.  */
55344 #include <math.h>
55345 int
55346 main ()
55347 {
55348  atan2l(0, 0);
55349   ;
55350   return 0;
55351 }
55352 _ACEOF
55353 rm -f conftest.$ac_objext
55354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55355   (eval $ac_compile) 2>conftest.er1
55356   ac_status=$?
55357   grep -v '^ *+' conftest.er1 >conftest.err
55358   rm -f conftest.er1
55359   cat conftest.err >&5
55360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55361   (exit $ac_status); } &&
55362          { ac_try='test -z "$ac_cxx_werror_flag"
55363                          || test ! -s conftest.err'
55364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55365   (eval $ac_try) 2>&5
55366   ac_status=$?
55367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55368   (exit $ac_status); }; } &&
55369          { ac_try='test -s conftest.$ac_objext'
55370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55371   (eval $ac_try) 2>&5
55372   ac_status=$?
55373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55374   (exit $ac_status); }; }; then
55375   glibcxx_cv_func_atan2l_use=yes
55376 else
55377   echo "$as_me: failed program was:" >&5
55378 sed 's/^/| /' conftest.$ac_ext >&5
55379
55380 glibcxx_cv_func_atan2l_use=no
55381 fi
55382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55383       ac_ext=c
55384 ac_cpp='$CPP $CPPFLAGS'
55385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55388
55389
55390 fi
55391
55392   fi
55393   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55394 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55395
55396   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55397
55398 for ac_func in atan2l
55399 do
55400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55401 echo "$as_me:$LINENO: checking for $ac_func" >&5
55402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55403 if eval "test \"\${$as_ac_var+set}\" = set"; then
55404   echo $ECHO_N "(cached) $ECHO_C" >&6
55405 else
55406   if test x$gcc_no_link = xyes; then
55407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55409    { (exit 1); exit 1; }; }
55410 fi
55411 cat >conftest.$ac_ext <<_ACEOF
55412 /* confdefs.h.  */
55413 _ACEOF
55414 cat confdefs.h >>conftest.$ac_ext
55415 cat >>conftest.$ac_ext <<_ACEOF
55416 /* end confdefs.h.  */
55417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55418    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55419 #define $ac_func innocuous_$ac_func
55420
55421 /* System header to define __stub macros and hopefully few prototypes,
55422     which can conflict with char $ac_func (); below.
55423     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55424     <limits.h> exists even on freestanding compilers.  */
55425
55426 #ifdef __STDC__
55427 # include <limits.h>
55428 #else
55429 # include <assert.h>
55430 #endif
55431
55432 #undef $ac_func
55433
55434 /* Override any gcc2 internal prototype to avoid an error.  */
55435 #ifdef __cplusplus
55436 extern "C"
55437 {
55438 #endif
55439 /* We use char because int might match the return type of a gcc2
55440    builtin and then its argument prototype would still apply.  */
55441 char $ac_func ();
55442 /* The GNU C library defines this for functions which it implements
55443     to always fail with ENOSYS.  Some functions are actually named
55444     something starting with __ and the normal name is an alias.  */
55445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55446 choke me
55447 #else
55448 char (*f) () = $ac_func;
55449 #endif
55450 #ifdef __cplusplus
55451 }
55452 #endif
55453
55454 int
55455 main ()
55456 {
55457 return f != $ac_func;
55458   ;
55459   return 0;
55460 }
55461 _ACEOF
55462 rm -f conftest.$ac_objext conftest$ac_exeext
55463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55464   (eval $ac_link) 2>conftest.er1
55465   ac_status=$?
55466   grep -v '^ *+' conftest.er1 >conftest.err
55467   rm -f conftest.er1
55468   cat conftest.err >&5
55469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470   (exit $ac_status); } &&
55471          { ac_try='test -z "$ac_c_werror_flag"
55472                          || test ! -s conftest.err'
55473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55474   (eval $ac_try) 2>&5
55475   ac_status=$?
55476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55477   (exit $ac_status); }; } &&
55478          { ac_try='test -s conftest$ac_exeext'
55479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55480   (eval $ac_try) 2>&5
55481   ac_status=$?
55482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55483   (exit $ac_status); }; }; then
55484   eval "$as_ac_var=yes"
55485 else
55486   echo "$as_me: failed program was:" >&5
55487 sed 's/^/| /' conftest.$ac_ext >&5
55488
55489 eval "$as_ac_var=no"
55490 fi
55491 rm -f conftest.err conftest.$ac_objext \
55492       conftest$ac_exeext conftest.$ac_ext
55493 fi
55494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55496 if test `eval echo '${'$as_ac_var'}'` = yes; then
55497   cat >>confdefs.h <<_ACEOF
55498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55499 _ACEOF
55500
55501 fi
55502 done
55503
55504   else
55505
55506   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55507 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55508   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55509     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55510   echo $ECHO_N "(cached) $ECHO_C" >&6
55511 else
55512
55513
55514
55515       ac_ext=cc
55516 ac_cpp='$CXXCPP $CPPFLAGS'
55517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55520
55521       cat >conftest.$ac_ext <<_ACEOF
55522 /* confdefs.h.  */
55523 _ACEOF
55524 cat confdefs.h >>conftest.$ac_ext
55525 cat >>conftest.$ac_ext <<_ACEOF
55526 /* end confdefs.h.  */
55527 #include <math.h>
55528 int
55529 main ()
55530 {
55531  _atan2l(0, 0);
55532   ;
55533   return 0;
55534 }
55535 _ACEOF
55536 rm -f conftest.$ac_objext
55537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55538   (eval $ac_compile) 2>conftest.er1
55539   ac_status=$?
55540   grep -v '^ *+' conftest.er1 >conftest.err
55541   rm -f conftest.er1
55542   cat conftest.err >&5
55543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55544   (exit $ac_status); } &&
55545          { ac_try='test -z "$ac_cxx_werror_flag"
55546                          || test ! -s conftest.err'
55547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55548   (eval $ac_try) 2>&5
55549   ac_status=$?
55550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55551   (exit $ac_status); }; } &&
55552          { ac_try='test -s conftest.$ac_objext'
55553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55554   (eval $ac_try) 2>&5
55555   ac_status=$?
55556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55557   (exit $ac_status); }; }; then
55558   glibcxx_cv_func__atan2l_use=yes
55559 else
55560   echo "$as_me: failed program was:" >&5
55561 sed 's/^/| /' conftest.$ac_ext >&5
55562
55563 glibcxx_cv_func__atan2l_use=no
55564 fi
55565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55566       ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55571
55572
55573 fi
55574
55575   fi
55576   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55577 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55578
55579     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55580
55581 for ac_func in _atan2l
55582 do
55583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55584 echo "$as_me:$LINENO: checking for $ac_func" >&5
55585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55586 if eval "test \"\${$as_ac_var+set}\" = set"; then
55587   echo $ECHO_N "(cached) $ECHO_C" >&6
55588 else
55589   if test x$gcc_no_link = xyes; then
55590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55592    { (exit 1); exit 1; }; }
55593 fi
55594 cat >conftest.$ac_ext <<_ACEOF
55595 /* confdefs.h.  */
55596 _ACEOF
55597 cat confdefs.h >>conftest.$ac_ext
55598 cat >>conftest.$ac_ext <<_ACEOF
55599 /* end confdefs.h.  */
55600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55602 #define $ac_func innocuous_$ac_func
55603
55604 /* System header to define __stub macros and hopefully few prototypes,
55605     which can conflict with char $ac_func (); below.
55606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55607     <limits.h> exists even on freestanding compilers.  */
55608
55609 #ifdef __STDC__
55610 # include <limits.h>
55611 #else
55612 # include <assert.h>
55613 #endif
55614
55615 #undef $ac_func
55616
55617 /* Override any gcc2 internal prototype to avoid an error.  */
55618 #ifdef __cplusplus
55619 extern "C"
55620 {
55621 #endif
55622 /* We use char because int might match the return type of a gcc2
55623    builtin and then its argument prototype would still apply.  */
55624 char $ac_func ();
55625 /* The GNU C library defines this for functions which it implements
55626     to always fail with ENOSYS.  Some functions are actually named
55627     something starting with __ and the normal name is an alias.  */
55628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55629 choke me
55630 #else
55631 char (*f) () = $ac_func;
55632 #endif
55633 #ifdef __cplusplus
55634 }
55635 #endif
55636
55637 int
55638 main ()
55639 {
55640 return f != $ac_func;
55641   ;
55642   return 0;
55643 }
55644 _ACEOF
55645 rm -f conftest.$ac_objext conftest$ac_exeext
55646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55647   (eval $ac_link) 2>conftest.er1
55648   ac_status=$?
55649   grep -v '^ *+' conftest.er1 >conftest.err
55650   rm -f conftest.er1
55651   cat conftest.err >&5
55652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55653   (exit $ac_status); } &&
55654          { ac_try='test -z "$ac_c_werror_flag"
55655                          || test ! -s conftest.err'
55656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657   (eval $ac_try) 2>&5
55658   ac_status=$?
55659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660   (exit $ac_status); }; } &&
55661          { ac_try='test -s conftest$ac_exeext'
55662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55663   (eval $ac_try) 2>&5
55664   ac_status=$?
55665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55666   (exit $ac_status); }; }; then
55667   eval "$as_ac_var=yes"
55668 else
55669   echo "$as_me: failed program was:" >&5
55670 sed 's/^/| /' conftest.$ac_ext >&5
55671
55672 eval "$as_ac_var=no"
55673 fi
55674 rm -f conftest.err conftest.$ac_objext \
55675       conftest$ac_exeext conftest.$ac_ext
55676 fi
55677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55679 if test `eval echo '${'$as_ac_var'}'` = yes; then
55680   cat >>confdefs.h <<_ACEOF
55681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55682 _ACEOF
55683
55684 fi
55685 done
55686
55687     fi
55688   fi
55689
55690
55691
55692
55693
55694
55695   echo "$as_me:$LINENO: checking for expl declaration" >&5
55696 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55697   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55698     if test "${glibcxx_cv_func_expl_use+set}" = set; then
55699   echo $ECHO_N "(cached) $ECHO_C" >&6
55700 else
55701
55702
55703
55704       ac_ext=cc
55705 ac_cpp='$CXXCPP $CPPFLAGS'
55706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55709
55710       cat >conftest.$ac_ext <<_ACEOF
55711 /* confdefs.h.  */
55712 _ACEOF
55713 cat confdefs.h >>conftest.$ac_ext
55714 cat >>conftest.$ac_ext <<_ACEOF
55715 /* end confdefs.h.  */
55716 #include <math.h>
55717                       #ifdef HAVE_IEEEFP_H
55718                       #include <ieeefp.h>
55719                       #endif
55720
55721 int
55722 main ()
55723 {
55724  expl(0);
55725   ;
55726   return 0;
55727 }
55728 _ACEOF
55729 rm -f conftest.$ac_objext
55730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55731   (eval $ac_compile) 2>conftest.er1
55732   ac_status=$?
55733   grep -v '^ *+' conftest.er1 >conftest.err
55734   rm -f conftest.er1
55735   cat conftest.err >&5
55736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55737   (exit $ac_status); } &&
55738          { ac_try='test -z "$ac_cxx_werror_flag"
55739                          || test ! -s conftest.err'
55740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55741   (eval $ac_try) 2>&5
55742   ac_status=$?
55743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55744   (exit $ac_status); }; } &&
55745          { ac_try='test -s conftest.$ac_objext'
55746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55747   (eval $ac_try) 2>&5
55748   ac_status=$?
55749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55750   (exit $ac_status); }; }; then
55751   glibcxx_cv_func_expl_use=yes
55752 else
55753   echo "$as_me: failed program was:" >&5
55754 sed 's/^/| /' conftest.$ac_ext >&5
55755
55756 glibcxx_cv_func_expl_use=no
55757 fi
55758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55759       ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55764
55765
55766 fi
55767
55768   fi
55769   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55770 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55771
55772   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55773
55774 for ac_func in expl
55775 do
55776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55777 echo "$as_me:$LINENO: checking for $ac_func" >&5
55778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55779 if eval "test \"\${$as_ac_var+set}\" = set"; then
55780   echo $ECHO_N "(cached) $ECHO_C" >&6
55781 else
55782   if test x$gcc_no_link = xyes; then
55783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55785    { (exit 1); exit 1; }; }
55786 fi
55787 cat >conftest.$ac_ext <<_ACEOF
55788 /* confdefs.h.  */
55789 _ACEOF
55790 cat confdefs.h >>conftest.$ac_ext
55791 cat >>conftest.$ac_ext <<_ACEOF
55792 /* end confdefs.h.  */
55793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55795 #define $ac_func innocuous_$ac_func
55796
55797 /* System header to define __stub macros and hopefully few prototypes,
55798     which can conflict with char $ac_func (); below.
55799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55800     <limits.h> exists even on freestanding compilers.  */
55801
55802 #ifdef __STDC__
55803 # include <limits.h>
55804 #else
55805 # include <assert.h>
55806 #endif
55807
55808 #undef $ac_func
55809
55810 /* Override any gcc2 internal prototype to avoid an error.  */
55811 #ifdef __cplusplus
55812 extern "C"
55813 {
55814 #endif
55815 /* We use char because int might match the return type of a gcc2
55816    builtin and then its argument prototype would still apply.  */
55817 char $ac_func ();
55818 /* The GNU C library defines this for functions which it implements
55819     to always fail with ENOSYS.  Some functions are actually named
55820     something starting with __ and the normal name is an alias.  */
55821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55822 choke me
55823 #else
55824 char (*f) () = $ac_func;
55825 #endif
55826 #ifdef __cplusplus
55827 }
55828 #endif
55829
55830 int
55831 main ()
55832 {
55833 return f != $ac_func;
55834   ;
55835   return 0;
55836 }
55837 _ACEOF
55838 rm -f conftest.$ac_objext conftest$ac_exeext
55839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55840   (eval $ac_link) 2>conftest.er1
55841   ac_status=$?
55842   grep -v '^ *+' conftest.er1 >conftest.err
55843   rm -f conftest.er1
55844   cat conftest.err >&5
55845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55846   (exit $ac_status); } &&
55847          { ac_try='test -z "$ac_c_werror_flag"
55848                          || test ! -s conftest.err'
55849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850   (eval $ac_try) 2>&5
55851   ac_status=$?
55852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853   (exit $ac_status); }; } &&
55854          { ac_try='test -s conftest$ac_exeext'
55855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55856   (eval $ac_try) 2>&5
55857   ac_status=$?
55858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55859   (exit $ac_status); }; }; then
55860   eval "$as_ac_var=yes"
55861 else
55862   echo "$as_me: failed program was:" >&5
55863 sed 's/^/| /' conftest.$ac_ext >&5
55864
55865 eval "$as_ac_var=no"
55866 fi
55867 rm -f conftest.err conftest.$ac_objext \
55868       conftest$ac_exeext conftest.$ac_ext
55869 fi
55870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55872 if test `eval echo '${'$as_ac_var'}'` = yes; then
55873   cat >>confdefs.h <<_ACEOF
55874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55875 _ACEOF
55876
55877 fi
55878 done
55879
55880   else
55881
55882   echo "$as_me:$LINENO: checking for _expl declaration" >&5
55883 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55884   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55885     if test "${glibcxx_cv_func__expl_use+set}" = set; then
55886   echo $ECHO_N "(cached) $ECHO_C" >&6
55887 else
55888
55889
55890
55891       ac_ext=cc
55892 ac_cpp='$CXXCPP $CPPFLAGS'
55893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55896
55897       cat >conftest.$ac_ext <<_ACEOF
55898 /* confdefs.h.  */
55899 _ACEOF
55900 cat confdefs.h >>conftest.$ac_ext
55901 cat >>conftest.$ac_ext <<_ACEOF
55902 /* end confdefs.h.  */
55903 #include <math.h>
55904                       #ifdef HAVE_IEEEFP_H
55905                       #include <ieeefp.h>
55906                       #endif
55907
55908 int
55909 main ()
55910 {
55911  _expl(0);
55912   ;
55913   return 0;
55914 }
55915 _ACEOF
55916 rm -f conftest.$ac_objext
55917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55918   (eval $ac_compile) 2>conftest.er1
55919   ac_status=$?
55920   grep -v '^ *+' conftest.er1 >conftest.err
55921   rm -f conftest.er1
55922   cat conftest.err >&5
55923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55924   (exit $ac_status); } &&
55925          { ac_try='test -z "$ac_cxx_werror_flag"
55926                          || test ! -s conftest.err'
55927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55928   (eval $ac_try) 2>&5
55929   ac_status=$?
55930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931   (exit $ac_status); }; } &&
55932          { ac_try='test -s conftest.$ac_objext'
55933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55934   (eval $ac_try) 2>&5
55935   ac_status=$?
55936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937   (exit $ac_status); }; }; then
55938   glibcxx_cv_func__expl_use=yes
55939 else
55940   echo "$as_me: failed program was:" >&5
55941 sed 's/^/| /' conftest.$ac_ext >&5
55942
55943 glibcxx_cv_func__expl_use=no
55944 fi
55945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55946       ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951
55952
55953 fi
55954
55955   fi
55956   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55957 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55958
55959     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55960
55961 for ac_func in _expl
55962 do
55963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55964 echo "$as_me:$LINENO: checking for $ac_func" >&5
55965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55966 if eval "test \"\${$as_ac_var+set}\" = set"; then
55967   echo $ECHO_N "(cached) $ECHO_C" >&6
55968 else
55969   if test x$gcc_no_link = xyes; then
55970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55972    { (exit 1); exit 1; }; }
55973 fi
55974 cat >conftest.$ac_ext <<_ACEOF
55975 /* confdefs.h.  */
55976 _ACEOF
55977 cat confdefs.h >>conftest.$ac_ext
55978 cat >>conftest.$ac_ext <<_ACEOF
55979 /* end confdefs.h.  */
55980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55982 #define $ac_func innocuous_$ac_func
55983
55984 /* System header to define __stub macros and hopefully few prototypes,
55985     which can conflict with char $ac_func (); below.
55986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55987     <limits.h> exists even on freestanding compilers.  */
55988
55989 #ifdef __STDC__
55990 # include <limits.h>
55991 #else
55992 # include <assert.h>
55993 #endif
55994
55995 #undef $ac_func
55996
55997 /* Override any gcc2 internal prototype to avoid an error.  */
55998 #ifdef __cplusplus
55999 extern "C"
56000 {
56001 #endif
56002 /* We use char because int might match the return type of a gcc2
56003    builtin and then its argument prototype would still apply.  */
56004 char $ac_func ();
56005 /* The GNU C library defines this for functions which it implements
56006     to always fail with ENOSYS.  Some functions are actually named
56007     something starting with __ and the normal name is an alias.  */
56008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56009 choke me
56010 #else
56011 char (*f) () = $ac_func;
56012 #endif
56013 #ifdef __cplusplus
56014 }
56015 #endif
56016
56017 int
56018 main ()
56019 {
56020 return f != $ac_func;
56021   ;
56022   return 0;
56023 }
56024 _ACEOF
56025 rm -f conftest.$ac_objext conftest$ac_exeext
56026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56027   (eval $ac_link) 2>conftest.er1
56028   ac_status=$?
56029   grep -v '^ *+' conftest.er1 >conftest.err
56030   rm -f conftest.er1
56031   cat conftest.err >&5
56032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033   (exit $ac_status); } &&
56034          { ac_try='test -z "$ac_c_werror_flag"
56035                          || test ! -s conftest.err'
56036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037   (eval $ac_try) 2>&5
56038   ac_status=$?
56039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040   (exit $ac_status); }; } &&
56041          { ac_try='test -s conftest$ac_exeext'
56042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56043   (eval $ac_try) 2>&5
56044   ac_status=$?
56045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56046   (exit $ac_status); }; }; then
56047   eval "$as_ac_var=yes"
56048 else
56049   echo "$as_me: failed program was:" >&5
56050 sed 's/^/| /' conftest.$ac_ext >&5
56051
56052 eval "$as_ac_var=no"
56053 fi
56054 rm -f conftest.err conftest.$ac_objext \
56055       conftest$ac_exeext conftest.$ac_ext
56056 fi
56057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56059 if test `eval echo '${'$as_ac_var'}'` = yes; then
56060   cat >>confdefs.h <<_ACEOF
56061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56062 _ACEOF
56063
56064 fi
56065 done
56066
56067     fi
56068   fi
56069
56070
56071
56072
56073
56074
56075   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56076 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56077   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56078     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56079   echo $ECHO_N "(cached) $ECHO_C" >&6
56080 else
56081
56082
56083
56084       ac_ext=cc
56085 ac_cpp='$CXXCPP $CPPFLAGS'
56086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56089
56090       cat >conftest.$ac_ext <<_ACEOF
56091 /* confdefs.h.  */
56092 _ACEOF
56093 cat confdefs.h >>conftest.$ac_ext
56094 cat >>conftest.$ac_ext <<_ACEOF
56095 /* end confdefs.h.  */
56096 #include <math.h>
56097                       #ifdef HAVE_IEEEFP_H
56098                       #include <ieeefp.h>
56099                       #endif
56100
56101 int
56102 main ()
56103 {
56104  fabsl(0);
56105   ;
56106   return 0;
56107 }
56108 _ACEOF
56109 rm -f conftest.$ac_objext
56110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56111   (eval $ac_compile) 2>conftest.er1
56112   ac_status=$?
56113   grep -v '^ *+' conftest.er1 >conftest.err
56114   rm -f conftest.er1
56115   cat conftest.err >&5
56116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56117   (exit $ac_status); } &&
56118          { ac_try='test -z "$ac_cxx_werror_flag"
56119                          || test ! -s conftest.err'
56120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56121   (eval $ac_try) 2>&5
56122   ac_status=$?
56123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56124   (exit $ac_status); }; } &&
56125          { ac_try='test -s conftest.$ac_objext'
56126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56127   (eval $ac_try) 2>&5
56128   ac_status=$?
56129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56130   (exit $ac_status); }; }; then
56131   glibcxx_cv_func_fabsl_use=yes
56132 else
56133   echo "$as_me: failed program was:" >&5
56134 sed 's/^/| /' conftest.$ac_ext >&5
56135
56136 glibcxx_cv_func_fabsl_use=no
56137 fi
56138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56139       ac_ext=c
56140 ac_cpp='$CPP $CPPFLAGS'
56141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56144
56145
56146 fi
56147
56148   fi
56149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56150 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56151
56152   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56153
56154 for ac_func in fabsl
56155 do
56156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56157 echo "$as_me:$LINENO: checking for $ac_func" >&5
56158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56159 if eval "test \"\${$as_ac_var+set}\" = set"; then
56160   echo $ECHO_N "(cached) $ECHO_C" >&6
56161 else
56162   if test x$gcc_no_link = xyes; then
56163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56165    { (exit 1); exit 1; }; }
56166 fi
56167 cat >conftest.$ac_ext <<_ACEOF
56168 /* confdefs.h.  */
56169 _ACEOF
56170 cat confdefs.h >>conftest.$ac_ext
56171 cat >>conftest.$ac_ext <<_ACEOF
56172 /* end confdefs.h.  */
56173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56175 #define $ac_func innocuous_$ac_func
56176
56177 /* System header to define __stub macros and hopefully few prototypes,
56178     which can conflict with char $ac_func (); below.
56179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56180     <limits.h> exists even on freestanding compilers.  */
56181
56182 #ifdef __STDC__
56183 # include <limits.h>
56184 #else
56185 # include <assert.h>
56186 #endif
56187
56188 #undef $ac_func
56189
56190 /* Override any gcc2 internal prototype to avoid an error.  */
56191 #ifdef __cplusplus
56192 extern "C"
56193 {
56194 #endif
56195 /* We use char because int might match the return type of a gcc2
56196    builtin and then its argument prototype would still apply.  */
56197 char $ac_func ();
56198 /* The GNU C library defines this for functions which it implements
56199     to always fail with ENOSYS.  Some functions are actually named
56200     something starting with __ and the normal name is an alias.  */
56201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56202 choke me
56203 #else
56204 char (*f) () = $ac_func;
56205 #endif
56206 #ifdef __cplusplus
56207 }
56208 #endif
56209
56210 int
56211 main ()
56212 {
56213 return f != $ac_func;
56214   ;
56215   return 0;
56216 }
56217 _ACEOF
56218 rm -f conftest.$ac_objext conftest$ac_exeext
56219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56220   (eval $ac_link) 2>conftest.er1
56221   ac_status=$?
56222   grep -v '^ *+' conftest.er1 >conftest.err
56223   rm -f conftest.er1
56224   cat conftest.err >&5
56225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56226   (exit $ac_status); } &&
56227          { ac_try='test -z "$ac_c_werror_flag"
56228                          || test ! -s conftest.err'
56229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230   (eval $ac_try) 2>&5
56231   ac_status=$?
56232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233   (exit $ac_status); }; } &&
56234          { ac_try='test -s conftest$ac_exeext'
56235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56236   (eval $ac_try) 2>&5
56237   ac_status=$?
56238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56239   (exit $ac_status); }; }; then
56240   eval "$as_ac_var=yes"
56241 else
56242   echo "$as_me: failed program was:" >&5
56243 sed 's/^/| /' conftest.$ac_ext >&5
56244
56245 eval "$as_ac_var=no"
56246 fi
56247 rm -f conftest.err conftest.$ac_objext \
56248       conftest$ac_exeext conftest.$ac_ext
56249 fi
56250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56252 if test `eval echo '${'$as_ac_var'}'` = yes; then
56253   cat >>confdefs.h <<_ACEOF
56254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56255 _ACEOF
56256
56257 fi
56258 done
56259
56260   else
56261
56262   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56263 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56264   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56265     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56266   echo $ECHO_N "(cached) $ECHO_C" >&6
56267 else
56268
56269
56270
56271       ac_ext=cc
56272 ac_cpp='$CXXCPP $CPPFLAGS'
56273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56276
56277       cat >conftest.$ac_ext <<_ACEOF
56278 /* confdefs.h.  */
56279 _ACEOF
56280 cat confdefs.h >>conftest.$ac_ext
56281 cat >>conftest.$ac_ext <<_ACEOF
56282 /* end confdefs.h.  */
56283 #include <math.h>
56284                       #ifdef HAVE_IEEEFP_H
56285                       #include <ieeefp.h>
56286                       #endif
56287
56288 int
56289 main ()
56290 {
56291  _fabsl(0);
56292   ;
56293   return 0;
56294 }
56295 _ACEOF
56296 rm -f conftest.$ac_objext
56297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56298   (eval $ac_compile) 2>conftest.er1
56299   ac_status=$?
56300   grep -v '^ *+' conftest.er1 >conftest.err
56301   rm -f conftest.er1
56302   cat conftest.err >&5
56303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56304   (exit $ac_status); } &&
56305          { ac_try='test -z "$ac_cxx_werror_flag"
56306                          || test ! -s conftest.err'
56307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56308   (eval $ac_try) 2>&5
56309   ac_status=$?
56310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56311   (exit $ac_status); }; } &&
56312          { ac_try='test -s conftest.$ac_objext'
56313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56314   (eval $ac_try) 2>&5
56315   ac_status=$?
56316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56317   (exit $ac_status); }; }; then
56318   glibcxx_cv_func__fabsl_use=yes
56319 else
56320   echo "$as_me: failed program was:" >&5
56321 sed 's/^/| /' conftest.$ac_ext >&5
56322
56323 glibcxx_cv_func__fabsl_use=no
56324 fi
56325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56326       ac_ext=c
56327 ac_cpp='$CPP $CPPFLAGS'
56328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56331
56332
56333 fi
56334
56335   fi
56336   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56337 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56338
56339     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56340
56341 for ac_func in _fabsl
56342 do
56343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56344 echo "$as_me:$LINENO: checking for $ac_func" >&5
56345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56346 if eval "test \"\${$as_ac_var+set}\" = set"; then
56347   echo $ECHO_N "(cached) $ECHO_C" >&6
56348 else
56349   if test x$gcc_no_link = xyes; then
56350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56352    { (exit 1); exit 1; }; }
56353 fi
56354 cat >conftest.$ac_ext <<_ACEOF
56355 /* confdefs.h.  */
56356 _ACEOF
56357 cat confdefs.h >>conftest.$ac_ext
56358 cat >>conftest.$ac_ext <<_ACEOF
56359 /* end confdefs.h.  */
56360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56362 #define $ac_func innocuous_$ac_func
56363
56364 /* System header to define __stub macros and hopefully few prototypes,
56365     which can conflict with char $ac_func (); below.
56366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56367     <limits.h> exists even on freestanding compilers.  */
56368
56369 #ifdef __STDC__
56370 # include <limits.h>
56371 #else
56372 # include <assert.h>
56373 #endif
56374
56375 #undef $ac_func
56376
56377 /* Override any gcc2 internal prototype to avoid an error.  */
56378 #ifdef __cplusplus
56379 extern "C"
56380 {
56381 #endif
56382 /* We use char because int might match the return type of a gcc2
56383    builtin and then its argument prototype would still apply.  */
56384 char $ac_func ();
56385 /* The GNU C library defines this for functions which it implements
56386     to always fail with ENOSYS.  Some functions are actually named
56387     something starting with __ and the normal name is an alias.  */
56388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56389 choke me
56390 #else
56391 char (*f) () = $ac_func;
56392 #endif
56393 #ifdef __cplusplus
56394 }
56395 #endif
56396
56397 int
56398 main ()
56399 {
56400 return f != $ac_func;
56401   ;
56402   return 0;
56403 }
56404 _ACEOF
56405 rm -f conftest.$ac_objext conftest$ac_exeext
56406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56407   (eval $ac_link) 2>conftest.er1
56408   ac_status=$?
56409   grep -v '^ *+' conftest.er1 >conftest.err
56410   rm -f conftest.er1
56411   cat conftest.err >&5
56412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56413   (exit $ac_status); } &&
56414          { ac_try='test -z "$ac_c_werror_flag"
56415                          || test ! -s conftest.err'
56416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56417   (eval $ac_try) 2>&5
56418   ac_status=$?
56419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56420   (exit $ac_status); }; } &&
56421          { ac_try='test -s conftest$ac_exeext'
56422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56423   (eval $ac_try) 2>&5
56424   ac_status=$?
56425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56426   (exit $ac_status); }; }; then
56427   eval "$as_ac_var=yes"
56428 else
56429   echo "$as_me: failed program was:" >&5
56430 sed 's/^/| /' conftest.$ac_ext >&5
56431
56432 eval "$as_ac_var=no"
56433 fi
56434 rm -f conftest.err conftest.$ac_objext \
56435       conftest$ac_exeext conftest.$ac_ext
56436 fi
56437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56439 if test `eval echo '${'$as_ac_var'}'` = yes; then
56440   cat >>confdefs.h <<_ACEOF
56441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56442 _ACEOF
56443
56444 fi
56445 done
56446
56447     fi
56448   fi
56449
56450
56451
56452
56453
56454
56455   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56456 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56457   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56458     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56459   echo $ECHO_N "(cached) $ECHO_C" >&6
56460 else
56461
56462
56463
56464       ac_ext=cc
56465 ac_cpp='$CXXCPP $CPPFLAGS'
56466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56469
56470       cat >conftest.$ac_ext <<_ACEOF
56471 /* confdefs.h.  */
56472 _ACEOF
56473 cat confdefs.h >>conftest.$ac_ext
56474 cat >>conftest.$ac_ext <<_ACEOF
56475 /* end confdefs.h.  */
56476 #include <math.h>
56477 int
56478 main ()
56479 {
56480  fmodl(0, 0);
56481   ;
56482   return 0;
56483 }
56484 _ACEOF
56485 rm -f conftest.$ac_objext
56486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56487   (eval $ac_compile) 2>conftest.er1
56488   ac_status=$?
56489   grep -v '^ *+' conftest.er1 >conftest.err
56490   rm -f conftest.er1
56491   cat conftest.err >&5
56492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56493   (exit $ac_status); } &&
56494          { ac_try='test -z "$ac_cxx_werror_flag"
56495                          || test ! -s conftest.err'
56496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56497   (eval $ac_try) 2>&5
56498   ac_status=$?
56499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56500   (exit $ac_status); }; } &&
56501          { ac_try='test -s conftest.$ac_objext'
56502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56503   (eval $ac_try) 2>&5
56504   ac_status=$?
56505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56506   (exit $ac_status); }; }; then
56507   glibcxx_cv_func_fmodl_use=yes
56508 else
56509   echo "$as_me: failed program was:" >&5
56510 sed 's/^/| /' conftest.$ac_ext >&5
56511
56512 glibcxx_cv_func_fmodl_use=no
56513 fi
56514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56515       ac_ext=c
56516 ac_cpp='$CPP $CPPFLAGS'
56517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56520
56521
56522 fi
56523
56524   fi
56525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56526 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56527
56528   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56529
56530 for ac_func in fmodl
56531 do
56532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56533 echo "$as_me:$LINENO: checking for $ac_func" >&5
56534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56535 if eval "test \"\${$as_ac_var+set}\" = set"; then
56536   echo $ECHO_N "(cached) $ECHO_C" >&6
56537 else
56538   if test x$gcc_no_link = xyes; then
56539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56541    { (exit 1); exit 1; }; }
56542 fi
56543 cat >conftest.$ac_ext <<_ACEOF
56544 /* confdefs.h.  */
56545 _ACEOF
56546 cat confdefs.h >>conftest.$ac_ext
56547 cat >>conftest.$ac_ext <<_ACEOF
56548 /* end confdefs.h.  */
56549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56551 #define $ac_func innocuous_$ac_func
56552
56553 /* System header to define __stub macros and hopefully few prototypes,
56554     which can conflict with char $ac_func (); below.
56555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56556     <limits.h> exists even on freestanding compilers.  */
56557
56558 #ifdef __STDC__
56559 # include <limits.h>
56560 #else
56561 # include <assert.h>
56562 #endif
56563
56564 #undef $ac_func
56565
56566 /* Override any gcc2 internal prototype to avoid an error.  */
56567 #ifdef __cplusplus
56568 extern "C"
56569 {
56570 #endif
56571 /* We use char because int might match the return type of a gcc2
56572    builtin and then its argument prototype would still apply.  */
56573 char $ac_func ();
56574 /* The GNU C library defines this for functions which it implements
56575     to always fail with ENOSYS.  Some functions are actually named
56576     something starting with __ and the normal name is an alias.  */
56577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56578 choke me
56579 #else
56580 char (*f) () = $ac_func;
56581 #endif
56582 #ifdef __cplusplus
56583 }
56584 #endif
56585
56586 int
56587 main ()
56588 {
56589 return f != $ac_func;
56590   ;
56591   return 0;
56592 }
56593 _ACEOF
56594 rm -f conftest.$ac_objext conftest$ac_exeext
56595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56596   (eval $ac_link) 2>conftest.er1
56597   ac_status=$?
56598   grep -v '^ *+' conftest.er1 >conftest.err
56599   rm -f conftest.er1
56600   cat conftest.err >&5
56601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602   (exit $ac_status); } &&
56603          { ac_try='test -z "$ac_c_werror_flag"
56604                          || test ! -s conftest.err'
56605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56606   (eval $ac_try) 2>&5
56607   ac_status=$?
56608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56609   (exit $ac_status); }; } &&
56610          { ac_try='test -s conftest$ac_exeext'
56611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56612   (eval $ac_try) 2>&5
56613   ac_status=$?
56614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56615   (exit $ac_status); }; }; then
56616   eval "$as_ac_var=yes"
56617 else
56618   echo "$as_me: failed program was:" >&5
56619 sed 's/^/| /' conftest.$ac_ext >&5
56620
56621 eval "$as_ac_var=no"
56622 fi
56623 rm -f conftest.err conftest.$ac_objext \
56624       conftest$ac_exeext conftest.$ac_ext
56625 fi
56626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56628 if test `eval echo '${'$as_ac_var'}'` = yes; then
56629   cat >>confdefs.h <<_ACEOF
56630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56631 _ACEOF
56632
56633 fi
56634 done
56635
56636   else
56637
56638   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56639 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56640   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56641     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56642   echo $ECHO_N "(cached) $ECHO_C" >&6
56643 else
56644
56645
56646
56647       ac_ext=cc
56648 ac_cpp='$CXXCPP $CPPFLAGS'
56649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56652
56653       cat >conftest.$ac_ext <<_ACEOF
56654 /* confdefs.h.  */
56655 _ACEOF
56656 cat confdefs.h >>conftest.$ac_ext
56657 cat >>conftest.$ac_ext <<_ACEOF
56658 /* end confdefs.h.  */
56659 #include <math.h>
56660 int
56661 main ()
56662 {
56663  _fmodl(0, 0);
56664   ;
56665   return 0;
56666 }
56667 _ACEOF
56668 rm -f conftest.$ac_objext
56669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56670   (eval $ac_compile) 2>conftest.er1
56671   ac_status=$?
56672   grep -v '^ *+' conftest.er1 >conftest.err
56673   rm -f conftest.er1
56674   cat conftest.err >&5
56675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56676   (exit $ac_status); } &&
56677          { ac_try='test -z "$ac_cxx_werror_flag"
56678                          || test ! -s conftest.err'
56679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56680   (eval $ac_try) 2>&5
56681   ac_status=$?
56682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683   (exit $ac_status); }; } &&
56684          { ac_try='test -s conftest.$ac_objext'
56685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56686   (eval $ac_try) 2>&5
56687   ac_status=$?
56688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56689   (exit $ac_status); }; }; then
56690   glibcxx_cv_func__fmodl_use=yes
56691 else
56692   echo "$as_me: failed program was:" >&5
56693 sed 's/^/| /' conftest.$ac_ext >&5
56694
56695 glibcxx_cv_func__fmodl_use=no
56696 fi
56697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56698       ac_ext=c
56699 ac_cpp='$CPP $CPPFLAGS'
56700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56703
56704
56705 fi
56706
56707   fi
56708   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56709 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56710
56711     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56712
56713 for ac_func in _fmodl
56714 do
56715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56716 echo "$as_me:$LINENO: checking for $ac_func" >&5
56717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56718 if eval "test \"\${$as_ac_var+set}\" = set"; then
56719   echo $ECHO_N "(cached) $ECHO_C" >&6
56720 else
56721   if test x$gcc_no_link = xyes; then
56722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56724    { (exit 1); exit 1; }; }
56725 fi
56726 cat >conftest.$ac_ext <<_ACEOF
56727 /* confdefs.h.  */
56728 _ACEOF
56729 cat confdefs.h >>conftest.$ac_ext
56730 cat >>conftest.$ac_ext <<_ACEOF
56731 /* end confdefs.h.  */
56732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56734 #define $ac_func innocuous_$ac_func
56735
56736 /* System header to define __stub macros and hopefully few prototypes,
56737     which can conflict with char $ac_func (); below.
56738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56739     <limits.h> exists even on freestanding compilers.  */
56740
56741 #ifdef __STDC__
56742 # include <limits.h>
56743 #else
56744 # include <assert.h>
56745 #endif
56746
56747 #undef $ac_func
56748
56749 /* Override any gcc2 internal prototype to avoid an error.  */
56750 #ifdef __cplusplus
56751 extern "C"
56752 {
56753 #endif
56754 /* We use char because int might match the return type of a gcc2
56755    builtin and then its argument prototype would still apply.  */
56756 char $ac_func ();
56757 /* The GNU C library defines this for functions which it implements
56758     to always fail with ENOSYS.  Some functions are actually named
56759     something starting with __ and the normal name is an alias.  */
56760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56761 choke me
56762 #else
56763 char (*f) () = $ac_func;
56764 #endif
56765 #ifdef __cplusplus
56766 }
56767 #endif
56768
56769 int
56770 main ()
56771 {
56772 return f != $ac_func;
56773   ;
56774   return 0;
56775 }
56776 _ACEOF
56777 rm -f conftest.$ac_objext conftest$ac_exeext
56778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56779   (eval $ac_link) 2>conftest.er1
56780   ac_status=$?
56781   grep -v '^ *+' conftest.er1 >conftest.err
56782   rm -f conftest.er1
56783   cat conftest.err >&5
56784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56785   (exit $ac_status); } &&
56786          { ac_try='test -z "$ac_c_werror_flag"
56787                          || test ! -s conftest.err'
56788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56789   (eval $ac_try) 2>&5
56790   ac_status=$?
56791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792   (exit $ac_status); }; } &&
56793          { ac_try='test -s conftest$ac_exeext'
56794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56795   (eval $ac_try) 2>&5
56796   ac_status=$?
56797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56798   (exit $ac_status); }; }; then
56799   eval "$as_ac_var=yes"
56800 else
56801   echo "$as_me: failed program was:" >&5
56802 sed 's/^/| /' conftest.$ac_ext >&5
56803
56804 eval "$as_ac_var=no"
56805 fi
56806 rm -f conftest.err conftest.$ac_objext \
56807       conftest$ac_exeext conftest.$ac_ext
56808 fi
56809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56811 if test `eval echo '${'$as_ac_var'}'` = yes; then
56812   cat >>confdefs.h <<_ACEOF
56813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56814 _ACEOF
56815
56816 fi
56817 done
56818
56819     fi
56820   fi
56821
56822
56823
56824
56825
56826
56827   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56828 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56829   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56830     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56831   echo $ECHO_N "(cached) $ECHO_C" >&6
56832 else
56833
56834
56835
56836       ac_ext=cc
56837 ac_cpp='$CXXCPP $CPPFLAGS'
56838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56841
56842       cat >conftest.$ac_ext <<_ACEOF
56843 /* confdefs.h.  */
56844 _ACEOF
56845 cat confdefs.h >>conftest.$ac_ext
56846 cat >>conftest.$ac_ext <<_ACEOF
56847 /* end confdefs.h.  */
56848 #include <math.h>
56849 int
56850 main ()
56851 {
56852  frexpl(0, 0);
56853   ;
56854   return 0;
56855 }
56856 _ACEOF
56857 rm -f conftest.$ac_objext
56858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56859   (eval $ac_compile) 2>conftest.er1
56860   ac_status=$?
56861   grep -v '^ *+' conftest.er1 >conftest.err
56862   rm -f conftest.er1
56863   cat conftest.err >&5
56864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56865   (exit $ac_status); } &&
56866          { ac_try='test -z "$ac_cxx_werror_flag"
56867                          || test ! -s conftest.err'
56868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56869   (eval $ac_try) 2>&5
56870   ac_status=$?
56871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56872   (exit $ac_status); }; } &&
56873          { ac_try='test -s conftest.$ac_objext'
56874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56875   (eval $ac_try) 2>&5
56876   ac_status=$?
56877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56878   (exit $ac_status); }; }; then
56879   glibcxx_cv_func_frexpl_use=yes
56880 else
56881   echo "$as_me: failed program was:" >&5
56882 sed 's/^/| /' conftest.$ac_ext >&5
56883
56884 glibcxx_cv_func_frexpl_use=no
56885 fi
56886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56887       ac_ext=c
56888 ac_cpp='$CPP $CPPFLAGS'
56889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56892
56893
56894 fi
56895
56896   fi
56897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56898 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56899
56900   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56901
56902 for ac_func in frexpl
56903 do
56904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56905 echo "$as_me:$LINENO: checking for $ac_func" >&5
56906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56907 if eval "test \"\${$as_ac_var+set}\" = set"; then
56908   echo $ECHO_N "(cached) $ECHO_C" >&6
56909 else
56910   if test x$gcc_no_link = xyes; then
56911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56913    { (exit 1); exit 1; }; }
56914 fi
56915 cat >conftest.$ac_ext <<_ACEOF
56916 /* confdefs.h.  */
56917 _ACEOF
56918 cat confdefs.h >>conftest.$ac_ext
56919 cat >>conftest.$ac_ext <<_ACEOF
56920 /* end confdefs.h.  */
56921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56923 #define $ac_func innocuous_$ac_func
56924
56925 /* System header to define __stub macros and hopefully few prototypes,
56926     which can conflict with char $ac_func (); below.
56927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56928     <limits.h> exists even on freestanding compilers.  */
56929
56930 #ifdef __STDC__
56931 # include <limits.h>
56932 #else
56933 # include <assert.h>
56934 #endif
56935
56936 #undef $ac_func
56937
56938 /* Override any gcc2 internal prototype to avoid an error.  */
56939 #ifdef __cplusplus
56940 extern "C"
56941 {
56942 #endif
56943 /* We use char because int might match the return type of a gcc2
56944    builtin and then its argument prototype would still apply.  */
56945 char $ac_func ();
56946 /* The GNU C library defines this for functions which it implements
56947     to always fail with ENOSYS.  Some functions are actually named
56948     something starting with __ and the normal name is an alias.  */
56949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56950 choke me
56951 #else
56952 char (*f) () = $ac_func;
56953 #endif
56954 #ifdef __cplusplus
56955 }
56956 #endif
56957
56958 int
56959 main ()
56960 {
56961 return f != $ac_func;
56962   ;
56963   return 0;
56964 }
56965 _ACEOF
56966 rm -f conftest.$ac_objext conftest$ac_exeext
56967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56968   (eval $ac_link) 2>conftest.er1
56969   ac_status=$?
56970   grep -v '^ *+' conftest.er1 >conftest.err
56971   rm -f conftest.er1
56972   cat conftest.err >&5
56973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56974   (exit $ac_status); } &&
56975          { ac_try='test -z "$ac_c_werror_flag"
56976                          || test ! -s conftest.err'
56977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56978   (eval $ac_try) 2>&5
56979   ac_status=$?
56980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56981   (exit $ac_status); }; } &&
56982          { ac_try='test -s conftest$ac_exeext'
56983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56984   (eval $ac_try) 2>&5
56985   ac_status=$?
56986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56987   (exit $ac_status); }; }; then
56988   eval "$as_ac_var=yes"
56989 else
56990   echo "$as_me: failed program was:" >&5
56991 sed 's/^/| /' conftest.$ac_ext >&5
56992
56993 eval "$as_ac_var=no"
56994 fi
56995 rm -f conftest.err conftest.$ac_objext \
56996       conftest$ac_exeext conftest.$ac_ext
56997 fi
56998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57000 if test `eval echo '${'$as_ac_var'}'` = yes; then
57001   cat >>confdefs.h <<_ACEOF
57002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57003 _ACEOF
57004
57005 fi
57006 done
57007
57008   else
57009
57010   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57011 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57012   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57013     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57014   echo $ECHO_N "(cached) $ECHO_C" >&6
57015 else
57016
57017
57018
57019       ac_ext=cc
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57024
57025       cat >conftest.$ac_ext <<_ACEOF
57026 /* confdefs.h.  */
57027 _ACEOF
57028 cat confdefs.h >>conftest.$ac_ext
57029 cat >>conftest.$ac_ext <<_ACEOF
57030 /* end confdefs.h.  */
57031 #include <math.h>
57032 int
57033 main ()
57034 {
57035  _frexpl(0, 0);
57036   ;
57037   return 0;
57038 }
57039 _ACEOF
57040 rm -f conftest.$ac_objext
57041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57042   (eval $ac_compile) 2>conftest.er1
57043   ac_status=$?
57044   grep -v '^ *+' conftest.er1 >conftest.err
57045   rm -f conftest.er1
57046   cat conftest.err >&5
57047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57048   (exit $ac_status); } &&
57049          { ac_try='test -z "$ac_cxx_werror_flag"
57050                          || test ! -s conftest.err'
57051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052   (eval $ac_try) 2>&5
57053   ac_status=$?
57054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055   (exit $ac_status); }; } &&
57056          { ac_try='test -s conftest.$ac_objext'
57057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57058   (eval $ac_try) 2>&5
57059   ac_status=$?
57060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57061   (exit $ac_status); }; }; then
57062   glibcxx_cv_func__frexpl_use=yes
57063 else
57064   echo "$as_me: failed program was:" >&5
57065 sed 's/^/| /' conftest.$ac_ext >&5
57066
57067 glibcxx_cv_func__frexpl_use=no
57068 fi
57069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57070       ac_ext=c
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075
57076
57077 fi
57078
57079   fi
57080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57081 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57082
57083     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57084
57085 for ac_func in _frexpl
57086 do
57087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57088 echo "$as_me:$LINENO: checking for $ac_func" >&5
57089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57090 if eval "test \"\${$as_ac_var+set}\" = set"; then
57091   echo $ECHO_N "(cached) $ECHO_C" >&6
57092 else
57093   if test x$gcc_no_link = xyes; then
57094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57096    { (exit 1); exit 1; }; }
57097 fi
57098 cat >conftest.$ac_ext <<_ACEOF
57099 /* confdefs.h.  */
57100 _ACEOF
57101 cat confdefs.h >>conftest.$ac_ext
57102 cat >>conftest.$ac_ext <<_ACEOF
57103 /* end confdefs.h.  */
57104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57106 #define $ac_func innocuous_$ac_func
57107
57108 /* System header to define __stub macros and hopefully few prototypes,
57109     which can conflict with char $ac_func (); below.
57110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57111     <limits.h> exists even on freestanding compilers.  */
57112
57113 #ifdef __STDC__
57114 # include <limits.h>
57115 #else
57116 # include <assert.h>
57117 #endif
57118
57119 #undef $ac_func
57120
57121 /* Override any gcc2 internal prototype to avoid an error.  */
57122 #ifdef __cplusplus
57123 extern "C"
57124 {
57125 #endif
57126 /* We use char because int might match the return type of a gcc2
57127    builtin and then its argument prototype would still apply.  */
57128 char $ac_func ();
57129 /* The GNU C library defines this for functions which it implements
57130     to always fail with ENOSYS.  Some functions are actually named
57131     something starting with __ and the normal name is an alias.  */
57132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57133 choke me
57134 #else
57135 char (*f) () = $ac_func;
57136 #endif
57137 #ifdef __cplusplus
57138 }
57139 #endif
57140
57141 int
57142 main ()
57143 {
57144 return f != $ac_func;
57145   ;
57146   return 0;
57147 }
57148 _ACEOF
57149 rm -f conftest.$ac_objext conftest$ac_exeext
57150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57151   (eval $ac_link) 2>conftest.er1
57152   ac_status=$?
57153   grep -v '^ *+' conftest.er1 >conftest.err
57154   rm -f conftest.er1
57155   cat conftest.err >&5
57156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57157   (exit $ac_status); } &&
57158          { ac_try='test -z "$ac_c_werror_flag"
57159                          || test ! -s conftest.err'
57160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161   (eval $ac_try) 2>&5
57162   ac_status=$?
57163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164   (exit $ac_status); }; } &&
57165          { ac_try='test -s conftest$ac_exeext'
57166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57167   (eval $ac_try) 2>&5
57168   ac_status=$?
57169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170   (exit $ac_status); }; }; then
57171   eval "$as_ac_var=yes"
57172 else
57173   echo "$as_me: failed program was:" >&5
57174 sed 's/^/| /' conftest.$ac_ext >&5
57175
57176 eval "$as_ac_var=no"
57177 fi
57178 rm -f conftest.err conftest.$ac_objext \
57179       conftest$ac_exeext conftest.$ac_ext
57180 fi
57181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57183 if test `eval echo '${'$as_ac_var'}'` = yes; then
57184   cat >>confdefs.h <<_ACEOF
57185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57186 _ACEOF
57187
57188 fi
57189 done
57190
57191     fi
57192   fi
57193
57194
57195
57196
57197
57198
57199   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57200 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57201   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57202     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57203   echo $ECHO_N "(cached) $ECHO_C" >&6
57204 else
57205
57206
57207
57208       ac_ext=cc
57209 ac_cpp='$CXXCPP $CPPFLAGS'
57210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57213
57214       cat >conftest.$ac_ext <<_ACEOF
57215 /* confdefs.h.  */
57216 _ACEOF
57217 cat confdefs.h >>conftest.$ac_ext
57218 cat >>conftest.$ac_ext <<_ACEOF
57219 /* end confdefs.h.  */
57220 #include <math.h>
57221 int
57222 main ()
57223 {
57224  hypotl(0, 0);
57225   ;
57226   return 0;
57227 }
57228 _ACEOF
57229 rm -f conftest.$ac_objext
57230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57231   (eval $ac_compile) 2>conftest.er1
57232   ac_status=$?
57233   grep -v '^ *+' conftest.er1 >conftest.err
57234   rm -f conftest.er1
57235   cat conftest.err >&5
57236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57237   (exit $ac_status); } &&
57238          { ac_try='test -z "$ac_cxx_werror_flag"
57239                          || test ! -s conftest.err'
57240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57241   (eval $ac_try) 2>&5
57242   ac_status=$?
57243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244   (exit $ac_status); }; } &&
57245          { ac_try='test -s conftest.$ac_objext'
57246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57247   (eval $ac_try) 2>&5
57248   ac_status=$?
57249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57250   (exit $ac_status); }; }; then
57251   glibcxx_cv_func_hypotl_use=yes
57252 else
57253   echo "$as_me: failed program was:" >&5
57254 sed 's/^/| /' conftest.$ac_ext >&5
57255
57256 glibcxx_cv_func_hypotl_use=no
57257 fi
57258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57259       ac_ext=c
57260 ac_cpp='$CPP $CPPFLAGS'
57261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57264
57265
57266 fi
57267
57268   fi
57269   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57270 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57271
57272   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57273
57274 for ac_func in hypotl
57275 do
57276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57277 echo "$as_me:$LINENO: checking for $ac_func" >&5
57278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57279 if eval "test \"\${$as_ac_var+set}\" = set"; then
57280   echo $ECHO_N "(cached) $ECHO_C" >&6
57281 else
57282   if test x$gcc_no_link = xyes; then
57283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57285    { (exit 1); exit 1; }; }
57286 fi
57287 cat >conftest.$ac_ext <<_ACEOF
57288 /* confdefs.h.  */
57289 _ACEOF
57290 cat confdefs.h >>conftest.$ac_ext
57291 cat >>conftest.$ac_ext <<_ACEOF
57292 /* end confdefs.h.  */
57293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57295 #define $ac_func innocuous_$ac_func
57296
57297 /* System header to define __stub macros and hopefully few prototypes,
57298     which can conflict with char $ac_func (); below.
57299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57300     <limits.h> exists even on freestanding compilers.  */
57301
57302 #ifdef __STDC__
57303 # include <limits.h>
57304 #else
57305 # include <assert.h>
57306 #endif
57307
57308 #undef $ac_func
57309
57310 /* Override any gcc2 internal prototype to avoid an error.  */
57311 #ifdef __cplusplus
57312 extern "C"
57313 {
57314 #endif
57315 /* We use char because int might match the return type of a gcc2
57316    builtin and then its argument prototype would still apply.  */
57317 char $ac_func ();
57318 /* The GNU C library defines this for functions which it implements
57319     to always fail with ENOSYS.  Some functions are actually named
57320     something starting with __ and the normal name is an alias.  */
57321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57322 choke me
57323 #else
57324 char (*f) () = $ac_func;
57325 #endif
57326 #ifdef __cplusplus
57327 }
57328 #endif
57329
57330 int
57331 main ()
57332 {
57333 return f != $ac_func;
57334   ;
57335   return 0;
57336 }
57337 _ACEOF
57338 rm -f conftest.$ac_objext conftest$ac_exeext
57339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57340   (eval $ac_link) 2>conftest.er1
57341   ac_status=$?
57342   grep -v '^ *+' conftest.er1 >conftest.err
57343   rm -f conftest.er1
57344   cat conftest.err >&5
57345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57346   (exit $ac_status); } &&
57347          { ac_try='test -z "$ac_c_werror_flag"
57348                          || test ! -s conftest.err'
57349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57350   (eval $ac_try) 2>&5
57351   ac_status=$?
57352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57353   (exit $ac_status); }; } &&
57354          { ac_try='test -s conftest$ac_exeext'
57355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57356   (eval $ac_try) 2>&5
57357   ac_status=$?
57358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57359   (exit $ac_status); }; }; then
57360   eval "$as_ac_var=yes"
57361 else
57362   echo "$as_me: failed program was:" >&5
57363 sed 's/^/| /' conftest.$ac_ext >&5
57364
57365 eval "$as_ac_var=no"
57366 fi
57367 rm -f conftest.err conftest.$ac_objext \
57368       conftest$ac_exeext conftest.$ac_ext
57369 fi
57370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57372 if test `eval echo '${'$as_ac_var'}'` = yes; then
57373   cat >>confdefs.h <<_ACEOF
57374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380   else
57381
57382   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57383 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57384   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57385     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57386   echo $ECHO_N "(cached) $ECHO_C" >&6
57387 else
57388
57389
57390
57391       ac_ext=cc
57392 ac_cpp='$CXXCPP $CPPFLAGS'
57393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57396
57397       cat >conftest.$ac_ext <<_ACEOF
57398 /* confdefs.h.  */
57399 _ACEOF
57400 cat confdefs.h >>conftest.$ac_ext
57401 cat >>conftest.$ac_ext <<_ACEOF
57402 /* end confdefs.h.  */
57403 #include <math.h>
57404 int
57405 main ()
57406 {
57407  _hypotl(0, 0);
57408   ;
57409   return 0;
57410 }
57411 _ACEOF
57412 rm -f conftest.$ac_objext
57413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57414   (eval $ac_compile) 2>conftest.er1
57415   ac_status=$?
57416   grep -v '^ *+' conftest.er1 >conftest.err
57417   rm -f conftest.er1
57418   cat conftest.err >&5
57419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57420   (exit $ac_status); } &&
57421          { ac_try='test -z "$ac_cxx_werror_flag"
57422                          || test ! -s conftest.err'
57423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57424   (eval $ac_try) 2>&5
57425   ac_status=$?
57426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57427   (exit $ac_status); }; } &&
57428          { ac_try='test -s conftest.$ac_objext'
57429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57430   (eval $ac_try) 2>&5
57431   ac_status=$?
57432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433   (exit $ac_status); }; }; then
57434   glibcxx_cv_func__hypotl_use=yes
57435 else
57436   echo "$as_me: failed program was:" >&5
57437 sed 's/^/| /' conftest.$ac_ext >&5
57438
57439 glibcxx_cv_func__hypotl_use=no
57440 fi
57441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57442       ac_ext=c
57443 ac_cpp='$CPP $CPPFLAGS'
57444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57447
57448
57449 fi
57450
57451   fi
57452   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57453 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57454
57455     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57456
57457 for ac_func in _hypotl
57458 do
57459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57460 echo "$as_me:$LINENO: checking for $ac_func" >&5
57461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57462 if eval "test \"\${$as_ac_var+set}\" = set"; then
57463   echo $ECHO_N "(cached) $ECHO_C" >&6
57464 else
57465   if test x$gcc_no_link = xyes; then
57466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57468    { (exit 1); exit 1; }; }
57469 fi
57470 cat >conftest.$ac_ext <<_ACEOF
57471 /* confdefs.h.  */
57472 _ACEOF
57473 cat confdefs.h >>conftest.$ac_ext
57474 cat >>conftest.$ac_ext <<_ACEOF
57475 /* end confdefs.h.  */
57476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57478 #define $ac_func innocuous_$ac_func
57479
57480 /* System header to define __stub macros and hopefully few prototypes,
57481     which can conflict with char $ac_func (); below.
57482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57483     <limits.h> exists even on freestanding compilers.  */
57484
57485 #ifdef __STDC__
57486 # include <limits.h>
57487 #else
57488 # include <assert.h>
57489 #endif
57490
57491 #undef $ac_func
57492
57493 /* Override any gcc2 internal prototype to avoid an error.  */
57494 #ifdef __cplusplus
57495 extern "C"
57496 {
57497 #endif
57498 /* We use char because int might match the return type of a gcc2
57499    builtin and then its argument prototype would still apply.  */
57500 char $ac_func ();
57501 /* The GNU C library defines this for functions which it implements
57502     to always fail with ENOSYS.  Some functions are actually named
57503     something starting with __ and the normal name is an alias.  */
57504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57505 choke me
57506 #else
57507 char (*f) () = $ac_func;
57508 #endif
57509 #ifdef __cplusplus
57510 }
57511 #endif
57512
57513 int
57514 main ()
57515 {
57516 return f != $ac_func;
57517   ;
57518   return 0;
57519 }
57520 _ACEOF
57521 rm -f conftest.$ac_objext conftest$ac_exeext
57522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57523   (eval $ac_link) 2>conftest.er1
57524   ac_status=$?
57525   grep -v '^ *+' conftest.er1 >conftest.err
57526   rm -f conftest.er1
57527   cat conftest.err >&5
57528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57529   (exit $ac_status); } &&
57530          { ac_try='test -z "$ac_c_werror_flag"
57531                          || test ! -s conftest.err'
57532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57533   (eval $ac_try) 2>&5
57534   ac_status=$?
57535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57536   (exit $ac_status); }; } &&
57537          { ac_try='test -s conftest$ac_exeext'
57538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57539   (eval $ac_try) 2>&5
57540   ac_status=$?
57541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57542   (exit $ac_status); }; }; then
57543   eval "$as_ac_var=yes"
57544 else
57545   echo "$as_me: failed program was:" >&5
57546 sed 's/^/| /' conftest.$ac_ext >&5
57547
57548 eval "$as_ac_var=no"
57549 fi
57550 rm -f conftest.err conftest.$ac_objext \
57551       conftest$ac_exeext conftest.$ac_ext
57552 fi
57553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57555 if test `eval echo '${'$as_ac_var'}'` = yes; then
57556   cat >>confdefs.h <<_ACEOF
57557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57558 _ACEOF
57559
57560 fi
57561 done
57562
57563     fi
57564   fi
57565
57566
57567
57568
57569
57570
57571   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57572 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57573   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57574     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57575   echo $ECHO_N "(cached) $ECHO_C" >&6
57576 else
57577
57578
57579
57580       ac_ext=cc
57581 ac_cpp='$CXXCPP $CPPFLAGS'
57582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57585
57586       cat >conftest.$ac_ext <<_ACEOF
57587 /* confdefs.h.  */
57588 _ACEOF
57589 cat confdefs.h >>conftest.$ac_ext
57590 cat >>conftest.$ac_ext <<_ACEOF
57591 /* end confdefs.h.  */
57592 #include <math.h>
57593 int
57594 main ()
57595 {
57596  ldexpl(0, 0);
57597   ;
57598   return 0;
57599 }
57600 _ACEOF
57601 rm -f conftest.$ac_objext
57602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57603   (eval $ac_compile) 2>conftest.er1
57604   ac_status=$?
57605   grep -v '^ *+' conftest.er1 >conftest.err
57606   rm -f conftest.er1
57607   cat conftest.err >&5
57608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57609   (exit $ac_status); } &&
57610          { ac_try='test -z "$ac_cxx_werror_flag"
57611                          || test ! -s conftest.err'
57612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613   (eval $ac_try) 2>&5
57614   ac_status=$?
57615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616   (exit $ac_status); }; } &&
57617          { ac_try='test -s conftest.$ac_objext'
57618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57619   (eval $ac_try) 2>&5
57620   ac_status=$?
57621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622   (exit $ac_status); }; }; then
57623   glibcxx_cv_func_ldexpl_use=yes
57624 else
57625   echo "$as_me: failed program was:" >&5
57626 sed 's/^/| /' conftest.$ac_ext >&5
57627
57628 glibcxx_cv_func_ldexpl_use=no
57629 fi
57630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57631       ac_ext=c
57632 ac_cpp='$CPP $CPPFLAGS'
57633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57636
57637
57638 fi
57639
57640   fi
57641   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57642 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57643
57644   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57645
57646 for ac_func in ldexpl
57647 do
57648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57649 echo "$as_me:$LINENO: checking for $ac_func" >&5
57650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57651 if eval "test \"\${$as_ac_var+set}\" = set"; then
57652   echo $ECHO_N "(cached) $ECHO_C" >&6
57653 else
57654   if test x$gcc_no_link = xyes; then
57655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57657    { (exit 1); exit 1; }; }
57658 fi
57659 cat >conftest.$ac_ext <<_ACEOF
57660 /* confdefs.h.  */
57661 _ACEOF
57662 cat confdefs.h >>conftest.$ac_ext
57663 cat >>conftest.$ac_ext <<_ACEOF
57664 /* end confdefs.h.  */
57665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57667 #define $ac_func innocuous_$ac_func
57668
57669 /* System header to define __stub macros and hopefully few prototypes,
57670     which can conflict with char $ac_func (); below.
57671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57672     <limits.h> exists even on freestanding compilers.  */
57673
57674 #ifdef __STDC__
57675 # include <limits.h>
57676 #else
57677 # include <assert.h>
57678 #endif
57679
57680 #undef $ac_func
57681
57682 /* Override any gcc2 internal prototype to avoid an error.  */
57683 #ifdef __cplusplus
57684 extern "C"
57685 {
57686 #endif
57687 /* We use char because int might match the return type of a gcc2
57688    builtin and then its argument prototype would still apply.  */
57689 char $ac_func ();
57690 /* The GNU C library defines this for functions which it implements
57691     to always fail with ENOSYS.  Some functions are actually named
57692     something starting with __ and the normal name is an alias.  */
57693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57694 choke me
57695 #else
57696 char (*f) () = $ac_func;
57697 #endif
57698 #ifdef __cplusplus
57699 }
57700 #endif
57701
57702 int
57703 main ()
57704 {
57705 return f != $ac_func;
57706   ;
57707   return 0;
57708 }
57709 _ACEOF
57710 rm -f conftest.$ac_objext conftest$ac_exeext
57711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57712   (eval $ac_link) 2>conftest.er1
57713   ac_status=$?
57714   grep -v '^ *+' conftest.er1 >conftest.err
57715   rm -f conftest.er1
57716   cat conftest.err >&5
57717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57718   (exit $ac_status); } &&
57719          { ac_try='test -z "$ac_c_werror_flag"
57720                          || test ! -s conftest.err'
57721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57722   (eval $ac_try) 2>&5
57723   ac_status=$?
57724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57725   (exit $ac_status); }; } &&
57726          { ac_try='test -s conftest$ac_exeext'
57727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57728   (eval $ac_try) 2>&5
57729   ac_status=$?
57730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57731   (exit $ac_status); }; }; then
57732   eval "$as_ac_var=yes"
57733 else
57734   echo "$as_me: failed program was:" >&5
57735 sed 's/^/| /' conftest.$ac_ext >&5
57736
57737 eval "$as_ac_var=no"
57738 fi
57739 rm -f conftest.err conftest.$ac_objext \
57740       conftest$ac_exeext conftest.$ac_ext
57741 fi
57742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57744 if test `eval echo '${'$as_ac_var'}'` = yes; then
57745   cat >>confdefs.h <<_ACEOF
57746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57747 _ACEOF
57748
57749 fi
57750 done
57751
57752   else
57753
57754   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57755 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57756   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57757     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57758   echo $ECHO_N "(cached) $ECHO_C" >&6
57759 else
57760
57761
57762
57763       ac_ext=cc
57764 ac_cpp='$CXXCPP $CPPFLAGS'
57765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57768
57769       cat >conftest.$ac_ext <<_ACEOF
57770 /* confdefs.h.  */
57771 _ACEOF
57772 cat confdefs.h >>conftest.$ac_ext
57773 cat >>conftest.$ac_ext <<_ACEOF
57774 /* end confdefs.h.  */
57775 #include <math.h>
57776 int
57777 main ()
57778 {
57779  _ldexpl(0, 0);
57780   ;
57781   return 0;
57782 }
57783 _ACEOF
57784 rm -f conftest.$ac_objext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57786   (eval $ac_compile) 2>conftest.er1
57787   ac_status=$?
57788   grep -v '^ *+' conftest.er1 >conftest.err
57789   rm -f conftest.er1
57790   cat conftest.err >&5
57791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57792   (exit $ac_status); } &&
57793          { ac_try='test -z "$ac_cxx_werror_flag"
57794                          || test ! -s conftest.err'
57795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57796   (eval $ac_try) 2>&5
57797   ac_status=$?
57798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57799   (exit $ac_status); }; } &&
57800          { ac_try='test -s conftest.$ac_objext'
57801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57802   (eval $ac_try) 2>&5
57803   ac_status=$?
57804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805   (exit $ac_status); }; }; then
57806   glibcxx_cv_func__ldexpl_use=yes
57807 else
57808   echo "$as_me: failed program was:" >&5
57809 sed 's/^/| /' conftest.$ac_ext >&5
57810
57811 glibcxx_cv_func__ldexpl_use=no
57812 fi
57813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57814       ac_ext=c
57815 ac_cpp='$CPP $CPPFLAGS'
57816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57819
57820
57821 fi
57822
57823   fi
57824   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57825 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57826
57827     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57828
57829 for ac_func in _ldexpl
57830 do
57831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57832 echo "$as_me:$LINENO: checking for $ac_func" >&5
57833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57834 if eval "test \"\${$as_ac_var+set}\" = set"; then
57835   echo $ECHO_N "(cached) $ECHO_C" >&6
57836 else
57837   if test x$gcc_no_link = xyes; then
57838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57840    { (exit 1); exit 1; }; }
57841 fi
57842 cat >conftest.$ac_ext <<_ACEOF
57843 /* confdefs.h.  */
57844 _ACEOF
57845 cat confdefs.h >>conftest.$ac_ext
57846 cat >>conftest.$ac_ext <<_ACEOF
57847 /* end confdefs.h.  */
57848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57850 #define $ac_func innocuous_$ac_func
57851
57852 /* System header to define __stub macros and hopefully few prototypes,
57853     which can conflict with char $ac_func (); below.
57854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57855     <limits.h> exists even on freestanding compilers.  */
57856
57857 #ifdef __STDC__
57858 # include <limits.h>
57859 #else
57860 # include <assert.h>
57861 #endif
57862
57863 #undef $ac_func
57864
57865 /* Override any gcc2 internal prototype to avoid an error.  */
57866 #ifdef __cplusplus
57867 extern "C"
57868 {
57869 #endif
57870 /* We use char because int might match the return type of a gcc2
57871    builtin and then its argument prototype would still apply.  */
57872 char $ac_func ();
57873 /* The GNU C library defines this for functions which it implements
57874     to always fail with ENOSYS.  Some functions are actually named
57875     something starting with __ and the normal name is an alias.  */
57876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57877 choke me
57878 #else
57879 char (*f) () = $ac_func;
57880 #endif
57881 #ifdef __cplusplus
57882 }
57883 #endif
57884
57885 int
57886 main ()
57887 {
57888 return f != $ac_func;
57889   ;
57890   return 0;
57891 }
57892 _ACEOF
57893 rm -f conftest.$ac_objext conftest$ac_exeext
57894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57895   (eval $ac_link) 2>conftest.er1
57896   ac_status=$?
57897   grep -v '^ *+' conftest.er1 >conftest.err
57898   rm -f conftest.er1
57899   cat conftest.err >&5
57900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57901   (exit $ac_status); } &&
57902          { ac_try='test -z "$ac_c_werror_flag"
57903                          || test ! -s conftest.err'
57904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57905   (eval $ac_try) 2>&5
57906   ac_status=$?
57907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57908   (exit $ac_status); }; } &&
57909          { ac_try='test -s conftest$ac_exeext'
57910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57911   (eval $ac_try) 2>&5
57912   ac_status=$?
57913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57914   (exit $ac_status); }; }; then
57915   eval "$as_ac_var=yes"
57916 else
57917   echo "$as_me: failed program was:" >&5
57918 sed 's/^/| /' conftest.$ac_ext >&5
57919
57920 eval "$as_ac_var=no"
57921 fi
57922 rm -f conftest.err conftest.$ac_objext \
57923       conftest$ac_exeext conftest.$ac_ext
57924 fi
57925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57927 if test `eval echo '${'$as_ac_var'}'` = yes; then
57928   cat >>confdefs.h <<_ACEOF
57929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57930 _ACEOF
57931
57932 fi
57933 done
57934
57935     fi
57936   fi
57937
57938
57939
57940
57941
57942
57943   echo "$as_me:$LINENO: checking for logl declaration" >&5
57944 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57945   if test x${glibcxx_cv_func_logl_use+set} != xset; then
57946     if test "${glibcxx_cv_func_logl_use+set}" = set; then
57947   echo $ECHO_N "(cached) $ECHO_C" >&6
57948 else
57949
57950
57951
57952       ac_ext=cc
57953 ac_cpp='$CXXCPP $CPPFLAGS'
57954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57957
57958       cat >conftest.$ac_ext <<_ACEOF
57959 /* confdefs.h.  */
57960 _ACEOF
57961 cat confdefs.h >>conftest.$ac_ext
57962 cat >>conftest.$ac_ext <<_ACEOF
57963 /* end confdefs.h.  */
57964 #include <math.h>
57965                       #ifdef HAVE_IEEEFP_H
57966                       #include <ieeefp.h>
57967                       #endif
57968
57969 int
57970 main ()
57971 {
57972  logl(0);
57973   ;
57974   return 0;
57975 }
57976 _ACEOF
57977 rm -f conftest.$ac_objext
57978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57979   (eval $ac_compile) 2>conftest.er1
57980   ac_status=$?
57981   grep -v '^ *+' conftest.er1 >conftest.err
57982   rm -f conftest.er1
57983   cat conftest.err >&5
57984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57985   (exit $ac_status); } &&
57986          { ac_try='test -z "$ac_cxx_werror_flag"
57987                          || test ! -s conftest.err'
57988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57989   (eval $ac_try) 2>&5
57990   ac_status=$?
57991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57992   (exit $ac_status); }; } &&
57993          { ac_try='test -s conftest.$ac_objext'
57994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57995   (eval $ac_try) 2>&5
57996   ac_status=$?
57997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998   (exit $ac_status); }; }; then
57999   glibcxx_cv_func_logl_use=yes
58000 else
58001   echo "$as_me: failed program was:" >&5
58002 sed 's/^/| /' conftest.$ac_ext >&5
58003
58004 glibcxx_cv_func_logl_use=no
58005 fi
58006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58007       ac_ext=c
58008 ac_cpp='$CPP $CPPFLAGS'
58009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58012
58013
58014 fi
58015
58016   fi
58017   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58018 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58019
58020   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58021
58022 for ac_func in logl
58023 do
58024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58025 echo "$as_me:$LINENO: checking for $ac_func" >&5
58026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58027 if eval "test \"\${$as_ac_var+set}\" = set"; then
58028   echo $ECHO_N "(cached) $ECHO_C" >&6
58029 else
58030   if test x$gcc_no_link = xyes; then
58031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58033    { (exit 1); exit 1; }; }
58034 fi
58035 cat >conftest.$ac_ext <<_ACEOF
58036 /* confdefs.h.  */
58037 _ACEOF
58038 cat confdefs.h >>conftest.$ac_ext
58039 cat >>conftest.$ac_ext <<_ACEOF
58040 /* end confdefs.h.  */
58041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58043 #define $ac_func innocuous_$ac_func
58044
58045 /* System header to define __stub macros and hopefully few prototypes,
58046     which can conflict with char $ac_func (); below.
58047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58048     <limits.h> exists even on freestanding compilers.  */
58049
58050 #ifdef __STDC__
58051 # include <limits.h>
58052 #else
58053 # include <assert.h>
58054 #endif
58055
58056 #undef $ac_func
58057
58058 /* Override any gcc2 internal prototype to avoid an error.  */
58059 #ifdef __cplusplus
58060 extern "C"
58061 {
58062 #endif
58063 /* We use char because int might match the return type of a gcc2
58064    builtin and then its argument prototype would still apply.  */
58065 char $ac_func ();
58066 /* The GNU C library defines this for functions which it implements
58067     to always fail with ENOSYS.  Some functions are actually named
58068     something starting with __ and the normal name is an alias.  */
58069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58070 choke me
58071 #else
58072 char (*f) () = $ac_func;
58073 #endif
58074 #ifdef __cplusplus
58075 }
58076 #endif
58077
58078 int
58079 main ()
58080 {
58081 return f != $ac_func;
58082   ;
58083   return 0;
58084 }
58085 _ACEOF
58086 rm -f conftest.$ac_objext conftest$ac_exeext
58087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58088   (eval $ac_link) 2>conftest.er1
58089   ac_status=$?
58090   grep -v '^ *+' conftest.er1 >conftest.err
58091   rm -f conftest.er1
58092   cat conftest.err >&5
58093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58094   (exit $ac_status); } &&
58095          { ac_try='test -z "$ac_c_werror_flag"
58096                          || test ! -s conftest.err'
58097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58098   (eval $ac_try) 2>&5
58099   ac_status=$?
58100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58101   (exit $ac_status); }; } &&
58102          { ac_try='test -s conftest$ac_exeext'
58103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58104   (eval $ac_try) 2>&5
58105   ac_status=$?
58106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58107   (exit $ac_status); }; }; then
58108   eval "$as_ac_var=yes"
58109 else
58110   echo "$as_me: failed program was:" >&5
58111 sed 's/^/| /' conftest.$ac_ext >&5
58112
58113 eval "$as_ac_var=no"
58114 fi
58115 rm -f conftest.err conftest.$ac_objext \
58116       conftest$ac_exeext conftest.$ac_ext
58117 fi
58118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58120 if test `eval echo '${'$as_ac_var'}'` = yes; then
58121   cat >>confdefs.h <<_ACEOF
58122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58123 _ACEOF
58124
58125 fi
58126 done
58127
58128   else
58129
58130   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58131 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58132   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58133     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58134   echo $ECHO_N "(cached) $ECHO_C" >&6
58135 else
58136
58137
58138
58139       ac_ext=cc
58140 ac_cpp='$CXXCPP $CPPFLAGS'
58141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58144
58145       cat >conftest.$ac_ext <<_ACEOF
58146 /* confdefs.h.  */
58147 _ACEOF
58148 cat confdefs.h >>conftest.$ac_ext
58149 cat >>conftest.$ac_ext <<_ACEOF
58150 /* end confdefs.h.  */
58151 #include <math.h>
58152                       #ifdef HAVE_IEEEFP_H
58153                       #include <ieeefp.h>
58154                       #endif
58155
58156 int
58157 main ()
58158 {
58159  _logl(0);
58160   ;
58161   return 0;
58162 }
58163 _ACEOF
58164 rm -f conftest.$ac_objext
58165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58166   (eval $ac_compile) 2>conftest.er1
58167   ac_status=$?
58168   grep -v '^ *+' conftest.er1 >conftest.err
58169   rm -f conftest.er1
58170   cat conftest.err >&5
58171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58172   (exit $ac_status); } &&
58173          { ac_try='test -z "$ac_cxx_werror_flag"
58174                          || test ! -s conftest.err'
58175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58176   (eval $ac_try) 2>&5
58177   ac_status=$?
58178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58179   (exit $ac_status); }; } &&
58180          { ac_try='test -s conftest.$ac_objext'
58181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58182   (eval $ac_try) 2>&5
58183   ac_status=$?
58184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185   (exit $ac_status); }; }; then
58186   glibcxx_cv_func__logl_use=yes
58187 else
58188   echo "$as_me: failed program was:" >&5
58189 sed 's/^/| /' conftest.$ac_ext >&5
58190
58191 glibcxx_cv_func__logl_use=no
58192 fi
58193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58194       ac_ext=c
58195 ac_cpp='$CPP $CPPFLAGS'
58196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199
58200
58201 fi
58202
58203   fi
58204   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58205 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58206
58207     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58208
58209 for ac_func in _logl
58210 do
58211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58212 echo "$as_me:$LINENO: checking for $ac_func" >&5
58213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58214 if eval "test \"\${$as_ac_var+set}\" = set"; then
58215   echo $ECHO_N "(cached) $ECHO_C" >&6
58216 else
58217   if test x$gcc_no_link = xyes; then
58218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58220    { (exit 1); exit 1; }; }
58221 fi
58222 cat >conftest.$ac_ext <<_ACEOF
58223 /* confdefs.h.  */
58224 _ACEOF
58225 cat confdefs.h >>conftest.$ac_ext
58226 cat >>conftest.$ac_ext <<_ACEOF
58227 /* end confdefs.h.  */
58228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58230 #define $ac_func innocuous_$ac_func
58231
58232 /* System header to define __stub macros and hopefully few prototypes,
58233     which can conflict with char $ac_func (); below.
58234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58235     <limits.h> exists even on freestanding compilers.  */
58236
58237 #ifdef __STDC__
58238 # include <limits.h>
58239 #else
58240 # include <assert.h>
58241 #endif
58242
58243 #undef $ac_func
58244
58245 /* Override any gcc2 internal prototype to avoid an error.  */
58246 #ifdef __cplusplus
58247 extern "C"
58248 {
58249 #endif
58250 /* We use char because int might match the return type of a gcc2
58251    builtin and then its argument prototype would still apply.  */
58252 char $ac_func ();
58253 /* The GNU C library defines this for functions which it implements
58254     to always fail with ENOSYS.  Some functions are actually named
58255     something starting with __ and the normal name is an alias.  */
58256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58257 choke me
58258 #else
58259 char (*f) () = $ac_func;
58260 #endif
58261 #ifdef __cplusplus
58262 }
58263 #endif
58264
58265 int
58266 main ()
58267 {
58268 return f != $ac_func;
58269   ;
58270   return 0;
58271 }
58272 _ACEOF
58273 rm -f conftest.$ac_objext conftest$ac_exeext
58274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58275   (eval $ac_link) 2>conftest.er1
58276   ac_status=$?
58277   grep -v '^ *+' conftest.er1 >conftest.err
58278   rm -f conftest.er1
58279   cat conftest.err >&5
58280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281   (exit $ac_status); } &&
58282          { ac_try='test -z "$ac_c_werror_flag"
58283                          || test ! -s conftest.err'
58284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58285   (eval $ac_try) 2>&5
58286   ac_status=$?
58287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288   (exit $ac_status); }; } &&
58289          { ac_try='test -s conftest$ac_exeext'
58290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58291   (eval $ac_try) 2>&5
58292   ac_status=$?
58293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58294   (exit $ac_status); }; }; then
58295   eval "$as_ac_var=yes"
58296 else
58297   echo "$as_me: failed program was:" >&5
58298 sed 's/^/| /' conftest.$ac_ext >&5
58299
58300 eval "$as_ac_var=no"
58301 fi
58302 rm -f conftest.err conftest.$ac_objext \
58303       conftest$ac_exeext conftest.$ac_ext
58304 fi
58305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58307 if test `eval echo '${'$as_ac_var'}'` = yes; then
58308   cat >>confdefs.h <<_ACEOF
58309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58310 _ACEOF
58311
58312 fi
58313 done
58314
58315     fi
58316   fi
58317
58318
58319
58320
58321
58322
58323   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58324 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58325   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58326     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58327   echo $ECHO_N "(cached) $ECHO_C" >&6
58328 else
58329
58330
58331
58332       ac_ext=cc
58333 ac_cpp='$CXXCPP $CPPFLAGS'
58334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58337
58338       cat >conftest.$ac_ext <<_ACEOF
58339 /* confdefs.h.  */
58340 _ACEOF
58341 cat confdefs.h >>conftest.$ac_ext
58342 cat >>conftest.$ac_ext <<_ACEOF
58343 /* end confdefs.h.  */
58344 #include <math.h>
58345                       #ifdef HAVE_IEEEFP_H
58346                       #include <ieeefp.h>
58347                       #endif
58348
58349 int
58350 main ()
58351 {
58352  log10l(0);
58353   ;
58354   return 0;
58355 }
58356 _ACEOF
58357 rm -f conftest.$ac_objext
58358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58359   (eval $ac_compile) 2>conftest.er1
58360   ac_status=$?
58361   grep -v '^ *+' conftest.er1 >conftest.err
58362   rm -f conftest.er1
58363   cat conftest.err >&5
58364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58365   (exit $ac_status); } &&
58366          { ac_try='test -z "$ac_cxx_werror_flag"
58367                          || test ! -s conftest.err'
58368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58369   (eval $ac_try) 2>&5
58370   ac_status=$?
58371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58372   (exit $ac_status); }; } &&
58373          { ac_try='test -s conftest.$ac_objext'
58374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58375   (eval $ac_try) 2>&5
58376   ac_status=$?
58377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58378   (exit $ac_status); }; }; then
58379   glibcxx_cv_func_log10l_use=yes
58380 else
58381   echo "$as_me: failed program was:" >&5
58382 sed 's/^/| /' conftest.$ac_ext >&5
58383
58384 glibcxx_cv_func_log10l_use=no
58385 fi
58386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58387       ac_ext=c
58388 ac_cpp='$CPP $CPPFLAGS'
58389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58392
58393
58394 fi
58395
58396   fi
58397   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58398 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58399
58400   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58401
58402 for ac_func in log10l
58403 do
58404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58405 echo "$as_me:$LINENO: checking for $ac_func" >&5
58406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58407 if eval "test \"\${$as_ac_var+set}\" = set"; then
58408   echo $ECHO_N "(cached) $ECHO_C" >&6
58409 else
58410   if test x$gcc_no_link = xyes; then
58411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58413    { (exit 1); exit 1; }; }
58414 fi
58415 cat >conftest.$ac_ext <<_ACEOF
58416 /* confdefs.h.  */
58417 _ACEOF
58418 cat confdefs.h >>conftest.$ac_ext
58419 cat >>conftest.$ac_ext <<_ACEOF
58420 /* end confdefs.h.  */
58421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58423 #define $ac_func innocuous_$ac_func
58424
58425 /* System header to define __stub macros and hopefully few prototypes,
58426     which can conflict with char $ac_func (); below.
58427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58428     <limits.h> exists even on freestanding compilers.  */
58429
58430 #ifdef __STDC__
58431 # include <limits.h>
58432 #else
58433 # include <assert.h>
58434 #endif
58435
58436 #undef $ac_func
58437
58438 /* Override any gcc2 internal prototype to avoid an error.  */
58439 #ifdef __cplusplus
58440 extern "C"
58441 {
58442 #endif
58443 /* We use char because int might match the return type of a gcc2
58444    builtin and then its argument prototype would still apply.  */
58445 char $ac_func ();
58446 /* The GNU C library defines this for functions which it implements
58447     to always fail with ENOSYS.  Some functions are actually named
58448     something starting with __ and the normal name is an alias.  */
58449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58450 choke me
58451 #else
58452 char (*f) () = $ac_func;
58453 #endif
58454 #ifdef __cplusplus
58455 }
58456 #endif
58457
58458 int
58459 main ()
58460 {
58461 return f != $ac_func;
58462   ;
58463   return 0;
58464 }
58465 _ACEOF
58466 rm -f conftest.$ac_objext conftest$ac_exeext
58467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58468   (eval $ac_link) 2>conftest.er1
58469   ac_status=$?
58470   grep -v '^ *+' conftest.er1 >conftest.err
58471   rm -f conftest.er1
58472   cat conftest.err >&5
58473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58474   (exit $ac_status); } &&
58475          { ac_try='test -z "$ac_c_werror_flag"
58476                          || test ! -s conftest.err'
58477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58478   (eval $ac_try) 2>&5
58479   ac_status=$?
58480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58481   (exit $ac_status); }; } &&
58482          { ac_try='test -s conftest$ac_exeext'
58483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58484   (eval $ac_try) 2>&5
58485   ac_status=$?
58486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58487   (exit $ac_status); }; }; then
58488   eval "$as_ac_var=yes"
58489 else
58490   echo "$as_me: failed program was:" >&5
58491 sed 's/^/| /' conftest.$ac_ext >&5
58492
58493 eval "$as_ac_var=no"
58494 fi
58495 rm -f conftest.err conftest.$ac_objext \
58496       conftest$ac_exeext conftest.$ac_ext
58497 fi
58498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58500 if test `eval echo '${'$as_ac_var'}'` = yes; then
58501   cat >>confdefs.h <<_ACEOF
58502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58503 _ACEOF
58504
58505 fi
58506 done
58507
58508   else
58509
58510   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58511 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58512   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58513     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58514   echo $ECHO_N "(cached) $ECHO_C" >&6
58515 else
58516
58517
58518
58519       ac_ext=cc
58520 ac_cpp='$CXXCPP $CPPFLAGS'
58521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58524
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 #include <math.h>
58532                       #ifdef HAVE_IEEEFP_H
58533                       #include <ieeefp.h>
58534                       #endif
58535
58536 int
58537 main ()
58538 {
58539  _log10l(0);
58540   ;
58541   return 0;
58542 }
58543 _ACEOF
58544 rm -f conftest.$ac_objext
58545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58546   (eval $ac_compile) 2>conftest.er1
58547   ac_status=$?
58548   grep -v '^ *+' conftest.er1 >conftest.err
58549   rm -f conftest.er1
58550   cat conftest.err >&5
58551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58552   (exit $ac_status); } &&
58553          { ac_try='test -z "$ac_cxx_werror_flag"
58554                          || test ! -s conftest.err'
58555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58556   (eval $ac_try) 2>&5
58557   ac_status=$?
58558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58559   (exit $ac_status); }; } &&
58560          { ac_try='test -s conftest.$ac_objext'
58561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58562   (eval $ac_try) 2>&5
58563   ac_status=$?
58564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58565   (exit $ac_status); }; }; then
58566   glibcxx_cv_func__log10l_use=yes
58567 else
58568   echo "$as_me: failed program was:" >&5
58569 sed 's/^/| /' conftest.$ac_ext >&5
58570
58571 glibcxx_cv_func__log10l_use=no
58572 fi
58573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58574       ac_ext=c
58575 ac_cpp='$CPP $CPPFLAGS'
58576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58579
58580
58581 fi
58582
58583   fi
58584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58585 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58586
58587     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58588
58589 for ac_func in _log10l
58590 do
58591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58592 echo "$as_me:$LINENO: checking for $ac_func" >&5
58593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58594 if eval "test \"\${$as_ac_var+set}\" = set"; then
58595   echo $ECHO_N "(cached) $ECHO_C" >&6
58596 else
58597   if test x$gcc_no_link = xyes; then
58598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58600    { (exit 1); exit 1; }; }
58601 fi
58602 cat >conftest.$ac_ext <<_ACEOF
58603 /* confdefs.h.  */
58604 _ACEOF
58605 cat confdefs.h >>conftest.$ac_ext
58606 cat >>conftest.$ac_ext <<_ACEOF
58607 /* end confdefs.h.  */
58608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58610 #define $ac_func innocuous_$ac_func
58611
58612 /* System header to define __stub macros and hopefully few prototypes,
58613     which can conflict with char $ac_func (); below.
58614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58615     <limits.h> exists even on freestanding compilers.  */
58616
58617 #ifdef __STDC__
58618 # include <limits.h>
58619 #else
58620 # include <assert.h>
58621 #endif
58622
58623 #undef $ac_func
58624
58625 /* Override any gcc2 internal prototype to avoid an error.  */
58626 #ifdef __cplusplus
58627 extern "C"
58628 {
58629 #endif
58630 /* We use char because int might match the return type of a gcc2
58631    builtin and then its argument prototype would still apply.  */
58632 char $ac_func ();
58633 /* The GNU C library defines this for functions which it implements
58634     to always fail with ENOSYS.  Some functions are actually named
58635     something starting with __ and the normal name is an alias.  */
58636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58637 choke me
58638 #else
58639 char (*f) () = $ac_func;
58640 #endif
58641 #ifdef __cplusplus
58642 }
58643 #endif
58644
58645 int
58646 main ()
58647 {
58648 return f != $ac_func;
58649   ;
58650   return 0;
58651 }
58652 _ACEOF
58653 rm -f conftest.$ac_objext conftest$ac_exeext
58654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58655   (eval $ac_link) 2>conftest.er1
58656   ac_status=$?
58657   grep -v '^ *+' conftest.er1 >conftest.err
58658   rm -f conftest.er1
58659   cat conftest.err >&5
58660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58661   (exit $ac_status); } &&
58662          { ac_try='test -z "$ac_c_werror_flag"
58663                          || test ! -s conftest.err'
58664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58665   (eval $ac_try) 2>&5
58666   ac_status=$?
58667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58668   (exit $ac_status); }; } &&
58669          { ac_try='test -s conftest$ac_exeext'
58670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58671   (eval $ac_try) 2>&5
58672   ac_status=$?
58673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58674   (exit $ac_status); }; }; then
58675   eval "$as_ac_var=yes"
58676 else
58677   echo "$as_me: failed program was:" >&5
58678 sed 's/^/| /' conftest.$ac_ext >&5
58679
58680 eval "$as_ac_var=no"
58681 fi
58682 rm -f conftest.err conftest.$ac_objext \
58683       conftest$ac_exeext conftest.$ac_ext
58684 fi
58685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58687 if test `eval echo '${'$as_ac_var'}'` = yes; then
58688   cat >>confdefs.h <<_ACEOF
58689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58690 _ACEOF
58691
58692 fi
58693 done
58694
58695     fi
58696   fi
58697
58698
58699
58700
58701
58702
58703   echo "$as_me:$LINENO: checking for modfl declaration" >&5
58704 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58705   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58706     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58707   echo $ECHO_N "(cached) $ECHO_C" >&6
58708 else
58709
58710
58711
58712       ac_ext=cc
58713 ac_cpp='$CXXCPP $CPPFLAGS'
58714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58717
58718       cat >conftest.$ac_ext <<_ACEOF
58719 /* confdefs.h.  */
58720 _ACEOF
58721 cat confdefs.h >>conftest.$ac_ext
58722 cat >>conftest.$ac_ext <<_ACEOF
58723 /* end confdefs.h.  */
58724 #include <math.h>
58725 int
58726 main ()
58727 {
58728  modfl(0, 0);
58729   ;
58730   return 0;
58731 }
58732 _ACEOF
58733 rm -f conftest.$ac_objext
58734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58735   (eval $ac_compile) 2>conftest.er1
58736   ac_status=$?
58737   grep -v '^ *+' conftest.er1 >conftest.err
58738   rm -f conftest.er1
58739   cat conftest.err >&5
58740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58741   (exit $ac_status); } &&
58742          { ac_try='test -z "$ac_cxx_werror_flag"
58743                          || test ! -s conftest.err'
58744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58745   (eval $ac_try) 2>&5
58746   ac_status=$?
58747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58748   (exit $ac_status); }; } &&
58749          { ac_try='test -s conftest.$ac_objext'
58750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58751   (eval $ac_try) 2>&5
58752   ac_status=$?
58753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754   (exit $ac_status); }; }; then
58755   glibcxx_cv_func_modfl_use=yes
58756 else
58757   echo "$as_me: failed program was:" >&5
58758 sed 's/^/| /' conftest.$ac_ext >&5
58759
58760 glibcxx_cv_func_modfl_use=no
58761 fi
58762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58763       ac_ext=c
58764 ac_cpp='$CPP $CPPFLAGS'
58765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58768
58769
58770 fi
58771
58772   fi
58773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58774 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58775
58776   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58777
58778 for ac_func in modfl
58779 do
58780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58781 echo "$as_me:$LINENO: checking for $ac_func" >&5
58782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58783 if eval "test \"\${$as_ac_var+set}\" = set"; then
58784   echo $ECHO_N "(cached) $ECHO_C" >&6
58785 else
58786   if test x$gcc_no_link = xyes; then
58787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58789    { (exit 1); exit 1; }; }
58790 fi
58791 cat >conftest.$ac_ext <<_ACEOF
58792 /* confdefs.h.  */
58793 _ACEOF
58794 cat confdefs.h >>conftest.$ac_ext
58795 cat >>conftest.$ac_ext <<_ACEOF
58796 /* end confdefs.h.  */
58797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58799 #define $ac_func innocuous_$ac_func
58800
58801 /* System header to define __stub macros and hopefully few prototypes,
58802     which can conflict with char $ac_func (); below.
58803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58804     <limits.h> exists even on freestanding compilers.  */
58805
58806 #ifdef __STDC__
58807 # include <limits.h>
58808 #else
58809 # include <assert.h>
58810 #endif
58811
58812 #undef $ac_func
58813
58814 /* Override any gcc2 internal prototype to avoid an error.  */
58815 #ifdef __cplusplus
58816 extern "C"
58817 {
58818 #endif
58819 /* We use char because int might match the return type of a gcc2
58820    builtin and then its argument prototype would still apply.  */
58821 char $ac_func ();
58822 /* The GNU C library defines this for functions which it implements
58823     to always fail with ENOSYS.  Some functions are actually named
58824     something starting with __ and the normal name is an alias.  */
58825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58826 choke me
58827 #else
58828 char (*f) () = $ac_func;
58829 #endif
58830 #ifdef __cplusplus
58831 }
58832 #endif
58833
58834 int
58835 main ()
58836 {
58837 return f != $ac_func;
58838   ;
58839   return 0;
58840 }
58841 _ACEOF
58842 rm -f conftest.$ac_objext conftest$ac_exeext
58843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58844   (eval $ac_link) 2>conftest.er1
58845   ac_status=$?
58846   grep -v '^ *+' conftest.er1 >conftest.err
58847   rm -f conftest.er1
58848   cat conftest.err >&5
58849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58850   (exit $ac_status); } &&
58851          { ac_try='test -z "$ac_c_werror_flag"
58852                          || test ! -s conftest.err'
58853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58854   (eval $ac_try) 2>&5
58855   ac_status=$?
58856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58857   (exit $ac_status); }; } &&
58858          { ac_try='test -s conftest$ac_exeext'
58859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58860   (eval $ac_try) 2>&5
58861   ac_status=$?
58862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58863   (exit $ac_status); }; }; then
58864   eval "$as_ac_var=yes"
58865 else
58866   echo "$as_me: failed program was:" >&5
58867 sed 's/^/| /' conftest.$ac_ext >&5
58868
58869 eval "$as_ac_var=no"
58870 fi
58871 rm -f conftest.err conftest.$ac_objext \
58872       conftest$ac_exeext conftest.$ac_ext
58873 fi
58874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58876 if test `eval echo '${'$as_ac_var'}'` = yes; then
58877   cat >>confdefs.h <<_ACEOF
58878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58879 _ACEOF
58880
58881 fi
58882 done
58883
58884   else
58885
58886   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58887 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58888   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58889     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58890   echo $ECHO_N "(cached) $ECHO_C" >&6
58891 else
58892
58893
58894
58895       ac_ext=cc
58896 ac_cpp='$CXXCPP $CPPFLAGS'
58897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58900
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 #include <math.h>
58908 int
58909 main ()
58910 {
58911  _modfl(0, 0);
58912   ;
58913   return 0;
58914 }
58915 _ACEOF
58916 rm -f conftest.$ac_objext
58917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58918   (eval $ac_compile) 2>conftest.er1
58919   ac_status=$?
58920   grep -v '^ *+' conftest.er1 >conftest.err
58921   rm -f conftest.er1
58922   cat conftest.err >&5
58923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58924   (exit $ac_status); } &&
58925          { ac_try='test -z "$ac_cxx_werror_flag"
58926                          || test ! -s conftest.err'
58927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58928   (eval $ac_try) 2>&5
58929   ac_status=$?
58930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58931   (exit $ac_status); }; } &&
58932          { ac_try='test -s conftest.$ac_objext'
58933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58934   (eval $ac_try) 2>&5
58935   ac_status=$?
58936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58937   (exit $ac_status); }; }; then
58938   glibcxx_cv_func__modfl_use=yes
58939 else
58940   echo "$as_me: failed program was:" >&5
58941 sed 's/^/| /' conftest.$ac_ext >&5
58942
58943 glibcxx_cv_func__modfl_use=no
58944 fi
58945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58946       ac_ext=c
58947 ac_cpp='$CPP $CPPFLAGS'
58948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58951
58952
58953 fi
58954
58955   fi
58956   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58957 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58958
58959     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58960
58961 for ac_func in _modfl
58962 do
58963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58964 echo "$as_me:$LINENO: checking for $ac_func" >&5
58965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58966 if eval "test \"\${$as_ac_var+set}\" = set"; then
58967   echo $ECHO_N "(cached) $ECHO_C" >&6
58968 else
58969   if test x$gcc_no_link = xyes; then
58970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58972    { (exit 1); exit 1; }; }
58973 fi
58974 cat >conftest.$ac_ext <<_ACEOF
58975 /* confdefs.h.  */
58976 _ACEOF
58977 cat confdefs.h >>conftest.$ac_ext
58978 cat >>conftest.$ac_ext <<_ACEOF
58979 /* end confdefs.h.  */
58980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58982 #define $ac_func innocuous_$ac_func
58983
58984 /* System header to define __stub macros and hopefully few prototypes,
58985     which can conflict with char $ac_func (); below.
58986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58987     <limits.h> exists even on freestanding compilers.  */
58988
58989 #ifdef __STDC__
58990 # include <limits.h>
58991 #else
58992 # include <assert.h>
58993 #endif
58994
58995 #undef $ac_func
58996
58997 /* Override any gcc2 internal prototype to avoid an error.  */
58998 #ifdef __cplusplus
58999 extern "C"
59000 {
59001 #endif
59002 /* We use char because int might match the return type of a gcc2
59003    builtin and then its argument prototype would still apply.  */
59004 char $ac_func ();
59005 /* The GNU C library defines this for functions which it implements
59006     to always fail with ENOSYS.  Some functions are actually named
59007     something starting with __ and the normal name is an alias.  */
59008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59009 choke me
59010 #else
59011 char (*f) () = $ac_func;
59012 #endif
59013 #ifdef __cplusplus
59014 }
59015 #endif
59016
59017 int
59018 main ()
59019 {
59020 return f != $ac_func;
59021   ;
59022   return 0;
59023 }
59024 _ACEOF
59025 rm -f conftest.$ac_objext conftest$ac_exeext
59026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59027   (eval $ac_link) 2>conftest.er1
59028   ac_status=$?
59029   grep -v '^ *+' conftest.er1 >conftest.err
59030   rm -f conftest.er1
59031   cat conftest.err >&5
59032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59033   (exit $ac_status); } &&
59034          { ac_try='test -z "$ac_c_werror_flag"
59035                          || test ! -s conftest.err'
59036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59037   (eval $ac_try) 2>&5
59038   ac_status=$?
59039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59040   (exit $ac_status); }; } &&
59041          { ac_try='test -s conftest$ac_exeext'
59042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59043   (eval $ac_try) 2>&5
59044   ac_status=$?
59045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59046   (exit $ac_status); }; }; then
59047   eval "$as_ac_var=yes"
59048 else
59049   echo "$as_me: failed program was:" >&5
59050 sed 's/^/| /' conftest.$ac_ext >&5
59051
59052 eval "$as_ac_var=no"
59053 fi
59054 rm -f conftest.err conftest.$ac_objext \
59055       conftest$ac_exeext conftest.$ac_ext
59056 fi
59057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59059 if test `eval echo '${'$as_ac_var'}'` = yes; then
59060   cat >>confdefs.h <<_ACEOF
59061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59062 _ACEOF
59063
59064 fi
59065 done
59066
59067     fi
59068   fi
59069
59070
59071
59072
59073
59074
59075   echo "$as_me:$LINENO: checking for powl declaration" >&5
59076 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59077   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59078     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59079   echo $ECHO_N "(cached) $ECHO_C" >&6
59080 else
59081
59082
59083
59084       ac_ext=cc
59085 ac_cpp='$CXXCPP $CPPFLAGS'
59086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59089
59090       cat >conftest.$ac_ext <<_ACEOF
59091 /* confdefs.h.  */
59092 _ACEOF
59093 cat confdefs.h >>conftest.$ac_ext
59094 cat >>conftest.$ac_ext <<_ACEOF
59095 /* end confdefs.h.  */
59096 #include <math.h>
59097 int
59098 main ()
59099 {
59100  powl(0, 0);
59101   ;
59102   return 0;
59103 }
59104 _ACEOF
59105 rm -f conftest.$ac_objext
59106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59107   (eval $ac_compile) 2>conftest.er1
59108   ac_status=$?
59109   grep -v '^ *+' conftest.er1 >conftest.err
59110   rm -f conftest.er1
59111   cat conftest.err >&5
59112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59113   (exit $ac_status); } &&
59114          { ac_try='test -z "$ac_cxx_werror_flag"
59115                          || test ! -s conftest.err'
59116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117   (eval $ac_try) 2>&5
59118   ac_status=$?
59119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120   (exit $ac_status); }; } &&
59121          { ac_try='test -s conftest.$ac_objext'
59122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59123   (eval $ac_try) 2>&5
59124   ac_status=$?
59125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126   (exit $ac_status); }; }; then
59127   glibcxx_cv_func_powl_use=yes
59128 else
59129   echo "$as_me: failed program was:" >&5
59130 sed 's/^/| /' conftest.$ac_ext >&5
59131
59132 glibcxx_cv_func_powl_use=no
59133 fi
59134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59135       ac_ext=c
59136 ac_cpp='$CPP $CPPFLAGS'
59137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59140
59141
59142 fi
59143
59144   fi
59145   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59146 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59147
59148   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59149
59150 for ac_func in powl
59151 do
59152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59153 echo "$as_me:$LINENO: checking for $ac_func" >&5
59154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59155 if eval "test \"\${$as_ac_var+set}\" = set"; then
59156   echo $ECHO_N "(cached) $ECHO_C" >&6
59157 else
59158   if test x$gcc_no_link = xyes; then
59159   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59161    { (exit 1); exit 1; }; }
59162 fi
59163 cat >conftest.$ac_ext <<_ACEOF
59164 /* confdefs.h.  */
59165 _ACEOF
59166 cat confdefs.h >>conftest.$ac_ext
59167 cat >>conftest.$ac_ext <<_ACEOF
59168 /* end confdefs.h.  */
59169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59171 #define $ac_func innocuous_$ac_func
59172
59173 /* System header to define __stub macros and hopefully few prototypes,
59174     which can conflict with char $ac_func (); below.
59175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59176     <limits.h> exists even on freestanding compilers.  */
59177
59178 #ifdef __STDC__
59179 # include <limits.h>
59180 #else
59181 # include <assert.h>
59182 #endif
59183
59184 #undef $ac_func
59185
59186 /* Override any gcc2 internal prototype to avoid an error.  */
59187 #ifdef __cplusplus
59188 extern "C"
59189 {
59190 #endif
59191 /* We use char because int might match the return type of a gcc2
59192    builtin and then its argument prototype would still apply.  */
59193 char $ac_func ();
59194 /* The GNU C library defines this for functions which it implements
59195     to always fail with ENOSYS.  Some functions are actually named
59196     something starting with __ and the normal name is an alias.  */
59197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59198 choke me
59199 #else
59200 char (*f) () = $ac_func;
59201 #endif
59202 #ifdef __cplusplus
59203 }
59204 #endif
59205
59206 int
59207 main ()
59208 {
59209 return f != $ac_func;
59210   ;
59211   return 0;
59212 }
59213 _ACEOF
59214 rm -f conftest.$ac_objext conftest$ac_exeext
59215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59216   (eval $ac_link) 2>conftest.er1
59217   ac_status=$?
59218   grep -v '^ *+' conftest.er1 >conftest.err
59219   rm -f conftest.er1
59220   cat conftest.err >&5
59221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59222   (exit $ac_status); } &&
59223          { ac_try='test -z "$ac_c_werror_flag"
59224                          || test ! -s conftest.err'
59225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59226   (eval $ac_try) 2>&5
59227   ac_status=$?
59228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59229   (exit $ac_status); }; } &&
59230          { ac_try='test -s conftest$ac_exeext'
59231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59232   (eval $ac_try) 2>&5
59233   ac_status=$?
59234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59235   (exit $ac_status); }; }; then
59236   eval "$as_ac_var=yes"
59237 else
59238   echo "$as_me: failed program was:" >&5
59239 sed 's/^/| /' conftest.$ac_ext >&5
59240
59241 eval "$as_ac_var=no"
59242 fi
59243 rm -f conftest.err conftest.$ac_objext \
59244       conftest$ac_exeext conftest.$ac_ext
59245 fi
59246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59248 if test `eval echo '${'$as_ac_var'}'` = yes; then
59249   cat >>confdefs.h <<_ACEOF
59250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59251 _ACEOF
59252
59253 fi
59254 done
59255
59256   else
59257
59258   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59259 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59260   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59261     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59262   echo $ECHO_N "(cached) $ECHO_C" >&6
59263 else
59264
59265
59266
59267       ac_ext=cc
59268 ac_cpp='$CXXCPP $CPPFLAGS'
59269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59272
59273       cat >conftest.$ac_ext <<_ACEOF
59274 /* confdefs.h.  */
59275 _ACEOF
59276 cat confdefs.h >>conftest.$ac_ext
59277 cat >>conftest.$ac_ext <<_ACEOF
59278 /* end confdefs.h.  */
59279 #include <math.h>
59280 int
59281 main ()
59282 {
59283  _powl(0, 0);
59284   ;
59285   return 0;
59286 }
59287 _ACEOF
59288 rm -f conftest.$ac_objext
59289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59290   (eval $ac_compile) 2>conftest.er1
59291   ac_status=$?
59292   grep -v '^ *+' conftest.er1 >conftest.err
59293   rm -f conftest.er1
59294   cat conftest.err >&5
59295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59296   (exit $ac_status); } &&
59297          { ac_try='test -z "$ac_cxx_werror_flag"
59298                          || test ! -s conftest.err'
59299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300   (eval $ac_try) 2>&5
59301   ac_status=$?
59302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303   (exit $ac_status); }; } &&
59304          { ac_try='test -s conftest.$ac_objext'
59305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59306   (eval $ac_try) 2>&5
59307   ac_status=$?
59308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309   (exit $ac_status); }; }; then
59310   glibcxx_cv_func__powl_use=yes
59311 else
59312   echo "$as_me: failed program was:" >&5
59313 sed 's/^/| /' conftest.$ac_ext >&5
59314
59315 glibcxx_cv_func__powl_use=no
59316 fi
59317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59318       ac_ext=c
59319 ac_cpp='$CPP $CPPFLAGS'
59320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59323
59324
59325 fi
59326
59327   fi
59328   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59329 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59330
59331     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59332
59333 for ac_func in _powl
59334 do
59335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59336 echo "$as_me:$LINENO: checking for $ac_func" >&5
59337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59338 if eval "test \"\${$as_ac_var+set}\" = set"; then
59339   echo $ECHO_N "(cached) $ECHO_C" >&6
59340 else
59341   if test x$gcc_no_link = xyes; then
59342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59344    { (exit 1); exit 1; }; }
59345 fi
59346 cat >conftest.$ac_ext <<_ACEOF
59347 /* confdefs.h.  */
59348 _ACEOF
59349 cat confdefs.h >>conftest.$ac_ext
59350 cat >>conftest.$ac_ext <<_ACEOF
59351 /* end confdefs.h.  */
59352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59353    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59354 #define $ac_func innocuous_$ac_func
59355
59356 /* System header to define __stub macros and hopefully few prototypes,
59357     which can conflict with char $ac_func (); below.
59358     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59359     <limits.h> exists even on freestanding compilers.  */
59360
59361 #ifdef __STDC__
59362 # include <limits.h>
59363 #else
59364 # include <assert.h>
59365 #endif
59366
59367 #undef $ac_func
59368
59369 /* Override any gcc2 internal prototype to avoid an error.  */
59370 #ifdef __cplusplus
59371 extern "C"
59372 {
59373 #endif
59374 /* We use char because int might match the return type of a gcc2
59375    builtin and then its argument prototype would still apply.  */
59376 char $ac_func ();
59377 /* The GNU C library defines this for functions which it implements
59378     to always fail with ENOSYS.  Some functions are actually named
59379     something starting with __ and the normal name is an alias.  */
59380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59381 choke me
59382 #else
59383 char (*f) () = $ac_func;
59384 #endif
59385 #ifdef __cplusplus
59386 }
59387 #endif
59388
59389 int
59390 main ()
59391 {
59392 return f != $ac_func;
59393   ;
59394   return 0;
59395 }
59396 _ACEOF
59397 rm -f conftest.$ac_objext conftest$ac_exeext
59398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59399   (eval $ac_link) 2>conftest.er1
59400   ac_status=$?
59401   grep -v '^ *+' conftest.er1 >conftest.err
59402   rm -f conftest.er1
59403   cat conftest.err >&5
59404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59405   (exit $ac_status); } &&
59406          { ac_try='test -z "$ac_c_werror_flag"
59407                          || test ! -s conftest.err'
59408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409   (eval $ac_try) 2>&5
59410   ac_status=$?
59411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412   (exit $ac_status); }; } &&
59413          { ac_try='test -s conftest$ac_exeext'
59414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59415   (eval $ac_try) 2>&5
59416   ac_status=$?
59417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59418   (exit $ac_status); }; }; then
59419   eval "$as_ac_var=yes"
59420 else
59421   echo "$as_me: failed program was:" >&5
59422 sed 's/^/| /' conftest.$ac_ext >&5
59423
59424 eval "$as_ac_var=no"
59425 fi
59426 rm -f conftest.err conftest.$ac_objext \
59427       conftest$ac_exeext conftest.$ac_ext
59428 fi
59429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59431 if test `eval echo '${'$as_ac_var'}'` = yes; then
59432   cat >>confdefs.h <<_ACEOF
59433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59434 _ACEOF
59435
59436 fi
59437 done
59438
59439     fi
59440   fi
59441
59442
59443
59444
59445
59446
59447   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59448 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59449   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59450     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59451   echo $ECHO_N "(cached) $ECHO_C" >&6
59452 else
59453
59454
59455
59456       ac_ext=cc
59457 ac_cpp='$CXXCPP $CPPFLAGS'
59458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59461
59462       cat >conftest.$ac_ext <<_ACEOF
59463 /* confdefs.h.  */
59464 _ACEOF
59465 cat confdefs.h >>conftest.$ac_ext
59466 cat >>conftest.$ac_ext <<_ACEOF
59467 /* end confdefs.h.  */
59468 #include <math.h>
59469                       #ifdef HAVE_IEEEFP_H
59470                       #include <ieeefp.h>
59471                       #endif
59472
59473 int
59474 main ()
59475 {
59476  sqrtl(0);
59477   ;
59478   return 0;
59479 }
59480 _ACEOF
59481 rm -f conftest.$ac_objext
59482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59483   (eval $ac_compile) 2>conftest.er1
59484   ac_status=$?
59485   grep -v '^ *+' conftest.er1 >conftest.err
59486   rm -f conftest.er1
59487   cat conftest.err >&5
59488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59489   (exit $ac_status); } &&
59490          { ac_try='test -z "$ac_cxx_werror_flag"
59491                          || test ! -s conftest.err'
59492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59493   (eval $ac_try) 2>&5
59494   ac_status=$?
59495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59496   (exit $ac_status); }; } &&
59497          { ac_try='test -s conftest.$ac_objext'
59498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59499   (eval $ac_try) 2>&5
59500   ac_status=$?
59501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59502   (exit $ac_status); }; }; then
59503   glibcxx_cv_func_sqrtl_use=yes
59504 else
59505   echo "$as_me: failed program was:" >&5
59506 sed 's/^/| /' conftest.$ac_ext >&5
59507
59508 glibcxx_cv_func_sqrtl_use=no
59509 fi
59510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59511       ac_ext=c
59512 ac_cpp='$CPP $CPPFLAGS'
59513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59516
59517
59518 fi
59519
59520   fi
59521   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59522 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59523
59524   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59525
59526 for ac_func in sqrtl
59527 do
59528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59529 echo "$as_me:$LINENO: checking for $ac_func" >&5
59530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59531 if eval "test \"\${$as_ac_var+set}\" = set"; then
59532   echo $ECHO_N "(cached) $ECHO_C" >&6
59533 else
59534   if test x$gcc_no_link = xyes; then
59535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59537    { (exit 1); exit 1; }; }
59538 fi
59539 cat >conftest.$ac_ext <<_ACEOF
59540 /* confdefs.h.  */
59541 _ACEOF
59542 cat confdefs.h >>conftest.$ac_ext
59543 cat >>conftest.$ac_ext <<_ACEOF
59544 /* end confdefs.h.  */
59545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59547 #define $ac_func innocuous_$ac_func
59548
59549 /* System header to define __stub macros and hopefully few prototypes,
59550     which can conflict with char $ac_func (); below.
59551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59552     <limits.h> exists even on freestanding compilers.  */
59553
59554 #ifdef __STDC__
59555 # include <limits.h>
59556 #else
59557 # include <assert.h>
59558 #endif
59559
59560 #undef $ac_func
59561
59562 /* Override any gcc2 internal prototype to avoid an error.  */
59563 #ifdef __cplusplus
59564 extern "C"
59565 {
59566 #endif
59567 /* We use char because int might match the return type of a gcc2
59568    builtin and then its argument prototype would still apply.  */
59569 char $ac_func ();
59570 /* The GNU C library defines this for functions which it implements
59571     to always fail with ENOSYS.  Some functions are actually named
59572     something starting with __ and the normal name is an alias.  */
59573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59574 choke me
59575 #else
59576 char (*f) () = $ac_func;
59577 #endif
59578 #ifdef __cplusplus
59579 }
59580 #endif
59581
59582 int
59583 main ()
59584 {
59585 return f != $ac_func;
59586   ;
59587   return 0;
59588 }
59589 _ACEOF
59590 rm -f conftest.$ac_objext conftest$ac_exeext
59591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59592   (eval $ac_link) 2>conftest.er1
59593   ac_status=$?
59594   grep -v '^ *+' conftest.er1 >conftest.err
59595   rm -f conftest.er1
59596   cat conftest.err >&5
59597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59598   (exit $ac_status); } &&
59599          { ac_try='test -z "$ac_c_werror_flag"
59600                          || test ! -s conftest.err'
59601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59602   (eval $ac_try) 2>&5
59603   ac_status=$?
59604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605   (exit $ac_status); }; } &&
59606          { ac_try='test -s conftest$ac_exeext'
59607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59608   (eval $ac_try) 2>&5
59609   ac_status=$?
59610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59611   (exit $ac_status); }; }; then
59612   eval "$as_ac_var=yes"
59613 else
59614   echo "$as_me: failed program was:" >&5
59615 sed 's/^/| /' conftest.$ac_ext >&5
59616
59617 eval "$as_ac_var=no"
59618 fi
59619 rm -f conftest.err conftest.$ac_objext \
59620       conftest$ac_exeext conftest.$ac_ext
59621 fi
59622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59624 if test `eval echo '${'$as_ac_var'}'` = yes; then
59625   cat >>confdefs.h <<_ACEOF
59626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59627 _ACEOF
59628
59629 fi
59630 done
59631
59632   else
59633
59634   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59635 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59636   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59637     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59638   echo $ECHO_N "(cached) $ECHO_C" >&6
59639 else
59640
59641
59642
59643       ac_ext=cc
59644 ac_cpp='$CXXCPP $CPPFLAGS'
59645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59648
59649       cat >conftest.$ac_ext <<_ACEOF
59650 /* confdefs.h.  */
59651 _ACEOF
59652 cat confdefs.h >>conftest.$ac_ext
59653 cat >>conftest.$ac_ext <<_ACEOF
59654 /* end confdefs.h.  */
59655 #include <math.h>
59656                       #ifdef HAVE_IEEEFP_H
59657                       #include <ieeefp.h>
59658                       #endif
59659
59660 int
59661 main ()
59662 {
59663  _sqrtl(0);
59664   ;
59665   return 0;
59666 }
59667 _ACEOF
59668 rm -f conftest.$ac_objext
59669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59670   (eval $ac_compile) 2>conftest.er1
59671   ac_status=$?
59672   grep -v '^ *+' conftest.er1 >conftest.err
59673   rm -f conftest.er1
59674   cat conftest.err >&5
59675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676   (exit $ac_status); } &&
59677          { ac_try='test -z "$ac_cxx_werror_flag"
59678                          || test ! -s conftest.err'
59679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59680   (eval $ac_try) 2>&5
59681   ac_status=$?
59682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59683   (exit $ac_status); }; } &&
59684          { ac_try='test -s conftest.$ac_objext'
59685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59686   (eval $ac_try) 2>&5
59687   ac_status=$?
59688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59689   (exit $ac_status); }; }; then
59690   glibcxx_cv_func__sqrtl_use=yes
59691 else
59692   echo "$as_me: failed program was:" >&5
59693 sed 's/^/| /' conftest.$ac_ext >&5
59694
59695 glibcxx_cv_func__sqrtl_use=no
59696 fi
59697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59698       ac_ext=c
59699 ac_cpp='$CPP $CPPFLAGS'
59700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59703
59704
59705 fi
59706
59707   fi
59708   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59709 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59710
59711     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59712
59713 for ac_func in _sqrtl
59714 do
59715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59716 echo "$as_me:$LINENO: checking for $ac_func" >&5
59717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59718 if eval "test \"\${$as_ac_var+set}\" = set"; then
59719   echo $ECHO_N "(cached) $ECHO_C" >&6
59720 else
59721   if test x$gcc_no_link = xyes; then
59722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59724    { (exit 1); exit 1; }; }
59725 fi
59726 cat >conftest.$ac_ext <<_ACEOF
59727 /* confdefs.h.  */
59728 _ACEOF
59729 cat confdefs.h >>conftest.$ac_ext
59730 cat >>conftest.$ac_ext <<_ACEOF
59731 /* end confdefs.h.  */
59732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59733    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59734 #define $ac_func innocuous_$ac_func
59735
59736 /* System header to define __stub macros and hopefully few prototypes,
59737     which can conflict with char $ac_func (); below.
59738     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59739     <limits.h> exists even on freestanding compilers.  */
59740
59741 #ifdef __STDC__
59742 # include <limits.h>
59743 #else
59744 # include <assert.h>
59745 #endif
59746
59747 #undef $ac_func
59748
59749 /* Override any gcc2 internal prototype to avoid an error.  */
59750 #ifdef __cplusplus
59751 extern "C"
59752 {
59753 #endif
59754 /* We use char because int might match the return type of a gcc2
59755    builtin and then its argument prototype would still apply.  */
59756 char $ac_func ();
59757 /* The GNU C library defines this for functions which it implements
59758     to always fail with ENOSYS.  Some functions are actually named
59759     something starting with __ and the normal name is an alias.  */
59760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59761 choke me
59762 #else
59763 char (*f) () = $ac_func;
59764 #endif
59765 #ifdef __cplusplus
59766 }
59767 #endif
59768
59769 int
59770 main ()
59771 {
59772 return f != $ac_func;
59773   ;
59774   return 0;
59775 }
59776 _ACEOF
59777 rm -f conftest.$ac_objext conftest$ac_exeext
59778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59779   (eval $ac_link) 2>conftest.er1
59780   ac_status=$?
59781   grep -v '^ *+' conftest.er1 >conftest.err
59782   rm -f conftest.er1
59783   cat conftest.err >&5
59784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59785   (exit $ac_status); } &&
59786          { ac_try='test -z "$ac_c_werror_flag"
59787                          || test ! -s conftest.err'
59788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789   (eval $ac_try) 2>&5
59790   ac_status=$?
59791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792   (exit $ac_status); }; } &&
59793          { ac_try='test -s conftest$ac_exeext'
59794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59795   (eval $ac_try) 2>&5
59796   ac_status=$?
59797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59798   (exit $ac_status); }; }; then
59799   eval "$as_ac_var=yes"
59800 else
59801   echo "$as_me: failed program was:" >&5
59802 sed 's/^/| /' conftest.$ac_ext >&5
59803
59804 eval "$as_ac_var=no"
59805 fi
59806 rm -f conftest.err conftest.$ac_objext \
59807       conftest$ac_exeext conftest.$ac_ext
59808 fi
59809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59811 if test `eval echo '${'$as_ac_var'}'` = yes; then
59812   cat >>confdefs.h <<_ACEOF
59813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59814 _ACEOF
59815
59816 fi
59817 done
59818
59819     fi
59820   fi
59821
59822
59823
59824
59825
59826
59827   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59828 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59829   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59830     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59831   echo $ECHO_N "(cached) $ECHO_C" >&6
59832 else
59833
59834
59835
59836       ac_ext=cc
59837 ac_cpp='$CXXCPP $CPPFLAGS'
59838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59841
59842       cat >conftest.$ac_ext <<_ACEOF
59843 /* confdefs.h.  */
59844 _ACEOF
59845 cat confdefs.h >>conftest.$ac_ext
59846 cat >>conftest.$ac_ext <<_ACEOF
59847 /* end confdefs.h.  */
59848 #include <math.h>
59849 int
59850 main ()
59851 {
59852  sincosl(0, 0, 0);
59853   ;
59854   return 0;
59855 }
59856 _ACEOF
59857 rm -f conftest.$ac_objext
59858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59859   (eval $ac_compile) 2>conftest.er1
59860   ac_status=$?
59861   grep -v '^ *+' conftest.er1 >conftest.err
59862   rm -f conftest.er1
59863   cat conftest.err >&5
59864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59865   (exit $ac_status); } &&
59866          { ac_try='test -z "$ac_cxx_werror_flag"
59867                          || test ! -s conftest.err'
59868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59869   (eval $ac_try) 2>&5
59870   ac_status=$?
59871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59872   (exit $ac_status); }; } &&
59873          { ac_try='test -s conftest.$ac_objext'
59874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59875   (eval $ac_try) 2>&5
59876   ac_status=$?
59877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59878   (exit $ac_status); }; }; then
59879   glibcxx_cv_func_sincosl_use=yes
59880 else
59881   echo "$as_me: failed program was:" >&5
59882 sed 's/^/| /' conftest.$ac_ext >&5
59883
59884 glibcxx_cv_func_sincosl_use=no
59885 fi
59886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59887       ac_ext=c
59888 ac_cpp='$CPP $CPPFLAGS'
59889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59892
59893
59894 fi
59895
59896   fi
59897   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59898 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59899
59900   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59901
59902 for ac_func in sincosl
59903 do
59904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59905 echo "$as_me:$LINENO: checking for $ac_func" >&5
59906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59907 if eval "test \"\${$as_ac_var+set}\" = set"; then
59908   echo $ECHO_N "(cached) $ECHO_C" >&6
59909 else
59910   if test x$gcc_no_link = xyes; then
59911   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59913    { (exit 1); exit 1; }; }
59914 fi
59915 cat >conftest.$ac_ext <<_ACEOF
59916 /* confdefs.h.  */
59917 _ACEOF
59918 cat confdefs.h >>conftest.$ac_ext
59919 cat >>conftest.$ac_ext <<_ACEOF
59920 /* end confdefs.h.  */
59921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59923 #define $ac_func innocuous_$ac_func
59924
59925 /* System header to define __stub macros and hopefully few prototypes,
59926     which can conflict with char $ac_func (); below.
59927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59928     <limits.h> exists even on freestanding compilers.  */
59929
59930 #ifdef __STDC__
59931 # include <limits.h>
59932 #else
59933 # include <assert.h>
59934 #endif
59935
59936 #undef $ac_func
59937
59938 /* Override any gcc2 internal prototype to avoid an error.  */
59939 #ifdef __cplusplus
59940 extern "C"
59941 {
59942 #endif
59943 /* We use char because int might match the return type of a gcc2
59944    builtin and then its argument prototype would still apply.  */
59945 char $ac_func ();
59946 /* The GNU C library defines this for functions which it implements
59947     to always fail with ENOSYS.  Some functions are actually named
59948     something starting with __ and the normal name is an alias.  */
59949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59950 choke me
59951 #else
59952 char (*f) () = $ac_func;
59953 #endif
59954 #ifdef __cplusplus
59955 }
59956 #endif
59957
59958 int
59959 main ()
59960 {
59961 return f != $ac_func;
59962   ;
59963   return 0;
59964 }
59965 _ACEOF
59966 rm -f conftest.$ac_objext conftest$ac_exeext
59967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59968   (eval $ac_link) 2>conftest.er1
59969   ac_status=$?
59970   grep -v '^ *+' conftest.er1 >conftest.err
59971   rm -f conftest.er1
59972   cat conftest.err >&5
59973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59974   (exit $ac_status); } &&
59975          { ac_try='test -z "$ac_c_werror_flag"
59976                          || test ! -s conftest.err'
59977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59978   (eval $ac_try) 2>&5
59979   ac_status=$?
59980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59981   (exit $ac_status); }; } &&
59982          { ac_try='test -s conftest$ac_exeext'
59983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59984   (eval $ac_try) 2>&5
59985   ac_status=$?
59986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987   (exit $ac_status); }; }; then
59988   eval "$as_ac_var=yes"
59989 else
59990   echo "$as_me: failed program was:" >&5
59991 sed 's/^/| /' conftest.$ac_ext >&5
59992
59993 eval "$as_ac_var=no"
59994 fi
59995 rm -f conftest.err conftest.$ac_objext \
59996       conftest$ac_exeext conftest.$ac_ext
59997 fi
59998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60000 if test `eval echo '${'$as_ac_var'}'` = yes; then
60001   cat >>confdefs.h <<_ACEOF
60002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60003 _ACEOF
60004
60005 fi
60006 done
60007
60008   else
60009
60010   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60011 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60012   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60013     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60014   echo $ECHO_N "(cached) $ECHO_C" >&6
60015 else
60016
60017
60018
60019       ac_ext=cc
60020 ac_cpp='$CXXCPP $CPPFLAGS'
60021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60024
60025       cat >conftest.$ac_ext <<_ACEOF
60026 /* confdefs.h.  */
60027 _ACEOF
60028 cat confdefs.h >>conftest.$ac_ext
60029 cat >>conftest.$ac_ext <<_ACEOF
60030 /* end confdefs.h.  */
60031 #include <math.h>
60032 int
60033 main ()
60034 {
60035  _sincosl(0, 0, 0);
60036   ;
60037   return 0;
60038 }
60039 _ACEOF
60040 rm -f conftest.$ac_objext
60041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60042   (eval $ac_compile) 2>conftest.er1
60043   ac_status=$?
60044   grep -v '^ *+' conftest.er1 >conftest.err
60045   rm -f conftest.er1
60046   cat conftest.err >&5
60047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60048   (exit $ac_status); } &&
60049          { ac_try='test -z "$ac_cxx_werror_flag"
60050                          || test ! -s conftest.err'
60051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052   (eval $ac_try) 2>&5
60053   ac_status=$?
60054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055   (exit $ac_status); }; } &&
60056          { ac_try='test -s conftest.$ac_objext'
60057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60058   (eval $ac_try) 2>&5
60059   ac_status=$?
60060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061   (exit $ac_status); }; }; then
60062   glibcxx_cv_func__sincosl_use=yes
60063 else
60064   echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60066
60067 glibcxx_cv_func__sincosl_use=no
60068 fi
60069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60070       ac_ext=c
60071 ac_cpp='$CPP $CPPFLAGS'
60072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60075
60076
60077 fi
60078
60079   fi
60080   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60081 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60082
60083     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60084
60085 for ac_func in _sincosl
60086 do
60087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60088 echo "$as_me:$LINENO: checking for $ac_func" >&5
60089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60090 if eval "test \"\${$as_ac_var+set}\" = set"; then
60091   echo $ECHO_N "(cached) $ECHO_C" >&6
60092 else
60093   if test x$gcc_no_link = xyes; then
60094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60096    { (exit 1); exit 1; }; }
60097 fi
60098 cat >conftest.$ac_ext <<_ACEOF
60099 /* confdefs.h.  */
60100 _ACEOF
60101 cat confdefs.h >>conftest.$ac_ext
60102 cat >>conftest.$ac_ext <<_ACEOF
60103 /* end confdefs.h.  */
60104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60106 #define $ac_func innocuous_$ac_func
60107
60108 /* System header to define __stub macros and hopefully few prototypes,
60109     which can conflict with char $ac_func (); below.
60110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60111     <limits.h> exists even on freestanding compilers.  */
60112
60113 #ifdef __STDC__
60114 # include <limits.h>
60115 #else
60116 # include <assert.h>
60117 #endif
60118
60119 #undef $ac_func
60120
60121 /* Override any gcc2 internal prototype to avoid an error.  */
60122 #ifdef __cplusplus
60123 extern "C"
60124 {
60125 #endif
60126 /* We use char because int might match the return type of a gcc2
60127    builtin and then its argument prototype would still apply.  */
60128 char $ac_func ();
60129 /* The GNU C library defines this for functions which it implements
60130     to always fail with ENOSYS.  Some functions are actually named
60131     something starting with __ and the normal name is an alias.  */
60132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60133 choke me
60134 #else
60135 char (*f) () = $ac_func;
60136 #endif
60137 #ifdef __cplusplus
60138 }
60139 #endif
60140
60141 int
60142 main ()
60143 {
60144 return f != $ac_func;
60145   ;
60146   return 0;
60147 }
60148 _ACEOF
60149 rm -f conftest.$ac_objext conftest$ac_exeext
60150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60151   (eval $ac_link) 2>conftest.er1
60152   ac_status=$?
60153   grep -v '^ *+' conftest.er1 >conftest.err
60154   rm -f conftest.er1
60155   cat conftest.err >&5
60156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60157   (exit $ac_status); } &&
60158          { ac_try='test -z "$ac_c_werror_flag"
60159                          || test ! -s conftest.err'
60160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161   (eval $ac_try) 2>&5
60162   ac_status=$?
60163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164   (exit $ac_status); }; } &&
60165          { ac_try='test -s conftest$ac_exeext'
60166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60167   (eval $ac_try) 2>&5
60168   ac_status=$?
60169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60170   (exit $ac_status); }; }; then
60171   eval "$as_ac_var=yes"
60172 else
60173   echo "$as_me: failed program was:" >&5
60174 sed 's/^/| /' conftest.$ac_ext >&5
60175
60176 eval "$as_ac_var=no"
60177 fi
60178 rm -f conftest.err conftest.$ac_objext \
60179       conftest$ac_exeext conftest.$ac_ext
60180 fi
60181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60183 if test `eval echo '${'$as_ac_var'}'` = yes; then
60184   cat >>confdefs.h <<_ACEOF
60185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60186 _ACEOF
60187
60188 fi
60189 done
60190
60191     fi
60192   fi
60193
60194
60195
60196
60197
60198
60199   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60200 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60201   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60202     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60203   echo $ECHO_N "(cached) $ECHO_C" >&6
60204 else
60205
60206
60207
60208       ac_ext=cc
60209 ac_cpp='$CXXCPP $CPPFLAGS'
60210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60213
60214       cat >conftest.$ac_ext <<_ACEOF
60215 /* confdefs.h.  */
60216 _ACEOF
60217 cat confdefs.h >>conftest.$ac_ext
60218 cat >>conftest.$ac_ext <<_ACEOF
60219 /* end confdefs.h.  */
60220 #include <math.h>
60221                       #ifdef HAVE_IEEEFP_H
60222                       #include <ieeefp.h>
60223                       #endif
60224
60225 int
60226 main ()
60227 {
60228  finitel(0);
60229   ;
60230   return 0;
60231 }
60232 _ACEOF
60233 rm -f conftest.$ac_objext
60234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60235   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_finitel_use=yes
60256 else
60257   echo "$as_me: failed program was:" >&5
60258 sed 's/^/| /' conftest.$ac_ext >&5
60259
60260 glibcxx_cv_func_finitel_use=no
60261 fi
60262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60263       ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60268
60269
60270 fi
60271
60272   fi
60273   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60274 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60275
60276   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60277
60278 for ac_func in finitel
60279 do
60280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60281 echo "$as_me:$LINENO: checking for $ac_func" >&5
60282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60283 if eval "test \"\${$as_ac_var+set}\" = set"; then
60284   echo $ECHO_N "(cached) $ECHO_C" >&6
60285 else
60286   if test x$gcc_no_link = xyes; then
60287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60289    { (exit 1); exit 1; }; }
60290 fi
60291 cat >conftest.$ac_ext <<_ACEOF
60292 /* confdefs.h.  */
60293 _ACEOF
60294 cat confdefs.h >>conftest.$ac_ext
60295 cat >>conftest.$ac_ext <<_ACEOF
60296 /* end confdefs.h.  */
60297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60299 #define $ac_func innocuous_$ac_func
60300
60301 /* System header to define __stub macros and hopefully few prototypes,
60302     which can conflict with char $ac_func (); below.
60303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60304     <limits.h> exists even on freestanding compilers.  */
60305
60306 #ifdef __STDC__
60307 # include <limits.h>
60308 #else
60309 # include <assert.h>
60310 #endif
60311
60312 #undef $ac_func
60313
60314 /* Override any gcc2 internal prototype to avoid an error.  */
60315 #ifdef __cplusplus
60316 extern "C"
60317 {
60318 #endif
60319 /* We use char because int might match the return type of a gcc2
60320    builtin and then its argument prototype would still apply.  */
60321 char $ac_func ();
60322 /* The GNU C library defines this for functions which it implements
60323     to always fail with ENOSYS.  Some functions are actually named
60324     something starting with __ and the normal name is an alias.  */
60325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60326 choke me
60327 #else
60328 char (*f) () = $ac_func;
60329 #endif
60330 #ifdef __cplusplus
60331 }
60332 #endif
60333
60334 int
60335 main ()
60336 {
60337 return f != $ac_func;
60338   ;
60339   return 0;
60340 }
60341 _ACEOF
60342 rm -f conftest.$ac_objext conftest$ac_exeext
60343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60344   (eval $ac_link) 2>conftest.er1
60345   ac_status=$?
60346   grep -v '^ *+' conftest.er1 >conftest.err
60347   rm -f conftest.er1
60348   cat conftest.err >&5
60349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60350   (exit $ac_status); } &&
60351          { ac_try='test -z "$ac_c_werror_flag"
60352                          || test ! -s conftest.err'
60353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60354   (eval $ac_try) 2>&5
60355   ac_status=$?
60356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60357   (exit $ac_status); }; } &&
60358          { ac_try='test -s conftest$ac_exeext'
60359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60360   (eval $ac_try) 2>&5
60361   ac_status=$?
60362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363   (exit $ac_status); }; }; then
60364   eval "$as_ac_var=yes"
60365 else
60366   echo "$as_me: failed program was:" >&5
60367 sed 's/^/| /' conftest.$ac_ext >&5
60368
60369 eval "$as_ac_var=no"
60370 fi
60371 rm -f conftest.err conftest.$ac_objext \
60372       conftest$ac_exeext conftest.$ac_ext
60373 fi
60374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60376 if test `eval echo '${'$as_ac_var'}'` = yes; then
60377   cat >>confdefs.h <<_ACEOF
60378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60379 _ACEOF
60380
60381 fi
60382 done
60383
60384   else
60385
60386   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60387 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60388   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60389     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60390   echo $ECHO_N "(cached) $ECHO_C" >&6
60391 else
60392
60393
60394
60395       ac_ext=cc
60396 ac_cpp='$CXXCPP $CPPFLAGS'
60397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60400
60401       cat >conftest.$ac_ext <<_ACEOF
60402 /* confdefs.h.  */
60403 _ACEOF
60404 cat confdefs.h >>conftest.$ac_ext
60405 cat >>conftest.$ac_ext <<_ACEOF
60406 /* end confdefs.h.  */
60407 #include <math.h>
60408                       #ifdef HAVE_IEEEFP_H
60409                       #include <ieeefp.h>
60410                       #endif
60411
60412 int
60413 main ()
60414 {
60415  _finitel(0);
60416   ;
60417   return 0;
60418 }
60419 _ACEOF
60420 rm -f conftest.$ac_objext
60421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60422   (eval $ac_compile) 2>conftest.er1
60423   ac_status=$?
60424   grep -v '^ *+' conftest.er1 >conftest.err
60425   rm -f conftest.er1
60426   cat conftest.err >&5
60427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60428   (exit $ac_status); } &&
60429          { ac_try='test -z "$ac_cxx_werror_flag"
60430                          || test ! -s conftest.err'
60431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60432   (eval $ac_try) 2>&5
60433   ac_status=$?
60434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60435   (exit $ac_status); }; } &&
60436          { ac_try='test -s conftest.$ac_objext'
60437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60438   (eval $ac_try) 2>&5
60439   ac_status=$?
60440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60441   (exit $ac_status); }; }; then
60442   glibcxx_cv_func__finitel_use=yes
60443 else
60444   echo "$as_me: failed program was:" >&5
60445 sed 's/^/| /' conftest.$ac_ext >&5
60446
60447 glibcxx_cv_func__finitel_use=no
60448 fi
60449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60450       ac_ext=c
60451 ac_cpp='$CPP $CPPFLAGS'
60452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60455
60456
60457 fi
60458
60459   fi
60460   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60461 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60462
60463     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60464
60465 for ac_func in _finitel
60466 do
60467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60468 echo "$as_me:$LINENO: checking for $ac_func" >&5
60469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60470 if eval "test \"\${$as_ac_var+set}\" = set"; then
60471   echo $ECHO_N "(cached) $ECHO_C" >&6
60472 else
60473   if test x$gcc_no_link = xyes; then
60474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60476    { (exit 1); exit 1; }; }
60477 fi
60478 cat >conftest.$ac_ext <<_ACEOF
60479 /* confdefs.h.  */
60480 _ACEOF
60481 cat confdefs.h >>conftest.$ac_ext
60482 cat >>conftest.$ac_ext <<_ACEOF
60483 /* end confdefs.h.  */
60484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60486 #define $ac_func innocuous_$ac_func
60487
60488 /* System header to define __stub macros and hopefully few prototypes,
60489     which can conflict with char $ac_func (); below.
60490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60491     <limits.h> exists even on freestanding compilers.  */
60492
60493 #ifdef __STDC__
60494 # include <limits.h>
60495 #else
60496 # include <assert.h>
60497 #endif
60498
60499 #undef $ac_func
60500
60501 /* Override any gcc2 internal prototype to avoid an error.  */
60502 #ifdef __cplusplus
60503 extern "C"
60504 {
60505 #endif
60506 /* We use char because int might match the return type of a gcc2
60507    builtin and then its argument prototype would still apply.  */
60508 char $ac_func ();
60509 /* The GNU C library defines this for functions which it implements
60510     to always fail with ENOSYS.  Some functions are actually named
60511     something starting with __ and the normal name is an alias.  */
60512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60513 choke me
60514 #else
60515 char (*f) () = $ac_func;
60516 #endif
60517 #ifdef __cplusplus
60518 }
60519 #endif
60520
60521 int
60522 main ()
60523 {
60524 return f != $ac_func;
60525   ;
60526   return 0;
60527 }
60528 _ACEOF
60529 rm -f conftest.$ac_objext conftest$ac_exeext
60530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60531   (eval $ac_link) 2>conftest.er1
60532   ac_status=$?
60533   grep -v '^ *+' conftest.er1 >conftest.err
60534   rm -f conftest.er1
60535   cat conftest.err >&5
60536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60537   (exit $ac_status); } &&
60538          { ac_try='test -z "$ac_c_werror_flag"
60539                          || test ! -s conftest.err'
60540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60541   (eval $ac_try) 2>&5
60542   ac_status=$?
60543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60544   (exit $ac_status); }; } &&
60545          { ac_try='test -s conftest$ac_exeext'
60546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60547   (eval $ac_try) 2>&5
60548   ac_status=$?
60549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60550   (exit $ac_status); }; }; then
60551   eval "$as_ac_var=yes"
60552 else
60553   echo "$as_me: failed program was:" >&5
60554 sed 's/^/| /' conftest.$ac_ext >&5
60555
60556 eval "$as_ac_var=no"
60557 fi
60558 rm -f conftest.err conftest.$ac_objext \
60559       conftest$ac_exeext conftest.$ac_ext
60560 fi
60561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60563 if test `eval echo '${'$as_ac_var'}'` = yes; then
60564   cat >>confdefs.h <<_ACEOF
60565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60566 _ACEOF
60567
60568 fi
60569 done
60570
60571     fi
60572   fi
60573
60574
60575
60576
60577
60578   LIBS="$ac_save_LIBS"
60579   CXXFLAGS="$ac_save_CXXFLAGS"
60580
60581
60582
60583 echo "$as_me:$LINENO: checking for main in -lm" >&5
60584 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
60585 if test "${ac_cv_lib_m_main+set}" = set; then
60586   echo $ECHO_N "(cached) $ECHO_C" >&6
60587 else
60588   ac_check_lib_save_LIBS=$LIBS
60589 LIBS="-lm  $LIBS"
60590 if test x$gcc_no_link = xyes; then
60591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60593    { (exit 1); exit 1; }; }
60594 fi
60595 cat >conftest.$ac_ext <<_ACEOF
60596 /* confdefs.h.  */
60597 _ACEOF
60598 cat confdefs.h >>conftest.$ac_ext
60599 cat >>conftest.$ac_ext <<_ACEOF
60600 /* end confdefs.h.  */
60601
60602
60603 int
60604 main ()
60605 {
60606 main ();
60607   ;
60608   return 0;
60609 }
60610 _ACEOF
60611 rm -f conftest.$ac_objext conftest$ac_exeext
60612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60613   (eval $ac_link) 2>conftest.er1
60614   ac_status=$?
60615   grep -v '^ *+' conftest.er1 >conftest.err
60616   rm -f conftest.er1
60617   cat conftest.err >&5
60618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619   (exit $ac_status); } &&
60620          { ac_try='test -z "$ac_c_werror_flag"
60621                          || test ! -s conftest.err'
60622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60623   (eval $ac_try) 2>&5
60624   ac_status=$?
60625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60626   (exit $ac_status); }; } &&
60627          { ac_try='test -s conftest$ac_exeext'
60628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60629   (eval $ac_try) 2>&5
60630   ac_status=$?
60631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60632   (exit $ac_status); }; }; then
60633   ac_cv_lib_m_main=yes
60634 else
60635   echo "$as_me: failed program was:" >&5
60636 sed 's/^/| /' conftest.$ac_ext >&5
60637
60638 ac_cv_lib_m_main=no
60639 fi
60640 rm -f conftest.err conftest.$ac_objext \
60641       conftest$ac_exeext conftest.$ac_ext
60642 LIBS=$ac_check_lib_save_LIBS
60643 fi
60644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
60645 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
60646 if test $ac_cv_lib_m_main = yes; then
60647   cat >>confdefs.h <<_ACEOF
60648 #define HAVE_LIBM 1
60649 _ACEOF
60650
60651   LIBS="-lm $LIBS"
60652
60653 fi
60654
60655
60656 for ac_func in copysignf
60657 do
60658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60659 echo "$as_me:$LINENO: checking for $ac_func" >&5
60660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60661 if eval "test \"\${$as_ac_var+set}\" = set"; then
60662   echo $ECHO_N "(cached) $ECHO_C" >&6
60663 else
60664   if test x$gcc_no_link = xyes; then
60665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60667    { (exit 1); exit 1; }; }
60668 fi
60669 cat >conftest.$ac_ext <<_ACEOF
60670 /* confdefs.h.  */
60671 _ACEOF
60672 cat confdefs.h >>conftest.$ac_ext
60673 cat >>conftest.$ac_ext <<_ACEOF
60674 /* end confdefs.h.  */
60675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60677 #define $ac_func innocuous_$ac_func
60678
60679 /* System header to define __stub macros and hopefully few prototypes,
60680     which can conflict with char $ac_func (); below.
60681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60682     <limits.h> exists even on freestanding compilers.  */
60683
60684 #ifdef __STDC__
60685 # include <limits.h>
60686 #else
60687 # include <assert.h>
60688 #endif
60689
60690 #undef $ac_func
60691
60692 /* Override any gcc2 internal prototype to avoid an error.  */
60693 #ifdef __cplusplus
60694 extern "C"
60695 {
60696 #endif
60697 /* We use char because int might match the return type of a gcc2
60698    builtin and then its argument prototype would still apply.  */
60699 char $ac_func ();
60700 /* The GNU C library defines this for functions which it implements
60701     to always fail with ENOSYS.  Some functions are actually named
60702     something starting with __ and the normal name is an alias.  */
60703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60704 choke me
60705 #else
60706 char (*f) () = $ac_func;
60707 #endif
60708 #ifdef __cplusplus
60709 }
60710 #endif
60711
60712 int
60713 main ()
60714 {
60715 return f != $ac_func;
60716   ;
60717   return 0;
60718 }
60719 _ACEOF
60720 rm -f conftest.$ac_objext conftest$ac_exeext
60721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60722   (eval $ac_link) 2>conftest.er1
60723   ac_status=$?
60724   grep -v '^ *+' conftest.er1 >conftest.err
60725   rm -f conftest.er1
60726   cat conftest.err >&5
60727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60728   (exit $ac_status); } &&
60729          { ac_try='test -z "$ac_c_werror_flag"
60730                          || test ! -s conftest.err'
60731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60732   (eval $ac_try) 2>&5
60733   ac_status=$?
60734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735   (exit $ac_status); }; } &&
60736          { ac_try='test -s conftest$ac_exeext'
60737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60738   (eval $ac_try) 2>&5
60739   ac_status=$?
60740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60741   (exit $ac_status); }; }; then
60742   eval "$as_ac_var=yes"
60743 else
60744   echo "$as_me: failed program was:" >&5
60745 sed 's/^/| /' conftest.$ac_ext >&5
60746
60747 eval "$as_ac_var=no"
60748 fi
60749 rm -f conftest.err conftest.$ac_objext \
60750       conftest$ac_exeext conftest.$ac_ext
60751 fi
60752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60754 if test `eval echo '${'$as_ac_var'}'` = yes; then
60755   cat >>confdefs.h <<_ACEOF
60756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60757 _ACEOF
60758
60759 else
60760   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
60761 fi
60762 done
60763
60764
60765
60766 for ac_func in __signbit
60767 do
60768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60769 echo "$as_me:$LINENO: checking for $ac_func" >&5
60770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60771 if eval "test \"\${$as_ac_var+set}\" = set"; then
60772   echo $ECHO_N "(cached) $ECHO_C" >&6
60773 else
60774   if test x$gcc_no_link = xyes; then
60775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60777    { (exit 1); exit 1; }; }
60778 fi
60779 cat >conftest.$ac_ext <<_ACEOF
60780 /* confdefs.h.  */
60781 _ACEOF
60782 cat confdefs.h >>conftest.$ac_ext
60783 cat >>conftest.$ac_ext <<_ACEOF
60784 /* end confdefs.h.  */
60785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60787 #define $ac_func innocuous_$ac_func
60788
60789 /* System header to define __stub macros and hopefully few prototypes,
60790     which can conflict with char $ac_func (); below.
60791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60792     <limits.h> exists even on freestanding compilers.  */
60793
60794 #ifdef __STDC__
60795 # include <limits.h>
60796 #else
60797 # include <assert.h>
60798 #endif
60799
60800 #undef $ac_func
60801
60802 /* Override any gcc2 internal prototype to avoid an error.  */
60803 #ifdef __cplusplus
60804 extern "C"
60805 {
60806 #endif
60807 /* We use char because int might match the return type of a gcc2
60808    builtin and then its argument prototype would still apply.  */
60809 char $ac_func ();
60810 /* The GNU C library defines this for functions which it implements
60811     to always fail with ENOSYS.  Some functions are actually named
60812     something starting with __ and the normal name is an alias.  */
60813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60814 choke me
60815 #else
60816 char (*f) () = $ac_func;
60817 #endif
60818 #ifdef __cplusplus
60819 }
60820 #endif
60821
60822 int
60823 main ()
60824 {
60825 return f != $ac_func;
60826   ;
60827   return 0;
60828 }
60829 _ACEOF
60830 rm -f conftest.$ac_objext conftest$ac_exeext
60831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60832   (eval $ac_link) 2>conftest.er1
60833   ac_status=$?
60834   grep -v '^ *+' conftest.er1 >conftest.err
60835   rm -f conftest.er1
60836   cat conftest.err >&5
60837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60838   (exit $ac_status); } &&
60839          { ac_try='test -z "$ac_c_werror_flag"
60840                          || test ! -s conftest.err'
60841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60842   (eval $ac_try) 2>&5
60843   ac_status=$?
60844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60845   (exit $ac_status); }; } &&
60846          { ac_try='test -s conftest$ac_exeext'
60847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60848   (eval $ac_try) 2>&5
60849   ac_status=$?
60850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60851   (exit $ac_status); }; }; then
60852   eval "$as_ac_var=yes"
60853 else
60854   echo "$as_me: failed program was:" >&5
60855 sed 's/^/| /' conftest.$ac_ext >&5
60856
60857 eval "$as_ac_var=no"
60858 fi
60859 rm -f conftest.err conftest.$ac_objext \
60860       conftest$ac_exeext conftest.$ac_ext
60861 fi
60862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60864 if test `eval echo '${'$as_ac_var'}'` = yes; then
60865   cat >>confdefs.h <<_ACEOF
60866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60867 _ACEOF
60868
60869 else
60870   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
60871 fi
60872 done
60873
60874
60875
60876 for ac_func in __signbitf
60877 do
60878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60879 echo "$as_me:$LINENO: checking for $ac_func" >&5
60880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60881 if eval "test \"\${$as_ac_var+set}\" = set"; then
60882   echo $ECHO_N "(cached) $ECHO_C" >&6
60883 else
60884   if test x$gcc_no_link = xyes; then
60885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60887    { (exit 1); exit 1; }; }
60888 fi
60889 cat >conftest.$ac_ext <<_ACEOF
60890 /* confdefs.h.  */
60891 _ACEOF
60892 cat confdefs.h >>conftest.$ac_ext
60893 cat >>conftest.$ac_ext <<_ACEOF
60894 /* end confdefs.h.  */
60895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60897 #define $ac_func innocuous_$ac_func
60898
60899 /* System header to define __stub macros and hopefully few prototypes,
60900     which can conflict with char $ac_func (); below.
60901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60902     <limits.h> exists even on freestanding compilers.  */
60903
60904 #ifdef __STDC__
60905 # include <limits.h>
60906 #else
60907 # include <assert.h>
60908 #endif
60909
60910 #undef $ac_func
60911
60912 /* Override any gcc2 internal prototype to avoid an error.  */
60913 #ifdef __cplusplus
60914 extern "C"
60915 {
60916 #endif
60917 /* We use char because int might match the return type of a gcc2
60918    builtin and then its argument prototype would still apply.  */
60919 char $ac_func ();
60920 /* The GNU C library defines this for functions which it implements
60921     to always fail with ENOSYS.  Some functions are actually named
60922     something starting with __ and the normal name is an alias.  */
60923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60924 choke me
60925 #else
60926 char (*f) () = $ac_func;
60927 #endif
60928 #ifdef __cplusplus
60929 }
60930 #endif
60931
60932 int
60933 main ()
60934 {
60935 return f != $ac_func;
60936   ;
60937   return 0;
60938 }
60939 _ACEOF
60940 rm -f conftest.$ac_objext conftest$ac_exeext
60941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60942   (eval $ac_link) 2>conftest.er1
60943   ac_status=$?
60944   grep -v '^ *+' conftest.er1 >conftest.err
60945   rm -f conftest.er1
60946   cat conftest.err >&5
60947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60948   (exit $ac_status); } &&
60949          { ac_try='test -z "$ac_c_werror_flag"
60950                          || test ! -s conftest.err'
60951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60952   (eval $ac_try) 2>&5
60953   ac_status=$?
60954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60955   (exit $ac_status); }; } &&
60956          { ac_try='test -s conftest$ac_exeext'
60957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60958   (eval $ac_try) 2>&5
60959   ac_status=$?
60960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60961   (exit $ac_status); }; }; then
60962   eval "$as_ac_var=yes"
60963 else
60964   echo "$as_me: failed program was:" >&5
60965 sed 's/^/| /' conftest.$ac_ext >&5
60966
60967 eval "$as_ac_var=no"
60968 fi
60969 rm -f conftest.err conftest.$ac_objext \
60970       conftest$ac_exeext conftest.$ac_ext
60971 fi
60972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60974 if test `eval echo '${'$as_ac_var'}'` = yes; then
60975   cat >>confdefs.h <<_ACEOF
60976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60977 _ACEOF
60978
60979 else
60980   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
60981 fi
60982 done
60983
60984
60985           if test x$ac_cv_func_copysignl = x"yes"; then
60986
60987 for ac_func in __signbitl
60988 do
60989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60990 echo "$as_me:$LINENO: checking for $ac_func" >&5
60991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60992 if eval "test \"\${$as_ac_var+set}\" = set"; then
60993   echo $ECHO_N "(cached) $ECHO_C" >&6
60994 else
60995   if test x$gcc_no_link = xyes; then
60996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60998    { (exit 1); exit 1; }; }
60999 fi
61000 cat >conftest.$ac_ext <<_ACEOF
61001 /* confdefs.h.  */
61002 _ACEOF
61003 cat confdefs.h >>conftest.$ac_ext
61004 cat >>conftest.$ac_ext <<_ACEOF
61005 /* end confdefs.h.  */
61006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61008 #define $ac_func innocuous_$ac_func
61009
61010 /* System header to define __stub macros and hopefully few prototypes,
61011     which can conflict with char $ac_func (); below.
61012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61013     <limits.h> exists even on freestanding compilers.  */
61014
61015 #ifdef __STDC__
61016 # include <limits.h>
61017 #else
61018 # include <assert.h>
61019 #endif
61020
61021 #undef $ac_func
61022
61023 /* Override any gcc2 internal prototype to avoid an error.  */
61024 #ifdef __cplusplus
61025 extern "C"
61026 {
61027 #endif
61028 /* We use char because int might match the return type of a gcc2
61029    builtin and then its argument prototype would still apply.  */
61030 char $ac_func ();
61031 /* The GNU C library defines this for functions which it implements
61032     to always fail with ENOSYS.  Some functions are actually named
61033     something starting with __ and the normal name is an alias.  */
61034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61035 choke me
61036 #else
61037 char (*f) () = $ac_func;
61038 #endif
61039 #ifdef __cplusplus
61040 }
61041 #endif
61042
61043 int
61044 main ()
61045 {
61046 return f != $ac_func;
61047   ;
61048   return 0;
61049 }
61050 _ACEOF
61051 rm -f conftest.$ac_objext conftest$ac_exeext
61052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61053   (eval $ac_link) 2>conftest.er1
61054   ac_status=$?
61055   grep -v '^ *+' conftest.er1 >conftest.err
61056   rm -f conftest.er1
61057   cat conftest.err >&5
61058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059   (exit $ac_status); } &&
61060          { ac_try='test -z "$ac_c_werror_flag"
61061                          || test ! -s conftest.err'
61062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61063   (eval $ac_try) 2>&5
61064   ac_status=$?
61065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61066   (exit $ac_status); }; } &&
61067          { ac_try='test -s conftest$ac_exeext'
61068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069   (eval $ac_try) 2>&5
61070   ac_status=$?
61071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072   (exit $ac_status); }; }; then
61073   eval "$as_ac_var=yes"
61074 else
61075   echo "$as_me: failed program was:" >&5
61076 sed 's/^/| /' conftest.$ac_ext >&5
61077
61078 eval "$as_ac_var=no"
61079 fi
61080 rm -f conftest.err conftest.$ac_objext \
61081       conftest$ac_exeext conftest.$ac_ext
61082 fi
61083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61085 if test `eval echo '${'$as_ac_var'}'` = yes; then
61086   cat >>confdefs.h <<_ACEOF
61087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61088 _ACEOF
61089
61090 else
61091   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61092 fi
61093 done
61094
61095   fi
61096
61097   # Used in libmath/Makefile.am.
61098   if test -n "$LIBMATHOBJS"; then
61099     need_libmath=yes
61100   fi
61101
61102
61103
61104   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61105   ac_save_CXXFLAGS="$CXXFLAGS"
61106   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61107
61108
61109   echo "$as_me:$LINENO: checking for strtold declaration" >&5
61110 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61111   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61112     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61113   echo $ECHO_N "(cached) $ECHO_C" >&6
61114 else
61115
61116
61117
61118       ac_ext=cc
61119 ac_cpp='$CXXCPP $CPPFLAGS'
61120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61123
61124       cat >conftest.$ac_ext <<_ACEOF
61125 /* confdefs.h.  */
61126 _ACEOF
61127 cat confdefs.h >>conftest.$ac_ext
61128 cat >>conftest.$ac_ext <<_ACEOF
61129 /* end confdefs.h.  */
61130 #include <stdlib.h>
61131 int
61132 main ()
61133 {
61134  strtold(0, 0);
61135   ;
61136   return 0;
61137 }
61138 _ACEOF
61139 rm -f conftest.$ac_objext
61140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61141   (eval $ac_compile) 2>conftest.er1
61142   ac_status=$?
61143   grep -v '^ *+' conftest.er1 >conftest.err
61144   rm -f conftest.er1
61145   cat conftest.err >&5
61146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61147   (exit $ac_status); } &&
61148          { ac_try='test -z "$ac_cxx_werror_flag"
61149                          || test ! -s conftest.err'
61150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61151   (eval $ac_try) 2>&5
61152   ac_status=$?
61153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61154   (exit $ac_status); }; } &&
61155          { ac_try='test -s conftest.$ac_objext'
61156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61157   (eval $ac_try) 2>&5
61158   ac_status=$?
61159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61160   (exit $ac_status); }; }; then
61161   glibcxx_cv_func_strtold_use=yes
61162 else
61163   echo "$as_me: failed program was:" >&5
61164 sed 's/^/| /' conftest.$ac_ext >&5
61165
61166 glibcxx_cv_func_strtold_use=no
61167 fi
61168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61169       ac_ext=c
61170 ac_cpp='$CPP $CPPFLAGS'
61171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61174
61175
61176 fi
61177
61178   fi
61179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61180 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61181   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61182
61183 for ac_func in strtold
61184 do
61185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61186 echo "$as_me:$LINENO: checking for $ac_func" >&5
61187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61188 if eval "test \"\${$as_ac_var+set}\" = set"; then
61189   echo $ECHO_N "(cached) $ECHO_C" >&6
61190 else
61191   if test x$gcc_no_link = xyes; then
61192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61194    { (exit 1); exit 1; }; }
61195 fi
61196 cat >conftest.$ac_ext <<_ACEOF
61197 /* confdefs.h.  */
61198 _ACEOF
61199 cat confdefs.h >>conftest.$ac_ext
61200 cat >>conftest.$ac_ext <<_ACEOF
61201 /* end confdefs.h.  */
61202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61204 #define $ac_func innocuous_$ac_func
61205
61206 /* System header to define __stub macros and hopefully few prototypes,
61207     which can conflict with char $ac_func (); below.
61208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61209     <limits.h> exists even on freestanding compilers.  */
61210
61211 #ifdef __STDC__
61212 # include <limits.h>
61213 #else
61214 # include <assert.h>
61215 #endif
61216
61217 #undef $ac_func
61218
61219 /* Override any gcc2 internal prototype to avoid an error.  */
61220 #ifdef __cplusplus
61221 extern "C"
61222 {
61223 #endif
61224 /* We use char because int might match the return type of a gcc2
61225    builtin and then its argument prototype would still apply.  */
61226 char $ac_func ();
61227 /* The GNU C library defines this for functions which it implements
61228     to always fail with ENOSYS.  Some functions are actually named
61229     something starting with __ and the normal name is an alias.  */
61230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61231 choke me
61232 #else
61233 char (*f) () = $ac_func;
61234 #endif
61235 #ifdef __cplusplus
61236 }
61237 #endif
61238
61239 int
61240 main ()
61241 {
61242 return f != $ac_func;
61243   ;
61244   return 0;
61245 }
61246 _ACEOF
61247 rm -f conftest.$ac_objext conftest$ac_exeext
61248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61249   (eval $ac_link) 2>conftest.er1
61250   ac_status=$?
61251   grep -v '^ *+' conftest.er1 >conftest.err
61252   rm -f conftest.er1
61253   cat conftest.err >&5
61254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61255   (exit $ac_status); } &&
61256          { ac_try='test -z "$ac_c_werror_flag"
61257                          || test ! -s conftest.err'
61258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61259   (eval $ac_try) 2>&5
61260   ac_status=$?
61261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262   (exit $ac_status); }; } &&
61263          { ac_try='test -s conftest$ac_exeext'
61264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61265   (eval $ac_try) 2>&5
61266   ac_status=$?
61267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61268   (exit $ac_status); }; }; then
61269   eval "$as_ac_var=yes"
61270 else
61271   echo "$as_me: failed program was:" >&5
61272 sed 's/^/| /' conftest.$ac_ext >&5
61273
61274 eval "$as_ac_var=no"
61275 fi
61276 rm -f conftest.err conftest.$ac_objext \
61277       conftest$ac_exeext conftest.$ac_ext
61278 fi
61279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61281 if test `eval echo '${'$as_ac_var'}'` = yes; then
61282   cat >>confdefs.h <<_ACEOF
61283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61284 _ACEOF
61285
61286 fi
61287 done
61288
61289   fi
61290
61291
61292
61293
61294
61295   echo "$as_me:$LINENO: checking for strtof declaration" >&5
61296 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61297   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61298     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61299   echo $ECHO_N "(cached) $ECHO_C" >&6
61300 else
61301
61302
61303
61304       ac_ext=cc
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61309
61310       cat >conftest.$ac_ext <<_ACEOF
61311 /* confdefs.h.  */
61312 _ACEOF
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h.  */
61316 #include <stdlib.h>
61317 int
61318 main ()
61319 {
61320  strtof(0, 0);
61321   ;
61322   return 0;
61323 }
61324 _ACEOF
61325 rm -f conftest.$ac_objext
61326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61327   (eval $ac_compile) 2>conftest.er1
61328   ac_status=$?
61329   grep -v '^ *+' conftest.er1 >conftest.err
61330   rm -f conftest.er1
61331   cat conftest.err >&5
61332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61333   (exit $ac_status); } &&
61334          { ac_try='test -z "$ac_cxx_werror_flag"
61335                          || test ! -s conftest.err'
61336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61337   (eval $ac_try) 2>&5
61338   ac_status=$?
61339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61340   (exit $ac_status); }; } &&
61341          { ac_try='test -s conftest.$ac_objext'
61342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61343   (eval $ac_try) 2>&5
61344   ac_status=$?
61345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61346   (exit $ac_status); }; }; then
61347   glibcxx_cv_func_strtof_use=yes
61348 else
61349   echo "$as_me: failed program was:" >&5
61350 sed 's/^/| /' conftest.$ac_ext >&5
61351
61352 glibcxx_cv_func_strtof_use=no
61353 fi
61354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61355       ac_ext=c
61356 ac_cpp='$CPP $CPPFLAGS'
61357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61360
61361
61362 fi
61363
61364   fi
61365   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61366 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61367   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61368
61369 for ac_func in strtof
61370 do
61371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61372 echo "$as_me:$LINENO: checking for $ac_func" >&5
61373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61374 if eval "test \"\${$as_ac_var+set}\" = set"; then
61375   echo $ECHO_N "(cached) $ECHO_C" >&6
61376 else
61377   if test x$gcc_no_link = xyes; then
61378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61380    { (exit 1); exit 1; }; }
61381 fi
61382 cat >conftest.$ac_ext <<_ACEOF
61383 /* confdefs.h.  */
61384 _ACEOF
61385 cat confdefs.h >>conftest.$ac_ext
61386 cat >>conftest.$ac_ext <<_ACEOF
61387 /* end confdefs.h.  */
61388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61390 #define $ac_func innocuous_$ac_func
61391
61392 /* System header to define __stub macros and hopefully few prototypes,
61393     which can conflict with char $ac_func (); below.
61394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61395     <limits.h> exists even on freestanding compilers.  */
61396
61397 #ifdef __STDC__
61398 # include <limits.h>
61399 #else
61400 # include <assert.h>
61401 #endif
61402
61403 #undef $ac_func
61404
61405 /* Override any gcc2 internal prototype to avoid an error.  */
61406 #ifdef __cplusplus
61407 extern "C"
61408 {
61409 #endif
61410 /* We use char because int might match the return type of a gcc2
61411    builtin and then its argument prototype would still apply.  */
61412 char $ac_func ();
61413 /* The GNU C library defines this for functions which it implements
61414     to always fail with ENOSYS.  Some functions are actually named
61415     something starting with __ and the normal name is an alias.  */
61416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61417 choke me
61418 #else
61419 char (*f) () = $ac_func;
61420 #endif
61421 #ifdef __cplusplus
61422 }
61423 #endif
61424
61425 int
61426 main ()
61427 {
61428 return f != $ac_func;
61429   ;
61430   return 0;
61431 }
61432 _ACEOF
61433 rm -f conftest.$ac_objext conftest$ac_exeext
61434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61435   (eval $ac_link) 2>conftest.er1
61436   ac_status=$?
61437   grep -v '^ *+' conftest.er1 >conftest.err
61438   rm -f conftest.er1
61439   cat conftest.err >&5
61440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61441   (exit $ac_status); } &&
61442          { ac_try='test -z "$ac_c_werror_flag"
61443                          || test ! -s conftest.err'
61444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61445   (eval $ac_try) 2>&5
61446   ac_status=$?
61447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61448   (exit $ac_status); }; } &&
61449          { ac_try='test -s conftest$ac_exeext'
61450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61451   (eval $ac_try) 2>&5
61452   ac_status=$?
61453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61454   (exit $ac_status); }; }; then
61455   eval "$as_ac_var=yes"
61456 else
61457   echo "$as_me: failed program was:" >&5
61458 sed 's/^/| /' conftest.$ac_ext >&5
61459
61460 eval "$as_ac_var=no"
61461 fi
61462 rm -f conftest.err conftest.$ac_objext \
61463       conftest$ac_exeext conftest.$ac_ext
61464 fi
61465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61467 if test `eval echo '${'$as_ac_var'}'` = yes; then
61468   cat >>confdefs.h <<_ACEOF
61469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61470 _ACEOF
61471
61472 fi
61473 done
61474
61475   fi
61476
61477
61478
61479
61480
61481   CXXFLAGS="$ac_save_CXXFLAGS"
61482
61483
61484     cat >>confdefs.h <<\_ACEOF
61485 #define HAVE_LIBM 1
61486 _ACEOF
61487
61488     cat >>confdefs.h <<\_ACEOF
61489 #define HAVE_COPYSIGN 1
61490 _ACEOF
61491
61492     cat >>confdefs.h <<\_ACEOF
61493 #define HAVE_FINITE 1
61494 _ACEOF
61495
61496     cat >>confdefs.h <<\_ACEOF
61497 #define HAVE_HYPOT 1
61498 _ACEOF
61499
61500     cat >>confdefs.h <<\_ACEOF
61501 #define HAVE_ISNAN 1
61502 _ACEOF
61503
61504     cat >>confdefs.h <<\_ACEOF
61505 #define HAVE_ISINF 1
61506 _ACEOF
61507
61508
61509     cat >>confdefs.h <<\_ACEOF
61510 #define HAVE_LDEXPF 1
61511 _ACEOF
61512
61513     cat >>confdefs.h <<\_ACEOF
61514 #define HAVE_MODF 1
61515 _ACEOF
61516
61517     cat >>confdefs.h <<\_ACEOF
61518 #define HAVE_SQRTF 1
61519 _ACEOF
61520
61521     ;;
61522
61523   *-darwin*)
61524     # Darwin versions vary, but the linker should work in a cross environment,
61525     # so we just check for all the features here.
61526     # Check for available headers.
61527
61528     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
61529
61530   ac_test_CXXFLAGS="${CXXFLAGS+set}"
61531   ac_save_CXXFLAGS="$CXXFLAGS"
61532   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61533
61534     echo "$as_me:$LINENO: checking for sin in -lm" >&5
61535 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
61536 if test "${ac_cv_lib_m_sin+set}" = set; then
61537   echo $ECHO_N "(cached) $ECHO_C" >&6
61538 else
61539   ac_check_lib_save_LIBS=$LIBS
61540 LIBS="-lm  $LIBS"
61541 if test x$gcc_no_link = xyes; then
61542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61544    { (exit 1); exit 1; }; }
61545 fi
61546 cat >conftest.$ac_ext <<_ACEOF
61547 /* confdefs.h.  */
61548 _ACEOF
61549 cat confdefs.h >>conftest.$ac_ext
61550 cat >>conftest.$ac_ext <<_ACEOF
61551 /* end confdefs.h.  */
61552
61553 /* Override any gcc2 internal prototype to avoid an error.  */
61554 #ifdef __cplusplus
61555 extern "C"
61556 #endif
61557 /* We use char because int might match the return type of a gcc2
61558    builtin and then its argument prototype would still apply.  */
61559 char sin ();
61560 int
61561 main ()
61562 {
61563 sin ();
61564   ;
61565   return 0;
61566 }
61567 _ACEOF
61568 rm -f conftest.$ac_objext conftest$ac_exeext
61569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61570   (eval $ac_link) 2>conftest.er1
61571   ac_status=$?
61572   grep -v '^ *+' conftest.er1 >conftest.err
61573   rm -f conftest.er1
61574   cat conftest.err >&5
61575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61576   (exit $ac_status); } &&
61577          { ac_try='test -z "$ac_c_werror_flag"
61578                          || test ! -s conftest.err'
61579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61580   (eval $ac_try) 2>&5
61581   ac_status=$?
61582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61583   (exit $ac_status); }; } &&
61584          { ac_try='test -s conftest$ac_exeext'
61585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61586   (eval $ac_try) 2>&5
61587   ac_status=$?
61588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61589   (exit $ac_status); }; }; then
61590   ac_cv_lib_m_sin=yes
61591 else
61592   echo "$as_me: failed program was:" >&5
61593 sed 's/^/| /' conftest.$ac_ext >&5
61594
61595 ac_cv_lib_m_sin=no
61596 fi
61597 rm -f conftest.err conftest.$ac_objext \
61598       conftest$ac_exeext conftest.$ac_ext
61599 LIBS=$ac_check_lib_save_LIBS
61600 fi
61601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
61602 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
61603 if test $ac_cv_lib_m_sin = yes; then
61604   libm="-lm"
61605 fi
61606
61607   ac_save_LIBS="$LIBS"
61608   LIBS="$LIBS $libm"
61609
61610
61611
61612   echo "$as_me:$LINENO: checking for isinf declaration" >&5
61613 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
61614   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61615     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
61616   echo $ECHO_N "(cached) $ECHO_C" >&6
61617 else
61618
61619
61620
61621       ac_ext=cc
61622 ac_cpp='$CXXCPP $CPPFLAGS'
61623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626
61627       cat >conftest.$ac_ext <<_ACEOF
61628 /* confdefs.h.  */
61629 _ACEOF
61630 cat confdefs.h >>conftest.$ac_ext
61631 cat >>conftest.$ac_ext <<_ACEOF
61632 /* end confdefs.h.  */
61633 #include <math.h>
61634                       #ifdef HAVE_IEEEFP_H
61635                       #include <ieeefp.h>
61636                       #endif
61637
61638 int
61639 main ()
61640 {
61641  isinf(0);
61642   ;
61643   return 0;
61644 }
61645 _ACEOF
61646 rm -f conftest.$ac_objext
61647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61648   (eval $ac_compile) 2>conftest.er1
61649   ac_status=$?
61650   grep -v '^ *+' conftest.er1 >conftest.err
61651   rm -f conftest.er1
61652   cat conftest.err >&5
61653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61654   (exit $ac_status); } &&
61655          { ac_try='test -z "$ac_cxx_werror_flag"
61656                          || test ! -s conftest.err'
61657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61658   (eval $ac_try) 2>&5
61659   ac_status=$?
61660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61661   (exit $ac_status); }; } &&
61662          { ac_try='test -s conftest.$ac_objext'
61663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61664   (eval $ac_try) 2>&5
61665   ac_status=$?
61666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61667   (exit $ac_status); }; }; then
61668   glibcxx_cv_func_isinf_use=yes
61669 else
61670   echo "$as_me: failed program was:" >&5
61671 sed 's/^/| /' conftest.$ac_ext >&5
61672
61673 glibcxx_cv_func_isinf_use=no
61674 fi
61675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61676       ac_ext=c
61677 ac_cpp='$CPP $CPPFLAGS'
61678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61681
61682
61683 fi
61684
61685   fi
61686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
61687 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
61688
61689   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61690
61691 for ac_func in isinf
61692 do
61693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61694 echo "$as_me:$LINENO: checking for $ac_func" >&5
61695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61696 if eval "test \"\${$as_ac_var+set}\" = set"; then
61697   echo $ECHO_N "(cached) $ECHO_C" >&6
61698 else
61699   if test x$gcc_no_link = xyes; then
61700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61702    { (exit 1); exit 1; }; }
61703 fi
61704 cat >conftest.$ac_ext <<_ACEOF
61705 /* confdefs.h.  */
61706 _ACEOF
61707 cat confdefs.h >>conftest.$ac_ext
61708 cat >>conftest.$ac_ext <<_ACEOF
61709 /* end confdefs.h.  */
61710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61712 #define $ac_func innocuous_$ac_func
61713
61714 /* System header to define __stub macros and hopefully few prototypes,
61715     which can conflict with char $ac_func (); below.
61716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61717     <limits.h> exists even on freestanding compilers.  */
61718
61719 #ifdef __STDC__
61720 # include <limits.h>
61721 #else
61722 # include <assert.h>
61723 #endif
61724
61725 #undef $ac_func
61726
61727 /* Override any gcc2 internal prototype to avoid an error.  */
61728 #ifdef __cplusplus
61729 extern "C"
61730 {
61731 #endif
61732 /* We use char because int might match the return type of a gcc2
61733    builtin and then its argument prototype would still apply.  */
61734 char $ac_func ();
61735 /* The GNU C library defines this for functions which it implements
61736     to always fail with ENOSYS.  Some functions are actually named
61737     something starting with __ and the normal name is an alias.  */
61738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61739 choke me
61740 #else
61741 char (*f) () = $ac_func;
61742 #endif
61743 #ifdef __cplusplus
61744 }
61745 #endif
61746
61747 int
61748 main ()
61749 {
61750 return f != $ac_func;
61751   ;
61752   return 0;
61753 }
61754 _ACEOF
61755 rm -f conftest.$ac_objext conftest$ac_exeext
61756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61757   (eval $ac_link) 2>conftest.er1
61758   ac_status=$?
61759   grep -v '^ *+' conftest.er1 >conftest.err
61760   rm -f conftest.er1
61761   cat conftest.err >&5
61762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61763   (exit $ac_status); } &&
61764          { ac_try='test -z "$ac_c_werror_flag"
61765                          || test ! -s conftest.err'
61766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61767   (eval $ac_try) 2>&5
61768   ac_status=$?
61769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61770   (exit $ac_status); }; } &&
61771          { ac_try='test -s conftest$ac_exeext'
61772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61773   (eval $ac_try) 2>&5
61774   ac_status=$?
61775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61776   (exit $ac_status); }; }; then
61777   eval "$as_ac_var=yes"
61778 else
61779   echo "$as_me: failed program was:" >&5
61780 sed 's/^/| /' conftest.$ac_ext >&5
61781
61782 eval "$as_ac_var=no"
61783 fi
61784 rm -f conftest.err conftest.$ac_objext \
61785       conftest$ac_exeext conftest.$ac_ext
61786 fi
61787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61789 if test `eval echo '${'$as_ac_var'}'` = yes; then
61790   cat >>confdefs.h <<_ACEOF
61791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61792 _ACEOF
61793
61794 fi
61795 done
61796
61797   else
61798
61799   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
61800 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
61801   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61802     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
61803   echo $ECHO_N "(cached) $ECHO_C" >&6
61804 else
61805
61806
61807
61808       ac_ext=cc
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813
61814       cat >conftest.$ac_ext <<_ACEOF
61815 /* confdefs.h.  */
61816 _ACEOF
61817 cat confdefs.h >>conftest.$ac_ext
61818 cat >>conftest.$ac_ext <<_ACEOF
61819 /* end confdefs.h.  */
61820 #include <math.h>
61821                       #ifdef HAVE_IEEEFP_H
61822                       #include <ieeefp.h>
61823                       #endif
61824
61825 int
61826 main ()
61827 {
61828  _isinf(0);
61829   ;
61830   return 0;
61831 }
61832 _ACEOF
61833 rm -f conftest.$ac_objext
61834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61835   (eval $ac_compile) 2>conftest.er1
61836   ac_status=$?
61837   grep -v '^ *+' conftest.er1 >conftest.err
61838   rm -f conftest.er1
61839   cat conftest.err >&5
61840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61841   (exit $ac_status); } &&
61842          { ac_try='test -z "$ac_cxx_werror_flag"
61843                          || test ! -s conftest.err'
61844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61845   (eval $ac_try) 2>&5
61846   ac_status=$?
61847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61848   (exit $ac_status); }; } &&
61849          { ac_try='test -s conftest.$ac_objext'
61850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61851   (eval $ac_try) 2>&5
61852   ac_status=$?
61853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61854   (exit $ac_status); }; }; then
61855   glibcxx_cv_func__isinf_use=yes
61856 else
61857   echo "$as_me: failed program was:" >&5
61858 sed 's/^/| /' conftest.$ac_ext >&5
61859
61860 glibcxx_cv_func__isinf_use=no
61861 fi
61862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61863       ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868
61869
61870 fi
61871
61872   fi
61873   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
61874 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
61875
61876     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61877
61878 for ac_func in _isinf
61879 do
61880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61881 echo "$as_me:$LINENO: checking for $ac_func" >&5
61882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61883 if eval "test \"\${$as_ac_var+set}\" = set"; then
61884   echo $ECHO_N "(cached) $ECHO_C" >&6
61885 else
61886   if test x$gcc_no_link = xyes; then
61887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61889    { (exit 1); exit 1; }; }
61890 fi
61891 cat >conftest.$ac_ext <<_ACEOF
61892 /* confdefs.h.  */
61893 _ACEOF
61894 cat confdefs.h >>conftest.$ac_ext
61895 cat >>conftest.$ac_ext <<_ACEOF
61896 /* end confdefs.h.  */
61897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61899 #define $ac_func innocuous_$ac_func
61900
61901 /* System header to define __stub macros and hopefully few prototypes,
61902     which can conflict with char $ac_func (); below.
61903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61904     <limits.h> exists even on freestanding compilers.  */
61905
61906 #ifdef __STDC__
61907 # include <limits.h>
61908 #else
61909 # include <assert.h>
61910 #endif
61911
61912 #undef $ac_func
61913
61914 /* Override any gcc2 internal prototype to avoid an error.  */
61915 #ifdef __cplusplus
61916 extern "C"
61917 {
61918 #endif
61919 /* We use char because int might match the return type of a gcc2
61920    builtin and then its argument prototype would still apply.  */
61921 char $ac_func ();
61922 /* The GNU C library defines this for functions which it implements
61923     to always fail with ENOSYS.  Some functions are actually named
61924     something starting with __ and the normal name is an alias.  */
61925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61926 choke me
61927 #else
61928 char (*f) () = $ac_func;
61929 #endif
61930 #ifdef __cplusplus
61931 }
61932 #endif
61933
61934 int
61935 main ()
61936 {
61937 return f != $ac_func;
61938   ;
61939   return 0;
61940 }
61941 _ACEOF
61942 rm -f conftest.$ac_objext conftest$ac_exeext
61943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61944   (eval $ac_link) 2>conftest.er1
61945   ac_status=$?
61946   grep -v '^ *+' conftest.er1 >conftest.err
61947   rm -f conftest.er1
61948   cat conftest.err >&5
61949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61950   (exit $ac_status); } &&
61951          { ac_try='test -z "$ac_c_werror_flag"
61952                          || test ! -s conftest.err'
61953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61954   (eval $ac_try) 2>&5
61955   ac_status=$?
61956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61957   (exit $ac_status); }; } &&
61958          { ac_try='test -s conftest$ac_exeext'
61959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960   (eval $ac_try) 2>&5
61961   ac_status=$?
61962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963   (exit $ac_status); }; }; then
61964   eval "$as_ac_var=yes"
61965 else
61966   echo "$as_me: failed program was:" >&5
61967 sed 's/^/| /' conftest.$ac_ext >&5
61968
61969 eval "$as_ac_var=no"
61970 fi
61971 rm -f conftest.err conftest.$ac_objext \
61972       conftest$ac_exeext conftest.$ac_ext
61973 fi
61974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61976 if test `eval echo '${'$as_ac_var'}'` = yes; then
61977   cat >>confdefs.h <<_ACEOF
61978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61979 _ACEOF
61980
61981 fi
61982 done
61983
61984     fi
61985   fi
61986
61987
61988
61989
61990
61991
61992   echo "$as_me:$LINENO: checking for isnan declaration" >&5
61993 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
61994   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61995     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
61996   echo $ECHO_N "(cached) $ECHO_C" >&6
61997 else
61998
61999
62000
62001       ac_ext=cc
62002 ac_cpp='$CXXCPP $CPPFLAGS'
62003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62006
62007       cat >conftest.$ac_ext <<_ACEOF
62008 /* confdefs.h.  */
62009 _ACEOF
62010 cat confdefs.h >>conftest.$ac_ext
62011 cat >>conftest.$ac_ext <<_ACEOF
62012 /* end confdefs.h.  */
62013 #include <math.h>
62014                       #ifdef HAVE_IEEEFP_H
62015                       #include <ieeefp.h>
62016                       #endif
62017
62018 int
62019 main ()
62020 {
62021  isnan(0);
62022   ;
62023   return 0;
62024 }
62025 _ACEOF
62026 rm -f conftest.$ac_objext
62027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62028   (eval $ac_compile) 2>conftest.er1
62029   ac_status=$?
62030   grep -v '^ *+' conftest.er1 >conftest.err
62031   rm -f conftest.er1
62032   cat conftest.err >&5
62033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62034   (exit $ac_status); } &&
62035          { ac_try='test -z "$ac_cxx_werror_flag"
62036                          || test ! -s conftest.err'
62037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62038   (eval $ac_try) 2>&5
62039   ac_status=$?
62040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62041   (exit $ac_status); }; } &&
62042          { ac_try='test -s conftest.$ac_objext'
62043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62044   (eval $ac_try) 2>&5
62045   ac_status=$?
62046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62047   (exit $ac_status); }; }; then
62048   glibcxx_cv_func_isnan_use=yes
62049 else
62050   echo "$as_me: failed program was:" >&5
62051 sed 's/^/| /' conftest.$ac_ext >&5
62052
62053 glibcxx_cv_func_isnan_use=no
62054 fi
62055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62056       ac_ext=c
62057 ac_cpp='$CPP $CPPFLAGS'
62058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62061
62062
62063 fi
62064
62065   fi
62066   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
62067 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
62068
62069   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
62070
62071 for ac_func in isnan
62072 do
62073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62074 echo "$as_me:$LINENO: checking for $ac_func" >&5
62075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62076 if eval "test \"\${$as_ac_var+set}\" = set"; then
62077   echo $ECHO_N "(cached) $ECHO_C" >&6
62078 else
62079   if test x$gcc_no_link = xyes; then
62080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62082    { (exit 1); exit 1; }; }
62083 fi
62084 cat >conftest.$ac_ext <<_ACEOF
62085 /* confdefs.h.  */
62086 _ACEOF
62087 cat confdefs.h >>conftest.$ac_ext
62088 cat >>conftest.$ac_ext <<_ACEOF
62089 /* end confdefs.h.  */
62090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62092 #define $ac_func innocuous_$ac_func
62093
62094 /* System header to define __stub macros and hopefully few prototypes,
62095     which can conflict with char $ac_func (); below.
62096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62097     <limits.h> exists even on freestanding compilers.  */
62098
62099 #ifdef __STDC__
62100 # include <limits.h>
62101 #else
62102 # include <assert.h>
62103 #endif
62104
62105 #undef $ac_func
62106
62107 /* Override any gcc2 internal prototype to avoid an error.  */
62108 #ifdef __cplusplus
62109 extern "C"
62110 {
62111 #endif
62112 /* We use char because int might match the return type of a gcc2
62113    builtin and then its argument prototype would still apply.  */
62114 char $ac_func ();
62115 /* The GNU C library defines this for functions which it implements
62116     to always fail with ENOSYS.  Some functions are actually named
62117     something starting with __ and the normal name is an alias.  */
62118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62119 choke me
62120 #else
62121 char (*f) () = $ac_func;
62122 #endif
62123 #ifdef __cplusplus
62124 }
62125 #endif
62126
62127 int
62128 main ()
62129 {
62130 return f != $ac_func;
62131   ;
62132   return 0;
62133 }
62134 _ACEOF
62135 rm -f conftest.$ac_objext conftest$ac_exeext
62136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62137   (eval $ac_link) 2>conftest.er1
62138   ac_status=$?
62139   grep -v '^ *+' conftest.er1 >conftest.err
62140   rm -f conftest.er1
62141   cat conftest.err >&5
62142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62143   (exit $ac_status); } &&
62144          { ac_try='test -z "$ac_c_werror_flag"
62145                          || test ! -s conftest.err'
62146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62147   (eval $ac_try) 2>&5
62148   ac_status=$?
62149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62150   (exit $ac_status); }; } &&
62151          { ac_try='test -s conftest$ac_exeext'
62152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62153   (eval $ac_try) 2>&5
62154   ac_status=$?
62155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62156   (exit $ac_status); }; }; then
62157   eval "$as_ac_var=yes"
62158 else
62159   echo "$as_me: failed program was:" >&5
62160 sed 's/^/| /' conftest.$ac_ext >&5
62161
62162 eval "$as_ac_var=no"
62163 fi
62164 rm -f conftest.err conftest.$ac_objext \
62165       conftest$ac_exeext conftest.$ac_ext
62166 fi
62167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62169 if test `eval echo '${'$as_ac_var'}'` = yes; then
62170   cat >>confdefs.h <<_ACEOF
62171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62172 _ACEOF
62173
62174 fi
62175 done
62176
62177   else
62178
62179   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
62180 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
62181   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
62182     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
62183   echo $ECHO_N "(cached) $ECHO_C" >&6
62184 else
62185
62186
62187
62188       ac_ext=cc
62189 ac_cpp='$CXXCPP $CPPFLAGS'
62190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62193
62194       cat >conftest.$ac_ext <<_ACEOF
62195 /* confdefs.h.  */
62196 _ACEOF
62197 cat confdefs.h >>conftest.$ac_ext
62198 cat >>conftest.$ac_ext <<_ACEOF
62199 /* end confdefs.h.  */
62200 #include <math.h>
62201                       #ifdef HAVE_IEEEFP_H
62202                       #include <ieeefp.h>
62203                       #endif
62204
62205 int
62206 main ()
62207 {
62208  _isnan(0);
62209   ;
62210   return 0;
62211 }
62212 _ACEOF
62213 rm -f conftest.$ac_objext
62214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62215   (eval $ac_compile) 2>conftest.er1
62216   ac_status=$?
62217   grep -v '^ *+' conftest.er1 >conftest.err
62218   rm -f conftest.er1
62219   cat conftest.err >&5
62220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62221   (exit $ac_status); } &&
62222          { ac_try='test -z "$ac_cxx_werror_flag"
62223                          || test ! -s conftest.err'
62224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62225   (eval $ac_try) 2>&5
62226   ac_status=$?
62227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62228   (exit $ac_status); }; } &&
62229          { ac_try='test -s conftest.$ac_objext'
62230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231   (eval $ac_try) 2>&5
62232   ac_status=$?
62233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62234   (exit $ac_status); }; }; then
62235   glibcxx_cv_func__isnan_use=yes
62236 else
62237   echo "$as_me: failed program was:" >&5
62238 sed 's/^/| /' conftest.$ac_ext >&5
62239
62240 glibcxx_cv_func__isnan_use=no
62241 fi
62242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62243       ac_ext=c
62244 ac_cpp='$CPP $CPPFLAGS'
62245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62248
62249
62250 fi
62251
62252   fi
62253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
62254 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
62255
62256     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
62257
62258 for ac_func in _isnan
62259 do
62260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62261 echo "$as_me:$LINENO: checking for $ac_func" >&5
62262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62263 if eval "test \"\${$as_ac_var+set}\" = set"; then
62264   echo $ECHO_N "(cached) $ECHO_C" >&6
62265 else
62266   if test x$gcc_no_link = xyes; then
62267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62269    { (exit 1); exit 1; }; }
62270 fi
62271 cat >conftest.$ac_ext <<_ACEOF
62272 /* confdefs.h.  */
62273 _ACEOF
62274 cat confdefs.h >>conftest.$ac_ext
62275 cat >>conftest.$ac_ext <<_ACEOF
62276 /* end confdefs.h.  */
62277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62279 #define $ac_func innocuous_$ac_func
62280
62281 /* System header to define __stub macros and hopefully few prototypes,
62282     which can conflict with char $ac_func (); below.
62283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62284     <limits.h> exists even on freestanding compilers.  */
62285
62286 #ifdef __STDC__
62287 # include <limits.h>
62288 #else
62289 # include <assert.h>
62290 #endif
62291
62292 #undef $ac_func
62293
62294 /* Override any gcc2 internal prototype to avoid an error.  */
62295 #ifdef __cplusplus
62296 extern "C"
62297 {
62298 #endif
62299 /* We use char because int might match the return type of a gcc2
62300    builtin and then its argument prototype would still apply.  */
62301 char $ac_func ();
62302 /* The GNU C library defines this for functions which it implements
62303     to always fail with ENOSYS.  Some functions are actually named
62304     something starting with __ and the normal name is an alias.  */
62305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62306 choke me
62307 #else
62308 char (*f) () = $ac_func;
62309 #endif
62310 #ifdef __cplusplus
62311 }
62312 #endif
62313
62314 int
62315 main ()
62316 {
62317 return f != $ac_func;
62318   ;
62319   return 0;
62320 }
62321 _ACEOF
62322 rm -f conftest.$ac_objext conftest$ac_exeext
62323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62324   (eval $ac_link) 2>conftest.er1
62325   ac_status=$?
62326   grep -v '^ *+' conftest.er1 >conftest.err
62327   rm -f conftest.er1
62328   cat conftest.err >&5
62329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62330   (exit $ac_status); } &&
62331          { ac_try='test -z "$ac_c_werror_flag"
62332                          || test ! -s conftest.err'
62333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62334   (eval $ac_try) 2>&5
62335   ac_status=$?
62336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62337   (exit $ac_status); }; } &&
62338          { ac_try='test -s conftest$ac_exeext'
62339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62340   (eval $ac_try) 2>&5
62341   ac_status=$?
62342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62343   (exit $ac_status); }; }; then
62344   eval "$as_ac_var=yes"
62345 else
62346   echo "$as_me: failed program was:" >&5
62347 sed 's/^/| /' conftest.$ac_ext >&5
62348
62349 eval "$as_ac_var=no"
62350 fi
62351 rm -f conftest.err conftest.$ac_objext \
62352       conftest$ac_exeext conftest.$ac_ext
62353 fi
62354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62356 if test `eval echo '${'$as_ac_var'}'` = yes; then
62357   cat >>confdefs.h <<_ACEOF
62358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62359 _ACEOF
62360
62361 fi
62362 done
62363
62364     fi
62365   fi
62366
62367
62368
62369
62370
62371
62372   echo "$as_me:$LINENO: checking for finite declaration" >&5
62373 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
62374   if test x${glibcxx_cv_func_finite_use+set} != xset; then
62375     if test "${glibcxx_cv_func_finite_use+set}" = set; then
62376   echo $ECHO_N "(cached) $ECHO_C" >&6
62377 else
62378
62379
62380
62381       ac_ext=cc
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62386
62387       cat >conftest.$ac_ext <<_ACEOF
62388 /* confdefs.h.  */
62389 _ACEOF
62390 cat confdefs.h >>conftest.$ac_ext
62391 cat >>conftest.$ac_ext <<_ACEOF
62392 /* end confdefs.h.  */
62393 #include <math.h>
62394                       #ifdef HAVE_IEEEFP_H
62395                       #include <ieeefp.h>
62396                       #endif
62397
62398 int
62399 main ()
62400 {
62401  finite(0);
62402   ;
62403   return 0;
62404 }
62405 _ACEOF
62406 rm -f conftest.$ac_objext
62407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62408   (eval $ac_compile) 2>conftest.er1
62409   ac_status=$?
62410   grep -v '^ *+' conftest.er1 >conftest.err
62411   rm -f conftest.er1
62412   cat conftest.err >&5
62413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62414   (exit $ac_status); } &&
62415          { ac_try='test -z "$ac_cxx_werror_flag"
62416                          || test ! -s conftest.err'
62417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62418   (eval $ac_try) 2>&5
62419   ac_status=$?
62420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62421   (exit $ac_status); }; } &&
62422          { ac_try='test -s conftest.$ac_objext'
62423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62424   (eval $ac_try) 2>&5
62425   ac_status=$?
62426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62427   (exit $ac_status); }; }; then
62428   glibcxx_cv_func_finite_use=yes
62429 else
62430   echo "$as_me: failed program was:" >&5
62431 sed 's/^/| /' conftest.$ac_ext >&5
62432
62433 glibcxx_cv_func_finite_use=no
62434 fi
62435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62436       ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62441
62442
62443 fi
62444
62445   fi
62446   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
62447 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
62448
62449   if test x$glibcxx_cv_func_finite_use = x"yes"; then
62450
62451 for ac_func in finite
62452 do
62453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62454 echo "$as_me:$LINENO: checking for $ac_func" >&5
62455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62456 if eval "test \"\${$as_ac_var+set}\" = set"; then
62457   echo $ECHO_N "(cached) $ECHO_C" >&6
62458 else
62459   if test x$gcc_no_link = xyes; then
62460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62462    { (exit 1); exit 1; }; }
62463 fi
62464 cat >conftest.$ac_ext <<_ACEOF
62465 /* confdefs.h.  */
62466 _ACEOF
62467 cat confdefs.h >>conftest.$ac_ext
62468 cat >>conftest.$ac_ext <<_ACEOF
62469 /* end confdefs.h.  */
62470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62472 #define $ac_func innocuous_$ac_func
62473
62474 /* System header to define __stub macros and hopefully few prototypes,
62475     which can conflict with char $ac_func (); below.
62476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62477     <limits.h> exists even on freestanding compilers.  */
62478
62479 #ifdef __STDC__
62480 # include <limits.h>
62481 #else
62482 # include <assert.h>
62483 #endif
62484
62485 #undef $ac_func
62486
62487 /* Override any gcc2 internal prototype to avoid an error.  */
62488 #ifdef __cplusplus
62489 extern "C"
62490 {
62491 #endif
62492 /* We use char because int might match the return type of a gcc2
62493    builtin and then its argument prototype would still apply.  */
62494 char $ac_func ();
62495 /* The GNU C library defines this for functions which it implements
62496     to always fail with ENOSYS.  Some functions are actually named
62497     something starting with __ and the normal name is an alias.  */
62498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62499 choke me
62500 #else
62501 char (*f) () = $ac_func;
62502 #endif
62503 #ifdef __cplusplus
62504 }
62505 #endif
62506
62507 int
62508 main ()
62509 {
62510 return f != $ac_func;
62511   ;
62512   return 0;
62513 }
62514 _ACEOF
62515 rm -f conftest.$ac_objext conftest$ac_exeext
62516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62517   (eval $ac_link) 2>conftest.er1
62518   ac_status=$?
62519   grep -v '^ *+' conftest.er1 >conftest.err
62520   rm -f conftest.er1
62521   cat conftest.err >&5
62522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62523   (exit $ac_status); } &&
62524          { ac_try='test -z "$ac_c_werror_flag"
62525                          || test ! -s conftest.err'
62526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62527   (eval $ac_try) 2>&5
62528   ac_status=$?
62529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62530   (exit $ac_status); }; } &&
62531          { ac_try='test -s conftest$ac_exeext'
62532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62533   (eval $ac_try) 2>&5
62534   ac_status=$?
62535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62536   (exit $ac_status); }; }; then
62537   eval "$as_ac_var=yes"
62538 else
62539   echo "$as_me: failed program was:" >&5
62540 sed 's/^/| /' conftest.$ac_ext >&5
62541
62542 eval "$as_ac_var=no"
62543 fi
62544 rm -f conftest.err conftest.$ac_objext \
62545       conftest$ac_exeext conftest.$ac_ext
62546 fi
62547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62549 if test `eval echo '${'$as_ac_var'}'` = yes; then
62550   cat >>confdefs.h <<_ACEOF
62551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62552 _ACEOF
62553
62554 fi
62555 done
62556
62557   else
62558
62559   echo "$as_me:$LINENO: checking for _finite declaration" >&5
62560 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
62561   if test x${glibcxx_cv_func__finite_use+set} != xset; then
62562     if test "${glibcxx_cv_func__finite_use+set}" = set; then
62563   echo $ECHO_N "(cached) $ECHO_C" >&6
62564 else
62565
62566
62567
62568       ac_ext=cc
62569 ac_cpp='$CXXCPP $CPPFLAGS'
62570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62573
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 #include <math.h>
62581                       #ifdef HAVE_IEEEFP_H
62582                       #include <ieeefp.h>
62583                       #endif
62584
62585 int
62586 main ()
62587 {
62588  _finite(0);
62589   ;
62590   return 0;
62591 }
62592 _ACEOF
62593 rm -f conftest.$ac_objext
62594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62595   (eval $ac_compile) 2>conftest.er1
62596   ac_status=$?
62597   grep -v '^ *+' conftest.er1 >conftest.err
62598   rm -f conftest.er1
62599   cat conftest.err >&5
62600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62601   (exit $ac_status); } &&
62602          { ac_try='test -z "$ac_cxx_werror_flag"
62603                          || test ! -s conftest.err'
62604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62605   (eval $ac_try) 2>&5
62606   ac_status=$?
62607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62608   (exit $ac_status); }; } &&
62609          { ac_try='test -s conftest.$ac_objext'
62610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62611   (eval $ac_try) 2>&5
62612   ac_status=$?
62613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62614   (exit $ac_status); }; }; then
62615   glibcxx_cv_func__finite_use=yes
62616 else
62617   echo "$as_me: failed program was:" >&5
62618 sed 's/^/| /' conftest.$ac_ext >&5
62619
62620 glibcxx_cv_func__finite_use=no
62621 fi
62622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62623       ac_ext=c
62624 ac_cpp='$CPP $CPPFLAGS'
62625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62628
62629
62630 fi
62631
62632   fi
62633   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
62634 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
62635
62636     if test x$glibcxx_cv_func__finite_use = x"yes"; then
62637
62638 for ac_func in _finite
62639 do
62640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62641 echo "$as_me:$LINENO: checking for $ac_func" >&5
62642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62643 if eval "test \"\${$as_ac_var+set}\" = set"; then
62644   echo $ECHO_N "(cached) $ECHO_C" >&6
62645 else
62646   if test x$gcc_no_link = xyes; then
62647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62649    { (exit 1); exit 1; }; }
62650 fi
62651 cat >conftest.$ac_ext <<_ACEOF
62652 /* confdefs.h.  */
62653 _ACEOF
62654 cat confdefs.h >>conftest.$ac_ext
62655 cat >>conftest.$ac_ext <<_ACEOF
62656 /* end confdefs.h.  */
62657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62659 #define $ac_func innocuous_$ac_func
62660
62661 /* System header to define __stub macros and hopefully few prototypes,
62662     which can conflict with char $ac_func (); below.
62663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62664     <limits.h> exists even on freestanding compilers.  */
62665
62666 #ifdef __STDC__
62667 # include <limits.h>
62668 #else
62669 # include <assert.h>
62670 #endif
62671
62672 #undef $ac_func
62673
62674 /* Override any gcc2 internal prototype to avoid an error.  */
62675 #ifdef __cplusplus
62676 extern "C"
62677 {
62678 #endif
62679 /* We use char because int might match the return type of a gcc2
62680    builtin and then its argument prototype would still apply.  */
62681 char $ac_func ();
62682 /* The GNU C library defines this for functions which it implements
62683     to always fail with ENOSYS.  Some functions are actually named
62684     something starting with __ and the normal name is an alias.  */
62685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62686 choke me
62687 #else
62688 char (*f) () = $ac_func;
62689 #endif
62690 #ifdef __cplusplus
62691 }
62692 #endif
62693
62694 int
62695 main ()
62696 {
62697 return f != $ac_func;
62698   ;
62699   return 0;
62700 }
62701 _ACEOF
62702 rm -f conftest.$ac_objext conftest$ac_exeext
62703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62704   (eval $ac_link) 2>conftest.er1
62705   ac_status=$?
62706   grep -v '^ *+' conftest.er1 >conftest.err
62707   rm -f conftest.er1
62708   cat conftest.err >&5
62709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710   (exit $ac_status); } &&
62711          { ac_try='test -z "$ac_c_werror_flag"
62712                          || test ! -s conftest.err'
62713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62714   (eval $ac_try) 2>&5
62715   ac_status=$?
62716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62717   (exit $ac_status); }; } &&
62718          { ac_try='test -s conftest$ac_exeext'
62719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62720   (eval $ac_try) 2>&5
62721   ac_status=$?
62722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62723   (exit $ac_status); }; }; then
62724   eval "$as_ac_var=yes"
62725 else
62726   echo "$as_me: failed program was:" >&5
62727 sed 's/^/| /' conftest.$ac_ext >&5
62728
62729 eval "$as_ac_var=no"
62730 fi
62731 rm -f conftest.err conftest.$ac_objext \
62732       conftest$ac_exeext conftest.$ac_ext
62733 fi
62734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62736 if test `eval echo '${'$as_ac_var'}'` = yes; then
62737   cat >>confdefs.h <<_ACEOF
62738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62739 _ACEOF
62740
62741 fi
62742 done
62743
62744     fi
62745   fi
62746
62747
62748
62749
62750
62751
62752   echo "$as_me:$LINENO: checking for copysign declaration" >&5
62753 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
62754   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
62755     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
62756   echo $ECHO_N "(cached) $ECHO_C" >&6
62757 else
62758
62759
62760
62761       ac_ext=cc
62762 ac_cpp='$CXXCPP $CPPFLAGS'
62763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62766
62767       cat >conftest.$ac_ext <<_ACEOF
62768 /* confdefs.h.  */
62769 _ACEOF
62770 cat confdefs.h >>conftest.$ac_ext
62771 cat >>conftest.$ac_ext <<_ACEOF
62772 /* end confdefs.h.  */
62773 #include <math.h>
62774 int
62775 main ()
62776 {
62777  copysign(0, 0);
62778   ;
62779   return 0;
62780 }
62781 _ACEOF
62782 rm -f conftest.$ac_objext
62783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62784   (eval $ac_compile) 2>conftest.er1
62785   ac_status=$?
62786   grep -v '^ *+' conftest.er1 >conftest.err
62787   rm -f conftest.er1
62788   cat conftest.err >&5
62789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790   (exit $ac_status); } &&
62791          { ac_try='test -z "$ac_cxx_werror_flag"
62792                          || test ! -s conftest.err'
62793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62794   (eval $ac_try) 2>&5
62795   ac_status=$?
62796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797   (exit $ac_status); }; } &&
62798          { ac_try='test -s conftest.$ac_objext'
62799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62800   (eval $ac_try) 2>&5
62801   ac_status=$?
62802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62803   (exit $ac_status); }; }; then
62804   glibcxx_cv_func_copysign_use=yes
62805 else
62806   echo "$as_me: failed program was:" >&5
62807 sed 's/^/| /' conftest.$ac_ext >&5
62808
62809 glibcxx_cv_func_copysign_use=no
62810 fi
62811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62812       ac_ext=c
62813 ac_cpp='$CPP $CPPFLAGS'
62814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62817
62818
62819 fi
62820
62821   fi
62822   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
62823 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
62824
62825   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
62826
62827 for ac_func in copysign
62828 do
62829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62830 echo "$as_me:$LINENO: checking for $ac_func" >&5
62831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62832 if eval "test \"\${$as_ac_var+set}\" = set"; then
62833   echo $ECHO_N "(cached) $ECHO_C" >&6
62834 else
62835   if test x$gcc_no_link = xyes; then
62836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62838    { (exit 1); exit 1; }; }
62839 fi
62840 cat >conftest.$ac_ext <<_ACEOF
62841 /* confdefs.h.  */
62842 _ACEOF
62843 cat confdefs.h >>conftest.$ac_ext
62844 cat >>conftest.$ac_ext <<_ACEOF
62845 /* end confdefs.h.  */
62846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62848 #define $ac_func innocuous_$ac_func
62849
62850 /* System header to define __stub macros and hopefully few prototypes,
62851     which can conflict with char $ac_func (); below.
62852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62853     <limits.h> exists even on freestanding compilers.  */
62854
62855 #ifdef __STDC__
62856 # include <limits.h>
62857 #else
62858 # include <assert.h>
62859 #endif
62860
62861 #undef $ac_func
62862
62863 /* Override any gcc2 internal prototype to avoid an error.  */
62864 #ifdef __cplusplus
62865 extern "C"
62866 {
62867 #endif
62868 /* We use char because int might match the return type of a gcc2
62869    builtin and then its argument prototype would still apply.  */
62870 char $ac_func ();
62871 /* The GNU C library defines this for functions which it implements
62872     to always fail with ENOSYS.  Some functions are actually named
62873     something starting with __ and the normal name is an alias.  */
62874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62875 choke me
62876 #else
62877 char (*f) () = $ac_func;
62878 #endif
62879 #ifdef __cplusplus
62880 }
62881 #endif
62882
62883 int
62884 main ()
62885 {
62886 return f != $ac_func;
62887   ;
62888   return 0;
62889 }
62890 _ACEOF
62891 rm -f conftest.$ac_objext conftest$ac_exeext
62892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62893   (eval $ac_link) 2>conftest.er1
62894   ac_status=$?
62895   grep -v '^ *+' conftest.er1 >conftest.err
62896   rm -f conftest.er1
62897   cat conftest.err >&5
62898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62899   (exit $ac_status); } &&
62900          { ac_try='test -z "$ac_c_werror_flag"
62901                          || test ! -s conftest.err'
62902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62903   (eval $ac_try) 2>&5
62904   ac_status=$?
62905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62906   (exit $ac_status); }; } &&
62907          { ac_try='test -s conftest$ac_exeext'
62908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62909   (eval $ac_try) 2>&5
62910   ac_status=$?
62911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62912   (exit $ac_status); }; }; then
62913   eval "$as_ac_var=yes"
62914 else
62915   echo "$as_me: failed program was:" >&5
62916 sed 's/^/| /' conftest.$ac_ext >&5
62917
62918 eval "$as_ac_var=no"
62919 fi
62920 rm -f conftest.err conftest.$ac_objext \
62921       conftest$ac_exeext conftest.$ac_ext
62922 fi
62923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62925 if test `eval echo '${'$as_ac_var'}'` = yes; then
62926   cat >>confdefs.h <<_ACEOF
62927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62928 _ACEOF
62929
62930 fi
62931 done
62932
62933   else
62934
62935   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
62936 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
62937   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
62938     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
62939   echo $ECHO_N "(cached) $ECHO_C" >&6
62940 else
62941
62942
62943
62944       ac_ext=cc
62945 ac_cpp='$CXXCPP $CPPFLAGS'
62946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62949
62950       cat >conftest.$ac_ext <<_ACEOF
62951 /* confdefs.h.  */
62952 _ACEOF
62953 cat confdefs.h >>conftest.$ac_ext
62954 cat >>conftest.$ac_ext <<_ACEOF
62955 /* end confdefs.h.  */
62956 #include <math.h>
62957 int
62958 main ()
62959 {
62960  _copysign(0, 0);
62961   ;
62962   return 0;
62963 }
62964 _ACEOF
62965 rm -f conftest.$ac_objext
62966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62967   (eval $ac_compile) 2>conftest.er1
62968   ac_status=$?
62969   grep -v '^ *+' conftest.er1 >conftest.err
62970   rm -f conftest.er1
62971   cat conftest.err >&5
62972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973   (exit $ac_status); } &&
62974          { ac_try='test -z "$ac_cxx_werror_flag"
62975                          || test ! -s conftest.err'
62976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62977   (eval $ac_try) 2>&5
62978   ac_status=$?
62979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62980   (exit $ac_status); }; } &&
62981          { ac_try='test -s conftest.$ac_objext'
62982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62983   (eval $ac_try) 2>&5
62984   ac_status=$?
62985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62986   (exit $ac_status); }; }; then
62987   glibcxx_cv_func__copysign_use=yes
62988 else
62989   echo "$as_me: failed program was:" >&5
62990 sed 's/^/| /' conftest.$ac_ext >&5
62991
62992 glibcxx_cv_func__copysign_use=no
62993 fi
62994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62995       ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63000
63001
63002 fi
63003
63004   fi
63005   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
63006 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
63007
63008     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
63009
63010 for ac_func in _copysign
63011 do
63012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63013 echo "$as_me:$LINENO: checking for $ac_func" >&5
63014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63015 if eval "test \"\${$as_ac_var+set}\" = set"; then
63016   echo $ECHO_N "(cached) $ECHO_C" >&6
63017 else
63018   if test x$gcc_no_link = xyes; then
63019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63021    { (exit 1); exit 1; }; }
63022 fi
63023 cat >conftest.$ac_ext <<_ACEOF
63024 /* confdefs.h.  */
63025 _ACEOF
63026 cat confdefs.h >>conftest.$ac_ext
63027 cat >>conftest.$ac_ext <<_ACEOF
63028 /* end confdefs.h.  */
63029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63031 #define $ac_func innocuous_$ac_func
63032
63033 /* System header to define __stub macros and hopefully few prototypes,
63034     which can conflict with char $ac_func (); below.
63035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63036     <limits.h> exists even on freestanding compilers.  */
63037
63038 #ifdef __STDC__
63039 # include <limits.h>
63040 #else
63041 # include <assert.h>
63042 #endif
63043
63044 #undef $ac_func
63045
63046 /* Override any gcc2 internal prototype to avoid an error.  */
63047 #ifdef __cplusplus
63048 extern "C"
63049 {
63050 #endif
63051 /* We use char because int might match the return type of a gcc2
63052    builtin and then its argument prototype would still apply.  */
63053 char $ac_func ();
63054 /* The GNU C library defines this for functions which it implements
63055     to always fail with ENOSYS.  Some functions are actually named
63056     something starting with __ and the normal name is an alias.  */
63057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63058 choke me
63059 #else
63060 char (*f) () = $ac_func;
63061 #endif
63062 #ifdef __cplusplus
63063 }
63064 #endif
63065
63066 int
63067 main ()
63068 {
63069 return f != $ac_func;
63070   ;
63071   return 0;
63072 }
63073 _ACEOF
63074 rm -f conftest.$ac_objext conftest$ac_exeext
63075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63076   (eval $ac_link) 2>conftest.er1
63077   ac_status=$?
63078   grep -v '^ *+' conftest.er1 >conftest.err
63079   rm -f conftest.er1
63080   cat conftest.err >&5
63081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082   (exit $ac_status); } &&
63083          { ac_try='test -z "$ac_c_werror_flag"
63084                          || test ! -s conftest.err'
63085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63086   (eval $ac_try) 2>&5
63087   ac_status=$?
63088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63089   (exit $ac_status); }; } &&
63090          { ac_try='test -s conftest$ac_exeext'
63091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63092   (eval $ac_try) 2>&5
63093   ac_status=$?
63094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63095   (exit $ac_status); }; }; then
63096   eval "$as_ac_var=yes"
63097 else
63098   echo "$as_me: failed program was:" >&5
63099 sed 's/^/| /' conftest.$ac_ext >&5
63100
63101 eval "$as_ac_var=no"
63102 fi
63103 rm -f conftest.err conftest.$ac_objext \
63104       conftest$ac_exeext conftest.$ac_ext
63105 fi
63106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63108 if test `eval echo '${'$as_ac_var'}'` = yes; then
63109   cat >>confdefs.h <<_ACEOF
63110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63111 _ACEOF
63112
63113 fi
63114 done
63115
63116     fi
63117   fi
63118
63119
63120
63121
63122
63123
63124   echo "$as_me:$LINENO: checking for sincos declaration" >&5
63125 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
63126   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
63127     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
63128   echo $ECHO_N "(cached) $ECHO_C" >&6
63129 else
63130
63131
63132
63133       ac_ext=cc
63134 ac_cpp='$CXXCPP $CPPFLAGS'
63135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63138
63139       cat >conftest.$ac_ext <<_ACEOF
63140 /* confdefs.h.  */
63141 _ACEOF
63142 cat confdefs.h >>conftest.$ac_ext
63143 cat >>conftest.$ac_ext <<_ACEOF
63144 /* end confdefs.h.  */
63145 #include <math.h>
63146 int
63147 main ()
63148 {
63149  sincos(0, 0, 0);
63150   ;
63151   return 0;
63152 }
63153 _ACEOF
63154 rm -f conftest.$ac_objext
63155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63156   (eval $ac_compile) 2>conftest.er1
63157   ac_status=$?
63158   grep -v '^ *+' conftest.er1 >conftest.err
63159   rm -f conftest.er1
63160   cat conftest.err >&5
63161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63162   (exit $ac_status); } &&
63163          { ac_try='test -z "$ac_cxx_werror_flag"
63164                          || test ! -s conftest.err'
63165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63166   (eval $ac_try) 2>&5
63167   ac_status=$?
63168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63169   (exit $ac_status); }; } &&
63170          { ac_try='test -s conftest.$ac_objext'
63171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63172   (eval $ac_try) 2>&5
63173   ac_status=$?
63174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63175   (exit $ac_status); }; }; then
63176   glibcxx_cv_func_sincos_use=yes
63177 else
63178   echo "$as_me: failed program was:" >&5
63179 sed 's/^/| /' conftest.$ac_ext >&5
63180
63181 glibcxx_cv_func_sincos_use=no
63182 fi
63183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63184       ac_ext=c
63185 ac_cpp='$CPP $CPPFLAGS'
63186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63189
63190
63191 fi
63192
63193   fi
63194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
63195 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
63196
63197   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
63198
63199 for ac_func in sincos
63200 do
63201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63202 echo "$as_me:$LINENO: checking for $ac_func" >&5
63203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63204 if eval "test \"\${$as_ac_var+set}\" = set"; then
63205   echo $ECHO_N "(cached) $ECHO_C" >&6
63206 else
63207   if test x$gcc_no_link = xyes; then
63208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63210    { (exit 1); exit 1; }; }
63211 fi
63212 cat >conftest.$ac_ext <<_ACEOF
63213 /* confdefs.h.  */
63214 _ACEOF
63215 cat confdefs.h >>conftest.$ac_ext
63216 cat >>conftest.$ac_ext <<_ACEOF
63217 /* end confdefs.h.  */
63218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63220 #define $ac_func innocuous_$ac_func
63221
63222 /* System header to define __stub macros and hopefully few prototypes,
63223     which can conflict with char $ac_func (); below.
63224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63225     <limits.h> exists even on freestanding compilers.  */
63226
63227 #ifdef __STDC__
63228 # include <limits.h>
63229 #else
63230 # include <assert.h>
63231 #endif
63232
63233 #undef $ac_func
63234
63235 /* Override any gcc2 internal prototype to avoid an error.  */
63236 #ifdef __cplusplus
63237 extern "C"
63238 {
63239 #endif
63240 /* We use char because int might match the return type of a gcc2
63241    builtin and then its argument prototype would still apply.  */
63242 char $ac_func ();
63243 /* The GNU C library defines this for functions which it implements
63244     to always fail with ENOSYS.  Some functions are actually named
63245     something starting with __ and the normal name is an alias.  */
63246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63247 choke me
63248 #else
63249 char (*f) () = $ac_func;
63250 #endif
63251 #ifdef __cplusplus
63252 }
63253 #endif
63254
63255 int
63256 main ()
63257 {
63258 return f != $ac_func;
63259   ;
63260   return 0;
63261 }
63262 _ACEOF
63263 rm -f conftest.$ac_objext conftest$ac_exeext
63264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63265   (eval $ac_link) 2>conftest.er1
63266   ac_status=$?
63267   grep -v '^ *+' conftest.er1 >conftest.err
63268   rm -f conftest.er1
63269   cat conftest.err >&5
63270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271   (exit $ac_status); } &&
63272          { ac_try='test -z "$ac_c_werror_flag"
63273                          || test ! -s conftest.err'
63274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63275   (eval $ac_try) 2>&5
63276   ac_status=$?
63277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63278   (exit $ac_status); }; } &&
63279          { ac_try='test -s conftest$ac_exeext'
63280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63281   (eval $ac_try) 2>&5
63282   ac_status=$?
63283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63284   (exit $ac_status); }; }; then
63285   eval "$as_ac_var=yes"
63286 else
63287   echo "$as_me: failed program was:" >&5
63288 sed 's/^/| /' conftest.$ac_ext >&5
63289
63290 eval "$as_ac_var=no"
63291 fi
63292 rm -f conftest.err conftest.$ac_objext \
63293       conftest$ac_exeext conftest.$ac_ext
63294 fi
63295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63297 if test `eval echo '${'$as_ac_var'}'` = yes; then
63298   cat >>confdefs.h <<_ACEOF
63299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63300 _ACEOF
63301
63302 fi
63303 done
63304
63305   else
63306
63307   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
63308 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
63309   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
63310     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
63311   echo $ECHO_N "(cached) $ECHO_C" >&6
63312 else
63313
63314
63315
63316       ac_ext=cc
63317 ac_cpp='$CXXCPP $CPPFLAGS'
63318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63321
63322       cat >conftest.$ac_ext <<_ACEOF
63323 /* confdefs.h.  */
63324 _ACEOF
63325 cat confdefs.h >>conftest.$ac_ext
63326 cat >>conftest.$ac_ext <<_ACEOF
63327 /* end confdefs.h.  */
63328 #include <math.h>
63329 int
63330 main ()
63331 {
63332  _sincos(0, 0, 0);
63333   ;
63334   return 0;
63335 }
63336 _ACEOF
63337 rm -f conftest.$ac_objext
63338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63339   (eval $ac_compile) 2>conftest.er1
63340   ac_status=$?
63341   grep -v '^ *+' conftest.er1 >conftest.err
63342   rm -f conftest.er1
63343   cat conftest.err >&5
63344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63345   (exit $ac_status); } &&
63346          { ac_try='test -z "$ac_cxx_werror_flag"
63347                          || test ! -s conftest.err'
63348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63349   (eval $ac_try) 2>&5
63350   ac_status=$?
63351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63352   (exit $ac_status); }; } &&
63353          { ac_try='test -s conftest.$ac_objext'
63354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63355   (eval $ac_try) 2>&5
63356   ac_status=$?
63357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63358   (exit $ac_status); }; }; then
63359   glibcxx_cv_func__sincos_use=yes
63360 else
63361   echo "$as_me: failed program was:" >&5
63362 sed 's/^/| /' conftest.$ac_ext >&5
63363
63364 glibcxx_cv_func__sincos_use=no
63365 fi
63366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63367       ac_ext=c
63368 ac_cpp='$CPP $CPPFLAGS'
63369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63372
63373
63374 fi
63375
63376   fi
63377   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
63378 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
63379
63380     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
63381
63382 for ac_func in _sincos
63383 do
63384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63385 echo "$as_me:$LINENO: checking for $ac_func" >&5
63386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63387 if eval "test \"\${$as_ac_var+set}\" = set"; then
63388   echo $ECHO_N "(cached) $ECHO_C" >&6
63389 else
63390   if test x$gcc_no_link = xyes; then
63391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63393    { (exit 1); exit 1; }; }
63394 fi
63395 cat >conftest.$ac_ext <<_ACEOF
63396 /* confdefs.h.  */
63397 _ACEOF
63398 cat confdefs.h >>conftest.$ac_ext
63399 cat >>conftest.$ac_ext <<_ACEOF
63400 /* end confdefs.h.  */
63401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63403 #define $ac_func innocuous_$ac_func
63404
63405 /* System header to define __stub macros and hopefully few prototypes,
63406     which can conflict with char $ac_func (); below.
63407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63408     <limits.h> exists even on freestanding compilers.  */
63409
63410 #ifdef __STDC__
63411 # include <limits.h>
63412 #else
63413 # include <assert.h>
63414 #endif
63415
63416 #undef $ac_func
63417
63418 /* Override any gcc2 internal prototype to avoid an error.  */
63419 #ifdef __cplusplus
63420 extern "C"
63421 {
63422 #endif
63423 /* We use char because int might match the return type of a gcc2
63424    builtin and then its argument prototype would still apply.  */
63425 char $ac_func ();
63426 /* The GNU C library defines this for functions which it implements
63427     to always fail with ENOSYS.  Some functions are actually named
63428     something starting with __ and the normal name is an alias.  */
63429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63430 choke me
63431 #else
63432 char (*f) () = $ac_func;
63433 #endif
63434 #ifdef __cplusplus
63435 }
63436 #endif
63437
63438 int
63439 main ()
63440 {
63441 return f != $ac_func;
63442   ;
63443   return 0;
63444 }
63445 _ACEOF
63446 rm -f conftest.$ac_objext conftest$ac_exeext
63447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63448   (eval $ac_link) 2>conftest.er1
63449   ac_status=$?
63450   grep -v '^ *+' conftest.er1 >conftest.err
63451   rm -f conftest.er1
63452   cat conftest.err >&5
63453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454   (exit $ac_status); } &&
63455          { ac_try='test -z "$ac_c_werror_flag"
63456                          || test ! -s conftest.err'
63457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63458   (eval $ac_try) 2>&5
63459   ac_status=$?
63460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63461   (exit $ac_status); }; } &&
63462          { ac_try='test -s conftest$ac_exeext'
63463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63464   (eval $ac_try) 2>&5
63465   ac_status=$?
63466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467   (exit $ac_status); }; }; then
63468   eval "$as_ac_var=yes"
63469 else
63470   echo "$as_me: failed program was:" >&5
63471 sed 's/^/| /' conftest.$ac_ext >&5
63472
63473 eval "$as_ac_var=no"
63474 fi
63475 rm -f conftest.err conftest.$ac_objext \
63476       conftest$ac_exeext conftest.$ac_ext
63477 fi
63478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63480 if test `eval echo '${'$as_ac_var'}'` = yes; then
63481   cat >>confdefs.h <<_ACEOF
63482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63483 _ACEOF
63484
63485 fi
63486 done
63487
63488     fi
63489   fi
63490
63491
63492
63493
63494
63495
63496   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
63497 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
63498   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
63499     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
63500   echo $ECHO_N "(cached) $ECHO_C" >&6
63501 else
63502
63503
63504
63505       ac_ext=cc
63506 ac_cpp='$CXXCPP $CPPFLAGS'
63507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63510
63511       cat >conftest.$ac_ext <<_ACEOF
63512 /* confdefs.h.  */
63513 _ACEOF
63514 cat confdefs.h >>conftest.$ac_ext
63515 cat >>conftest.$ac_ext <<_ACEOF
63516 /* end confdefs.h.  */
63517 #include <math.h>
63518                       #ifdef HAVE_IEEEFP_H
63519                       #include <ieeefp.h>
63520                       #endif
63521
63522 int
63523 main ()
63524 {
63525  fpclass(0);
63526   ;
63527   return 0;
63528 }
63529 _ACEOF
63530 rm -f conftest.$ac_objext
63531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63532   (eval $ac_compile) 2>conftest.er1
63533   ac_status=$?
63534   grep -v '^ *+' conftest.er1 >conftest.err
63535   rm -f conftest.er1
63536   cat conftest.err >&5
63537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63538   (exit $ac_status); } &&
63539          { ac_try='test -z "$ac_cxx_werror_flag"
63540                          || test ! -s conftest.err'
63541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542   (eval $ac_try) 2>&5
63543   ac_status=$?
63544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545   (exit $ac_status); }; } &&
63546          { ac_try='test -s conftest.$ac_objext'
63547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63548   (eval $ac_try) 2>&5
63549   ac_status=$?
63550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63551   (exit $ac_status); }; }; then
63552   glibcxx_cv_func_fpclass_use=yes
63553 else
63554   echo "$as_me: failed program was:" >&5
63555 sed 's/^/| /' conftest.$ac_ext >&5
63556
63557 glibcxx_cv_func_fpclass_use=no
63558 fi
63559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63560       ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63565
63566
63567 fi
63568
63569   fi
63570   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
63571 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
63572
63573   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
63574
63575 for ac_func in fpclass
63576 do
63577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63578 echo "$as_me:$LINENO: checking for $ac_func" >&5
63579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63580 if eval "test \"\${$as_ac_var+set}\" = set"; then
63581   echo $ECHO_N "(cached) $ECHO_C" >&6
63582 else
63583   if test x$gcc_no_link = xyes; then
63584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63586    { (exit 1); exit 1; }; }
63587 fi
63588 cat >conftest.$ac_ext <<_ACEOF
63589 /* confdefs.h.  */
63590 _ACEOF
63591 cat confdefs.h >>conftest.$ac_ext
63592 cat >>conftest.$ac_ext <<_ACEOF
63593 /* end confdefs.h.  */
63594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63596 #define $ac_func innocuous_$ac_func
63597
63598 /* System header to define __stub macros and hopefully few prototypes,
63599     which can conflict with char $ac_func (); below.
63600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63601     <limits.h> exists even on freestanding compilers.  */
63602
63603 #ifdef __STDC__
63604 # include <limits.h>
63605 #else
63606 # include <assert.h>
63607 #endif
63608
63609 #undef $ac_func
63610
63611 /* Override any gcc2 internal prototype to avoid an error.  */
63612 #ifdef __cplusplus
63613 extern "C"
63614 {
63615 #endif
63616 /* We use char because int might match the return type of a gcc2
63617    builtin and then its argument prototype would still apply.  */
63618 char $ac_func ();
63619 /* The GNU C library defines this for functions which it implements
63620     to always fail with ENOSYS.  Some functions are actually named
63621     something starting with __ and the normal name is an alias.  */
63622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63623 choke me
63624 #else
63625 char (*f) () = $ac_func;
63626 #endif
63627 #ifdef __cplusplus
63628 }
63629 #endif
63630
63631 int
63632 main ()
63633 {
63634 return f != $ac_func;
63635   ;
63636   return 0;
63637 }
63638 _ACEOF
63639 rm -f conftest.$ac_objext conftest$ac_exeext
63640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63641   (eval $ac_link) 2>conftest.er1
63642   ac_status=$?
63643   grep -v '^ *+' conftest.er1 >conftest.err
63644   rm -f conftest.er1
63645   cat conftest.err >&5
63646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647   (exit $ac_status); } &&
63648          { ac_try='test -z "$ac_c_werror_flag"
63649                          || test ! -s conftest.err'
63650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63651   (eval $ac_try) 2>&5
63652   ac_status=$?
63653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63654   (exit $ac_status); }; } &&
63655          { ac_try='test -s conftest$ac_exeext'
63656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63657   (eval $ac_try) 2>&5
63658   ac_status=$?
63659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63660   (exit $ac_status); }; }; then
63661   eval "$as_ac_var=yes"
63662 else
63663   echo "$as_me: failed program was:" >&5
63664 sed 's/^/| /' conftest.$ac_ext >&5
63665
63666 eval "$as_ac_var=no"
63667 fi
63668 rm -f conftest.err conftest.$ac_objext \
63669       conftest$ac_exeext conftest.$ac_ext
63670 fi
63671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63673 if test `eval echo '${'$as_ac_var'}'` = yes; then
63674   cat >>confdefs.h <<_ACEOF
63675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63676 _ACEOF
63677
63678 fi
63679 done
63680
63681   else
63682
63683   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
63684 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
63685   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
63686     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
63687   echo $ECHO_N "(cached) $ECHO_C" >&6
63688 else
63689
63690
63691
63692       ac_ext=cc
63693 ac_cpp='$CXXCPP $CPPFLAGS'
63694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63697
63698       cat >conftest.$ac_ext <<_ACEOF
63699 /* confdefs.h.  */
63700 _ACEOF
63701 cat confdefs.h >>conftest.$ac_ext
63702 cat >>conftest.$ac_ext <<_ACEOF
63703 /* end confdefs.h.  */
63704 #include <math.h>
63705                       #ifdef HAVE_IEEEFP_H
63706                       #include <ieeefp.h>
63707                       #endif
63708
63709 int
63710 main ()
63711 {
63712  _fpclass(0);
63713   ;
63714   return 0;
63715 }
63716 _ACEOF
63717 rm -f conftest.$ac_objext
63718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63719   (eval $ac_compile) 2>conftest.er1
63720   ac_status=$?
63721   grep -v '^ *+' conftest.er1 >conftest.err
63722   rm -f conftest.er1
63723   cat conftest.err >&5
63724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63725   (exit $ac_status); } &&
63726          { ac_try='test -z "$ac_cxx_werror_flag"
63727                          || test ! -s conftest.err'
63728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63729   (eval $ac_try) 2>&5
63730   ac_status=$?
63731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732   (exit $ac_status); }; } &&
63733          { ac_try='test -s conftest.$ac_objext'
63734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63735   (eval $ac_try) 2>&5
63736   ac_status=$?
63737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63738   (exit $ac_status); }; }; then
63739   glibcxx_cv_func__fpclass_use=yes
63740 else
63741   echo "$as_me: failed program was:" >&5
63742 sed 's/^/| /' conftest.$ac_ext >&5
63743
63744 glibcxx_cv_func__fpclass_use=no
63745 fi
63746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63747       ac_ext=c
63748 ac_cpp='$CPP $CPPFLAGS'
63749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63752
63753
63754 fi
63755
63756   fi
63757   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
63758 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
63759
63760     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
63761
63762 for ac_func in _fpclass
63763 do
63764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63765 echo "$as_me:$LINENO: checking for $ac_func" >&5
63766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63767 if eval "test \"\${$as_ac_var+set}\" = set"; then
63768   echo $ECHO_N "(cached) $ECHO_C" >&6
63769 else
63770   if test x$gcc_no_link = xyes; then
63771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63773    { (exit 1); exit 1; }; }
63774 fi
63775 cat >conftest.$ac_ext <<_ACEOF
63776 /* confdefs.h.  */
63777 _ACEOF
63778 cat confdefs.h >>conftest.$ac_ext
63779 cat >>conftest.$ac_ext <<_ACEOF
63780 /* end confdefs.h.  */
63781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63783 #define $ac_func innocuous_$ac_func
63784
63785 /* System header to define __stub macros and hopefully few prototypes,
63786     which can conflict with char $ac_func (); below.
63787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63788     <limits.h> exists even on freestanding compilers.  */
63789
63790 #ifdef __STDC__
63791 # include <limits.h>
63792 #else
63793 # include <assert.h>
63794 #endif
63795
63796 #undef $ac_func
63797
63798 /* Override any gcc2 internal prototype to avoid an error.  */
63799 #ifdef __cplusplus
63800 extern "C"
63801 {
63802 #endif
63803 /* We use char because int might match the return type of a gcc2
63804    builtin and then its argument prototype would still apply.  */
63805 char $ac_func ();
63806 /* The GNU C library defines this for functions which it implements
63807     to always fail with ENOSYS.  Some functions are actually named
63808     something starting with __ and the normal name is an alias.  */
63809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63810 choke me
63811 #else
63812 char (*f) () = $ac_func;
63813 #endif
63814 #ifdef __cplusplus
63815 }
63816 #endif
63817
63818 int
63819 main ()
63820 {
63821 return f != $ac_func;
63822   ;
63823   return 0;
63824 }
63825 _ACEOF
63826 rm -f conftest.$ac_objext conftest$ac_exeext
63827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63828   (eval $ac_link) 2>conftest.er1
63829   ac_status=$?
63830   grep -v '^ *+' conftest.er1 >conftest.err
63831   rm -f conftest.er1
63832   cat conftest.err >&5
63833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63834   (exit $ac_status); } &&
63835          { ac_try='test -z "$ac_c_werror_flag"
63836                          || test ! -s conftest.err'
63837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63838   (eval $ac_try) 2>&5
63839   ac_status=$?
63840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63841   (exit $ac_status); }; } &&
63842          { ac_try='test -s conftest$ac_exeext'
63843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63844   (eval $ac_try) 2>&5
63845   ac_status=$?
63846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63847   (exit $ac_status); }; }; then
63848   eval "$as_ac_var=yes"
63849 else
63850   echo "$as_me: failed program was:" >&5
63851 sed 's/^/| /' conftest.$ac_ext >&5
63852
63853 eval "$as_ac_var=no"
63854 fi
63855 rm -f conftest.err conftest.$ac_objext \
63856       conftest$ac_exeext conftest.$ac_ext
63857 fi
63858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63860 if test `eval echo '${'$as_ac_var'}'` = yes; then
63861   cat >>confdefs.h <<_ACEOF
63862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63863 _ACEOF
63864
63865 fi
63866 done
63867
63868     fi
63869   fi
63870
63871
63872
63873
63874
63875
63876   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
63877 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
63878   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
63879     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
63880   echo $ECHO_N "(cached) $ECHO_C" >&6
63881 else
63882
63883
63884
63885       ac_ext=cc
63886 ac_cpp='$CXXCPP $CPPFLAGS'
63887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63890
63891       cat >conftest.$ac_ext <<_ACEOF
63892 /* confdefs.h.  */
63893 _ACEOF
63894 cat confdefs.h >>conftest.$ac_ext
63895 cat >>conftest.$ac_ext <<_ACEOF
63896 /* end confdefs.h.  */
63897 #include <math.h>
63898                       #ifdef HAVE_IEEEFP_H
63899                       #include <ieeefp.h>
63900                       #endif
63901
63902 int
63903 main ()
63904 {
63905  qfpclass(0);
63906   ;
63907   return 0;
63908 }
63909 _ACEOF
63910 rm -f conftest.$ac_objext
63911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63912   (eval $ac_compile) 2>conftest.er1
63913   ac_status=$?
63914   grep -v '^ *+' conftest.er1 >conftest.err
63915   rm -f conftest.er1
63916   cat conftest.err >&5
63917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918   (exit $ac_status); } &&
63919          { ac_try='test -z "$ac_cxx_werror_flag"
63920                          || test ! -s conftest.err'
63921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63922   (eval $ac_try) 2>&5
63923   ac_status=$?
63924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925   (exit $ac_status); }; } &&
63926          { ac_try='test -s conftest.$ac_objext'
63927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63928   (eval $ac_try) 2>&5
63929   ac_status=$?
63930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931   (exit $ac_status); }; }; then
63932   glibcxx_cv_func_qfpclass_use=yes
63933 else
63934   echo "$as_me: failed program was:" >&5
63935 sed 's/^/| /' conftest.$ac_ext >&5
63936
63937 glibcxx_cv_func_qfpclass_use=no
63938 fi
63939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63940       ac_ext=c
63941 ac_cpp='$CPP $CPPFLAGS'
63942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63945
63946
63947 fi
63948
63949   fi
63950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
63951 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
63952
63953   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
63954
63955 for ac_func in qfpclass
63956 do
63957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63958 echo "$as_me:$LINENO: checking for $ac_func" >&5
63959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63960 if eval "test \"\${$as_ac_var+set}\" = set"; then
63961   echo $ECHO_N "(cached) $ECHO_C" >&6
63962 else
63963   if test x$gcc_no_link = xyes; then
63964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63966    { (exit 1); exit 1; }; }
63967 fi
63968 cat >conftest.$ac_ext <<_ACEOF
63969 /* confdefs.h.  */
63970 _ACEOF
63971 cat confdefs.h >>conftest.$ac_ext
63972 cat >>conftest.$ac_ext <<_ACEOF
63973 /* end confdefs.h.  */
63974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63976 #define $ac_func innocuous_$ac_func
63977
63978 /* System header to define __stub macros and hopefully few prototypes,
63979     which can conflict with char $ac_func (); below.
63980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63981     <limits.h> exists even on freestanding compilers.  */
63982
63983 #ifdef __STDC__
63984 # include <limits.h>
63985 #else
63986 # include <assert.h>
63987 #endif
63988
63989 #undef $ac_func
63990
63991 /* Override any gcc2 internal prototype to avoid an error.  */
63992 #ifdef __cplusplus
63993 extern "C"
63994 {
63995 #endif
63996 /* We use char because int might match the return type of a gcc2
63997    builtin and then its argument prototype would still apply.  */
63998 char $ac_func ();
63999 /* The GNU C library defines this for functions which it implements
64000     to always fail with ENOSYS.  Some functions are actually named
64001     something starting with __ and the normal name is an alias.  */
64002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64003 choke me
64004 #else
64005 char (*f) () = $ac_func;
64006 #endif
64007 #ifdef __cplusplus
64008 }
64009 #endif
64010
64011 int
64012 main ()
64013 {
64014 return f != $ac_func;
64015   ;
64016   return 0;
64017 }
64018 _ACEOF
64019 rm -f conftest.$ac_objext conftest$ac_exeext
64020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64021   (eval $ac_link) 2>conftest.er1
64022   ac_status=$?
64023   grep -v '^ *+' conftest.er1 >conftest.err
64024   rm -f conftest.er1
64025   cat conftest.err >&5
64026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64027   (exit $ac_status); } &&
64028          { ac_try='test -z "$ac_c_werror_flag"
64029                          || test ! -s conftest.err'
64030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64031   (eval $ac_try) 2>&5
64032   ac_status=$?
64033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64034   (exit $ac_status); }; } &&
64035          { ac_try='test -s conftest$ac_exeext'
64036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64037   (eval $ac_try) 2>&5
64038   ac_status=$?
64039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64040   (exit $ac_status); }; }; then
64041   eval "$as_ac_var=yes"
64042 else
64043   echo "$as_me: failed program was:" >&5
64044 sed 's/^/| /' conftest.$ac_ext >&5
64045
64046 eval "$as_ac_var=no"
64047 fi
64048 rm -f conftest.err conftest.$ac_objext \
64049       conftest$ac_exeext conftest.$ac_ext
64050 fi
64051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64053 if test `eval echo '${'$as_ac_var'}'` = yes; then
64054   cat >>confdefs.h <<_ACEOF
64055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64056 _ACEOF
64057
64058 fi
64059 done
64060
64061   else
64062
64063   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
64064 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
64065   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64066     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
64067   echo $ECHO_N "(cached) $ECHO_C" >&6
64068 else
64069
64070
64071
64072       ac_ext=cc
64073 ac_cpp='$CXXCPP $CPPFLAGS'
64074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64077
64078       cat >conftest.$ac_ext <<_ACEOF
64079 /* confdefs.h.  */
64080 _ACEOF
64081 cat confdefs.h >>conftest.$ac_ext
64082 cat >>conftest.$ac_ext <<_ACEOF
64083 /* end confdefs.h.  */
64084 #include <math.h>
64085                       #ifdef HAVE_IEEEFP_H
64086                       #include <ieeefp.h>
64087                       #endif
64088
64089 int
64090 main ()
64091 {
64092  _qfpclass(0);
64093   ;
64094   return 0;
64095 }
64096 _ACEOF
64097 rm -f conftest.$ac_objext
64098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64099   (eval $ac_compile) 2>conftest.er1
64100   ac_status=$?
64101   grep -v '^ *+' conftest.er1 >conftest.err
64102   rm -f conftest.er1
64103   cat conftest.err >&5
64104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64105   (exit $ac_status); } &&
64106          { ac_try='test -z "$ac_cxx_werror_flag"
64107                          || test ! -s conftest.err'
64108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64109   (eval $ac_try) 2>&5
64110   ac_status=$?
64111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112   (exit $ac_status); }; } &&
64113          { ac_try='test -s conftest.$ac_objext'
64114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64115   (eval $ac_try) 2>&5
64116   ac_status=$?
64117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118   (exit $ac_status); }; }; then
64119   glibcxx_cv_func__qfpclass_use=yes
64120 else
64121   echo "$as_me: failed program was:" >&5
64122 sed 's/^/| /' conftest.$ac_ext >&5
64123
64124 glibcxx_cv_func__qfpclass_use=no
64125 fi
64126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64127       ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132
64133
64134 fi
64135
64136   fi
64137   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
64138 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
64139
64140     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64141
64142 for ac_func in _qfpclass
64143 do
64144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64145 echo "$as_me:$LINENO: checking for $ac_func" >&5
64146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64147 if eval "test \"\${$as_ac_var+set}\" = set"; then
64148   echo $ECHO_N "(cached) $ECHO_C" >&6
64149 else
64150   if test x$gcc_no_link = xyes; then
64151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64153    { (exit 1); exit 1; }; }
64154 fi
64155 cat >conftest.$ac_ext <<_ACEOF
64156 /* confdefs.h.  */
64157 _ACEOF
64158 cat confdefs.h >>conftest.$ac_ext
64159 cat >>conftest.$ac_ext <<_ACEOF
64160 /* end confdefs.h.  */
64161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64163 #define $ac_func innocuous_$ac_func
64164
64165 /* System header to define __stub macros and hopefully few prototypes,
64166     which can conflict with char $ac_func (); below.
64167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64168     <limits.h> exists even on freestanding compilers.  */
64169
64170 #ifdef __STDC__
64171 # include <limits.h>
64172 #else
64173 # include <assert.h>
64174 #endif
64175
64176 #undef $ac_func
64177
64178 /* Override any gcc2 internal prototype to avoid an error.  */
64179 #ifdef __cplusplus
64180 extern "C"
64181 {
64182 #endif
64183 /* We use char because int might match the return type of a gcc2
64184    builtin and then its argument prototype would still apply.  */
64185 char $ac_func ();
64186 /* The GNU C library defines this for functions which it implements
64187     to always fail with ENOSYS.  Some functions are actually named
64188     something starting with __ and the normal name is an alias.  */
64189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64190 choke me
64191 #else
64192 char (*f) () = $ac_func;
64193 #endif
64194 #ifdef __cplusplus
64195 }
64196 #endif
64197
64198 int
64199 main ()
64200 {
64201 return f != $ac_func;
64202   ;
64203   return 0;
64204 }
64205 _ACEOF
64206 rm -f conftest.$ac_objext conftest$ac_exeext
64207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64208   (eval $ac_link) 2>conftest.er1
64209   ac_status=$?
64210   grep -v '^ *+' conftest.er1 >conftest.err
64211   rm -f conftest.er1
64212   cat conftest.err >&5
64213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64214   (exit $ac_status); } &&
64215          { ac_try='test -z "$ac_c_werror_flag"
64216                          || test ! -s conftest.err'
64217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64218   (eval $ac_try) 2>&5
64219   ac_status=$?
64220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64221   (exit $ac_status); }; } &&
64222          { ac_try='test -s conftest$ac_exeext'
64223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64224   (eval $ac_try) 2>&5
64225   ac_status=$?
64226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64227   (exit $ac_status); }; }; then
64228   eval "$as_ac_var=yes"
64229 else
64230   echo "$as_me: failed program was:" >&5
64231 sed 's/^/| /' conftest.$ac_ext >&5
64232
64233 eval "$as_ac_var=no"
64234 fi
64235 rm -f conftest.err conftest.$ac_objext \
64236       conftest$ac_exeext conftest.$ac_ext
64237 fi
64238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64240 if test `eval echo '${'$as_ac_var'}'` = yes; then
64241   cat >>confdefs.h <<_ACEOF
64242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64243 _ACEOF
64244
64245 fi
64246 done
64247
64248     fi
64249   fi
64250
64251
64252
64253
64254
64255
64256   echo "$as_me:$LINENO: checking for hypot declaration" >&5
64257 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
64258   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64259     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
64260   echo $ECHO_N "(cached) $ECHO_C" >&6
64261 else
64262
64263
64264
64265       ac_ext=cc
64266 ac_cpp='$CXXCPP $CPPFLAGS'
64267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270
64271       cat >conftest.$ac_ext <<_ACEOF
64272 /* confdefs.h.  */
64273 _ACEOF
64274 cat confdefs.h >>conftest.$ac_ext
64275 cat >>conftest.$ac_ext <<_ACEOF
64276 /* end confdefs.h.  */
64277 #include <math.h>
64278 int
64279 main ()
64280 {
64281  hypot(0, 0);
64282   ;
64283   return 0;
64284 }
64285 _ACEOF
64286 rm -f conftest.$ac_objext
64287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64288   (eval $ac_compile) 2>conftest.er1
64289   ac_status=$?
64290   grep -v '^ *+' conftest.er1 >conftest.err
64291   rm -f conftest.er1
64292   cat conftest.err >&5
64293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64294   (exit $ac_status); } &&
64295          { ac_try='test -z "$ac_cxx_werror_flag"
64296                          || test ! -s conftest.err'
64297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64298   (eval $ac_try) 2>&5
64299   ac_status=$?
64300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64301   (exit $ac_status); }; } &&
64302          { ac_try='test -s conftest.$ac_objext'
64303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64304   (eval $ac_try) 2>&5
64305   ac_status=$?
64306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64307   (exit $ac_status); }; }; then
64308   glibcxx_cv_func_hypot_use=yes
64309 else
64310   echo "$as_me: failed program was:" >&5
64311 sed 's/^/| /' conftest.$ac_ext >&5
64312
64313 glibcxx_cv_func_hypot_use=no
64314 fi
64315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64316       ac_ext=c
64317 ac_cpp='$CPP $CPPFLAGS'
64318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64321
64322
64323 fi
64324
64325   fi
64326   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
64327 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
64328
64329   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64330
64331 for ac_func in hypot
64332 do
64333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64334 echo "$as_me:$LINENO: checking for $ac_func" >&5
64335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64336 if eval "test \"\${$as_ac_var+set}\" = set"; then
64337   echo $ECHO_N "(cached) $ECHO_C" >&6
64338 else
64339   if test x$gcc_no_link = xyes; then
64340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64342    { (exit 1); exit 1; }; }
64343 fi
64344 cat >conftest.$ac_ext <<_ACEOF
64345 /* confdefs.h.  */
64346 _ACEOF
64347 cat confdefs.h >>conftest.$ac_ext
64348 cat >>conftest.$ac_ext <<_ACEOF
64349 /* end confdefs.h.  */
64350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64352 #define $ac_func innocuous_$ac_func
64353
64354 /* System header to define __stub macros and hopefully few prototypes,
64355     which can conflict with char $ac_func (); below.
64356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64357     <limits.h> exists even on freestanding compilers.  */
64358
64359 #ifdef __STDC__
64360 # include <limits.h>
64361 #else
64362 # include <assert.h>
64363 #endif
64364
64365 #undef $ac_func
64366
64367 /* Override any gcc2 internal prototype to avoid an error.  */
64368 #ifdef __cplusplus
64369 extern "C"
64370 {
64371 #endif
64372 /* We use char because int might match the return type of a gcc2
64373    builtin and then its argument prototype would still apply.  */
64374 char $ac_func ();
64375 /* The GNU C library defines this for functions which it implements
64376     to always fail with ENOSYS.  Some functions are actually named
64377     something starting with __ and the normal name is an alias.  */
64378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64379 choke me
64380 #else
64381 char (*f) () = $ac_func;
64382 #endif
64383 #ifdef __cplusplus
64384 }
64385 #endif
64386
64387 int
64388 main ()
64389 {
64390 return f != $ac_func;
64391   ;
64392   return 0;
64393 }
64394 _ACEOF
64395 rm -f conftest.$ac_objext conftest$ac_exeext
64396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64397   (eval $ac_link) 2>conftest.er1
64398   ac_status=$?
64399   grep -v '^ *+' conftest.er1 >conftest.err
64400   rm -f conftest.er1
64401   cat conftest.err >&5
64402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64403   (exit $ac_status); } &&
64404          { ac_try='test -z "$ac_c_werror_flag"
64405                          || test ! -s conftest.err'
64406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64407   (eval $ac_try) 2>&5
64408   ac_status=$?
64409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64410   (exit $ac_status); }; } &&
64411          { ac_try='test -s conftest$ac_exeext'
64412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64413   (eval $ac_try) 2>&5
64414   ac_status=$?
64415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64416   (exit $ac_status); }; }; then
64417   eval "$as_ac_var=yes"
64418 else
64419   echo "$as_me: failed program was:" >&5
64420 sed 's/^/| /' conftest.$ac_ext >&5
64421
64422 eval "$as_ac_var=no"
64423 fi
64424 rm -f conftest.err conftest.$ac_objext \
64425       conftest$ac_exeext conftest.$ac_ext
64426 fi
64427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64429 if test `eval echo '${'$as_ac_var'}'` = yes; then
64430   cat >>confdefs.h <<_ACEOF
64431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64432 _ACEOF
64433
64434 fi
64435 done
64436
64437   else
64438
64439   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
64440 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
64441   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64442     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
64443   echo $ECHO_N "(cached) $ECHO_C" >&6
64444 else
64445
64446
64447
64448       ac_ext=cc
64449 ac_cpp='$CXXCPP $CPPFLAGS'
64450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453
64454       cat >conftest.$ac_ext <<_ACEOF
64455 /* confdefs.h.  */
64456 _ACEOF
64457 cat confdefs.h >>conftest.$ac_ext
64458 cat >>conftest.$ac_ext <<_ACEOF
64459 /* end confdefs.h.  */
64460 #include <math.h>
64461 int
64462 main ()
64463 {
64464  _hypot(0, 0);
64465   ;
64466   return 0;
64467 }
64468 _ACEOF
64469 rm -f conftest.$ac_objext
64470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64471   (eval $ac_compile) 2>conftest.er1
64472   ac_status=$?
64473   grep -v '^ *+' conftest.er1 >conftest.err
64474   rm -f conftest.er1
64475   cat conftest.err >&5
64476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477   (exit $ac_status); } &&
64478          { ac_try='test -z "$ac_cxx_werror_flag"
64479                          || test ! -s conftest.err'
64480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64481   (eval $ac_try) 2>&5
64482   ac_status=$?
64483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484   (exit $ac_status); }; } &&
64485          { ac_try='test -s conftest.$ac_objext'
64486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64487   (eval $ac_try) 2>&5
64488   ac_status=$?
64489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64490   (exit $ac_status); }; }; then
64491   glibcxx_cv_func__hypot_use=yes
64492 else
64493   echo "$as_me: failed program was:" >&5
64494 sed 's/^/| /' conftest.$ac_ext >&5
64495
64496 glibcxx_cv_func__hypot_use=no
64497 fi
64498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64499       ac_ext=c
64500 ac_cpp='$CPP $CPPFLAGS'
64501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64504
64505
64506 fi
64507
64508   fi
64509   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
64510 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
64511
64512     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64513
64514 for ac_func in _hypot
64515 do
64516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64517 echo "$as_me:$LINENO: checking for $ac_func" >&5
64518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64519 if eval "test \"\${$as_ac_var+set}\" = set"; then
64520   echo $ECHO_N "(cached) $ECHO_C" >&6
64521 else
64522   if test x$gcc_no_link = xyes; then
64523   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64525    { (exit 1); exit 1; }; }
64526 fi
64527 cat >conftest.$ac_ext <<_ACEOF
64528 /* confdefs.h.  */
64529 _ACEOF
64530 cat confdefs.h >>conftest.$ac_ext
64531 cat >>conftest.$ac_ext <<_ACEOF
64532 /* end confdefs.h.  */
64533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64535 #define $ac_func innocuous_$ac_func
64536
64537 /* System header to define __stub macros and hopefully few prototypes,
64538     which can conflict with char $ac_func (); below.
64539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64540     <limits.h> exists even on freestanding compilers.  */
64541
64542 #ifdef __STDC__
64543 # include <limits.h>
64544 #else
64545 # include <assert.h>
64546 #endif
64547
64548 #undef $ac_func
64549
64550 /* Override any gcc2 internal prototype to avoid an error.  */
64551 #ifdef __cplusplus
64552 extern "C"
64553 {
64554 #endif
64555 /* We use char because int might match the return type of a gcc2
64556    builtin and then its argument prototype would still apply.  */
64557 char $ac_func ();
64558 /* The GNU C library defines this for functions which it implements
64559     to always fail with ENOSYS.  Some functions are actually named
64560     something starting with __ and the normal name is an alias.  */
64561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64562 choke me
64563 #else
64564 char (*f) () = $ac_func;
64565 #endif
64566 #ifdef __cplusplus
64567 }
64568 #endif
64569
64570 int
64571 main ()
64572 {
64573 return f != $ac_func;
64574   ;
64575   return 0;
64576 }
64577 _ACEOF
64578 rm -f conftest.$ac_objext conftest$ac_exeext
64579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64580   (eval $ac_link) 2>conftest.er1
64581   ac_status=$?
64582   grep -v '^ *+' conftest.er1 >conftest.err
64583   rm -f conftest.er1
64584   cat conftest.err >&5
64585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64586   (exit $ac_status); } &&
64587          { ac_try='test -z "$ac_c_werror_flag"
64588                          || test ! -s conftest.err'
64589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64590   (eval $ac_try) 2>&5
64591   ac_status=$?
64592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64593   (exit $ac_status); }; } &&
64594          { ac_try='test -s conftest$ac_exeext'
64595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64596   (eval $ac_try) 2>&5
64597   ac_status=$?
64598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64599   (exit $ac_status); }; }; then
64600   eval "$as_ac_var=yes"
64601 else
64602   echo "$as_me: failed program was:" >&5
64603 sed 's/^/| /' conftest.$ac_ext >&5
64604
64605 eval "$as_ac_var=no"
64606 fi
64607 rm -f conftest.err conftest.$ac_objext \
64608       conftest$ac_exeext conftest.$ac_ext
64609 fi
64610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64612 if test `eval echo '${'$as_ac_var'}'` = yes; then
64613   cat >>confdefs.h <<_ACEOF
64614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64615 _ACEOF
64616
64617 fi
64618 done
64619
64620     fi
64621   fi
64622
64623
64624
64625
64626
64627
64628     echo "$as_me:$LINENO: checking for float trig functions" >&5
64629 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
64630   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
64631   echo $ECHO_N "(cached) $ECHO_C" >&6
64632 else
64633
64634
64635
64636     ac_ext=cc
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641
64642     cat >conftest.$ac_ext <<_ACEOF
64643 /* confdefs.h.  */
64644 _ACEOF
64645 cat confdefs.h >>conftest.$ac_ext
64646 cat >>conftest.$ac_ext <<_ACEOF
64647 /* end confdefs.h.  */
64648 #include <math.h>
64649 int
64650 main ()
64651 {
64652 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64653   ;
64654   return 0;
64655 }
64656 _ACEOF
64657 rm -f conftest.$ac_objext
64658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64659   (eval $ac_compile) 2>conftest.er1
64660   ac_status=$?
64661   grep -v '^ *+' conftest.er1 >conftest.err
64662   rm -f conftest.er1
64663   cat conftest.err >&5
64664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64665   (exit $ac_status); } &&
64666          { ac_try='test -z "$ac_cxx_werror_flag"
64667                          || test ! -s conftest.err'
64668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64669   (eval $ac_try) 2>&5
64670   ac_status=$?
64671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64672   (exit $ac_status); }; } &&
64673          { ac_try='test -s conftest.$ac_objext'
64674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64675   (eval $ac_try) 2>&5
64676   ac_status=$?
64677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64678   (exit $ac_status); }; }; then
64679   glibcxx_cv_func_float_trig_use=yes
64680 else
64681   echo "$as_me: failed program was:" >&5
64682 sed 's/^/| /' conftest.$ac_ext >&5
64683
64684 glibcxx_cv_func_float_trig_use=no
64685 fi
64686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64687     ac_ext=c
64688 ac_cpp='$CPP $CPPFLAGS'
64689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64692
64693 fi
64694
64695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
64696 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
64697   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64698
64699
64700
64701
64702
64703
64704
64705
64706
64707 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64708 do
64709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64710 echo "$as_me:$LINENO: checking for $ac_func" >&5
64711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64712 if eval "test \"\${$as_ac_var+set}\" = set"; then
64713   echo $ECHO_N "(cached) $ECHO_C" >&6
64714 else
64715   if test x$gcc_no_link = xyes; then
64716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64718    { (exit 1); exit 1; }; }
64719 fi
64720 cat >conftest.$ac_ext <<_ACEOF
64721 /* confdefs.h.  */
64722 _ACEOF
64723 cat confdefs.h >>conftest.$ac_ext
64724 cat >>conftest.$ac_ext <<_ACEOF
64725 /* end confdefs.h.  */
64726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64728 #define $ac_func innocuous_$ac_func
64729
64730 /* System header to define __stub macros and hopefully few prototypes,
64731     which can conflict with char $ac_func (); below.
64732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64733     <limits.h> exists even on freestanding compilers.  */
64734
64735 #ifdef __STDC__
64736 # include <limits.h>
64737 #else
64738 # include <assert.h>
64739 #endif
64740
64741 #undef $ac_func
64742
64743 /* Override any gcc2 internal prototype to avoid an error.  */
64744 #ifdef __cplusplus
64745 extern "C"
64746 {
64747 #endif
64748 /* We use char because int might match the return type of a gcc2
64749    builtin and then its argument prototype would still apply.  */
64750 char $ac_func ();
64751 /* The GNU C library defines this for functions which it implements
64752     to always fail with ENOSYS.  Some functions are actually named
64753     something starting with __ and the normal name is an alias.  */
64754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64755 choke me
64756 #else
64757 char (*f) () = $ac_func;
64758 #endif
64759 #ifdef __cplusplus
64760 }
64761 #endif
64762
64763 int
64764 main ()
64765 {
64766 return f != $ac_func;
64767   ;
64768   return 0;
64769 }
64770 _ACEOF
64771 rm -f conftest.$ac_objext conftest$ac_exeext
64772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64773   (eval $ac_link) 2>conftest.er1
64774   ac_status=$?
64775   grep -v '^ *+' conftest.er1 >conftest.err
64776   rm -f conftest.er1
64777   cat conftest.err >&5
64778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64779   (exit $ac_status); } &&
64780          { ac_try='test -z "$ac_c_werror_flag"
64781                          || test ! -s conftest.err'
64782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64783   (eval $ac_try) 2>&5
64784   ac_status=$?
64785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64786   (exit $ac_status); }; } &&
64787          { ac_try='test -s conftest$ac_exeext'
64788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64789   (eval $ac_try) 2>&5
64790   ac_status=$?
64791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64792   (exit $ac_status); }; }; then
64793   eval "$as_ac_var=yes"
64794 else
64795   echo "$as_me: failed program was:" >&5
64796 sed 's/^/| /' conftest.$ac_ext >&5
64797
64798 eval "$as_ac_var=no"
64799 fi
64800 rm -f conftest.err conftest.$ac_objext \
64801       conftest$ac_exeext conftest.$ac_ext
64802 fi
64803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64805 if test `eval echo '${'$as_ac_var'}'` = yes; then
64806   cat >>confdefs.h <<_ACEOF
64807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64808 _ACEOF
64809
64810 fi
64811 done
64812
64813   else
64814     echo "$as_me:$LINENO: checking for _float trig functions" >&5
64815 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
64816     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
64817   echo $ECHO_N "(cached) $ECHO_C" >&6
64818 else
64819
64820
64821
64822       ac_ext=cc
64823 ac_cpp='$CXXCPP $CPPFLAGS'
64824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64827
64828       cat >conftest.$ac_ext <<_ACEOF
64829 /* confdefs.h.  */
64830 _ACEOF
64831 cat confdefs.h >>conftest.$ac_ext
64832 cat >>conftest.$ac_ext <<_ACEOF
64833 /* end confdefs.h.  */
64834 #include <math.h>
64835 int
64836 main ()
64837 {
64838 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64839   ;
64840   return 0;
64841 }
64842 _ACEOF
64843 rm -f conftest.$ac_objext
64844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64845   (eval $ac_compile) 2>conftest.er1
64846   ac_status=$?
64847   grep -v '^ *+' conftest.er1 >conftest.err
64848   rm -f conftest.er1
64849   cat conftest.err >&5
64850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64851   (exit $ac_status); } &&
64852          { ac_try='test -z "$ac_cxx_werror_flag"
64853                          || test ! -s conftest.err'
64854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64855   (eval $ac_try) 2>&5
64856   ac_status=$?
64857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858   (exit $ac_status); }; } &&
64859          { ac_try='test -s conftest.$ac_objext'
64860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64861   (eval $ac_try) 2>&5
64862   ac_status=$?
64863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864   (exit $ac_status); }; }; then
64865   glibcxx_cv_func__float_trig_use=yes
64866 else
64867   echo "$as_me: failed program was:" >&5
64868 sed 's/^/| /' conftest.$ac_ext >&5
64869
64870 glibcxx_cv_func__float_trig_use=no
64871 fi
64872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64873       ac_ext=c
64874 ac_cpp='$CPP $CPPFLAGS'
64875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64878
64879 fi
64880
64881     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
64882 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
64883     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64884
64885
64886
64887
64888
64889
64890
64891
64892
64893 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64894 do
64895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64896 echo "$as_me:$LINENO: checking for $ac_func" >&5
64897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64898 if eval "test \"\${$as_ac_var+set}\" = set"; then
64899   echo $ECHO_N "(cached) $ECHO_C" >&6
64900 else
64901   if test x$gcc_no_link = xyes; then
64902   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64904    { (exit 1); exit 1; }; }
64905 fi
64906 cat >conftest.$ac_ext <<_ACEOF
64907 /* confdefs.h.  */
64908 _ACEOF
64909 cat confdefs.h >>conftest.$ac_ext
64910 cat >>conftest.$ac_ext <<_ACEOF
64911 /* end confdefs.h.  */
64912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64914 #define $ac_func innocuous_$ac_func
64915
64916 /* System header to define __stub macros and hopefully few prototypes,
64917     which can conflict with char $ac_func (); below.
64918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64919     <limits.h> exists even on freestanding compilers.  */
64920
64921 #ifdef __STDC__
64922 # include <limits.h>
64923 #else
64924 # include <assert.h>
64925 #endif
64926
64927 #undef $ac_func
64928
64929 /* Override any gcc2 internal prototype to avoid an error.  */
64930 #ifdef __cplusplus
64931 extern "C"
64932 {
64933 #endif
64934 /* We use char because int might match the return type of a gcc2
64935    builtin and then its argument prototype would still apply.  */
64936 char $ac_func ();
64937 /* The GNU C library defines this for functions which it implements
64938     to always fail with ENOSYS.  Some functions are actually named
64939     something starting with __ and the normal name is an alias.  */
64940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64941 choke me
64942 #else
64943 char (*f) () = $ac_func;
64944 #endif
64945 #ifdef __cplusplus
64946 }
64947 #endif
64948
64949 int
64950 main ()
64951 {
64952 return f != $ac_func;
64953   ;
64954   return 0;
64955 }
64956 _ACEOF
64957 rm -f conftest.$ac_objext conftest$ac_exeext
64958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64959   (eval $ac_link) 2>conftest.er1
64960   ac_status=$?
64961   grep -v '^ *+' conftest.er1 >conftest.err
64962   rm -f conftest.er1
64963   cat conftest.err >&5
64964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64965   (exit $ac_status); } &&
64966          { ac_try='test -z "$ac_c_werror_flag"
64967                          || test ! -s conftest.err'
64968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64969   (eval $ac_try) 2>&5
64970   ac_status=$?
64971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64972   (exit $ac_status); }; } &&
64973          { ac_try='test -s conftest$ac_exeext'
64974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64975   (eval $ac_try) 2>&5
64976   ac_status=$?
64977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64978   (exit $ac_status); }; }; then
64979   eval "$as_ac_var=yes"
64980 else
64981   echo "$as_me: failed program was:" >&5
64982 sed 's/^/| /' conftest.$ac_ext >&5
64983
64984 eval "$as_ac_var=no"
64985 fi
64986 rm -f conftest.err conftest.$ac_objext \
64987       conftest$ac_exeext conftest.$ac_ext
64988 fi
64989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64991 if test `eval echo '${'$as_ac_var'}'` = yes; then
64992   cat >>confdefs.h <<_ACEOF
64993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64994 _ACEOF
64995
64996 fi
64997 done
64998
64999     fi
65000   fi
65001
65002
65003
65004
65005
65006
65007
65008
65009
65010
65011
65012
65013
65014
65015     echo "$as_me:$LINENO: checking for float round functions" >&5
65016 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
65017   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
65018   echo $ECHO_N "(cached) $ECHO_C" >&6
65019 else
65020
65021
65022
65023     ac_ext=cc
65024 ac_cpp='$CXXCPP $CPPFLAGS'
65025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65028
65029     cat >conftest.$ac_ext <<_ACEOF
65030 /* confdefs.h.  */
65031 _ACEOF
65032 cat confdefs.h >>conftest.$ac_ext
65033 cat >>conftest.$ac_ext <<_ACEOF
65034 /* end confdefs.h.  */
65035 #include <math.h>
65036 int
65037 main ()
65038 {
65039 ceilf (0); floorf (0);
65040   ;
65041   return 0;
65042 }
65043 _ACEOF
65044 rm -f conftest.$ac_objext
65045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65046   (eval $ac_compile) 2>conftest.er1
65047   ac_status=$?
65048   grep -v '^ *+' conftest.er1 >conftest.err
65049   rm -f conftest.er1
65050   cat conftest.err >&5
65051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65052   (exit $ac_status); } &&
65053          { ac_try='test -z "$ac_cxx_werror_flag"
65054                          || test ! -s conftest.err'
65055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65056   (eval $ac_try) 2>&5
65057   ac_status=$?
65058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65059   (exit $ac_status); }; } &&
65060          { ac_try='test -s conftest.$ac_objext'
65061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65062   (eval $ac_try) 2>&5
65063   ac_status=$?
65064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65065   (exit $ac_status); }; }; then
65066   glibcxx_cv_func_float_round_use=yes
65067 else
65068   echo "$as_me: failed program was:" >&5
65069 sed 's/^/| /' conftest.$ac_ext >&5
65070
65071 glibcxx_cv_func_float_round_use=no
65072 fi
65073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65074     ac_ext=c
65075 ac_cpp='$CPP $CPPFLAGS'
65076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65079
65080 fi
65081
65082   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
65083 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
65084   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65085
65086
65087 for ac_func in ceilf floorf
65088 do
65089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65090 echo "$as_me:$LINENO: checking for $ac_func" >&5
65091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65092 if eval "test \"\${$as_ac_var+set}\" = set"; then
65093   echo $ECHO_N "(cached) $ECHO_C" >&6
65094 else
65095   if test x$gcc_no_link = xyes; then
65096   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65098    { (exit 1); exit 1; }; }
65099 fi
65100 cat >conftest.$ac_ext <<_ACEOF
65101 /* confdefs.h.  */
65102 _ACEOF
65103 cat confdefs.h >>conftest.$ac_ext
65104 cat >>conftest.$ac_ext <<_ACEOF
65105 /* end confdefs.h.  */
65106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65107    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65108 #define $ac_func innocuous_$ac_func
65109
65110 /* System header to define __stub macros and hopefully few prototypes,
65111     which can conflict with char $ac_func (); below.
65112     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65113     <limits.h> exists even on freestanding compilers.  */
65114
65115 #ifdef __STDC__
65116 # include <limits.h>
65117 #else
65118 # include <assert.h>
65119 #endif
65120
65121 #undef $ac_func
65122
65123 /* Override any gcc2 internal prototype to avoid an error.  */
65124 #ifdef __cplusplus
65125 extern "C"
65126 {
65127 #endif
65128 /* We use char because int might match the return type of a gcc2
65129    builtin and then its argument prototype would still apply.  */
65130 char $ac_func ();
65131 /* The GNU C library defines this for functions which it implements
65132     to always fail with ENOSYS.  Some functions are actually named
65133     something starting with __ and the normal name is an alias.  */
65134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65135 choke me
65136 #else
65137 char (*f) () = $ac_func;
65138 #endif
65139 #ifdef __cplusplus
65140 }
65141 #endif
65142
65143 int
65144 main ()
65145 {
65146 return f != $ac_func;
65147   ;
65148   return 0;
65149 }
65150 _ACEOF
65151 rm -f conftest.$ac_objext conftest$ac_exeext
65152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65153   (eval $ac_link) 2>conftest.er1
65154   ac_status=$?
65155   grep -v '^ *+' conftest.er1 >conftest.err
65156   rm -f conftest.er1
65157   cat conftest.err >&5
65158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65159   (exit $ac_status); } &&
65160          { ac_try='test -z "$ac_c_werror_flag"
65161                          || test ! -s conftest.err'
65162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65163   (eval $ac_try) 2>&5
65164   ac_status=$?
65165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65166   (exit $ac_status); }; } &&
65167          { ac_try='test -s conftest$ac_exeext'
65168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65169   (eval $ac_try) 2>&5
65170   ac_status=$?
65171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65172   (exit $ac_status); }; }; then
65173   eval "$as_ac_var=yes"
65174 else
65175   echo "$as_me: failed program was:" >&5
65176 sed 's/^/| /' conftest.$ac_ext >&5
65177
65178 eval "$as_ac_var=no"
65179 fi
65180 rm -f conftest.err conftest.$ac_objext \
65181       conftest$ac_exeext conftest.$ac_ext
65182 fi
65183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65185 if test `eval echo '${'$as_ac_var'}'` = yes; then
65186   cat >>confdefs.h <<_ACEOF
65187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65188 _ACEOF
65189
65190 fi
65191 done
65192
65193   else
65194     echo "$as_me:$LINENO: checking for _float round functions" >&5
65195 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
65196     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
65197   echo $ECHO_N "(cached) $ECHO_C" >&6
65198 else
65199
65200
65201
65202       ac_ext=cc
65203 ac_cpp='$CXXCPP $CPPFLAGS'
65204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65207
65208       cat >conftest.$ac_ext <<_ACEOF
65209 /* confdefs.h.  */
65210 _ACEOF
65211 cat confdefs.h >>conftest.$ac_ext
65212 cat >>conftest.$ac_ext <<_ACEOF
65213 /* end confdefs.h.  */
65214 #include <math.h>
65215 int
65216 main ()
65217 {
65218 _ceilf (0); _floorf (0);
65219   ;
65220   return 0;
65221 }
65222 _ACEOF
65223 rm -f conftest.$ac_objext
65224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65225   (eval $ac_compile) 2>conftest.er1
65226   ac_status=$?
65227   grep -v '^ *+' conftest.er1 >conftest.err
65228   rm -f conftest.er1
65229   cat conftest.err >&5
65230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65231   (exit $ac_status); } &&
65232          { ac_try='test -z "$ac_cxx_werror_flag"
65233                          || test ! -s conftest.err'
65234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65235   (eval $ac_try) 2>&5
65236   ac_status=$?
65237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65238   (exit $ac_status); }; } &&
65239          { ac_try='test -s conftest.$ac_objext'
65240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65241   (eval $ac_try) 2>&5
65242   ac_status=$?
65243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65244   (exit $ac_status); }; }; then
65245   glibcxx_cv_func__float_round_use=yes
65246 else
65247   echo "$as_me: failed program was:" >&5
65248 sed 's/^/| /' conftest.$ac_ext >&5
65249
65250 glibcxx_cv_func__float_round_use=no
65251 fi
65252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65253       ac_ext=c
65254 ac_cpp='$CPP $CPPFLAGS'
65255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65258
65259 fi
65260
65261     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
65262 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
65263     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65264
65265
65266 for ac_func in _ceilf _floorf
65267 do
65268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65269 echo "$as_me:$LINENO: checking for $ac_func" >&5
65270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65271 if eval "test \"\${$as_ac_var+set}\" = set"; then
65272   echo $ECHO_N "(cached) $ECHO_C" >&6
65273 else
65274   if test x$gcc_no_link = xyes; then
65275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65277    { (exit 1); exit 1; }; }
65278 fi
65279 cat >conftest.$ac_ext <<_ACEOF
65280 /* confdefs.h.  */
65281 _ACEOF
65282 cat confdefs.h >>conftest.$ac_ext
65283 cat >>conftest.$ac_ext <<_ACEOF
65284 /* end confdefs.h.  */
65285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65287 #define $ac_func innocuous_$ac_func
65288
65289 /* System header to define __stub macros and hopefully few prototypes,
65290     which can conflict with char $ac_func (); below.
65291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65292     <limits.h> exists even on freestanding compilers.  */
65293
65294 #ifdef __STDC__
65295 # include <limits.h>
65296 #else
65297 # include <assert.h>
65298 #endif
65299
65300 #undef $ac_func
65301
65302 /* Override any gcc2 internal prototype to avoid an error.  */
65303 #ifdef __cplusplus
65304 extern "C"
65305 {
65306 #endif
65307 /* We use char because int might match the return type of a gcc2
65308    builtin and then its argument prototype would still apply.  */
65309 char $ac_func ();
65310 /* The GNU C library defines this for functions which it implements
65311     to always fail with ENOSYS.  Some functions are actually named
65312     something starting with __ and the normal name is an alias.  */
65313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65314 choke me
65315 #else
65316 char (*f) () = $ac_func;
65317 #endif
65318 #ifdef __cplusplus
65319 }
65320 #endif
65321
65322 int
65323 main ()
65324 {
65325 return f != $ac_func;
65326   ;
65327   return 0;
65328 }
65329 _ACEOF
65330 rm -f conftest.$ac_objext conftest$ac_exeext
65331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65332   (eval $ac_link) 2>conftest.er1
65333   ac_status=$?
65334   grep -v '^ *+' conftest.er1 >conftest.err
65335   rm -f conftest.er1
65336   cat conftest.err >&5
65337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65338   (exit $ac_status); } &&
65339          { ac_try='test -z "$ac_c_werror_flag"
65340                          || test ! -s conftest.err'
65341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65342   (eval $ac_try) 2>&5
65343   ac_status=$?
65344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65345   (exit $ac_status); }; } &&
65346          { ac_try='test -s conftest$ac_exeext'
65347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65348   (eval $ac_try) 2>&5
65349   ac_status=$?
65350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65351   (exit $ac_status); }; }; then
65352   eval "$as_ac_var=yes"
65353 else
65354   echo "$as_me: failed program was:" >&5
65355 sed 's/^/| /' conftest.$ac_ext >&5
65356
65357 eval "$as_ac_var=no"
65358 fi
65359 rm -f conftest.err conftest.$ac_objext \
65360       conftest$ac_exeext conftest.$ac_ext
65361 fi
65362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65364 if test `eval echo '${'$as_ac_var'}'` = yes; then
65365   cat >>confdefs.h <<_ACEOF
65366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65367 _ACEOF
65368
65369 fi
65370 done
65371
65372     fi
65373   fi
65374
65375
65376
65377
65378
65379
65380
65381
65382   echo "$as_me:$LINENO: checking for expf declaration" >&5
65383 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
65384   if test x${glibcxx_cv_func_expf_use+set} != xset; then
65385     if test "${glibcxx_cv_func_expf_use+set}" = set; then
65386   echo $ECHO_N "(cached) $ECHO_C" >&6
65387 else
65388
65389
65390
65391       ac_ext=cc
65392 ac_cpp='$CXXCPP $CPPFLAGS'
65393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65396
65397       cat >conftest.$ac_ext <<_ACEOF
65398 /* confdefs.h.  */
65399 _ACEOF
65400 cat confdefs.h >>conftest.$ac_ext
65401 cat >>conftest.$ac_ext <<_ACEOF
65402 /* end confdefs.h.  */
65403 #include <math.h>
65404                       #ifdef HAVE_IEEEFP_H
65405                       #include <ieeefp.h>
65406                       #endif
65407
65408 int
65409 main ()
65410 {
65411  expf(0);
65412   ;
65413   return 0;
65414 }
65415 _ACEOF
65416 rm -f conftest.$ac_objext
65417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65418   (eval $ac_compile) 2>conftest.er1
65419   ac_status=$?
65420   grep -v '^ *+' conftest.er1 >conftest.err
65421   rm -f conftest.er1
65422   cat conftest.err >&5
65423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65424   (exit $ac_status); } &&
65425          { ac_try='test -z "$ac_cxx_werror_flag"
65426                          || test ! -s conftest.err'
65427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65428   (eval $ac_try) 2>&5
65429   ac_status=$?
65430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431   (exit $ac_status); }; } &&
65432          { ac_try='test -s conftest.$ac_objext'
65433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65434   (eval $ac_try) 2>&5
65435   ac_status=$?
65436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65437   (exit $ac_status); }; }; then
65438   glibcxx_cv_func_expf_use=yes
65439 else
65440   echo "$as_me: failed program was:" >&5
65441 sed 's/^/| /' conftest.$ac_ext >&5
65442
65443 glibcxx_cv_func_expf_use=no
65444 fi
65445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65446       ac_ext=c
65447 ac_cpp='$CPP $CPPFLAGS'
65448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65451
65452
65453 fi
65454
65455   fi
65456   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
65457 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
65458
65459   if test x$glibcxx_cv_func_expf_use = x"yes"; then
65460
65461 for ac_func in expf
65462 do
65463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65464 echo "$as_me:$LINENO: checking for $ac_func" >&5
65465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65466 if eval "test \"\${$as_ac_var+set}\" = set"; then
65467   echo $ECHO_N "(cached) $ECHO_C" >&6
65468 else
65469   if test x$gcc_no_link = xyes; then
65470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65472    { (exit 1); exit 1; }; }
65473 fi
65474 cat >conftest.$ac_ext <<_ACEOF
65475 /* confdefs.h.  */
65476 _ACEOF
65477 cat confdefs.h >>conftest.$ac_ext
65478 cat >>conftest.$ac_ext <<_ACEOF
65479 /* end confdefs.h.  */
65480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65482 #define $ac_func innocuous_$ac_func
65483
65484 /* System header to define __stub macros and hopefully few prototypes,
65485     which can conflict with char $ac_func (); below.
65486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65487     <limits.h> exists even on freestanding compilers.  */
65488
65489 #ifdef __STDC__
65490 # include <limits.h>
65491 #else
65492 # include <assert.h>
65493 #endif
65494
65495 #undef $ac_func
65496
65497 /* Override any gcc2 internal prototype to avoid an error.  */
65498 #ifdef __cplusplus
65499 extern "C"
65500 {
65501 #endif
65502 /* We use char because int might match the return type of a gcc2
65503    builtin and then its argument prototype would still apply.  */
65504 char $ac_func ();
65505 /* The GNU C library defines this for functions which it implements
65506     to always fail with ENOSYS.  Some functions are actually named
65507     something starting with __ and the normal name is an alias.  */
65508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65509 choke me
65510 #else
65511 char (*f) () = $ac_func;
65512 #endif
65513 #ifdef __cplusplus
65514 }
65515 #endif
65516
65517 int
65518 main ()
65519 {
65520 return f != $ac_func;
65521   ;
65522   return 0;
65523 }
65524 _ACEOF
65525 rm -f conftest.$ac_objext conftest$ac_exeext
65526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65527   (eval $ac_link) 2>conftest.er1
65528   ac_status=$?
65529   grep -v '^ *+' conftest.er1 >conftest.err
65530   rm -f conftest.er1
65531   cat conftest.err >&5
65532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65533   (exit $ac_status); } &&
65534          { ac_try='test -z "$ac_c_werror_flag"
65535                          || test ! -s conftest.err'
65536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65537   (eval $ac_try) 2>&5
65538   ac_status=$?
65539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65540   (exit $ac_status); }; } &&
65541          { ac_try='test -s conftest$ac_exeext'
65542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65543   (eval $ac_try) 2>&5
65544   ac_status=$?
65545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65546   (exit $ac_status); }; }; then
65547   eval "$as_ac_var=yes"
65548 else
65549   echo "$as_me: failed program was:" >&5
65550 sed 's/^/| /' conftest.$ac_ext >&5
65551
65552 eval "$as_ac_var=no"
65553 fi
65554 rm -f conftest.err conftest.$ac_objext \
65555       conftest$ac_exeext conftest.$ac_ext
65556 fi
65557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65559 if test `eval echo '${'$as_ac_var'}'` = yes; then
65560   cat >>confdefs.h <<_ACEOF
65561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65562 _ACEOF
65563
65564 fi
65565 done
65566
65567   else
65568
65569   echo "$as_me:$LINENO: checking for _expf declaration" >&5
65570 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
65571   if test x${glibcxx_cv_func__expf_use+set} != xset; then
65572     if test "${glibcxx_cv_func__expf_use+set}" = set; then
65573   echo $ECHO_N "(cached) $ECHO_C" >&6
65574 else
65575
65576
65577
65578       ac_ext=cc
65579 ac_cpp='$CXXCPP $CPPFLAGS'
65580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65583
65584       cat >conftest.$ac_ext <<_ACEOF
65585 /* confdefs.h.  */
65586 _ACEOF
65587 cat confdefs.h >>conftest.$ac_ext
65588 cat >>conftest.$ac_ext <<_ACEOF
65589 /* end confdefs.h.  */
65590 #include <math.h>
65591                       #ifdef HAVE_IEEEFP_H
65592                       #include <ieeefp.h>
65593                       #endif
65594
65595 int
65596 main ()
65597 {
65598  _expf(0);
65599   ;
65600   return 0;
65601 }
65602 _ACEOF
65603 rm -f conftest.$ac_objext
65604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65605   (eval $ac_compile) 2>conftest.er1
65606   ac_status=$?
65607   grep -v '^ *+' conftest.er1 >conftest.err
65608   rm -f conftest.er1
65609   cat conftest.err >&5
65610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65611   (exit $ac_status); } &&
65612          { ac_try='test -z "$ac_cxx_werror_flag"
65613                          || test ! -s conftest.err'
65614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65615   (eval $ac_try) 2>&5
65616   ac_status=$?
65617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65618   (exit $ac_status); }; } &&
65619          { ac_try='test -s conftest.$ac_objext'
65620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65621   (eval $ac_try) 2>&5
65622   ac_status=$?
65623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65624   (exit $ac_status); }; }; then
65625   glibcxx_cv_func__expf_use=yes
65626 else
65627   echo "$as_me: failed program was:" >&5
65628 sed 's/^/| /' conftest.$ac_ext >&5
65629
65630 glibcxx_cv_func__expf_use=no
65631 fi
65632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65633       ac_ext=c
65634 ac_cpp='$CPP $CPPFLAGS'
65635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65638
65639
65640 fi
65641
65642   fi
65643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
65644 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
65645
65646     if test x$glibcxx_cv_func__expf_use = x"yes"; then
65647
65648 for ac_func in _expf
65649 do
65650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65651 echo "$as_me:$LINENO: checking for $ac_func" >&5
65652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65653 if eval "test \"\${$as_ac_var+set}\" = set"; then
65654   echo $ECHO_N "(cached) $ECHO_C" >&6
65655 else
65656   if test x$gcc_no_link = xyes; then
65657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65659    { (exit 1); exit 1; }; }
65660 fi
65661 cat >conftest.$ac_ext <<_ACEOF
65662 /* confdefs.h.  */
65663 _ACEOF
65664 cat confdefs.h >>conftest.$ac_ext
65665 cat >>conftest.$ac_ext <<_ACEOF
65666 /* end confdefs.h.  */
65667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65669 #define $ac_func innocuous_$ac_func
65670
65671 /* System header to define __stub macros and hopefully few prototypes,
65672     which can conflict with char $ac_func (); below.
65673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65674     <limits.h> exists even on freestanding compilers.  */
65675
65676 #ifdef __STDC__
65677 # include <limits.h>
65678 #else
65679 # include <assert.h>
65680 #endif
65681
65682 #undef $ac_func
65683
65684 /* Override any gcc2 internal prototype to avoid an error.  */
65685 #ifdef __cplusplus
65686 extern "C"
65687 {
65688 #endif
65689 /* We use char because int might match the return type of a gcc2
65690    builtin and then its argument prototype would still apply.  */
65691 char $ac_func ();
65692 /* The GNU C library defines this for functions which it implements
65693     to always fail with ENOSYS.  Some functions are actually named
65694     something starting with __ and the normal name is an alias.  */
65695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65696 choke me
65697 #else
65698 char (*f) () = $ac_func;
65699 #endif
65700 #ifdef __cplusplus
65701 }
65702 #endif
65703
65704 int
65705 main ()
65706 {
65707 return f != $ac_func;
65708   ;
65709   return 0;
65710 }
65711 _ACEOF
65712 rm -f conftest.$ac_objext conftest$ac_exeext
65713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65714   (eval $ac_link) 2>conftest.er1
65715   ac_status=$?
65716   grep -v '^ *+' conftest.er1 >conftest.err
65717   rm -f conftest.er1
65718   cat conftest.err >&5
65719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65720   (exit $ac_status); } &&
65721          { ac_try='test -z "$ac_c_werror_flag"
65722                          || test ! -s conftest.err'
65723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65724   (eval $ac_try) 2>&5
65725   ac_status=$?
65726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65727   (exit $ac_status); }; } &&
65728          { ac_try='test -s conftest$ac_exeext'
65729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65730   (eval $ac_try) 2>&5
65731   ac_status=$?
65732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65733   (exit $ac_status); }; }; then
65734   eval "$as_ac_var=yes"
65735 else
65736   echo "$as_me: failed program was:" >&5
65737 sed 's/^/| /' conftest.$ac_ext >&5
65738
65739 eval "$as_ac_var=no"
65740 fi
65741 rm -f conftest.err conftest.$ac_objext \
65742       conftest$ac_exeext conftest.$ac_ext
65743 fi
65744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65746 if test `eval echo '${'$as_ac_var'}'` = yes; then
65747   cat >>confdefs.h <<_ACEOF
65748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65749 _ACEOF
65750
65751 fi
65752 done
65753
65754     fi
65755   fi
65756
65757
65758
65759
65760
65761
65762   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
65763 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
65764   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65765     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
65766   echo $ECHO_N "(cached) $ECHO_C" >&6
65767 else
65768
65769
65770
65771       ac_ext=cc
65772 ac_cpp='$CXXCPP $CPPFLAGS'
65773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65776
65777       cat >conftest.$ac_ext <<_ACEOF
65778 /* confdefs.h.  */
65779 _ACEOF
65780 cat confdefs.h >>conftest.$ac_ext
65781 cat >>conftest.$ac_ext <<_ACEOF
65782 /* end confdefs.h.  */
65783 #include <math.h>
65784                       #ifdef HAVE_IEEEFP_H
65785                       #include <ieeefp.h>
65786                       #endif
65787
65788 int
65789 main ()
65790 {
65791  isnanf(0);
65792   ;
65793   return 0;
65794 }
65795 _ACEOF
65796 rm -f conftest.$ac_objext
65797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65798   (eval $ac_compile) 2>conftest.er1
65799   ac_status=$?
65800   grep -v '^ *+' conftest.er1 >conftest.err
65801   rm -f conftest.er1
65802   cat conftest.err >&5
65803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65804   (exit $ac_status); } &&
65805          { ac_try='test -z "$ac_cxx_werror_flag"
65806                          || test ! -s conftest.err'
65807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65808   (eval $ac_try) 2>&5
65809   ac_status=$?
65810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65811   (exit $ac_status); }; } &&
65812          { ac_try='test -s conftest.$ac_objext'
65813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65814   (eval $ac_try) 2>&5
65815   ac_status=$?
65816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65817   (exit $ac_status); }; }; then
65818   glibcxx_cv_func_isnanf_use=yes
65819 else
65820   echo "$as_me: failed program was:" >&5
65821 sed 's/^/| /' conftest.$ac_ext >&5
65822
65823 glibcxx_cv_func_isnanf_use=no
65824 fi
65825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65826       ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65831
65832
65833 fi
65834
65835   fi
65836   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
65837 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
65838
65839   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65840
65841 for ac_func in isnanf
65842 do
65843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65844 echo "$as_me:$LINENO: checking for $ac_func" >&5
65845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65846 if eval "test \"\${$as_ac_var+set}\" = set"; then
65847   echo $ECHO_N "(cached) $ECHO_C" >&6
65848 else
65849   if test x$gcc_no_link = xyes; then
65850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65852    { (exit 1); exit 1; }; }
65853 fi
65854 cat >conftest.$ac_ext <<_ACEOF
65855 /* confdefs.h.  */
65856 _ACEOF
65857 cat confdefs.h >>conftest.$ac_ext
65858 cat >>conftest.$ac_ext <<_ACEOF
65859 /* end confdefs.h.  */
65860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65862 #define $ac_func innocuous_$ac_func
65863
65864 /* System header to define __stub macros and hopefully few prototypes,
65865     which can conflict with char $ac_func (); below.
65866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65867     <limits.h> exists even on freestanding compilers.  */
65868
65869 #ifdef __STDC__
65870 # include <limits.h>
65871 #else
65872 # include <assert.h>
65873 #endif
65874
65875 #undef $ac_func
65876
65877 /* Override any gcc2 internal prototype to avoid an error.  */
65878 #ifdef __cplusplus
65879 extern "C"
65880 {
65881 #endif
65882 /* We use char because int might match the return type of a gcc2
65883    builtin and then its argument prototype would still apply.  */
65884 char $ac_func ();
65885 /* The GNU C library defines this for functions which it implements
65886     to always fail with ENOSYS.  Some functions are actually named
65887     something starting with __ and the normal name is an alias.  */
65888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65889 choke me
65890 #else
65891 char (*f) () = $ac_func;
65892 #endif
65893 #ifdef __cplusplus
65894 }
65895 #endif
65896
65897 int
65898 main ()
65899 {
65900 return f != $ac_func;
65901   ;
65902   return 0;
65903 }
65904 _ACEOF
65905 rm -f conftest.$ac_objext conftest$ac_exeext
65906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65907   (eval $ac_link) 2>conftest.er1
65908   ac_status=$?
65909   grep -v '^ *+' conftest.er1 >conftest.err
65910   rm -f conftest.er1
65911   cat conftest.err >&5
65912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913   (exit $ac_status); } &&
65914          { ac_try='test -z "$ac_c_werror_flag"
65915                          || test ! -s conftest.err'
65916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917   (eval $ac_try) 2>&5
65918   ac_status=$?
65919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920   (exit $ac_status); }; } &&
65921          { ac_try='test -s conftest$ac_exeext'
65922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65923   (eval $ac_try) 2>&5
65924   ac_status=$?
65925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65926   (exit $ac_status); }; }; then
65927   eval "$as_ac_var=yes"
65928 else
65929   echo "$as_me: failed program was:" >&5
65930 sed 's/^/| /' conftest.$ac_ext >&5
65931
65932 eval "$as_ac_var=no"
65933 fi
65934 rm -f conftest.err conftest.$ac_objext \
65935       conftest$ac_exeext conftest.$ac_ext
65936 fi
65937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65939 if test `eval echo '${'$as_ac_var'}'` = yes; then
65940   cat >>confdefs.h <<_ACEOF
65941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65942 _ACEOF
65943
65944 fi
65945 done
65946
65947   else
65948
65949   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
65950 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
65951   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65952     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
65953   echo $ECHO_N "(cached) $ECHO_C" >&6
65954 else
65955
65956
65957
65958       ac_ext=cc
65959 ac_cpp='$CXXCPP $CPPFLAGS'
65960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65963
65964       cat >conftest.$ac_ext <<_ACEOF
65965 /* confdefs.h.  */
65966 _ACEOF
65967 cat confdefs.h >>conftest.$ac_ext
65968 cat >>conftest.$ac_ext <<_ACEOF
65969 /* end confdefs.h.  */
65970 #include <math.h>
65971                       #ifdef HAVE_IEEEFP_H
65972                       #include <ieeefp.h>
65973                       #endif
65974
65975 int
65976 main ()
65977 {
65978  _isnanf(0);
65979   ;
65980   return 0;
65981 }
65982 _ACEOF
65983 rm -f conftest.$ac_objext
65984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65985   (eval $ac_compile) 2>conftest.er1
65986   ac_status=$?
65987   grep -v '^ *+' conftest.er1 >conftest.err
65988   rm -f conftest.er1
65989   cat conftest.err >&5
65990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65991   (exit $ac_status); } &&
65992          { ac_try='test -z "$ac_cxx_werror_flag"
65993                          || test ! -s conftest.err'
65994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65995   (eval $ac_try) 2>&5
65996   ac_status=$?
65997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65998   (exit $ac_status); }; } &&
65999          { ac_try='test -s conftest.$ac_objext'
66000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66001   (eval $ac_try) 2>&5
66002   ac_status=$?
66003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004   (exit $ac_status); }; }; then
66005   glibcxx_cv_func__isnanf_use=yes
66006 else
66007   echo "$as_me: failed program was:" >&5
66008 sed 's/^/| /' conftest.$ac_ext >&5
66009
66010 glibcxx_cv_func__isnanf_use=no
66011 fi
66012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66013       ac_ext=c
66014 ac_cpp='$CPP $CPPFLAGS'
66015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018
66019
66020 fi
66021
66022   fi
66023   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
66024 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
66025
66026     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66027
66028 for ac_func in _isnanf
66029 do
66030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66031 echo "$as_me:$LINENO: checking for $ac_func" >&5
66032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66033 if eval "test \"\${$as_ac_var+set}\" = set"; then
66034   echo $ECHO_N "(cached) $ECHO_C" >&6
66035 else
66036   if test x$gcc_no_link = xyes; then
66037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66039    { (exit 1); exit 1; }; }
66040 fi
66041 cat >conftest.$ac_ext <<_ACEOF
66042 /* confdefs.h.  */
66043 _ACEOF
66044 cat confdefs.h >>conftest.$ac_ext
66045 cat >>conftest.$ac_ext <<_ACEOF
66046 /* end confdefs.h.  */
66047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66049 #define $ac_func innocuous_$ac_func
66050
66051 /* System header to define __stub macros and hopefully few prototypes,
66052     which can conflict with char $ac_func (); below.
66053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66054     <limits.h> exists even on freestanding compilers.  */
66055
66056 #ifdef __STDC__
66057 # include <limits.h>
66058 #else
66059 # include <assert.h>
66060 #endif
66061
66062 #undef $ac_func
66063
66064 /* Override any gcc2 internal prototype to avoid an error.  */
66065 #ifdef __cplusplus
66066 extern "C"
66067 {
66068 #endif
66069 /* We use char because int might match the return type of a gcc2
66070    builtin and then its argument prototype would still apply.  */
66071 char $ac_func ();
66072 /* The GNU C library defines this for functions which it implements
66073     to always fail with ENOSYS.  Some functions are actually named
66074     something starting with __ and the normal name is an alias.  */
66075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66076 choke me
66077 #else
66078 char (*f) () = $ac_func;
66079 #endif
66080 #ifdef __cplusplus
66081 }
66082 #endif
66083
66084 int
66085 main ()
66086 {
66087 return f != $ac_func;
66088   ;
66089   return 0;
66090 }
66091 _ACEOF
66092 rm -f conftest.$ac_objext conftest$ac_exeext
66093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66094   (eval $ac_link) 2>conftest.er1
66095   ac_status=$?
66096   grep -v '^ *+' conftest.er1 >conftest.err
66097   rm -f conftest.er1
66098   cat conftest.err >&5
66099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66100   (exit $ac_status); } &&
66101          { ac_try='test -z "$ac_c_werror_flag"
66102                          || test ! -s conftest.err'
66103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66104   (eval $ac_try) 2>&5
66105   ac_status=$?
66106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66107   (exit $ac_status); }; } &&
66108          { ac_try='test -s conftest$ac_exeext'
66109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66110   (eval $ac_try) 2>&5
66111   ac_status=$?
66112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113   (exit $ac_status); }; }; then
66114   eval "$as_ac_var=yes"
66115 else
66116   echo "$as_me: failed program was:" >&5
66117 sed 's/^/| /' conftest.$ac_ext >&5
66118
66119 eval "$as_ac_var=no"
66120 fi
66121 rm -f conftest.err conftest.$ac_objext \
66122       conftest$ac_exeext conftest.$ac_ext
66123 fi
66124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66126 if test `eval echo '${'$as_ac_var'}'` = yes; then
66127   cat >>confdefs.h <<_ACEOF
66128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66129 _ACEOF
66130
66131 fi
66132 done
66133
66134     fi
66135   fi
66136
66137
66138
66139
66140
66141
66142   echo "$as_me:$LINENO: checking for isinff declaration" >&5
66143 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
66144   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66145     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
66146   echo $ECHO_N "(cached) $ECHO_C" >&6
66147 else
66148
66149
66150
66151       ac_ext=cc
66152 ac_cpp='$CXXCPP $CPPFLAGS'
66153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66156
66157       cat >conftest.$ac_ext <<_ACEOF
66158 /* confdefs.h.  */
66159 _ACEOF
66160 cat confdefs.h >>conftest.$ac_ext
66161 cat >>conftest.$ac_ext <<_ACEOF
66162 /* end confdefs.h.  */
66163 #include <math.h>
66164                       #ifdef HAVE_IEEEFP_H
66165                       #include <ieeefp.h>
66166                       #endif
66167
66168 int
66169 main ()
66170 {
66171  isinff(0);
66172   ;
66173   return 0;
66174 }
66175 _ACEOF
66176 rm -f conftest.$ac_objext
66177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66178   (eval $ac_compile) 2>conftest.er1
66179   ac_status=$?
66180   grep -v '^ *+' conftest.er1 >conftest.err
66181   rm -f conftest.er1
66182   cat conftest.err >&5
66183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66184   (exit $ac_status); } &&
66185          { ac_try='test -z "$ac_cxx_werror_flag"
66186                          || test ! -s conftest.err'
66187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66188   (eval $ac_try) 2>&5
66189   ac_status=$?
66190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66191   (exit $ac_status); }; } &&
66192          { ac_try='test -s conftest.$ac_objext'
66193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66194   (eval $ac_try) 2>&5
66195   ac_status=$?
66196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197   (exit $ac_status); }; }; then
66198   glibcxx_cv_func_isinff_use=yes
66199 else
66200   echo "$as_me: failed program was:" >&5
66201 sed 's/^/| /' conftest.$ac_ext >&5
66202
66203 glibcxx_cv_func_isinff_use=no
66204 fi
66205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66206       ac_ext=c
66207 ac_cpp='$CPP $CPPFLAGS'
66208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66211
66212
66213 fi
66214
66215   fi
66216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
66217 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
66218
66219   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66220
66221 for ac_func in isinff
66222 do
66223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66224 echo "$as_me:$LINENO: checking for $ac_func" >&5
66225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66226 if eval "test \"\${$as_ac_var+set}\" = set"; then
66227   echo $ECHO_N "(cached) $ECHO_C" >&6
66228 else
66229   if test x$gcc_no_link = xyes; then
66230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66232    { (exit 1); exit 1; }; }
66233 fi
66234 cat >conftest.$ac_ext <<_ACEOF
66235 /* confdefs.h.  */
66236 _ACEOF
66237 cat confdefs.h >>conftest.$ac_ext
66238 cat >>conftest.$ac_ext <<_ACEOF
66239 /* end confdefs.h.  */
66240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66242 #define $ac_func innocuous_$ac_func
66243
66244 /* System header to define __stub macros and hopefully few prototypes,
66245     which can conflict with char $ac_func (); below.
66246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66247     <limits.h> exists even on freestanding compilers.  */
66248
66249 #ifdef __STDC__
66250 # include <limits.h>
66251 #else
66252 # include <assert.h>
66253 #endif
66254
66255 #undef $ac_func
66256
66257 /* Override any gcc2 internal prototype to avoid an error.  */
66258 #ifdef __cplusplus
66259 extern "C"
66260 {
66261 #endif
66262 /* We use char because int might match the return type of a gcc2
66263    builtin and then its argument prototype would still apply.  */
66264 char $ac_func ();
66265 /* The GNU C library defines this for functions which it implements
66266     to always fail with ENOSYS.  Some functions are actually named
66267     something starting with __ and the normal name is an alias.  */
66268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66269 choke me
66270 #else
66271 char (*f) () = $ac_func;
66272 #endif
66273 #ifdef __cplusplus
66274 }
66275 #endif
66276
66277 int
66278 main ()
66279 {
66280 return f != $ac_func;
66281   ;
66282   return 0;
66283 }
66284 _ACEOF
66285 rm -f conftest.$ac_objext conftest$ac_exeext
66286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66287   (eval $ac_link) 2>conftest.er1
66288   ac_status=$?
66289   grep -v '^ *+' conftest.er1 >conftest.err
66290   rm -f conftest.er1
66291   cat conftest.err >&5
66292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293   (exit $ac_status); } &&
66294          { ac_try='test -z "$ac_c_werror_flag"
66295                          || test ! -s conftest.err'
66296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297   (eval $ac_try) 2>&5
66298   ac_status=$?
66299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300   (exit $ac_status); }; } &&
66301          { ac_try='test -s conftest$ac_exeext'
66302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303   (eval $ac_try) 2>&5
66304   ac_status=$?
66305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306   (exit $ac_status); }; }; then
66307   eval "$as_ac_var=yes"
66308 else
66309   echo "$as_me: failed program was:" >&5
66310 sed 's/^/| /' conftest.$ac_ext >&5
66311
66312 eval "$as_ac_var=no"
66313 fi
66314 rm -f conftest.err conftest.$ac_objext \
66315       conftest$ac_exeext conftest.$ac_ext
66316 fi
66317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66319 if test `eval echo '${'$as_ac_var'}'` = yes; then
66320   cat >>confdefs.h <<_ACEOF
66321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66322 _ACEOF
66323
66324 fi
66325 done
66326
66327   else
66328
66329   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
66330 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
66331   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66332     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
66333   echo $ECHO_N "(cached) $ECHO_C" >&6
66334 else
66335
66336
66337
66338       ac_ext=cc
66339 ac_cpp='$CXXCPP $CPPFLAGS'
66340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66343
66344       cat >conftest.$ac_ext <<_ACEOF
66345 /* confdefs.h.  */
66346 _ACEOF
66347 cat confdefs.h >>conftest.$ac_ext
66348 cat >>conftest.$ac_ext <<_ACEOF
66349 /* end confdefs.h.  */
66350 #include <math.h>
66351                       #ifdef HAVE_IEEEFP_H
66352                       #include <ieeefp.h>
66353                       #endif
66354
66355 int
66356 main ()
66357 {
66358  _isinff(0);
66359   ;
66360   return 0;
66361 }
66362 _ACEOF
66363 rm -f conftest.$ac_objext
66364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66365   (eval $ac_compile) 2>conftest.er1
66366   ac_status=$?
66367   grep -v '^ *+' conftest.er1 >conftest.err
66368   rm -f conftest.er1
66369   cat conftest.err >&5
66370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66371   (exit $ac_status); } &&
66372          { ac_try='test -z "$ac_cxx_werror_flag"
66373                          || test ! -s conftest.err'
66374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66375   (eval $ac_try) 2>&5
66376   ac_status=$?
66377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66378   (exit $ac_status); }; } &&
66379          { ac_try='test -s conftest.$ac_objext'
66380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66381   (eval $ac_try) 2>&5
66382   ac_status=$?
66383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66384   (exit $ac_status); }; }; then
66385   glibcxx_cv_func__isinff_use=yes
66386 else
66387   echo "$as_me: failed program was:" >&5
66388 sed 's/^/| /' conftest.$ac_ext >&5
66389
66390 glibcxx_cv_func__isinff_use=no
66391 fi
66392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66393       ac_ext=c
66394 ac_cpp='$CPP $CPPFLAGS'
66395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66398
66399
66400 fi
66401
66402   fi
66403   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
66404 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
66405
66406     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66407
66408 for ac_func in _isinff
66409 do
66410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66411 echo "$as_me:$LINENO: checking for $ac_func" >&5
66412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66413 if eval "test \"\${$as_ac_var+set}\" = set"; then
66414   echo $ECHO_N "(cached) $ECHO_C" >&6
66415 else
66416   if test x$gcc_no_link = xyes; then
66417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66419    { (exit 1); exit 1; }; }
66420 fi
66421 cat >conftest.$ac_ext <<_ACEOF
66422 /* confdefs.h.  */
66423 _ACEOF
66424 cat confdefs.h >>conftest.$ac_ext
66425 cat >>conftest.$ac_ext <<_ACEOF
66426 /* end confdefs.h.  */
66427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66429 #define $ac_func innocuous_$ac_func
66430
66431 /* System header to define __stub macros and hopefully few prototypes,
66432     which can conflict with char $ac_func (); below.
66433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66434     <limits.h> exists even on freestanding compilers.  */
66435
66436 #ifdef __STDC__
66437 # include <limits.h>
66438 #else
66439 # include <assert.h>
66440 #endif
66441
66442 #undef $ac_func
66443
66444 /* Override any gcc2 internal prototype to avoid an error.  */
66445 #ifdef __cplusplus
66446 extern "C"
66447 {
66448 #endif
66449 /* We use char because int might match the return type of a gcc2
66450    builtin and then its argument prototype would still apply.  */
66451 char $ac_func ();
66452 /* The GNU C library defines this for functions which it implements
66453     to always fail with ENOSYS.  Some functions are actually named
66454     something starting with __ and the normal name is an alias.  */
66455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66456 choke me
66457 #else
66458 char (*f) () = $ac_func;
66459 #endif
66460 #ifdef __cplusplus
66461 }
66462 #endif
66463
66464 int
66465 main ()
66466 {
66467 return f != $ac_func;
66468   ;
66469   return 0;
66470 }
66471 _ACEOF
66472 rm -f conftest.$ac_objext conftest$ac_exeext
66473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66474   (eval $ac_link) 2>conftest.er1
66475   ac_status=$?
66476   grep -v '^ *+' conftest.er1 >conftest.err
66477   rm -f conftest.er1
66478   cat conftest.err >&5
66479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66480   (exit $ac_status); } &&
66481          { ac_try='test -z "$ac_c_werror_flag"
66482                          || test ! -s conftest.err'
66483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66484   (eval $ac_try) 2>&5
66485   ac_status=$?
66486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66487   (exit $ac_status); }; } &&
66488          { ac_try='test -s conftest$ac_exeext'
66489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66490   (eval $ac_try) 2>&5
66491   ac_status=$?
66492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66493   (exit $ac_status); }; }; then
66494   eval "$as_ac_var=yes"
66495 else
66496   echo "$as_me: failed program was:" >&5
66497 sed 's/^/| /' conftest.$ac_ext >&5
66498
66499 eval "$as_ac_var=no"
66500 fi
66501 rm -f conftest.err conftest.$ac_objext \
66502       conftest$ac_exeext conftest.$ac_ext
66503 fi
66504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66506 if test `eval echo '${'$as_ac_var'}'` = yes; then
66507   cat >>confdefs.h <<_ACEOF
66508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66509 _ACEOF
66510
66511 fi
66512 done
66513
66514     fi
66515   fi
66516
66517
66518
66519
66520
66521
66522   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
66523 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
66524   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66525     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
66526   echo $ECHO_N "(cached) $ECHO_C" >&6
66527 else
66528
66529
66530
66531       ac_ext=cc
66532 ac_cpp='$CXXCPP $CPPFLAGS'
66533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66536
66537       cat >conftest.$ac_ext <<_ACEOF
66538 /* confdefs.h.  */
66539 _ACEOF
66540 cat confdefs.h >>conftest.$ac_ext
66541 cat >>conftest.$ac_ext <<_ACEOF
66542 /* end confdefs.h.  */
66543 #include <math.h>
66544 int
66545 main ()
66546 {
66547  atan2f(0, 0);
66548   ;
66549   return 0;
66550 }
66551 _ACEOF
66552 rm -f conftest.$ac_objext
66553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66554   (eval $ac_compile) 2>conftest.er1
66555   ac_status=$?
66556   grep -v '^ *+' conftest.er1 >conftest.err
66557   rm -f conftest.er1
66558   cat conftest.err >&5
66559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66560   (exit $ac_status); } &&
66561          { ac_try='test -z "$ac_cxx_werror_flag"
66562                          || test ! -s conftest.err'
66563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66564   (eval $ac_try) 2>&5
66565   ac_status=$?
66566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66567   (exit $ac_status); }; } &&
66568          { ac_try='test -s conftest.$ac_objext'
66569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66570   (eval $ac_try) 2>&5
66571   ac_status=$?
66572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66573   (exit $ac_status); }; }; then
66574   glibcxx_cv_func_atan2f_use=yes
66575 else
66576   echo "$as_me: failed program was:" >&5
66577 sed 's/^/| /' conftest.$ac_ext >&5
66578
66579 glibcxx_cv_func_atan2f_use=no
66580 fi
66581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66582       ac_ext=c
66583 ac_cpp='$CPP $CPPFLAGS'
66584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66587
66588
66589 fi
66590
66591   fi
66592   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
66593 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
66594
66595   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66596
66597 for ac_func in atan2f
66598 do
66599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66600 echo "$as_me:$LINENO: checking for $ac_func" >&5
66601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66602 if eval "test \"\${$as_ac_var+set}\" = set"; then
66603   echo $ECHO_N "(cached) $ECHO_C" >&6
66604 else
66605   if test x$gcc_no_link = xyes; then
66606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66608    { (exit 1); exit 1; }; }
66609 fi
66610 cat >conftest.$ac_ext <<_ACEOF
66611 /* confdefs.h.  */
66612 _ACEOF
66613 cat confdefs.h >>conftest.$ac_ext
66614 cat >>conftest.$ac_ext <<_ACEOF
66615 /* end confdefs.h.  */
66616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66618 #define $ac_func innocuous_$ac_func
66619
66620 /* System header to define __stub macros and hopefully few prototypes,
66621     which can conflict with char $ac_func (); below.
66622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66623     <limits.h> exists even on freestanding compilers.  */
66624
66625 #ifdef __STDC__
66626 # include <limits.h>
66627 #else
66628 # include <assert.h>
66629 #endif
66630
66631 #undef $ac_func
66632
66633 /* Override any gcc2 internal prototype to avoid an error.  */
66634 #ifdef __cplusplus
66635 extern "C"
66636 {
66637 #endif
66638 /* We use char because int might match the return type of a gcc2
66639    builtin and then its argument prototype would still apply.  */
66640 char $ac_func ();
66641 /* The GNU C library defines this for functions which it implements
66642     to always fail with ENOSYS.  Some functions are actually named
66643     something starting with __ and the normal name is an alias.  */
66644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66645 choke me
66646 #else
66647 char (*f) () = $ac_func;
66648 #endif
66649 #ifdef __cplusplus
66650 }
66651 #endif
66652
66653 int
66654 main ()
66655 {
66656 return f != $ac_func;
66657   ;
66658   return 0;
66659 }
66660 _ACEOF
66661 rm -f conftest.$ac_objext conftest$ac_exeext
66662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66663   (eval $ac_link) 2>conftest.er1
66664   ac_status=$?
66665   grep -v '^ *+' conftest.er1 >conftest.err
66666   rm -f conftest.er1
66667   cat conftest.err >&5
66668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66669   (exit $ac_status); } &&
66670          { ac_try='test -z "$ac_c_werror_flag"
66671                          || test ! -s conftest.err'
66672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66673   (eval $ac_try) 2>&5
66674   ac_status=$?
66675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66676   (exit $ac_status); }; } &&
66677          { ac_try='test -s conftest$ac_exeext'
66678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66679   (eval $ac_try) 2>&5
66680   ac_status=$?
66681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66682   (exit $ac_status); }; }; then
66683   eval "$as_ac_var=yes"
66684 else
66685   echo "$as_me: failed program was:" >&5
66686 sed 's/^/| /' conftest.$ac_ext >&5
66687
66688 eval "$as_ac_var=no"
66689 fi
66690 rm -f conftest.err conftest.$ac_objext \
66691       conftest$ac_exeext conftest.$ac_ext
66692 fi
66693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66695 if test `eval echo '${'$as_ac_var'}'` = yes; then
66696   cat >>confdefs.h <<_ACEOF
66697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66698 _ACEOF
66699
66700 fi
66701 done
66702
66703   else
66704
66705   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
66706 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
66707   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66708     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
66709   echo $ECHO_N "(cached) $ECHO_C" >&6
66710 else
66711
66712
66713
66714       ac_ext=cc
66715 ac_cpp='$CXXCPP $CPPFLAGS'
66716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66719
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 #include <math.h>
66727 int
66728 main ()
66729 {
66730  _atan2f(0, 0);
66731   ;
66732   return 0;
66733 }
66734 _ACEOF
66735 rm -f conftest.$ac_objext
66736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66737   (eval $ac_compile) 2>conftest.er1
66738   ac_status=$?
66739   grep -v '^ *+' conftest.er1 >conftest.err
66740   rm -f conftest.er1
66741   cat conftest.err >&5
66742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66743   (exit $ac_status); } &&
66744          { ac_try='test -z "$ac_cxx_werror_flag"
66745                          || test ! -s conftest.err'
66746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66747   (eval $ac_try) 2>&5
66748   ac_status=$?
66749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66750   (exit $ac_status); }; } &&
66751          { ac_try='test -s conftest.$ac_objext'
66752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66753   (eval $ac_try) 2>&5
66754   ac_status=$?
66755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66756   (exit $ac_status); }; }; then
66757   glibcxx_cv_func__atan2f_use=yes
66758 else
66759   echo "$as_me: failed program was:" >&5
66760 sed 's/^/| /' conftest.$ac_ext >&5
66761
66762 glibcxx_cv_func__atan2f_use=no
66763 fi
66764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66765       ac_ext=c
66766 ac_cpp='$CPP $CPPFLAGS'
66767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66770
66771
66772 fi
66773
66774   fi
66775   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
66776 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
66777
66778     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66779
66780 for ac_func in _atan2f
66781 do
66782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66783 echo "$as_me:$LINENO: checking for $ac_func" >&5
66784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66785 if eval "test \"\${$as_ac_var+set}\" = set"; then
66786   echo $ECHO_N "(cached) $ECHO_C" >&6
66787 else
66788   if test x$gcc_no_link = xyes; then
66789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66791    { (exit 1); exit 1; }; }
66792 fi
66793 cat >conftest.$ac_ext <<_ACEOF
66794 /* confdefs.h.  */
66795 _ACEOF
66796 cat confdefs.h >>conftest.$ac_ext
66797 cat >>conftest.$ac_ext <<_ACEOF
66798 /* end confdefs.h.  */
66799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66801 #define $ac_func innocuous_$ac_func
66802
66803 /* System header to define __stub macros and hopefully few prototypes,
66804     which can conflict with char $ac_func (); below.
66805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66806     <limits.h> exists even on freestanding compilers.  */
66807
66808 #ifdef __STDC__
66809 # include <limits.h>
66810 #else
66811 # include <assert.h>
66812 #endif
66813
66814 #undef $ac_func
66815
66816 /* Override any gcc2 internal prototype to avoid an error.  */
66817 #ifdef __cplusplus
66818 extern "C"
66819 {
66820 #endif
66821 /* We use char because int might match the return type of a gcc2
66822    builtin and then its argument prototype would still apply.  */
66823 char $ac_func ();
66824 /* The GNU C library defines this for functions which it implements
66825     to always fail with ENOSYS.  Some functions are actually named
66826     something starting with __ and the normal name is an alias.  */
66827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66828 choke me
66829 #else
66830 char (*f) () = $ac_func;
66831 #endif
66832 #ifdef __cplusplus
66833 }
66834 #endif
66835
66836 int
66837 main ()
66838 {
66839 return f != $ac_func;
66840   ;
66841   return 0;
66842 }
66843 _ACEOF
66844 rm -f conftest.$ac_objext conftest$ac_exeext
66845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66846   (eval $ac_link) 2>conftest.er1
66847   ac_status=$?
66848   grep -v '^ *+' conftest.er1 >conftest.err
66849   rm -f conftest.er1
66850   cat conftest.err >&5
66851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66852   (exit $ac_status); } &&
66853          { ac_try='test -z "$ac_c_werror_flag"
66854                          || test ! -s conftest.err'
66855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66856   (eval $ac_try) 2>&5
66857   ac_status=$?
66858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66859   (exit $ac_status); }; } &&
66860          { ac_try='test -s conftest$ac_exeext'
66861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66862   (eval $ac_try) 2>&5
66863   ac_status=$?
66864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66865   (exit $ac_status); }; }; then
66866   eval "$as_ac_var=yes"
66867 else
66868   echo "$as_me: failed program was:" >&5
66869 sed 's/^/| /' conftest.$ac_ext >&5
66870
66871 eval "$as_ac_var=no"
66872 fi
66873 rm -f conftest.err conftest.$ac_objext \
66874       conftest$ac_exeext conftest.$ac_ext
66875 fi
66876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66878 if test `eval echo '${'$as_ac_var'}'` = yes; then
66879   cat >>confdefs.h <<_ACEOF
66880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66881 _ACEOF
66882
66883 fi
66884 done
66885
66886     fi
66887   fi
66888
66889
66890
66891
66892
66893
66894   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
66895 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
66896   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66897     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
66898   echo $ECHO_N "(cached) $ECHO_C" >&6
66899 else
66900
66901
66902
66903       ac_ext=cc
66904 ac_cpp='$CXXCPP $CPPFLAGS'
66905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66908
66909       cat >conftest.$ac_ext <<_ACEOF
66910 /* confdefs.h.  */
66911 _ACEOF
66912 cat confdefs.h >>conftest.$ac_ext
66913 cat >>conftest.$ac_ext <<_ACEOF
66914 /* end confdefs.h.  */
66915 #include <math.h>
66916                       #ifdef HAVE_IEEEFP_H
66917                       #include <ieeefp.h>
66918                       #endif
66919
66920 int
66921 main ()
66922 {
66923  fabsf(0);
66924   ;
66925   return 0;
66926 }
66927 _ACEOF
66928 rm -f conftest.$ac_objext
66929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66930   (eval $ac_compile) 2>conftest.er1
66931   ac_status=$?
66932   grep -v '^ *+' conftest.er1 >conftest.err
66933   rm -f conftest.er1
66934   cat conftest.err >&5
66935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66936   (exit $ac_status); } &&
66937          { ac_try='test -z "$ac_cxx_werror_flag"
66938                          || test ! -s conftest.err'
66939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66940   (eval $ac_try) 2>&5
66941   ac_status=$?
66942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66943   (exit $ac_status); }; } &&
66944          { ac_try='test -s conftest.$ac_objext'
66945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66946   (eval $ac_try) 2>&5
66947   ac_status=$?
66948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66949   (exit $ac_status); }; }; then
66950   glibcxx_cv_func_fabsf_use=yes
66951 else
66952   echo "$as_me: failed program was:" >&5
66953 sed 's/^/| /' conftest.$ac_ext >&5
66954
66955 glibcxx_cv_func_fabsf_use=no
66956 fi
66957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66958       ac_ext=c
66959 ac_cpp='$CPP $CPPFLAGS'
66960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66963
66964
66965 fi
66966
66967   fi
66968   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
66969 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
66970
66971   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66972
66973 for ac_func in fabsf
66974 do
66975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66976 echo "$as_me:$LINENO: checking for $ac_func" >&5
66977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66978 if eval "test \"\${$as_ac_var+set}\" = set"; then
66979   echo $ECHO_N "(cached) $ECHO_C" >&6
66980 else
66981   if test x$gcc_no_link = xyes; then
66982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66984    { (exit 1); exit 1; }; }
66985 fi
66986 cat >conftest.$ac_ext <<_ACEOF
66987 /* confdefs.h.  */
66988 _ACEOF
66989 cat confdefs.h >>conftest.$ac_ext
66990 cat >>conftest.$ac_ext <<_ACEOF
66991 /* end confdefs.h.  */
66992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66994 #define $ac_func innocuous_$ac_func
66995
66996 /* System header to define __stub macros and hopefully few prototypes,
66997     which can conflict with char $ac_func (); below.
66998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66999     <limits.h> exists even on freestanding compilers.  */
67000
67001 #ifdef __STDC__
67002 # include <limits.h>
67003 #else
67004 # include <assert.h>
67005 #endif
67006
67007 #undef $ac_func
67008
67009 /* Override any gcc2 internal prototype to avoid an error.  */
67010 #ifdef __cplusplus
67011 extern "C"
67012 {
67013 #endif
67014 /* We use char because int might match the return type of a gcc2
67015    builtin and then its argument prototype would still apply.  */
67016 char $ac_func ();
67017 /* The GNU C library defines this for functions which it implements
67018     to always fail with ENOSYS.  Some functions are actually named
67019     something starting with __ and the normal name is an alias.  */
67020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67021 choke me
67022 #else
67023 char (*f) () = $ac_func;
67024 #endif
67025 #ifdef __cplusplus
67026 }
67027 #endif
67028
67029 int
67030 main ()
67031 {
67032 return f != $ac_func;
67033   ;
67034   return 0;
67035 }
67036 _ACEOF
67037 rm -f conftest.$ac_objext conftest$ac_exeext
67038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67039   (eval $ac_link) 2>conftest.er1
67040   ac_status=$?
67041   grep -v '^ *+' conftest.er1 >conftest.err
67042   rm -f conftest.er1
67043   cat conftest.err >&5
67044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67045   (exit $ac_status); } &&
67046          { ac_try='test -z "$ac_c_werror_flag"
67047                          || test ! -s conftest.err'
67048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67049   (eval $ac_try) 2>&5
67050   ac_status=$?
67051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67052   (exit $ac_status); }; } &&
67053          { ac_try='test -s conftest$ac_exeext'
67054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67055   (eval $ac_try) 2>&5
67056   ac_status=$?
67057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67058   (exit $ac_status); }; }; then
67059   eval "$as_ac_var=yes"
67060 else
67061   echo "$as_me: failed program was:" >&5
67062 sed 's/^/| /' conftest.$ac_ext >&5
67063
67064 eval "$as_ac_var=no"
67065 fi
67066 rm -f conftest.err conftest.$ac_objext \
67067       conftest$ac_exeext conftest.$ac_ext
67068 fi
67069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67071 if test `eval echo '${'$as_ac_var'}'` = yes; then
67072   cat >>confdefs.h <<_ACEOF
67073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67074 _ACEOF
67075
67076 fi
67077 done
67078
67079   else
67080
67081   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
67082 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
67083   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67084     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
67085   echo $ECHO_N "(cached) $ECHO_C" >&6
67086 else
67087
67088
67089
67090       ac_ext=cc
67091 ac_cpp='$CXXCPP $CPPFLAGS'
67092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67095
67096       cat >conftest.$ac_ext <<_ACEOF
67097 /* confdefs.h.  */
67098 _ACEOF
67099 cat confdefs.h >>conftest.$ac_ext
67100 cat >>conftest.$ac_ext <<_ACEOF
67101 /* end confdefs.h.  */
67102 #include <math.h>
67103                       #ifdef HAVE_IEEEFP_H
67104                       #include <ieeefp.h>
67105                       #endif
67106
67107 int
67108 main ()
67109 {
67110  _fabsf(0);
67111   ;
67112   return 0;
67113 }
67114 _ACEOF
67115 rm -f conftest.$ac_objext
67116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67117   (eval $ac_compile) 2>conftest.er1
67118   ac_status=$?
67119   grep -v '^ *+' conftest.er1 >conftest.err
67120   rm -f conftest.er1
67121   cat conftest.err >&5
67122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67123   (exit $ac_status); } &&
67124          { ac_try='test -z "$ac_cxx_werror_flag"
67125                          || test ! -s conftest.err'
67126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67127   (eval $ac_try) 2>&5
67128   ac_status=$?
67129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67130   (exit $ac_status); }; } &&
67131          { ac_try='test -s conftest.$ac_objext'
67132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67133   (eval $ac_try) 2>&5
67134   ac_status=$?
67135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67136   (exit $ac_status); }; }; then
67137   glibcxx_cv_func__fabsf_use=yes
67138 else
67139   echo "$as_me: failed program was:" >&5
67140 sed 's/^/| /' conftest.$ac_ext >&5
67141
67142 glibcxx_cv_func__fabsf_use=no
67143 fi
67144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67145       ac_ext=c
67146 ac_cpp='$CPP $CPPFLAGS'
67147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67150
67151
67152 fi
67153
67154   fi
67155   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
67156 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
67157
67158     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67159
67160 for ac_func in _fabsf
67161 do
67162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67163 echo "$as_me:$LINENO: checking for $ac_func" >&5
67164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67165 if eval "test \"\${$as_ac_var+set}\" = set"; then
67166   echo $ECHO_N "(cached) $ECHO_C" >&6
67167 else
67168   if test x$gcc_no_link = xyes; then
67169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67171    { (exit 1); exit 1; }; }
67172 fi
67173 cat >conftest.$ac_ext <<_ACEOF
67174 /* confdefs.h.  */
67175 _ACEOF
67176 cat confdefs.h >>conftest.$ac_ext
67177 cat >>conftest.$ac_ext <<_ACEOF
67178 /* end confdefs.h.  */
67179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67180    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67181 #define $ac_func innocuous_$ac_func
67182
67183 /* System header to define __stub macros and hopefully few prototypes,
67184     which can conflict with char $ac_func (); below.
67185     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67186     <limits.h> exists even on freestanding compilers.  */
67187
67188 #ifdef __STDC__
67189 # include <limits.h>
67190 #else
67191 # include <assert.h>
67192 #endif
67193
67194 #undef $ac_func
67195
67196 /* Override any gcc2 internal prototype to avoid an error.  */
67197 #ifdef __cplusplus
67198 extern "C"
67199 {
67200 #endif
67201 /* We use char because int might match the return type of a gcc2
67202    builtin and then its argument prototype would still apply.  */
67203 char $ac_func ();
67204 /* The GNU C library defines this for functions which it implements
67205     to always fail with ENOSYS.  Some functions are actually named
67206     something starting with __ and the normal name is an alias.  */
67207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67208 choke me
67209 #else
67210 char (*f) () = $ac_func;
67211 #endif
67212 #ifdef __cplusplus
67213 }
67214 #endif
67215
67216 int
67217 main ()
67218 {
67219 return f != $ac_func;
67220   ;
67221   return 0;
67222 }
67223 _ACEOF
67224 rm -f conftest.$ac_objext conftest$ac_exeext
67225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67226   (eval $ac_link) 2>conftest.er1
67227   ac_status=$?
67228   grep -v '^ *+' conftest.er1 >conftest.err
67229   rm -f conftest.er1
67230   cat conftest.err >&5
67231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67232   (exit $ac_status); } &&
67233          { ac_try='test -z "$ac_c_werror_flag"
67234                          || test ! -s conftest.err'
67235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67236   (eval $ac_try) 2>&5
67237   ac_status=$?
67238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67239   (exit $ac_status); }; } &&
67240          { ac_try='test -s conftest$ac_exeext'
67241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67242   (eval $ac_try) 2>&5
67243   ac_status=$?
67244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67245   (exit $ac_status); }; }; then
67246   eval "$as_ac_var=yes"
67247 else
67248   echo "$as_me: failed program was:" >&5
67249 sed 's/^/| /' conftest.$ac_ext >&5
67250
67251 eval "$as_ac_var=no"
67252 fi
67253 rm -f conftest.err conftest.$ac_objext \
67254       conftest$ac_exeext conftest.$ac_ext
67255 fi
67256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67258 if test `eval echo '${'$as_ac_var'}'` = yes; then
67259   cat >>confdefs.h <<_ACEOF
67260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67261 _ACEOF
67262
67263 fi
67264 done
67265
67266     fi
67267   fi
67268
67269
67270
67271
67272
67273
67274   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
67275 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
67276   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67277     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
67278   echo $ECHO_N "(cached) $ECHO_C" >&6
67279 else
67280
67281
67282
67283       ac_ext=cc
67284 ac_cpp='$CXXCPP $CPPFLAGS'
67285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67288
67289       cat >conftest.$ac_ext <<_ACEOF
67290 /* confdefs.h.  */
67291 _ACEOF
67292 cat confdefs.h >>conftest.$ac_ext
67293 cat >>conftest.$ac_ext <<_ACEOF
67294 /* end confdefs.h.  */
67295 #include <math.h>
67296 int
67297 main ()
67298 {
67299  fmodf(0, 0);
67300   ;
67301   return 0;
67302 }
67303 _ACEOF
67304 rm -f conftest.$ac_objext
67305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67306   (eval $ac_compile) 2>conftest.er1
67307   ac_status=$?
67308   grep -v '^ *+' conftest.er1 >conftest.err
67309   rm -f conftest.er1
67310   cat conftest.err >&5
67311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67312   (exit $ac_status); } &&
67313          { ac_try='test -z "$ac_cxx_werror_flag"
67314                          || test ! -s conftest.err'
67315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67316   (eval $ac_try) 2>&5
67317   ac_status=$?
67318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67319   (exit $ac_status); }; } &&
67320          { ac_try='test -s conftest.$ac_objext'
67321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67322   (eval $ac_try) 2>&5
67323   ac_status=$?
67324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67325   (exit $ac_status); }; }; then
67326   glibcxx_cv_func_fmodf_use=yes
67327 else
67328   echo "$as_me: failed program was:" >&5
67329 sed 's/^/| /' conftest.$ac_ext >&5
67330
67331 glibcxx_cv_func_fmodf_use=no
67332 fi
67333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67334       ac_ext=c
67335 ac_cpp='$CPP $CPPFLAGS'
67336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67339
67340
67341 fi
67342
67343   fi
67344   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
67345 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
67346
67347   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67348
67349 for ac_func in fmodf
67350 do
67351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67352 echo "$as_me:$LINENO: checking for $ac_func" >&5
67353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67354 if eval "test \"\${$as_ac_var+set}\" = set"; then
67355   echo $ECHO_N "(cached) $ECHO_C" >&6
67356 else
67357   if test x$gcc_no_link = xyes; then
67358   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67360    { (exit 1); exit 1; }; }
67361 fi
67362 cat >conftest.$ac_ext <<_ACEOF
67363 /* confdefs.h.  */
67364 _ACEOF
67365 cat confdefs.h >>conftest.$ac_ext
67366 cat >>conftest.$ac_ext <<_ACEOF
67367 /* end confdefs.h.  */
67368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67369    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67370 #define $ac_func innocuous_$ac_func
67371
67372 /* System header to define __stub macros and hopefully few prototypes,
67373     which can conflict with char $ac_func (); below.
67374     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67375     <limits.h> exists even on freestanding compilers.  */
67376
67377 #ifdef __STDC__
67378 # include <limits.h>
67379 #else
67380 # include <assert.h>
67381 #endif
67382
67383 #undef $ac_func
67384
67385 /* Override any gcc2 internal prototype to avoid an error.  */
67386 #ifdef __cplusplus
67387 extern "C"
67388 {
67389 #endif
67390 /* We use char because int might match the return type of a gcc2
67391    builtin and then its argument prototype would still apply.  */
67392 char $ac_func ();
67393 /* The GNU C library defines this for functions which it implements
67394     to always fail with ENOSYS.  Some functions are actually named
67395     something starting with __ and the normal name is an alias.  */
67396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67397 choke me
67398 #else
67399 char (*f) () = $ac_func;
67400 #endif
67401 #ifdef __cplusplus
67402 }
67403 #endif
67404
67405 int
67406 main ()
67407 {
67408 return f != $ac_func;
67409   ;
67410   return 0;
67411 }
67412 _ACEOF
67413 rm -f conftest.$ac_objext conftest$ac_exeext
67414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67415   (eval $ac_link) 2>conftest.er1
67416   ac_status=$?
67417   grep -v '^ *+' conftest.er1 >conftest.err
67418   rm -f conftest.er1
67419   cat conftest.err >&5
67420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421   (exit $ac_status); } &&
67422          { ac_try='test -z "$ac_c_werror_flag"
67423                          || test ! -s conftest.err'
67424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67425   (eval $ac_try) 2>&5
67426   ac_status=$?
67427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67428   (exit $ac_status); }; } &&
67429          { ac_try='test -s conftest$ac_exeext'
67430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67431   (eval $ac_try) 2>&5
67432   ac_status=$?
67433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67434   (exit $ac_status); }; }; then
67435   eval "$as_ac_var=yes"
67436 else
67437   echo "$as_me: failed program was:" >&5
67438 sed 's/^/| /' conftest.$ac_ext >&5
67439
67440 eval "$as_ac_var=no"
67441 fi
67442 rm -f conftest.err conftest.$ac_objext \
67443       conftest$ac_exeext conftest.$ac_ext
67444 fi
67445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67447 if test `eval echo '${'$as_ac_var'}'` = yes; then
67448   cat >>confdefs.h <<_ACEOF
67449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67450 _ACEOF
67451
67452 fi
67453 done
67454
67455   else
67456
67457   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
67458 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
67459   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67460     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
67461   echo $ECHO_N "(cached) $ECHO_C" >&6
67462 else
67463
67464
67465
67466       ac_ext=cc
67467 ac_cpp='$CXXCPP $CPPFLAGS'
67468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67471
67472       cat >conftest.$ac_ext <<_ACEOF
67473 /* confdefs.h.  */
67474 _ACEOF
67475 cat confdefs.h >>conftest.$ac_ext
67476 cat >>conftest.$ac_ext <<_ACEOF
67477 /* end confdefs.h.  */
67478 #include <math.h>
67479 int
67480 main ()
67481 {
67482  _fmodf(0, 0);
67483   ;
67484   return 0;
67485 }
67486 _ACEOF
67487 rm -f conftest.$ac_objext
67488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67489   (eval $ac_compile) 2>conftest.er1
67490   ac_status=$?
67491   grep -v '^ *+' conftest.er1 >conftest.err
67492   rm -f conftest.er1
67493   cat conftest.err >&5
67494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495   (exit $ac_status); } &&
67496          { ac_try='test -z "$ac_cxx_werror_flag"
67497                          || test ! -s conftest.err'
67498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67499   (eval $ac_try) 2>&5
67500   ac_status=$?
67501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67502   (exit $ac_status); }; } &&
67503          { ac_try='test -s conftest.$ac_objext'
67504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67505   (eval $ac_try) 2>&5
67506   ac_status=$?
67507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67508   (exit $ac_status); }; }; then
67509   glibcxx_cv_func__fmodf_use=yes
67510 else
67511   echo "$as_me: failed program was:" >&5
67512 sed 's/^/| /' conftest.$ac_ext >&5
67513
67514 glibcxx_cv_func__fmodf_use=no
67515 fi
67516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67517       ac_ext=c
67518 ac_cpp='$CPP $CPPFLAGS'
67519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67522
67523
67524 fi
67525
67526   fi
67527   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
67528 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
67529
67530     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67531
67532 for ac_func in _fmodf
67533 do
67534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67535 echo "$as_me:$LINENO: checking for $ac_func" >&5
67536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67537 if eval "test \"\${$as_ac_var+set}\" = set"; then
67538   echo $ECHO_N "(cached) $ECHO_C" >&6
67539 else
67540   if test x$gcc_no_link = xyes; then
67541   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67543    { (exit 1); exit 1; }; }
67544 fi
67545 cat >conftest.$ac_ext <<_ACEOF
67546 /* confdefs.h.  */
67547 _ACEOF
67548 cat confdefs.h >>conftest.$ac_ext
67549 cat >>conftest.$ac_ext <<_ACEOF
67550 /* end confdefs.h.  */
67551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67552    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67553 #define $ac_func innocuous_$ac_func
67554
67555 /* System header to define __stub macros and hopefully few prototypes,
67556     which can conflict with char $ac_func (); below.
67557     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67558     <limits.h> exists even on freestanding compilers.  */
67559
67560 #ifdef __STDC__
67561 # include <limits.h>
67562 #else
67563 # include <assert.h>
67564 #endif
67565
67566 #undef $ac_func
67567
67568 /* Override any gcc2 internal prototype to avoid an error.  */
67569 #ifdef __cplusplus
67570 extern "C"
67571 {
67572 #endif
67573 /* We use char because int might match the return type of a gcc2
67574    builtin and then its argument prototype would still apply.  */
67575 char $ac_func ();
67576 /* The GNU C library defines this for functions which it implements
67577     to always fail with ENOSYS.  Some functions are actually named
67578     something starting with __ and the normal name is an alias.  */
67579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67580 choke me
67581 #else
67582 char (*f) () = $ac_func;
67583 #endif
67584 #ifdef __cplusplus
67585 }
67586 #endif
67587
67588 int
67589 main ()
67590 {
67591 return f != $ac_func;
67592   ;
67593   return 0;
67594 }
67595 _ACEOF
67596 rm -f conftest.$ac_objext conftest$ac_exeext
67597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67598   (eval $ac_link) 2>conftest.er1
67599   ac_status=$?
67600   grep -v '^ *+' conftest.er1 >conftest.err
67601   rm -f conftest.er1
67602   cat conftest.err >&5
67603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67604   (exit $ac_status); } &&
67605          { ac_try='test -z "$ac_c_werror_flag"
67606                          || test ! -s conftest.err'
67607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67608   (eval $ac_try) 2>&5
67609   ac_status=$?
67610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67611   (exit $ac_status); }; } &&
67612          { ac_try='test -s conftest$ac_exeext'
67613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67614   (eval $ac_try) 2>&5
67615   ac_status=$?
67616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67617   (exit $ac_status); }; }; then
67618   eval "$as_ac_var=yes"
67619 else
67620   echo "$as_me: failed program was:" >&5
67621 sed 's/^/| /' conftest.$ac_ext >&5
67622
67623 eval "$as_ac_var=no"
67624 fi
67625 rm -f conftest.err conftest.$ac_objext \
67626       conftest$ac_exeext conftest.$ac_ext
67627 fi
67628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67630 if test `eval echo '${'$as_ac_var'}'` = yes; then
67631   cat >>confdefs.h <<_ACEOF
67632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67633 _ACEOF
67634
67635 fi
67636 done
67637
67638     fi
67639   fi
67640
67641
67642
67643
67644
67645
67646   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
67647 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
67648   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67649     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
67650   echo $ECHO_N "(cached) $ECHO_C" >&6
67651 else
67652
67653
67654
67655       ac_ext=cc
67656 ac_cpp='$CXXCPP $CPPFLAGS'
67657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67660
67661       cat >conftest.$ac_ext <<_ACEOF
67662 /* confdefs.h.  */
67663 _ACEOF
67664 cat confdefs.h >>conftest.$ac_ext
67665 cat >>conftest.$ac_ext <<_ACEOF
67666 /* end confdefs.h.  */
67667 #include <math.h>
67668 int
67669 main ()
67670 {
67671  frexpf(0, 0);
67672   ;
67673   return 0;
67674 }
67675 _ACEOF
67676 rm -f conftest.$ac_objext
67677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67678   (eval $ac_compile) 2>conftest.er1
67679   ac_status=$?
67680   grep -v '^ *+' conftest.er1 >conftest.err
67681   rm -f conftest.er1
67682   cat conftest.err >&5
67683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67684   (exit $ac_status); } &&
67685          { ac_try='test -z "$ac_cxx_werror_flag"
67686                          || test ! -s conftest.err'
67687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67688   (eval $ac_try) 2>&5
67689   ac_status=$?
67690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67691   (exit $ac_status); }; } &&
67692          { ac_try='test -s conftest.$ac_objext'
67693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67694   (eval $ac_try) 2>&5
67695   ac_status=$?
67696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67697   (exit $ac_status); }; }; then
67698   glibcxx_cv_func_frexpf_use=yes
67699 else
67700   echo "$as_me: failed program was:" >&5
67701 sed 's/^/| /' conftest.$ac_ext >&5
67702
67703 glibcxx_cv_func_frexpf_use=no
67704 fi
67705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67706       ac_ext=c
67707 ac_cpp='$CPP $CPPFLAGS'
67708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67711
67712
67713 fi
67714
67715   fi
67716   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
67717 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
67718
67719   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67720
67721 for ac_func in frexpf
67722 do
67723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67724 echo "$as_me:$LINENO: checking for $ac_func" >&5
67725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67726 if eval "test \"\${$as_ac_var+set}\" = set"; then
67727   echo $ECHO_N "(cached) $ECHO_C" >&6
67728 else
67729   if test x$gcc_no_link = xyes; then
67730   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67732    { (exit 1); exit 1; }; }
67733 fi
67734 cat >conftest.$ac_ext <<_ACEOF
67735 /* confdefs.h.  */
67736 _ACEOF
67737 cat confdefs.h >>conftest.$ac_ext
67738 cat >>conftest.$ac_ext <<_ACEOF
67739 /* end confdefs.h.  */
67740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67741    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67742 #define $ac_func innocuous_$ac_func
67743
67744 /* System header to define __stub macros and hopefully few prototypes,
67745     which can conflict with char $ac_func (); below.
67746     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67747     <limits.h> exists even on freestanding compilers.  */
67748
67749 #ifdef __STDC__
67750 # include <limits.h>
67751 #else
67752 # include <assert.h>
67753 #endif
67754
67755 #undef $ac_func
67756
67757 /* Override any gcc2 internal prototype to avoid an error.  */
67758 #ifdef __cplusplus
67759 extern "C"
67760 {
67761 #endif
67762 /* We use char because int might match the return type of a gcc2
67763    builtin and then its argument prototype would still apply.  */
67764 char $ac_func ();
67765 /* The GNU C library defines this for functions which it implements
67766     to always fail with ENOSYS.  Some functions are actually named
67767     something starting with __ and the normal name is an alias.  */
67768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67769 choke me
67770 #else
67771 char (*f) () = $ac_func;
67772 #endif
67773 #ifdef __cplusplus
67774 }
67775 #endif
67776
67777 int
67778 main ()
67779 {
67780 return f != $ac_func;
67781   ;
67782   return 0;
67783 }
67784 _ACEOF
67785 rm -f conftest.$ac_objext conftest$ac_exeext
67786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67787   (eval $ac_link) 2>conftest.er1
67788   ac_status=$?
67789   grep -v '^ *+' conftest.er1 >conftest.err
67790   rm -f conftest.er1
67791   cat conftest.err >&5
67792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67793   (exit $ac_status); } &&
67794          { ac_try='test -z "$ac_c_werror_flag"
67795                          || test ! -s conftest.err'
67796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67797   (eval $ac_try) 2>&5
67798   ac_status=$?
67799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800   (exit $ac_status); }; } &&
67801          { ac_try='test -s conftest$ac_exeext'
67802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67803   (eval $ac_try) 2>&5
67804   ac_status=$?
67805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67806   (exit $ac_status); }; }; then
67807   eval "$as_ac_var=yes"
67808 else
67809   echo "$as_me: failed program was:" >&5
67810 sed 's/^/| /' conftest.$ac_ext >&5
67811
67812 eval "$as_ac_var=no"
67813 fi
67814 rm -f conftest.err conftest.$ac_objext \
67815       conftest$ac_exeext conftest.$ac_ext
67816 fi
67817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67819 if test `eval echo '${'$as_ac_var'}'` = yes; then
67820   cat >>confdefs.h <<_ACEOF
67821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67822 _ACEOF
67823
67824 fi
67825 done
67826
67827   else
67828
67829   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
67830 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
67831   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67832     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
67833   echo $ECHO_N "(cached) $ECHO_C" >&6
67834 else
67835
67836
67837
67838       ac_ext=cc
67839 ac_cpp='$CXXCPP $CPPFLAGS'
67840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67843
67844       cat >conftest.$ac_ext <<_ACEOF
67845 /* confdefs.h.  */
67846 _ACEOF
67847 cat confdefs.h >>conftest.$ac_ext
67848 cat >>conftest.$ac_ext <<_ACEOF
67849 /* end confdefs.h.  */
67850 #include <math.h>
67851 int
67852 main ()
67853 {
67854  _frexpf(0, 0);
67855   ;
67856   return 0;
67857 }
67858 _ACEOF
67859 rm -f conftest.$ac_objext
67860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67861   (eval $ac_compile) 2>conftest.er1
67862   ac_status=$?
67863   grep -v '^ *+' conftest.er1 >conftest.err
67864   rm -f conftest.er1
67865   cat conftest.err >&5
67866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67867   (exit $ac_status); } &&
67868          { ac_try='test -z "$ac_cxx_werror_flag"
67869                          || test ! -s conftest.err'
67870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67871   (eval $ac_try) 2>&5
67872   ac_status=$?
67873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874   (exit $ac_status); }; } &&
67875          { ac_try='test -s conftest.$ac_objext'
67876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67877   (eval $ac_try) 2>&5
67878   ac_status=$?
67879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67880   (exit $ac_status); }; }; then
67881   glibcxx_cv_func__frexpf_use=yes
67882 else
67883   echo "$as_me: failed program was:" >&5
67884 sed 's/^/| /' conftest.$ac_ext >&5
67885
67886 glibcxx_cv_func__frexpf_use=no
67887 fi
67888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67889       ac_ext=c
67890 ac_cpp='$CPP $CPPFLAGS'
67891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67894
67895
67896 fi
67897
67898   fi
67899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
67900 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
67901
67902     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67903
67904 for ac_func in _frexpf
67905 do
67906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67907 echo "$as_me:$LINENO: checking for $ac_func" >&5
67908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67909 if eval "test \"\${$as_ac_var+set}\" = set"; then
67910   echo $ECHO_N "(cached) $ECHO_C" >&6
67911 else
67912   if test x$gcc_no_link = xyes; then
67913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67915    { (exit 1); exit 1; }; }
67916 fi
67917 cat >conftest.$ac_ext <<_ACEOF
67918 /* confdefs.h.  */
67919 _ACEOF
67920 cat confdefs.h >>conftest.$ac_ext
67921 cat >>conftest.$ac_ext <<_ACEOF
67922 /* end confdefs.h.  */
67923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67925 #define $ac_func innocuous_$ac_func
67926
67927 /* System header to define __stub macros and hopefully few prototypes,
67928     which can conflict with char $ac_func (); below.
67929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67930     <limits.h> exists even on freestanding compilers.  */
67931
67932 #ifdef __STDC__
67933 # include <limits.h>
67934 #else
67935 # include <assert.h>
67936 #endif
67937
67938 #undef $ac_func
67939
67940 /* Override any gcc2 internal prototype to avoid an error.  */
67941 #ifdef __cplusplus
67942 extern "C"
67943 {
67944 #endif
67945 /* We use char because int might match the return type of a gcc2
67946    builtin and then its argument prototype would still apply.  */
67947 char $ac_func ();
67948 /* The GNU C library defines this for functions which it implements
67949     to always fail with ENOSYS.  Some functions are actually named
67950     something starting with __ and the normal name is an alias.  */
67951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67952 choke me
67953 #else
67954 char (*f) () = $ac_func;
67955 #endif
67956 #ifdef __cplusplus
67957 }
67958 #endif
67959
67960 int
67961 main ()
67962 {
67963 return f != $ac_func;
67964   ;
67965   return 0;
67966 }
67967 _ACEOF
67968 rm -f conftest.$ac_objext conftest$ac_exeext
67969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67970   (eval $ac_link) 2>conftest.er1
67971   ac_status=$?
67972   grep -v '^ *+' conftest.er1 >conftest.err
67973   rm -f conftest.er1
67974   cat conftest.err >&5
67975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67976   (exit $ac_status); } &&
67977          { ac_try='test -z "$ac_c_werror_flag"
67978                          || test ! -s conftest.err'
67979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67980   (eval $ac_try) 2>&5
67981   ac_status=$?
67982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983   (exit $ac_status); }; } &&
67984          { ac_try='test -s conftest$ac_exeext'
67985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67986   (eval $ac_try) 2>&5
67987   ac_status=$?
67988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67989   (exit $ac_status); }; }; then
67990   eval "$as_ac_var=yes"
67991 else
67992   echo "$as_me: failed program was:" >&5
67993 sed 's/^/| /' conftest.$ac_ext >&5
67994
67995 eval "$as_ac_var=no"
67996 fi
67997 rm -f conftest.err conftest.$ac_objext \
67998       conftest$ac_exeext conftest.$ac_ext
67999 fi
68000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68002 if test `eval echo '${'$as_ac_var'}'` = yes; then
68003   cat >>confdefs.h <<_ACEOF
68004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68005 _ACEOF
68006
68007 fi
68008 done
68009
68010     fi
68011   fi
68012
68013
68014
68015
68016
68017
68018   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
68019 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
68020   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68021     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
68022   echo $ECHO_N "(cached) $ECHO_C" >&6
68023 else
68024
68025
68026
68027       ac_ext=cc
68028 ac_cpp='$CXXCPP $CPPFLAGS'
68029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68032
68033       cat >conftest.$ac_ext <<_ACEOF
68034 /* confdefs.h.  */
68035 _ACEOF
68036 cat confdefs.h >>conftest.$ac_ext
68037 cat >>conftest.$ac_ext <<_ACEOF
68038 /* end confdefs.h.  */
68039 #include <math.h>
68040 int
68041 main ()
68042 {
68043  hypotf(0, 0);
68044   ;
68045   return 0;
68046 }
68047 _ACEOF
68048 rm -f conftest.$ac_objext
68049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68050   (eval $ac_compile) 2>conftest.er1
68051   ac_status=$?
68052   grep -v '^ *+' conftest.er1 >conftest.err
68053   rm -f conftest.er1
68054   cat conftest.err >&5
68055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68056   (exit $ac_status); } &&
68057          { ac_try='test -z "$ac_cxx_werror_flag"
68058                          || test ! -s conftest.err'
68059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68060   (eval $ac_try) 2>&5
68061   ac_status=$?
68062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68063   (exit $ac_status); }; } &&
68064          { ac_try='test -s conftest.$ac_objext'
68065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68066   (eval $ac_try) 2>&5
68067   ac_status=$?
68068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68069   (exit $ac_status); }; }; then
68070   glibcxx_cv_func_hypotf_use=yes
68071 else
68072   echo "$as_me: failed program was:" >&5
68073 sed 's/^/| /' conftest.$ac_ext >&5
68074
68075 glibcxx_cv_func_hypotf_use=no
68076 fi
68077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68078       ac_ext=c
68079 ac_cpp='$CPP $CPPFLAGS'
68080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68083
68084
68085 fi
68086
68087   fi
68088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
68089 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
68090
68091   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68092
68093 for ac_func in hypotf
68094 do
68095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68096 echo "$as_me:$LINENO: checking for $ac_func" >&5
68097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68098 if eval "test \"\${$as_ac_var+set}\" = set"; then
68099   echo $ECHO_N "(cached) $ECHO_C" >&6
68100 else
68101   if test x$gcc_no_link = xyes; then
68102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68104    { (exit 1); exit 1; }; }
68105 fi
68106 cat >conftest.$ac_ext <<_ACEOF
68107 /* confdefs.h.  */
68108 _ACEOF
68109 cat confdefs.h >>conftest.$ac_ext
68110 cat >>conftest.$ac_ext <<_ACEOF
68111 /* end confdefs.h.  */
68112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68114 #define $ac_func innocuous_$ac_func
68115
68116 /* System header to define __stub macros and hopefully few prototypes,
68117     which can conflict with char $ac_func (); below.
68118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68119     <limits.h> exists even on freestanding compilers.  */
68120
68121 #ifdef __STDC__
68122 # include <limits.h>
68123 #else
68124 # include <assert.h>
68125 #endif
68126
68127 #undef $ac_func
68128
68129 /* Override any gcc2 internal prototype to avoid an error.  */
68130 #ifdef __cplusplus
68131 extern "C"
68132 {
68133 #endif
68134 /* We use char because int might match the return type of a gcc2
68135    builtin and then its argument prototype would still apply.  */
68136 char $ac_func ();
68137 /* The GNU C library defines this for functions which it implements
68138     to always fail with ENOSYS.  Some functions are actually named
68139     something starting with __ and the normal name is an alias.  */
68140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68141 choke me
68142 #else
68143 char (*f) () = $ac_func;
68144 #endif
68145 #ifdef __cplusplus
68146 }
68147 #endif
68148
68149 int
68150 main ()
68151 {
68152 return f != $ac_func;
68153   ;
68154   return 0;
68155 }
68156 _ACEOF
68157 rm -f conftest.$ac_objext conftest$ac_exeext
68158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68159   (eval $ac_link) 2>conftest.er1
68160   ac_status=$?
68161   grep -v '^ *+' conftest.er1 >conftest.err
68162   rm -f conftest.er1
68163   cat conftest.err >&5
68164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68165   (exit $ac_status); } &&
68166          { ac_try='test -z "$ac_c_werror_flag"
68167                          || test ! -s conftest.err'
68168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68169   (eval $ac_try) 2>&5
68170   ac_status=$?
68171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68172   (exit $ac_status); }; } &&
68173          { ac_try='test -s conftest$ac_exeext'
68174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68175   (eval $ac_try) 2>&5
68176   ac_status=$?
68177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68178   (exit $ac_status); }; }; then
68179   eval "$as_ac_var=yes"
68180 else
68181   echo "$as_me: failed program was:" >&5
68182 sed 's/^/| /' conftest.$ac_ext >&5
68183
68184 eval "$as_ac_var=no"
68185 fi
68186 rm -f conftest.err conftest.$ac_objext \
68187       conftest$ac_exeext conftest.$ac_ext
68188 fi
68189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68191 if test `eval echo '${'$as_ac_var'}'` = yes; then
68192   cat >>confdefs.h <<_ACEOF
68193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68194 _ACEOF
68195
68196 fi
68197 done
68198
68199   else
68200
68201   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
68202 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
68203   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68204     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
68205   echo $ECHO_N "(cached) $ECHO_C" >&6
68206 else
68207
68208
68209
68210       ac_ext=cc
68211 ac_cpp='$CXXCPP $CPPFLAGS'
68212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68215
68216       cat >conftest.$ac_ext <<_ACEOF
68217 /* confdefs.h.  */
68218 _ACEOF
68219 cat confdefs.h >>conftest.$ac_ext
68220 cat >>conftest.$ac_ext <<_ACEOF
68221 /* end confdefs.h.  */
68222 #include <math.h>
68223 int
68224 main ()
68225 {
68226  _hypotf(0, 0);
68227   ;
68228   return 0;
68229 }
68230 _ACEOF
68231 rm -f conftest.$ac_objext
68232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68233   (eval $ac_compile) 2>conftest.er1
68234   ac_status=$?
68235   grep -v '^ *+' conftest.er1 >conftest.err
68236   rm -f conftest.er1
68237   cat conftest.err >&5
68238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68239   (exit $ac_status); } &&
68240          { ac_try='test -z "$ac_cxx_werror_flag"
68241                          || test ! -s conftest.err'
68242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68243   (eval $ac_try) 2>&5
68244   ac_status=$?
68245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68246   (exit $ac_status); }; } &&
68247          { ac_try='test -s conftest.$ac_objext'
68248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68249   (eval $ac_try) 2>&5
68250   ac_status=$?
68251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68252   (exit $ac_status); }; }; then
68253   glibcxx_cv_func__hypotf_use=yes
68254 else
68255   echo "$as_me: failed program was:" >&5
68256 sed 's/^/| /' conftest.$ac_ext >&5
68257
68258 glibcxx_cv_func__hypotf_use=no
68259 fi
68260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68261       ac_ext=c
68262 ac_cpp='$CPP $CPPFLAGS'
68263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68266
68267
68268 fi
68269
68270   fi
68271   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
68272 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
68273
68274     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68275
68276 for ac_func in _hypotf
68277 do
68278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68279 echo "$as_me:$LINENO: checking for $ac_func" >&5
68280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68281 if eval "test \"\${$as_ac_var+set}\" = set"; then
68282   echo $ECHO_N "(cached) $ECHO_C" >&6
68283 else
68284   if test x$gcc_no_link = xyes; then
68285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68287    { (exit 1); exit 1; }; }
68288 fi
68289 cat >conftest.$ac_ext <<_ACEOF
68290 /* confdefs.h.  */
68291 _ACEOF
68292 cat confdefs.h >>conftest.$ac_ext
68293 cat >>conftest.$ac_ext <<_ACEOF
68294 /* end confdefs.h.  */
68295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68297 #define $ac_func innocuous_$ac_func
68298
68299 /* System header to define __stub macros and hopefully few prototypes,
68300     which can conflict with char $ac_func (); below.
68301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68302     <limits.h> exists even on freestanding compilers.  */
68303
68304 #ifdef __STDC__
68305 # include <limits.h>
68306 #else
68307 # include <assert.h>
68308 #endif
68309
68310 #undef $ac_func
68311
68312 /* Override any gcc2 internal prototype to avoid an error.  */
68313 #ifdef __cplusplus
68314 extern "C"
68315 {
68316 #endif
68317 /* We use char because int might match the return type of a gcc2
68318    builtin and then its argument prototype would still apply.  */
68319 char $ac_func ();
68320 /* The GNU C library defines this for functions which it implements
68321     to always fail with ENOSYS.  Some functions are actually named
68322     something starting with __ and the normal name is an alias.  */
68323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68324 choke me
68325 #else
68326 char (*f) () = $ac_func;
68327 #endif
68328 #ifdef __cplusplus
68329 }
68330 #endif
68331
68332 int
68333 main ()
68334 {
68335 return f != $ac_func;
68336   ;
68337   return 0;
68338 }
68339 _ACEOF
68340 rm -f conftest.$ac_objext conftest$ac_exeext
68341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68342   (eval $ac_link) 2>conftest.er1
68343   ac_status=$?
68344   grep -v '^ *+' conftest.er1 >conftest.err
68345   rm -f conftest.er1
68346   cat conftest.err >&5
68347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68348   (exit $ac_status); } &&
68349          { ac_try='test -z "$ac_c_werror_flag"
68350                          || test ! -s conftest.err'
68351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68352   (eval $ac_try) 2>&5
68353   ac_status=$?
68354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68355   (exit $ac_status); }; } &&
68356          { ac_try='test -s conftest$ac_exeext'
68357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68358   (eval $ac_try) 2>&5
68359   ac_status=$?
68360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68361   (exit $ac_status); }; }; then
68362   eval "$as_ac_var=yes"
68363 else
68364   echo "$as_me: failed program was:" >&5
68365 sed 's/^/| /' conftest.$ac_ext >&5
68366
68367 eval "$as_ac_var=no"
68368 fi
68369 rm -f conftest.err conftest.$ac_objext \
68370       conftest$ac_exeext conftest.$ac_ext
68371 fi
68372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68374 if test `eval echo '${'$as_ac_var'}'` = yes; then
68375   cat >>confdefs.h <<_ACEOF
68376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68377 _ACEOF
68378
68379 fi
68380 done
68381
68382     fi
68383   fi
68384
68385
68386
68387
68388
68389
68390   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
68391 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
68392   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68393     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
68394   echo $ECHO_N "(cached) $ECHO_C" >&6
68395 else
68396
68397
68398
68399       ac_ext=cc
68400 ac_cpp='$CXXCPP $CPPFLAGS'
68401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68404
68405       cat >conftest.$ac_ext <<_ACEOF
68406 /* confdefs.h.  */
68407 _ACEOF
68408 cat confdefs.h >>conftest.$ac_ext
68409 cat >>conftest.$ac_ext <<_ACEOF
68410 /* end confdefs.h.  */
68411 #include <math.h>
68412 int
68413 main ()
68414 {
68415  ldexpf(0, 0);
68416   ;
68417   return 0;
68418 }
68419 _ACEOF
68420 rm -f conftest.$ac_objext
68421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68422   (eval $ac_compile) 2>conftest.er1
68423   ac_status=$?
68424   grep -v '^ *+' conftest.er1 >conftest.err
68425   rm -f conftest.er1
68426   cat conftest.err >&5
68427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68428   (exit $ac_status); } &&
68429          { ac_try='test -z "$ac_cxx_werror_flag"
68430                          || test ! -s conftest.err'
68431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68432   (eval $ac_try) 2>&5
68433   ac_status=$?
68434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68435   (exit $ac_status); }; } &&
68436          { ac_try='test -s conftest.$ac_objext'
68437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68438   (eval $ac_try) 2>&5
68439   ac_status=$?
68440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68441   (exit $ac_status); }; }; then
68442   glibcxx_cv_func_ldexpf_use=yes
68443 else
68444   echo "$as_me: failed program was:" >&5
68445 sed 's/^/| /' conftest.$ac_ext >&5
68446
68447 glibcxx_cv_func_ldexpf_use=no
68448 fi
68449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68450       ac_ext=c
68451 ac_cpp='$CPP $CPPFLAGS'
68452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455
68456
68457 fi
68458
68459   fi
68460   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
68461 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
68462
68463   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68464
68465 for ac_func in ldexpf
68466 do
68467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68468 echo "$as_me:$LINENO: checking for $ac_func" >&5
68469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68470 if eval "test \"\${$as_ac_var+set}\" = set"; then
68471   echo $ECHO_N "(cached) $ECHO_C" >&6
68472 else
68473   if test x$gcc_no_link = xyes; then
68474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68476    { (exit 1); exit 1; }; }
68477 fi
68478 cat >conftest.$ac_ext <<_ACEOF
68479 /* confdefs.h.  */
68480 _ACEOF
68481 cat confdefs.h >>conftest.$ac_ext
68482 cat >>conftest.$ac_ext <<_ACEOF
68483 /* end confdefs.h.  */
68484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68485    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68486 #define $ac_func innocuous_$ac_func
68487
68488 /* System header to define __stub macros and hopefully few prototypes,
68489     which can conflict with char $ac_func (); below.
68490     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68491     <limits.h> exists even on freestanding compilers.  */
68492
68493 #ifdef __STDC__
68494 # include <limits.h>
68495 #else
68496 # include <assert.h>
68497 #endif
68498
68499 #undef $ac_func
68500
68501 /* Override any gcc2 internal prototype to avoid an error.  */
68502 #ifdef __cplusplus
68503 extern "C"
68504 {
68505 #endif
68506 /* We use char because int might match the return type of a gcc2
68507    builtin and then its argument prototype would still apply.  */
68508 char $ac_func ();
68509 /* The GNU C library defines this for functions which it implements
68510     to always fail with ENOSYS.  Some functions are actually named
68511     something starting with __ and the normal name is an alias.  */
68512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68513 choke me
68514 #else
68515 char (*f) () = $ac_func;
68516 #endif
68517 #ifdef __cplusplus
68518 }
68519 #endif
68520
68521 int
68522 main ()
68523 {
68524 return f != $ac_func;
68525   ;
68526   return 0;
68527 }
68528 _ACEOF
68529 rm -f conftest.$ac_objext conftest$ac_exeext
68530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68531   (eval $ac_link) 2>conftest.er1
68532   ac_status=$?
68533   grep -v '^ *+' conftest.er1 >conftest.err
68534   rm -f conftest.er1
68535   cat conftest.err >&5
68536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68537   (exit $ac_status); } &&
68538          { ac_try='test -z "$ac_c_werror_flag"
68539                          || test ! -s conftest.err'
68540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68541   (eval $ac_try) 2>&5
68542   ac_status=$?
68543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68544   (exit $ac_status); }; } &&
68545          { ac_try='test -s conftest$ac_exeext'
68546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68547   (eval $ac_try) 2>&5
68548   ac_status=$?
68549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68550   (exit $ac_status); }; }; then
68551   eval "$as_ac_var=yes"
68552 else
68553   echo "$as_me: failed program was:" >&5
68554 sed 's/^/| /' conftest.$ac_ext >&5
68555
68556 eval "$as_ac_var=no"
68557 fi
68558 rm -f conftest.err conftest.$ac_objext \
68559       conftest$ac_exeext conftest.$ac_ext
68560 fi
68561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68563 if test `eval echo '${'$as_ac_var'}'` = yes; then
68564   cat >>confdefs.h <<_ACEOF
68565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68566 _ACEOF
68567
68568 fi
68569 done
68570
68571   else
68572
68573   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
68574 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
68575   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68576     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
68577   echo $ECHO_N "(cached) $ECHO_C" >&6
68578 else
68579
68580
68581
68582       ac_ext=cc
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68587
68588       cat >conftest.$ac_ext <<_ACEOF
68589 /* confdefs.h.  */
68590 _ACEOF
68591 cat confdefs.h >>conftest.$ac_ext
68592 cat >>conftest.$ac_ext <<_ACEOF
68593 /* end confdefs.h.  */
68594 #include <math.h>
68595 int
68596 main ()
68597 {
68598  _ldexpf(0, 0);
68599   ;
68600   return 0;
68601 }
68602 _ACEOF
68603 rm -f conftest.$ac_objext
68604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68605   (eval $ac_compile) 2>conftest.er1
68606   ac_status=$?
68607   grep -v '^ *+' conftest.er1 >conftest.err
68608   rm -f conftest.er1
68609   cat conftest.err >&5
68610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611   (exit $ac_status); } &&
68612          { ac_try='test -z "$ac_cxx_werror_flag"
68613                          || test ! -s conftest.err'
68614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68615   (eval $ac_try) 2>&5
68616   ac_status=$?
68617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618   (exit $ac_status); }; } &&
68619          { ac_try='test -s conftest.$ac_objext'
68620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68621   (eval $ac_try) 2>&5
68622   ac_status=$?
68623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624   (exit $ac_status); }; }; then
68625   glibcxx_cv_func__ldexpf_use=yes
68626 else
68627   echo "$as_me: failed program was:" >&5
68628 sed 's/^/| /' conftest.$ac_ext >&5
68629
68630 glibcxx_cv_func__ldexpf_use=no
68631 fi
68632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68633       ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638
68639
68640 fi
68641
68642   fi
68643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
68644 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
68645
68646     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68647
68648 for ac_func in _ldexpf
68649 do
68650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68651 echo "$as_me:$LINENO: checking for $ac_func" >&5
68652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68653 if eval "test \"\${$as_ac_var+set}\" = set"; then
68654   echo $ECHO_N "(cached) $ECHO_C" >&6
68655 else
68656   if test x$gcc_no_link = xyes; then
68657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68659    { (exit 1); exit 1; }; }
68660 fi
68661 cat >conftest.$ac_ext <<_ACEOF
68662 /* confdefs.h.  */
68663 _ACEOF
68664 cat confdefs.h >>conftest.$ac_ext
68665 cat >>conftest.$ac_ext <<_ACEOF
68666 /* end confdefs.h.  */
68667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68669 #define $ac_func innocuous_$ac_func
68670
68671 /* System header to define __stub macros and hopefully few prototypes,
68672     which can conflict with char $ac_func (); below.
68673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68674     <limits.h> exists even on freestanding compilers.  */
68675
68676 #ifdef __STDC__
68677 # include <limits.h>
68678 #else
68679 # include <assert.h>
68680 #endif
68681
68682 #undef $ac_func
68683
68684 /* Override any gcc2 internal prototype to avoid an error.  */
68685 #ifdef __cplusplus
68686 extern "C"
68687 {
68688 #endif
68689 /* We use char because int might match the return type of a gcc2
68690    builtin and then its argument prototype would still apply.  */
68691 char $ac_func ();
68692 /* The GNU C library defines this for functions which it implements
68693     to always fail with ENOSYS.  Some functions are actually named
68694     something starting with __ and the normal name is an alias.  */
68695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68696 choke me
68697 #else
68698 char (*f) () = $ac_func;
68699 #endif
68700 #ifdef __cplusplus
68701 }
68702 #endif
68703
68704 int
68705 main ()
68706 {
68707 return f != $ac_func;
68708   ;
68709   return 0;
68710 }
68711 _ACEOF
68712 rm -f conftest.$ac_objext conftest$ac_exeext
68713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68714   (eval $ac_link) 2>conftest.er1
68715   ac_status=$?
68716   grep -v '^ *+' conftest.er1 >conftest.err
68717   rm -f conftest.er1
68718   cat conftest.err >&5
68719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720   (exit $ac_status); } &&
68721          { ac_try='test -z "$ac_c_werror_flag"
68722                          || test ! -s conftest.err'
68723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68724   (eval $ac_try) 2>&5
68725   ac_status=$?
68726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68727   (exit $ac_status); }; } &&
68728          { ac_try='test -s conftest$ac_exeext'
68729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68730   (eval $ac_try) 2>&5
68731   ac_status=$?
68732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68733   (exit $ac_status); }; }; then
68734   eval "$as_ac_var=yes"
68735 else
68736   echo "$as_me: failed program was:" >&5
68737 sed 's/^/| /' conftest.$ac_ext >&5
68738
68739 eval "$as_ac_var=no"
68740 fi
68741 rm -f conftest.err conftest.$ac_objext \
68742       conftest$ac_exeext conftest.$ac_ext
68743 fi
68744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68746 if test `eval echo '${'$as_ac_var'}'` = yes; then
68747   cat >>confdefs.h <<_ACEOF
68748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68749 _ACEOF
68750
68751 fi
68752 done
68753
68754     fi
68755   fi
68756
68757
68758
68759
68760
68761
68762   echo "$as_me:$LINENO: checking for logf declaration" >&5
68763 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
68764   if test x${glibcxx_cv_func_logf_use+set} != xset; then
68765     if test "${glibcxx_cv_func_logf_use+set}" = set; then
68766   echo $ECHO_N "(cached) $ECHO_C" >&6
68767 else
68768
68769
68770
68771       ac_ext=cc
68772 ac_cpp='$CXXCPP $CPPFLAGS'
68773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68776
68777       cat >conftest.$ac_ext <<_ACEOF
68778 /* confdefs.h.  */
68779 _ACEOF
68780 cat confdefs.h >>conftest.$ac_ext
68781 cat >>conftest.$ac_ext <<_ACEOF
68782 /* end confdefs.h.  */
68783 #include <math.h>
68784                       #ifdef HAVE_IEEEFP_H
68785                       #include <ieeefp.h>
68786                       #endif
68787
68788 int
68789 main ()
68790 {
68791  logf(0);
68792   ;
68793   return 0;
68794 }
68795 _ACEOF
68796 rm -f conftest.$ac_objext
68797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68798   (eval $ac_compile) 2>conftest.er1
68799   ac_status=$?
68800   grep -v '^ *+' conftest.er1 >conftest.err
68801   rm -f conftest.er1
68802   cat conftest.err >&5
68803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68804   (exit $ac_status); } &&
68805          { ac_try='test -z "$ac_cxx_werror_flag"
68806                          || test ! -s conftest.err'
68807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808   (eval $ac_try) 2>&5
68809   ac_status=$?
68810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811   (exit $ac_status); }; } &&
68812          { ac_try='test -s conftest.$ac_objext'
68813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68814   (eval $ac_try) 2>&5
68815   ac_status=$?
68816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68817   (exit $ac_status); }; }; then
68818   glibcxx_cv_func_logf_use=yes
68819 else
68820   echo "$as_me: failed program was:" >&5
68821 sed 's/^/| /' conftest.$ac_ext >&5
68822
68823 glibcxx_cv_func_logf_use=no
68824 fi
68825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68826       ac_ext=c
68827 ac_cpp='$CPP $CPPFLAGS'
68828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68831
68832
68833 fi
68834
68835   fi
68836   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
68837 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
68838
68839   if test x$glibcxx_cv_func_logf_use = x"yes"; then
68840
68841 for ac_func in logf
68842 do
68843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68844 echo "$as_me:$LINENO: checking for $ac_func" >&5
68845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68846 if eval "test \"\${$as_ac_var+set}\" = set"; then
68847   echo $ECHO_N "(cached) $ECHO_C" >&6
68848 else
68849   if test x$gcc_no_link = xyes; then
68850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68852    { (exit 1); exit 1; }; }
68853 fi
68854 cat >conftest.$ac_ext <<_ACEOF
68855 /* confdefs.h.  */
68856 _ACEOF
68857 cat confdefs.h >>conftest.$ac_ext
68858 cat >>conftest.$ac_ext <<_ACEOF
68859 /* end confdefs.h.  */
68860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68862 #define $ac_func innocuous_$ac_func
68863
68864 /* System header to define __stub macros and hopefully few prototypes,
68865     which can conflict with char $ac_func (); below.
68866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68867     <limits.h> exists even on freestanding compilers.  */
68868
68869 #ifdef __STDC__
68870 # include <limits.h>
68871 #else
68872 # include <assert.h>
68873 #endif
68874
68875 #undef $ac_func
68876
68877 /* Override any gcc2 internal prototype to avoid an error.  */
68878 #ifdef __cplusplus
68879 extern "C"
68880 {
68881 #endif
68882 /* We use char because int might match the return type of a gcc2
68883    builtin and then its argument prototype would still apply.  */
68884 char $ac_func ();
68885 /* The GNU C library defines this for functions which it implements
68886     to always fail with ENOSYS.  Some functions are actually named
68887     something starting with __ and the normal name is an alias.  */
68888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68889 choke me
68890 #else
68891 char (*f) () = $ac_func;
68892 #endif
68893 #ifdef __cplusplus
68894 }
68895 #endif
68896
68897 int
68898 main ()
68899 {
68900 return f != $ac_func;
68901   ;
68902   return 0;
68903 }
68904 _ACEOF
68905 rm -f conftest.$ac_objext conftest$ac_exeext
68906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68907   (eval $ac_link) 2>conftest.er1
68908   ac_status=$?
68909   grep -v '^ *+' conftest.er1 >conftest.err
68910   rm -f conftest.er1
68911   cat conftest.err >&5
68912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913   (exit $ac_status); } &&
68914          { ac_try='test -z "$ac_c_werror_flag"
68915                          || test ! -s conftest.err'
68916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68917   (eval $ac_try) 2>&5
68918   ac_status=$?
68919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68920   (exit $ac_status); }; } &&
68921          { ac_try='test -s conftest$ac_exeext'
68922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68923   (eval $ac_try) 2>&5
68924   ac_status=$?
68925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68926   (exit $ac_status); }; }; then
68927   eval "$as_ac_var=yes"
68928 else
68929   echo "$as_me: failed program was:" >&5
68930 sed 's/^/| /' conftest.$ac_ext >&5
68931
68932 eval "$as_ac_var=no"
68933 fi
68934 rm -f conftest.err conftest.$ac_objext \
68935       conftest$ac_exeext conftest.$ac_ext
68936 fi
68937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68939 if test `eval echo '${'$as_ac_var'}'` = yes; then
68940   cat >>confdefs.h <<_ACEOF
68941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68942 _ACEOF
68943
68944 fi
68945 done
68946
68947   else
68948
68949   echo "$as_me:$LINENO: checking for _logf declaration" >&5
68950 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
68951   if test x${glibcxx_cv_func__logf_use+set} != xset; then
68952     if test "${glibcxx_cv_func__logf_use+set}" = set; then
68953   echo $ECHO_N "(cached) $ECHO_C" >&6
68954 else
68955
68956
68957
68958       ac_ext=cc
68959 ac_cpp='$CXXCPP $CPPFLAGS'
68960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68963
68964       cat >conftest.$ac_ext <<_ACEOF
68965 /* confdefs.h.  */
68966 _ACEOF
68967 cat confdefs.h >>conftest.$ac_ext
68968 cat >>conftest.$ac_ext <<_ACEOF
68969 /* end confdefs.h.  */
68970 #include <math.h>
68971                       #ifdef HAVE_IEEEFP_H
68972                       #include <ieeefp.h>
68973                       #endif
68974
68975 int
68976 main ()
68977 {
68978  _logf(0);
68979   ;
68980   return 0;
68981 }
68982 _ACEOF
68983 rm -f conftest.$ac_objext
68984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68985   (eval $ac_compile) 2>conftest.er1
68986   ac_status=$?
68987   grep -v '^ *+' conftest.er1 >conftest.err
68988   rm -f conftest.er1
68989   cat conftest.err >&5
68990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68991   (exit $ac_status); } &&
68992          { ac_try='test -z "$ac_cxx_werror_flag"
68993                          || test ! -s conftest.err'
68994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68995   (eval $ac_try) 2>&5
68996   ac_status=$?
68997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998   (exit $ac_status); }; } &&
68999          { ac_try='test -s conftest.$ac_objext'
69000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69001   (eval $ac_try) 2>&5
69002   ac_status=$?
69003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69004   (exit $ac_status); }; }; then
69005   glibcxx_cv_func__logf_use=yes
69006 else
69007   echo "$as_me: failed program was:" >&5
69008 sed 's/^/| /' conftest.$ac_ext >&5
69009
69010 glibcxx_cv_func__logf_use=no
69011 fi
69012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69013       ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69018
69019
69020 fi
69021
69022   fi
69023   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
69024 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
69025
69026     if test x$glibcxx_cv_func__logf_use = x"yes"; then
69027
69028 for ac_func in _logf
69029 do
69030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69031 echo "$as_me:$LINENO: checking for $ac_func" >&5
69032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69033 if eval "test \"\${$as_ac_var+set}\" = set"; then
69034   echo $ECHO_N "(cached) $ECHO_C" >&6
69035 else
69036   if test x$gcc_no_link = xyes; then
69037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69039    { (exit 1); exit 1; }; }
69040 fi
69041 cat >conftest.$ac_ext <<_ACEOF
69042 /* confdefs.h.  */
69043 _ACEOF
69044 cat confdefs.h >>conftest.$ac_ext
69045 cat >>conftest.$ac_ext <<_ACEOF
69046 /* end confdefs.h.  */
69047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69049 #define $ac_func innocuous_$ac_func
69050
69051 /* System header to define __stub macros and hopefully few prototypes,
69052     which can conflict with char $ac_func (); below.
69053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69054     <limits.h> exists even on freestanding compilers.  */
69055
69056 #ifdef __STDC__
69057 # include <limits.h>
69058 #else
69059 # include <assert.h>
69060 #endif
69061
69062 #undef $ac_func
69063
69064 /* Override any gcc2 internal prototype to avoid an error.  */
69065 #ifdef __cplusplus
69066 extern "C"
69067 {
69068 #endif
69069 /* We use char because int might match the return type of a gcc2
69070    builtin and then its argument prototype would still apply.  */
69071 char $ac_func ();
69072 /* The GNU C library defines this for functions which it implements
69073     to always fail with ENOSYS.  Some functions are actually named
69074     something starting with __ and the normal name is an alias.  */
69075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69076 choke me
69077 #else
69078 char (*f) () = $ac_func;
69079 #endif
69080 #ifdef __cplusplus
69081 }
69082 #endif
69083
69084 int
69085 main ()
69086 {
69087 return f != $ac_func;
69088   ;
69089   return 0;
69090 }
69091 _ACEOF
69092 rm -f conftest.$ac_objext conftest$ac_exeext
69093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69094   (eval $ac_link) 2>conftest.er1
69095   ac_status=$?
69096   grep -v '^ *+' conftest.er1 >conftest.err
69097   rm -f conftest.er1
69098   cat conftest.err >&5
69099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69100   (exit $ac_status); } &&
69101          { ac_try='test -z "$ac_c_werror_flag"
69102                          || test ! -s conftest.err'
69103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69104   (eval $ac_try) 2>&5
69105   ac_status=$?
69106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69107   (exit $ac_status); }; } &&
69108          { ac_try='test -s conftest$ac_exeext'
69109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69110   (eval $ac_try) 2>&5
69111   ac_status=$?
69112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69113   (exit $ac_status); }; }; then
69114   eval "$as_ac_var=yes"
69115 else
69116   echo "$as_me: failed program was:" >&5
69117 sed 's/^/| /' conftest.$ac_ext >&5
69118
69119 eval "$as_ac_var=no"
69120 fi
69121 rm -f conftest.err conftest.$ac_objext \
69122       conftest$ac_exeext conftest.$ac_ext
69123 fi
69124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69126 if test `eval echo '${'$as_ac_var'}'` = yes; then
69127   cat >>confdefs.h <<_ACEOF
69128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69129 _ACEOF
69130
69131 fi
69132 done
69133
69134     fi
69135   fi
69136
69137
69138
69139
69140
69141
69142   echo "$as_me:$LINENO: checking for log10f declaration" >&5
69143 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
69144   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69145     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
69146   echo $ECHO_N "(cached) $ECHO_C" >&6
69147 else
69148
69149
69150
69151       ac_ext=cc
69152 ac_cpp='$CXXCPP $CPPFLAGS'
69153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69156
69157       cat >conftest.$ac_ext <<_ACEOF
69158 /* confdefs.h.  */
69159 _ACEOF
69160 cat confdefs.h >>conftest.$ac_ext
69161 cat >>conftest.$ac_ext <<_ACEOF
69162 /* end confdefs.h.  */
69163 #include <math.h>
69164                       #ifdef HAVE_IEEEFP_H
69165                       #include <ieeefp.h>
69166                       #endif
69167
69168 int
69169 main ()
69170 {
69171  log10f(0);
69172   ;
69173   return 0;
69174 }
69175 _ACEOF
69176 rm -f conftest.$ac_objext
69177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69178   (eval $ac_compile) 2>conftest.er1
69179   ac_status=$?
69180   grep -v '^ *+' conftest.er1 >conftest.err
69181   rm -f conftest.er1
69182   cat conftest.err >&5
69183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69184   (exit $ac_status); } &&
69185          { ac_try='test -z "$ac_cxx_werror_flag"
69186                          || test ! -s conftest.err'
69187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188   (eval $ac_try) 2>&5
69189   ac_status=$?
69190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191   (exit $ac_status); }; } &&
69192          { ac_try='test -s conftest.$ac_objext'
69193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194   (eval $ac_try) 2>&5
69195   ac_status=$?
69196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197   (exit $ac_status); }; }; then
69198   glibcxx_cv_func_log10f_use=yes
69199 else
69200   echo "$as_me: failed program was:" >&5
69201 sed 's/^/| /' conftest.$ac_ext >&5
69202
69203 glibcxx_cv_func_log10f_use=no
69204 fi
69205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69206       ac_ext=c
69207 ac_cpp='$CPP $CPPFLAGS'
69208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69211
69212
69213 fi
69214
69215   fi
69216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
69217 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
69218
69219   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69220
69221 for ac_func in log10f
69222 do
69223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69224 echo "$as_me:$LINENO: checking for $ac_func" >&5
69225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69226 if eval "test \"\${$as_ac_var+set}\" = set"; then
69227   echo $ECHO_N "(cached) $ECHO_C" >&6
69228 else
69229   if test x$gcc_no_link = xyes; then
69230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69232    { (exit 1); exit 1; }; }
69233 fi
69234 cat >conftest.$ac_ext <<_ACEOF
69235 /* confdefs.h.  */
69236 _ACEOF
69237 cat confdefs.h >>conftest.$ac_ext
69238 cat >>conftest.$ac_ext <<_ACEOF
69239 /* end confdefs.h.  */
69240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69242 #define $ac_func innocuous_$ac_func
69243
69244 /* System header to define __stub macros and hopefully few prototypes,
69245     which can conflict with char $ac_func (); below.
69246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69247     <limits.h> exists even on freestanding compilers.  */
69248
69249 #ifdef __STDC__
69250 # include <limits.h>
69251 #else
69252 # include <assert.h>
69253 #endif
69254
69255 #undef $ac_func
69256
69257 /* Override any gcc2 internal prototype to avoid an error.  */
69258 #ifdef __cplusplus
69259 extern "C"
69260 {
69261 #endif
69262 /* We use char because int might match the return type of a gcc2
69263    builtin and then its argument prototype would still apply.  */
69264 char $ac_func ();
69265 /* The GNU C library defines this for functions which it implements
69266     to always fail with ENOSYS.  Some functions are actually named
69267     something starting with __ and the normal name is an alias.  */
69268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69269 choke me
69270 #else
69271 char (*f) () = $ac_func;
69272 #endif
69273 #ifdef __cplusplus
69274 }
69275 #endif
69276
69277 int
69278 main ()
69279 {
69280 return f != $ac_func;
69281   ;
69282   return 0;
69283 }
69284 _ACEOF
69285 rm -f conftest.$ac_objext conftest$ac_exeext
69286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69287   (eval $ac_link) 2>conftest.er1
69288   ac_status=$?
69289   grep -v '^ *+' conftest.er1 >conftest.err
69290   rm -f conftest.er1
69291   cat conftest.err >&5
69292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69293   (exit $ac_status); } &&
69294          { ac_try='test -z "$ac_c_werror_flag"
69295                          || test ! -s conftest.err'
69296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69297   (eval $ac_try) 2>&5
69298   ac_status=$?
69299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300   (exit $ac_status); }; } &&
69301          { ac_try='test -s conftest$ac_exeext'
69302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303   (eval $ac_try) 2>&5
69304   ac_status=$?
69305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306   (exit $ac_status); }; }; then
69307   eval "$as_ac_var=yes"
69308 else
69309   echo "$as_me: failed program was:" >&5
69310 sed 's/^/| /' conftest.$ac_ext >&5
69311
69312 eval "$as_ac_var=no"
69313 fi
69314 rm -f conftest.err conftest.$ac_objext \
69315       conftest$ac_exeext conftest.$ac_ext
69316 fi
69317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69319 if test `eval echo '${'$as_ac_var'}'` = yes; then
69320   cat >>confdefs.h <<_ACEOF
69321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69322 _ACEOF
69323
69324 fi
69325 done
69326
69327   else
69328
69329   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
69330 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
69331   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69332     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
69333   echo $ECHO_N "(cached) $ECHO_C" >&6
69334 else
69335
69336
69337
69338       ac_ext=cc
69339 ac_cpp='$CXXCPP $CPPFLAGS'
69340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69343
69344       cat >conftest.$ac_ext <<_ACEOF
69345 /* confdefs.h.  */
69346 _ACEOF
69347 cat confdefs.h >>conftest.$ac_ext
69348 cat >>conftest.$ac_ext <<_ACEOF
69349 /* end confdefs.h.  */
69350 #include <math.h>
69351                       #ifdef HAVE_IEEEFP_H
69352                       #include <ieeefp.h>
69353                       #endif
69354
69355 int
69356 main ()
69357 {
69358  _log10f(0);
69359   ;
69360   return 0;
69361 }
69362 _ACEOF
69363 rm -f conftest.$ac_objext
69364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69365   (eval $ac_compile) 2>conftest.er1
69366   ac_status=$?
69367   grep -v '^ *+' conftest.er1 >conftest.err
69368   rm -f conftest.er1
69369   cat conftest.err >&5
69370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69371   (exit $ac_status); } &&
69372          { ac_try='test -z "$ac_cxx_werror_flag"
69373                          || test ! -s conftest.err'
69374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69375   (eval $ac_try) 2>&5
69376   ac_status=$?
69377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378   (exit $ac_status); }; } &&
69379          { ac_try='test -s conftest.$ac_objext'
69380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69381   (eval $ac_try) 2>&5
69382   ac_status=$?
69383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384   (exit $ac_status); }; }; then
69385   glibcxx_cv_func__log10f_use=yes
69386 else
69387   echo "$as_me: failed program was:" >&5
69388 sed 's/^/| /' conftest.$ac_ext >&5
69389
69390 glibcxx_cv_func__log10f_use=no
69391 fi
69392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69393       ac_ext=c
69394 ac_cpp='$CPP $CPPFLAGS'
69395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69398
69399
69400 fi
69401
69402   fi
69403   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
69404 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
69405
69406     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69407
69408 for ac_func in _log10f
69409 do
69410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69411 echo "$as_me:$LINENO: checking for $ac_func" >&5
69412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69413 if eval "test \"\${$as_ac_var+set}\" = set"; then
69414   echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69416   if test x$gcc_no_link = xyes; then
69417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69419    { (exit 1); exit 1; }; }
69420 fi
69421 cat >conftest.$ac_ext <<_ACEOF
69422 /* confdefs.h.  */
69423 _ACEOF
69424 cat confdefs.h >>conftest.$ac_ext
69425 cat >>conftest.$ac_ext <<_ACEOF
69426 /* end confdefs.h.  */
69427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69429 #define $ac_func innocuous_$ac_func
69430
69431 /* System header to define __stub macros and hopefully few prototypes,
69432     which can conflict with char $ac_func (); below.
69433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69434     <limits.h> exists even on freestanding compilers.  */
69435
69436 #ifdef __STDC__
69437 # include <limits.h>
69438 #else
69439 # include <assert.h>
69440 #endif
69441
69442 #undef $ac_func
69443
69444 /* Override any gcc2 internal prototype to avoid an error.  */
69445 #ifdef __cplusplus
69446 extern "C"
69447 {
69448 #endif
69449 /* We use char because int might match the return type of a gcc2
69450    builtin and then its argument prototype would still apply.  */
69451 char $ac_func ();
69452 /* The GNU C library defines this for functions which it implements
69453     to always fail with ENOSYS.  Some functions are actually named
69454     something starting with __ and the normal name is an alias.  */
69455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69456 choke me
69457 #else
69458 char (*f) () = $ac_func;
69459 #endif
69460 #ifdef __cplusplus
69461 }
69462 #endif
69463
69464 int
69465 main ()
69466 {
69467 return f != $ac_func;
69468   ;
69469   return 0;
69470 }
69471 _ACEOF
69472 rm -f conftest.$ac_objext conftest$ac_exeext
69473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69474   (eval $ac_link) 2>conftest.er1
69475   ac_status=$?
69476   grep -v '^ *+' conftest.er1 >conftest.err
69477   rm -f conftest.er1
69478   cat conftest.err >&5
69479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69480   (exit $ac_status); } &&
69481          { ac_try='test -z "$ac_c_werror_flag"
69482                          || test ! -s conftest.err'
69483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69484   (eval $ac_try) 2>&5
69485   ac_status=$?
69486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69487   (exit $ac_status); }; } &&
69488          { ac_try='test -s conftest$ac_exeext'
69489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69490   (eval $ac_try) 2>&5
69491   ac_status=$?
69492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69493   (exit $ac_status); }; }; then
69494   eval "$as_ac_var=yes"
69495 else
69496   echo "$as_me: failed program was:" >&5
69497 sed 's/^/| /' conftest.$ac_ext >&5
69498
69499 eval "$as_ac_var=no"
69500 fi
69501 rm -f conftest.err conftest.$ac_objext \
69502       conftest$ac_exeext conftest.$ac_ext
69503 fi
69504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69506 if test `eval echo '${'$as_ac_var'}'` = yes; then
69507   cat >>confdefs.h <<_ACEOF
69508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69509 _ACEOF
69510
69511 fi
69512 done
69513
69514     fi
69515   fi
69516
69517
69518
69519
69520
69521
69522   echo "$as_me:$LINENO: checking for modff declaration" >&5
69523 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
69524   if test x${glibcxx_cv_func_modff_use+set} != xset; then
69525     if test "${glibcxx_cv_func_modff_use+set}" = set; then
69526   echo $ECHO_N "(cached) $ECHO_C" >&6
69527 else
69528
69529
69530
69531       ac_ext=cc
69532 ac_cpp='$CXXCPP $CPPFLAGS'
69533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69536
69537       cat >conftest.$ac_ext <<_ACEOF
69538 /* confdefs.h.  */
69539 _ACEOF
69540 cat confdefs.h >>conftest.$ac_ext
69541 cat >>conftest.$ac_ext <<_ACEOF
69542 /* end confdefs.h.  */
69543 #include <math.h>
69544 int
69545 main ()
69546 {
69547  modff(0, 0);
69548   ;
69549   return 0;
69550 }
69551 _ACEOF
69552 rm -f conftest.$ac_objext
69553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69554   (eval $ac_compile) 2>conftest.er1
69555   ac_status=$?
69556   grep -v '^ *+' conftest.er1 >conftest.err
69557   rm -f conftest.er1
69558   cat conftest.err >&5
69559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69560   (exit $ac_status); } &&
69561          { ac_try='test -z "$ac_cxx_werror_flag"
69562                          || test ! -s conftest.err'
69563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69564   (eval $ac_try) 2>&5
69565   ac_status=$?
69566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69567   (exit $ac_status); }; } &&
69568          { ac_try='test -s conftest.$ac_objext'
69569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69570   (eval $ac_try) 2>&5
69571   ac_status=$?
69572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69573   (exit $ac_status); }; }; then
69574   glibcxx_cv_func_modff_use=yes
69575 else
69576   echo "$as_me: failed program was:" >&5
69577 sed 's/^/| /' conftest.$ac_ext >&5
69578
69579 glibcxx_cv_func_modff_use=no
69580 fi
69581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69582       ac_ext=c
69583 ac_cpp='$CPP $CPPFLAGS'
69584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69587
69588
69589 fi
69590
69591   fi
69592   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
69593 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
69594
69595   if test x$glibcxx_cv_func_modff_use = x"yes"; then
69596
69597 for ac_func in modff
69598 do
69599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69600 echo "$as_me:$LINENO: checking for $ac_func" >&5
69601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69602 if eval "test \"\${$as_ac_var+set}\" = set"; then
69603   echo $ECHO_N "(cached) $ECHO_C" >&6
69604 else
69605   if test x$gcc_no_link = xyes; then
69606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69608    { (exit 1); exit 1; }; }
69609 fi
69610 cat >conftest.$ac_ext <<_ACEOF
69611 /* confdefs.h.  */
69612 _ACEOF
69613 cat confdefs.h >>conftest.$ac_ext
69614 cat >>conftest.$ac_ext <<_ACEOF
69615 /* end confdefs.h.  */
69616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69618 #define $ac_func innocuous_$ac_func
69619
69620 /* System header to define __stub macros and hopefully few prototypes,
69621     which can conflict with char $ac_func (); below.
69622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69623     <limits.h> exists even on freestanding compilers.  */
69624
69625 #ifdef __STDC__
69626 # include <limits.h>
69627 #else
69628 # include <assert.h>
69629 #endif
69630
69631 #undef $ac_func
69632
69633 /* Override any gcc2 internal prototype to avoid an error.  */
69634 #ifdef __cplusplus
69635 extern "C"
69636 {
69637 #endif
69638 /* We use char because int might match the return type of a gcc2
69639    builtin and then its argument prototype would still apply.  */
69640 char $ac_func ();
69641 /* The GNU C library defines this for functions which it implements
69642     to always fail with ENOSYS.  Some functions are actually named
69643     something starting with __ and the normal name is an alias.  */
69644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69645 choke me
69646 #else
69647 char (*f) () = $ac_func;
69648 #endif
69649 #ifdef __cplusplus
69650 }
69651 #endif
69652
69653 int
69654 main ()
69655 {
69656 return f != $ac_func;
69657   ;
69658   return 0;
69659 }
69660 _ACEOF
69661 rm -f conftest.$ac_objext conftest$ac_exeext
69662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69663   (eval $ac_link) 2>conftest.er1
69664   ac_status=$?
69665   grep -v '^ *+' conftest.er1 >conftest.err
69666   rm -f conftest.er1
69667   cat conftest.err >&5
69668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69669   (exit $ac_status); } &&
69670          { ac_try='test -z "$ac_c_werror_flag"
69671                          || test ! -s conftest.err'
69672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69673   (eval $ac_try) 2>&5
69674   ac_status=$?
69675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69676   (exit $ac_status); }; } &&
69677          { ac_try='test -s conftest$ac_exeext'
69678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69679   (eval $ac_try) 2>&5
69680   ac_status=$?
69681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69682   (exit $ac_status); }; }; then
69683   eval "$as_ac_var=yes"
69684 else
69685   echo "$as_me: failed program was:" >&5
69686 sed 's/^/| /' conftest.$ac_ext >&5
69687
69688 eval "$as_ac_var=no"
69689 fi
69690 rm -f conftest.err conftest.$ac_objext \
69691       conftest$ac_exeext conftest.$ac_ext
69692 fi
69693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69695 if test `eval echo '${'$as_ac_var'}'` = yes; then
69696   cat >>confdefs.h <<_ACEOF
69697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69698 _ACEOF
69699
69700 fi
69701 done
69702
69703   else
69704
69705   echo "$as_me:$LINENO: checking for _modff declaration" >&5
69706 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
69707   if test x${glibcxx_cv_func__modff_use+set} != xset; then
69708     if test "${glibcxx_cv_func__modff_use+set}" = set; then
69709   echo $ECHO_N "(cached) $ECHO_C" >&6
69710 else
69711
69712
69713
69714       ac_ext=cc
69715 ac_cpp='$CXXCPP $CPPFLAGS'
69716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69719
69720       cat >conftest.$ac_ext <<_ACEOF
69721 /* confdefs.h.  */
69722 _ACEOF
69723 cat confdefs.h >>conftest.$ac_ext
69724 cat >>conftest.$ac_ext <<_ACEOF
69725 /* end confdefs.h.  */
69726 #include <math.h>
69727 int
69728 main ()
69729 {
69730  _modff(0, 0);
69731   ;
69732   return 0;
69733 }
69734 _ACEOF
69735 rm -f conftest.$ac_objext
69736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69737   (eval $ac_compile) 2>conftest.er1
69738   ac_status=$?
69739   grep -v '^ *+' conftest.er1 >conftest.err
69740   rm -f conftest.er1
69741   cat conftest.err >&5
69742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69743   (exit $ac_status); } &&
69744          { ac_try='test -z "$ac_cxx_werror_flag"
69745                          || test ! -s conftest.err'
69746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69747   (eval $ac_try) 2>&5
69748   ac_status=$?
69749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750   (exit $ac_status); }; } &&
69751          { ac_try='test -s conftest.$ac_objext'
69752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69753   (eval $ac_try) 2>&5
69754   ac_status=$?
69755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69756   (exit $ac_status); }; }; then
69757   glibcxx_cv_func__modff_use=yes
69758 else
69759   echo "$as_me: failed program was:" >&5
69760 sed 's/^/| /' conftest.$ac_ext >&5
69761
69762 glibcxx_cv_func__modff_use=no
69763 fi
69764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69765       ac_ext=c
69766 ac_cpp='$CPP $CPPFLAGS'
69767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69770
69771
69772 fi
69773
69774   fi
69775   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
69776 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
69777
69778     if test x$glibcxx_cv_func__modff_use = x"yes"; then
69779
69780 for ac_func in _modff
69781 do
69782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69783 echo "$as_me:$LINENO: checking for $ac_func" >&5
69784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69785 if eval "test \"\${$as_ac_var+set}\" = set"; then
69786   echo $ECHO_N "(cached) $ECHO_C" >&6
69787 else
69788   if test x$gcc_no_link = xyes; then
69789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69791    { (exit 1); exit 1; }; }
69792 fi
69793 cat >conftest.$ac_ext <<_ACEOF
69794 /* confdefs.h.  */
69795 _ACEOF
69796 cat confdefs.h >>conftest.$ac_ext
69797 cat >>conftest.$ac_ext <<_ACEOF
69798 /* end confdefs.h.  */
69799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69801 #define $ac_func innocuous_$ac_func
69802
69803 /* System header to define __stub macros and hopefully few prototypes,
69804     which can conflict with char $ac_func (); below.
69805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69806     <limits.h> exists even on freestanding compilers.  */
69807
69808 #ifdef __STDC__
69809 # include <limits.h>
69810 #else
69811 # include <assert.h>
69812 #endif
69813
69814 #undef $ac_func
69815
69816 /* Override any gcc2 internal prototype to avoid an error.  */
69817 #ifdef __cplusplus
69818 extern "C"
69819 {
69820 #endif
69821 /* We use char because int might match the return type of a gcc2
69822    builtin and then its argument prototype would still apply.  */
69823 char $ac_func ();
69824 /* The GNU C library defines this for functions which it implements
69825     to always fail with ENOSYS.  Some functions are actually named
69826     something starting with __ and the normal name is an alias.  */
69827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69828 choke me
69829 #else
69830 char (*f) () = $ac_func;
69831 #endif
69832 #ifdef __cplusplus
69833 }
69834 #endif
69835
69836 int
69837 main ()
69838 {
69839 return f != $ac_func;
69840   ;
69841   return 0;
69842 }
69843 _ACEOF
69844 rm -f conftest.$ac_objext conftest$ac_exeext
69845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69846   (eval $ac_link) 2>conftest.er1
69847   ac_status=$?
69848   grep -v '^ *+' conftest.er1 >conftest.err
69849   rm -f conftest.er1
69850   cat conftest.err >&5
69851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69852   (exit $ac_status); } &&
69853          { ac_try='test -z "$ac_c_werror_flag"
69854                          || test ! -s conftest.err'
69855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69856   (eval $ac_try) 2>&5
69857   ac_status=$?
69858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69859   (exit $ac_status); }; } &&
69860          { ac_try='test -s conftest$ac_exeext'
69861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69862   (eval $ac_try) 2>&5
69863   ac_status=$?
69864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69865   (exit $ac_status); }; }; then
69866   eval "$as_ac_var=yes"
69867 else
69868   echo "$as_me: failed program was:" >&5
69869 sed 's/^/| /' conftest.$ac_ext >&5
69870
69871 eval "$as_ac_var=no"
69872 fi
69873 rm -f conftest.err conftest.$ac_objext \
69874       conftest$ac_exeext conftest.$ac_ext
69875 fi
69876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69878 if test `eval echo '${'$as_ac_var'}'` = yes; then
69879   cat >>confdefs.h <<_ACEOF
69880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69881 _ACEOF
69882
69883 fi
69884 done
69885
69886     fi
69887   fi
69888
69889
69890
69891
69892
69893
69894   echo "$as_me:$LINENO: checking for modf declaration" >&5
69895 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
69896   if test x${glibcxx_cv_func_modf_use+set} != xset; then
69897     if test "${glibcxx_cv_func_modf_use+set}" = set; then
69898   echo $ECHO_N "(cached) $ECHO_C" >&6
69899 else
69900
69901
69902
69903       ac_ext=cc
69904 ac_cpp='$CXXCPP $CPPFLAGS'
69905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69908
69909       cat >conftest.$ac_ext <<_ACEOF
69910 /* confdefs.h.  */
69911 _ACEOF
69912 cat confdefs.h >>conftest.$ac_ext
69913 cat >>conftest.$ac_ext <<_ACEOF
69914 /* end confdefs.h.  */
69915 #include <math.h>
69916 int
69917 main ()
69918 {
69919  modf(0, 0);
69920   ;
69921   return 0;
69922 }
69923 _ACEOF
69924 rm -f conftest.$ac_objext
69925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69926   (eval $ac_compile) 2>conftest.er1
69927   ac_status=$?
69928   grep -v '^ *+' conftest.er1 >conftest.err
69929   rm -f conftest.er1
69930   cat conftest.err >&5
69931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69932   (exit $ac_status); } &&
69933          { ac_try='test -z "$ac_cxx_werror_flag"
69934                          || test ! -s conftest.err'
69935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69936   (eval $ac_try) 2>&5
69937   ac_status=$?
69938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69939   (exit $ac_status); }; } &&
69940          { ac_try='test -s conftest.$ac_objext'
69941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69942   (eval $ac_try) 2>&5
69943   ac_status=$?
69944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69945   (exit $ac_status); }; }; then
69946   glibcxx_cv_func_modf_use=yes
69947 else
69948   echo "$as_me: failed program was:" >&5
69949 sed 's/^/| /' conftest.$ac_ext >&5
69950
69951 glibcxx_cv_func_modf_use=no
69952 fi
69953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69954       ac_ext=c
69955 ac_cpp='$CPP $CPPFLAGS'
69956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69959
69960
69961 fi
69962
69963   fi
69964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
69965 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
69966
69967   if test x$glibcxx_cv_func_modf_use = x"yes"; then
69968
69969 for ac_func in modf
69970 do
69971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69972 echo "$as_me:$LINENO: checking for $ac_func" >&5
69973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69974 if eval "test \"\${$as_ac_var+set}\" = set"; then
69975   echo $ECHO_N "(cached) $ECHO_C" >&6
69976 else
69977   if test x$gcc_no_link = xyes; then
69978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69980    { (exit 1); exit 1; }; }
69981 fi
69982 cat >conftest.$ac_ext <<_ACEOF
69983 /* confdefs.h.  */
69984 _ACEOF
69985 cat confdefs.h >>conftest.$ac_ext
69986 cat >>conftest.$ac_ext <<_ACEOF
69987 /* end confdefs.h.  */
69988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69990 #define $ac_func innocuous_$ac_func
69991
69992 /* System header to define __stub macros and hopefully few prototypes,
69993     which can conflict with char $ac_func (); below.
69994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69995     <limits.h> exists even on freestanding compilers.  */
69996
69997 #ifdef __STDC__
69998 # include <limits.h>
69999 #else
70000 # include <assert.h>
70001 #endif
70002
70003 #undef $ac_func
70004
70005 /* Override any gcc2 internal prototype to avoid an error.  */
70006 #ifdef __cplusplus
70007 extern "C"
70008 {
70009 #endif
70010 /* We use char because int might match the return type of a gcc2
70011    builtin and then its argument prototype would still apply.  */
70012 char $ac_func ();
70013 /* The GNU C library defines this for functions which it implements
70014     to always fail with ENOSYS.  Some functions are actually named
70015     something starting with __ and the normal name is an alias.  */
70016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70017 choke me
70018 #else
70019 char (*f) () = $ac_func;
70020 #endif
70021 #ifdef __cplusplus
70022 }
70023 #endif
70024
70025 int
70026 main ()
70027 {
70028 return f != $ac_func;
70029   ;
70030   return 0;
70031 }
70032 _ACEOF
70033 rm -f conftest.$ac_objext conftest$ac_exeext
70034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70035   (eval $ac_link) 2>conftest.er1
70036   ac_status=$?
70037   grep -v '^ *+' conftest.er1 >conftest.err
70038   rm -f conftest.er1
70039   cat conftest.err >&5
70040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041   (exit $ac_status); } &&
70042          { ac_try='test -z "$ac_c_werror_flag"
70043                          || test ! -s conftest.err'
70044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70045   (eval $ac_try) 2>&5
70046   ac_status=$?
70047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70048   (exit $ac_status); }; } &&
70049          { ac_try='test -s conftest$ac_exeext'
70050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70051   (eval $ac_try) 2>&5
70052   ac_status=$?
70053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70054   (exit $ac_status); }; }; then
70055   eval "$as_ac_var=yes"
70056 else
70057   echo "$as_me: failed program was:" >&5
70058 sed 's/^/| /' conftest.$ac_ext >&5
70059
70060 eval "$as_ac_var=no"
70061 fi
70062 rm -f conftest.err conftest.$ac_objext \
70063       conftest$ac_exeext conftest.$ac_ext
70064 fi
70065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70067 if test `eval echo '${'$as_ac_var'}'` = yes; then
70068   cat >>confdefs.h <<_ACEOF
70069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70070 _ACEOF
70071
70072 fi
70073 done
70074
70075   else
70076
70077   echo "$as_me:$LINENO: checking for _modf declaration" >&5
70078 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
70079   if test x${glibcxx_cv_func__modf_use+set} != xset; then
70080     if test "${glibcxx_cv_func__modf_use+set}" = set; then
70081   echo $ECHO_N "(cached) $ECHO_C" >&6
70082 else
70083
70084
70085
70086       ac_ext=cc
70087 ac_cpp='$CXXCPP $CPPFLAGS'
70088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70091
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 #include <math.h>
70099 int
70100 main ()
70101 {
70102  _modf(0, 0);
70103   ;
70104   return 0;
70105 }
70106 _ACEOF
70107 rm -f conftest.$ac_objext
70108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70109   (eval $ac_compile) 2>conftest.er1
70110   ac_status=$?
70111   grep -v '^ *+' conftest.er1 >conftest.err
70112   rm -f conftest.er1
70113   cat conftest.err >&5
70114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70115   (exit $ac_status); } &&
70116          { ac_try='test -z "$ac_cxx_werror_flag"
70117                          || test ! -s conftest.err'
70118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70119   (eval $ac_try) 2>&5
70120   ac_status=$?
70121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122   (exit $ac_status); }; } &&
70123          { ac_try='test -s conftest.$ac_objext'
70124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70125   (eval $ac_try) 2>&5
70126   ac_status=$?
70127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128   (exit $ac_status); }; }; then
70129   glibcxx_cv_func__modf_use=yes
70130 else
70131   echo "$as_me: failed program was:" >&5
70132 sed 's/^/| /' conftest.$ac_ext >&5
70133
70134 glibcxx_cv_func__modf_use=no
70135 fi
70136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70137       ac_ext=c
70138 ac_cpp='$CPP $CPPFLAGS'
70139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70142
70143
70144 fi
70145
70146   fi
70147   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
70148 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
70149
70150     if test x$glibcxx_cv_func__modf_use = x"yes"; then
70151
70152 for ac_func in _modf
70153 do
70154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70155 echo "$as_me:$LINENO: checking for $ac_func" >&5
70156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70157 if eval "test \"\${$as_ac_var+set}\" = set"; then
70158   echo $ECHO_N "(cached) $ECHO_C" >&6
70159 else
70160   if test x$gcc_no_link = xyes; then
70161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70163    { (exit 1); exit 1; }; }
70164 fi
70165 cat >conftest.$ac_ext <<_ACEOF
70166 /* confdefs.h.  */
70167 _ACEOF
70168 cat confdefs.h >>conftest.$ac_ext
70169 cat >>conftest.$ac_ext <<_ACEOF
70170 /* end confdefs.h.  */
70171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70173 #define $ac_func innocuous_$ac_func
70174
70175 /* System header to define __stub macros and hopefully few prototypes,
70176     which can conflict with char $ac_func (); below.
70177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70178     <limits.h> exists even on freestanding compilers.  */
70179
70180 #ifdef __STDC__
70181 # include <limits.h>
70182 #else
70183 # include <assert.h>
70184 #endif
70185
70186 #undef $ac_func
70187
70188 /* Override any gcc2 internal prototype to avoid an error.  */
70189 #ifdef __cplusplus
70190 extern "C"
70191 {
70192 #endif
70193 /* We use char because int might match the return type of a gcc2
70194    builtin and then its argument prototype would still apply.  */
70195 char $ac_func ();
70196 /* The GNU C library defines this for functions which it implements
70197     to always fail with ENOSYS.  Some functions are actually named
70198     something starting with __ and the normal name is an alias.  */
70199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70200 choke me
70201 #else
70202 char (*f) () = $ac_func;
70203 #endif
70204 #ifdef __cplusplus
70205 }
70206 #endif
70207
70208 int
70209 main ()
70210 {
70211 return f != $ac_func;
70212   ;
70213   return 0;
70214 }
70215 _ACEOF
70216 rm -f conftest.$ac_objext conftest$ac_exeext
70217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70218   (eval $ac_link) 2>conftest.er1
70219   ac_status=$?
70220   grep -v '^ *+' conftest.er1 >conftest.err
70221   rm -f conftest.er1
70222   cat conftest.err >&5
70223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70224   (exit $ac_status); } &&
70225          { ac_try='test -z "$ac_c_werror_flag"
70226                          || test ! -s conftest.err'
70227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70228   (eval $ac_try) 2>&5
70229   ac_status=$?
70230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70231   (exit $ac_status); }; } &&
70232          { ac_try='test -s conftest$ac_exeext'
70233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70234   (eval $ac_try) 2>&5
70235   ac_status=$?
70236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70237   (exit $ac_status); }; }; then
70238   eval "$as_ac_var=yes"
70239 else
70240   echo "$as_me: failed program was:" >&5
70241 sed 's/^/| /' conftest.$ac_ext >&5
70242
70243 eval "$as_ac_var=no"
70244 fi
70245 rm -f conftest.err conftest.$ac_objext \
70246       conftest$ac_exeext conftest.$ac_ext
70247 fi
70248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70250 if test `eval echo '${'$as_ac_var'}'` = yes; then
70251   cat >>confdefs.h <<_ACEOF
70252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70253 _ACEOF
70254
70255 fi
70256 done
70257
70258     fi
70259   fi
70260
70261
70262
70263
70264
70265
70266   echo "$as_me:$LINENO: checking for powf declaration" >&5
70267 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
70268   if test x${glibcxx_cv_func_powf_use+set} != xset; then
70269     if test "${glibcxx_cv_func_powf_use+set}" = set; then
70270   echo $ECHO_N "(cached) $ECHO_C" >&6
70271 else
70272
70273
70274
70275       ac_ext=cc
70276 ac_cpp='$CXXCPP $CPPFLAGS'
70277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70280
70281       cat >conftest.$ac_ext <<_ACEOF
70282 /* confdefs.h.  */
70283 _ACEOF
70284 cat confdefs.h >>conftest.$ac_ext
70285 cat >>conftest.$ac_ext <<_ACEOF
70286 /* end confdefs.h.  */
70287 #include <math.h>
70288 int
70289 main ()
70290 {
70291  powf(0, 0);
70292   ;
70293   return 0;
70294 }
70295 _ACEOF
70296 rm -f conftest.$ac_objext
70297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70298   (eval $ac_compile) 2>conftest.er1
70299   ac_status=$?
70300   grep -v '^ *+' conftest.er1 >conftest.err
70301   rm -f conftest.er1
70302   cat conftest.err >&5
70303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70304   (exit $ac_status); } &&
70305          { ac_try='test -z "$ac_cxx_werror_flag"
70306                          || test ! -s conftest.err'
70307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70308   (eval $ac_try) 2>&5
70309   ac_status=$?
70310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311   (exit $ac_status); }; } &&
70312          { ac_try='test -s conftest.$ac_objext'
70313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70314   (eval $ac_try) 2>&5
70315   ac_status=$?
70316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70317   (exit $ac_status); }; }; then
70318   glibcxx_cv_func_powf_use=yes
70319 else
70320   echo "$as_me: failed program was:" >&5
70321 sed 's/^/| /' conftest.$ac_ext >&5
70322
70323 glibcxx_cv_func_powf_use=no
70324 fi
70325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70326       ac_ext=c
70327 ac_cpp='$CPP $CPPFLAGS'
70328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70331
70332
70333 fi
70334
70335   fi
70336   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
70337 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
70338
70339   if test x$glibcxx_cv_func_powf_use = x"yes"; then
70340
70341 for ac_func in powf
70342 do
70343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70344 echo "$as_me:$LINENO: checking for $ac_func" >&5
70345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70346 if eval "test \"\${$as_ac_var+set}\" = set"; then
70347   echo $ECHO_N "(cached) $ECHO_C" >&6
70348 else
70349   if test x$gcc_no_link = xyes; then
70350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70352    { (exit 1); exit 1; }; }
70353 fi
70354 cat >conftest.$ac_ext <<_ACEOF
70355 /* confdefs.h.  */
70356 _ACEOF
70357 cat confdefs.h >>conftest.$ac_ext
70358 cat >>conftest.$ac_ext <<_ACEOF
70359 /* end confdefs.h.  */
70360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70361    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70362 #define $ac_func innocuous_$ac_func
70363
70364 /* System header to define __stub macros and hopefully few prototypes,
70365     which can conflict with char $ac_func (); below.
70366     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70367     <limits.h> exists even on freestanding compilers.  */
70368
70369 #ifdef __STDC__
70370 # include <limits.h>
70371 #else
70372 # include <assert.h>
70373 #endif
70374
70375 #undef $ac_func
70376
70377 /* Override any gcc2 internal prototype to avoid an error.  */
70378 #ifdef __cplusplus
70379 extern "C"
70380 {
70381 #endif
70382 /* We use char because int might match the return type of a gcc2
70383    builtin and then its argument prototype would still apply.  */
70384 char $ac_func ();
70385 /* The GNU C library defines this for functions which it implements
70386     to always fail with ENOSYS.  Some functions are actually named
70387     something starting with __ and the normal name is an alias.  */
70388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70389 choke me
70390 #else
70391 char (*f) () = $ac_func;
70392 #endif
70393 #ifdef __cplusplus
70394 }
70395 #endif
70396
70397 int
70398 main ()
70399 {
70400 return f != $ac_func;
70401   ;
70402   return 0;
70403 }
70404 _ACEOF
70405 rm -f conftest.$ac_objext conftest$ac_exeext
70406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70407   (eval $ac_link) 2>conftest.er1
70408   ac_status=$?
70409   grep -v '^ *+' conftest.er1 >conftest.err
70410   rm -f conftest.er1
70411   cat conftest.err >&5
70412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70413   (exit $ac_status); } &&
70414          { ac_try='test -z "$ac_c_werror_flag"
70415                          || test ! -s conftest.err'
70416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70417   (eval $ac_try) 2>&5
70418   ac_status=$?
70419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70420   (exit $ac_status); }; } &&
70421          { ac_try='test -s conftest$ac_exeext'
70422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70423   (eval $ac_try) 2>&5
70424   ac_status=$?
70425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70426   (exit $ac_status); }; }; then
70427   eval "$as_ac_var=yes"
70428 else
70429   echo "$as_me: failed program was:" >&5
70430 sed 's/^/| /' conftest.$ac_ext >&5
70431
70432 eval "$as_ac_var=no"
70433 fi
70434 rm -f conftest.err conftest.$ac_objext \
70435       conftest$ac_exeext conftest.$ac_ext
70436 fi
70437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70439 if test `eval echo '${'$as_ac_var'}'` = yes; then
70440   cat >>confdefs.h <<_ACEOF
70441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70442 _ACEOF
70443
70444 fi
70445 done
70446
70447   else
70448
70449   echo "$as_me:$LINENO: checking for _powf declaration" >&5
70450 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
70451   if test x${glibcxx_cv_func__powf_use+set} != xset; then
70452     if test "${glibcxx_cv_func__powf_use+set}" = set; then
70453   echo $ECHO_N "(cached) $ECHO_C" >&6
70454 else
70455
70456
70457
70458       ac_ext=cc
70459 ac_cpp='$CXXCPP $CPPFLAGS'
70460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70463
70464       cat >conftest.$ac_ext <<_ACEOF
70465 /* confdefs.h.  */
70466 _ACEOF
70467 cat confdefs.h >>conftest.$ac_ext
70468 cat >>conftest.$ac_ext <<_ACEOF
70469 /* end confdefs.h.  */
70470 #include <math.h>
70471 int
70472 main ()
70473 {
70474  _powf(0, 0);
70475   ;
70476   return 0;
70477 }
70478 _ACEOF
70479 rm -f conftest.$ac_objext
70480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70481   (eval $ac_compile) 2>conftest.er1
70482   ac_status=$?
70483   grep -v '^ *+' conftest.er1 >conftest.err
70484   rm -f conftest.er1
70485   cat conftest.err >&5
70486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70487   (exit $ac_status); } &&
70488          { ac_try='test -z "$ac_cxx_werror_flag"
70489                          || test ! -s conftest.err'
70490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70491   (eval $ac_try) 2>&5
70492   ac_status=$?
70493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70494   (exit $ac_status); }; } &&
70495          { ac_try='test -s conftest.$ac_objext'
70496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70497   (eval $ac_try) 2>&5
70498   ac_status=$?
70499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70500   (exit $ac_status); }; }; then
70501   glibcxx_cv_func__powf_use=yes
70502 else
70503   echo "$as_me: failed program was:" >&5
70504 sed 's/^/| /' conftest.$ac_ext >&5
70505
70506 glibcxx_cv_func__powf_use=no
70507 fi
70508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70509       ac_ext=c
70510 ac_cpp='$CPP $CPPFLAGS'
70511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70514
70515
70516 fi
70517
70518   fi
70519   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
70520 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
70521
70522     if test x$glibcxx_cv_func__powf_use = x"yes"; then
70523
70524 for ac_func in _powf
70525 do
70526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70527 echo "$as_me:$LINENO: checking for $ac_func" >&5
70528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70529 if eval "test \"\${$as_ac_var+set}\" = set"; then
70530   echo $ECHO_N "(cached) $ECHO_C" >&6
70531 else
70532   if test x$gcc_no_link = xyes; then
70533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70535    { (exit 1); exit 1; }; }
70536 fi
70537 cat >conftest.$ac_ext <<_ACEOF
70538 /* confdefs.h.  */
70539 _ACEOF
70540 cat confdefs.h >>conftest.$ac_ext
70541 cat >>conftest.$ac_ext <<_ACEOF
70542 /* end confdefs.h.  */
70543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70545 #define $ac_func innocuous_$ac_func
70546
70547 /* System header to define __stub macros and hopefully few prototypes,
70548     which can conflict with char $ac_func (); below.
70549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70550     <limits.h> exists even on freestanding compilers.  */
70551
70552 #ifdef __STDC__
70553 # include <limits.h>
70554 #else
70555 # include <assert.h>
70556 #endif
70557
70558 #undef $ac_func
70559
70560 /* Override any gcc2 internal prototype to avoid an error.  */
70561 #ifdef __cplusplus
70562 extern "C"
70563 {
70564 #endif
70565 /* We use char because int might match the return type of a gcc2
70566    builtin and then its argument prototype would still apply.  */
70567 char $ac_func ();
70568 /* The GNU C library defines this for functions which it implements
70569     to always fail with ENOSYS.  Some functions are actually named
70570     something starting with __ and the normal name is an alias.  */
70571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70572 choke me
70573 #else
70574 char (*f) () = $ac_func;
70575 #endif
70576 #ifdef __cplusplus
70577 }
70578 #endif
70579
70580 int
70581 main ()
70582 {
70583 return f != $ac_func;
70584   ;
70585   return 0;
70586 }
70587 _ACEOF
70588 rm -f conftest.$ac_objext conftest$ac_exeext
70589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70590   (eval $ac_link) 2>conftest.er1
70591   ac_status=$?
70592   grep -v '^ *+' conftest.er1 >conftest.err
70593   rm -f conftest.er1
70594   cat conftest.err >&5
70595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70596   (exit $ac_status); } &&
70597          { ac_try='test -z "$ac_c_werror_flag"
70598                          || test ! -s conftest.err'
70599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70600   (eval $ac_try) 2>&5
70601   ac_status=$?
70602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70603   (exit $ac_status); }; } &&
70604          { ac_try='test -s conftest$ac_exeext'
70605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70606   (eval $ac_try) 2>&5
70607   ac_status=$?
70608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70609   (exit $ac_status); }; }; then
70610   eval "$as_ac_var=yes"
70611 else
70612   echo "$as_me: failed program was:" >&5
70613 sed 's/^/| /' conftest.$ac_ext >&5
70614
70615 eval "$as_ac_var=no"
70616 fi
70617 rm -f conftest.err conftest.$ac_objext \
70618       conftest$ac_exeext conftest.$ac_ext
70619 fi
70620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70622 if test `eval echo '${'$as_ac_var'}'` = yes; then
70623   cat >>confdefs.h <<_ACEOF
70624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70625 _ACEOF
70626
70627 fi
70628 done
70629
70630     fi
70631   fi
70632
70633
70634
70635
70636
70637
70638   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
70639 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
70640   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
70641     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
70642   echo $ECHO_N "(cached) $ECHO_C" >&6
70643 else
70644
70645
70646
70647       ac_ext=cc
70648 ac_cpp='$CXXCPP $CPPFLAGS'
70649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70652
70653       cat >conftest.$ac_ext <<_ACEOF
70654 /* confdefs.h.  */
70655 _ACEOF
70656 cat confdefs.h >>conftest.$ac_ext
70657 cat >>conftest.$ac_ext <<_ACEOF
70658 /* end confdefs.h.  */
70659 #include <math.h>
70660                       #ifdef HAVE_IEEEFP_H
70661                       #include <ieeefp.h>
70662                       #endif
70663
70664 int
70665 main ()
70666 {
70667  sqrtf(0);
70668   ;
70669   return 0;
70670 }
70671 _ACEOF
70672 rm -f conftest.$ac_objext
70673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70674   (eval $ac_compile) 2>conftest.er1
70675   ac_status=$?
70676   grep -v '^ *+' conftest.er1 >conftest.err
70677   rm -f conftest.er1
70678   cat conftest.err >&5
70679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70680   (exit $ac_status); } &&
70681          { ac_try='test -z "$ac_cxx_werror_flag"
70682                          || test ! -s conftest.err'
70683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70684   (eval $ac_try) 2>&5
70685   ac_status=$?
70686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70687   (exit $ac_status); }; } &&
70688          { ac_try='test -s conftest.$ac_objext'
70689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70690   (eval $ac_try) 2>&5
70691   ac_status=$?
70692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70693   (exit $ac_status); }; }; then
70694   glibcxx_cv_func_sqrtf_use=yes
70695 else
70696   echo "$as_me: failed program was:" >&5
70697 sed 's/^/| /' conftest.$ac_ext >&5
70698
70699 glibcxx_cv_func_sqrtf_use=no
70700 fi
70701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70702       ac_ext=c
70703 ac_cpp='$CPP $CPPFLAGS'
70704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70707
70708
70709 fi
70710
70711   fi
70712   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
70713 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
70714
70715   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
70716
70717 for ac_func in sqrtf
70718 do
70719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70720 echo "$as_me:$LINENO: checking for $ac_func" >&5
70721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70722 if eval "test \"\${$as_ac_var+set}\" = set"; then
70723   echo $ECHO_N "(cached) $ECHO_C" >&6
70724 else
70725   if test x$gcc_no_link = xyes; then
70726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70728    { (exit 1); exit 1; }; }
70729 fi
70730 cat >conftest.$ac_ext <<_ACEOF
70731 /* confdefs.h.  */
70732 _ACEOF
70733 cat confdefs.h >>conftest.$ac_ext
70734 cat >>conftest.$ac_ext <<_ACEOF
70735 /* end confdefs.h.  */
70736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70738 #define $ac_func innocuous_$ac_func
70739
70740 /* System header to define __stub macros and hopefully few prototypes,
70741     which can conflict with char $ac_func (); below.
70742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70743     <limits.h> exists even on freestanding compilers.  */
70744
70745 #ifdef __STDC__
70746 # include <limits.h>
70747 #else
70748 # include <assert.h>
70749 #endif
70750
70751 #undef $ac_func
70752
70753 /* Override any gcc2 internal prototype to avoid an error.  */
70754 #ifdef __cplusplus
70755 extern "C"
70756 {
70757 #endif
70758 /* We use char because int might match the return type of a gcc2
70759    builtin and then its argument prototype would still apply.  */
70760 char $ac_func ();
70761 /* The GNU C library defines this for functions which it implements
70762     to always fail with ENOSYS.  Some functions are actually named
70763     something starting with __ and the normal name is an alias.  */
70764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70765 choke me
70766 #else
70767 char (*f) () = $ac_func;
70768 #endif
70769 #ifdef __cplusplus
70770 }
70771 #endif
70772
70773 int
70774 main ()
70775 {
70776 return f != $ac_func;
70777   ;
70778   return 0;
70779 }
70780 _ACEOF
70781 rm -f conftest.$ac_objext conftest$ac_exeext
70782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70783   (eval $ac_link) 2>conftest.er1
70784   ac_status=$?
70785   grep -v '^ *+' conftest.er1 >conftest.err
70786   rm -f conftest.er1
70787   cat conftest.err >&5
70788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70789   (exit $ac_status); } &&
70790          { ac_try='test -z "$ac_c_werror_flag"
70791                          || test ! -s conftest.err'
70792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70793   (eval $ac_try) 2>&5
70794   ac_status=$?
70795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70796   (exit $ac_status); }; } &&
70797          { ac_try='test -s conftest$ac_exeext'
70798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70799   (eval $ac_try) 2>&5
70800   ac_status=$?
70801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70802   (exit $ac_status); }; }; then
70803   eval "$as_ac_var=yes"
70804 else
70805   echo "$as_me: failed program was:" >&5
70806 sed 's/^/| /' conftest.$ac_ext >&5
70807
70808 eval "$as_ac_var=no"
70809 fi
70810 rm -f conftest.err conftest.$ac_objext \
70811       conftest$ac_exeext conftest.$ac_ext
70812 fi
70813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70815 if test `eval echo '${'$as_ac_var'}'` = yes; then
70816   cat >>confdefs.h <<_ACEOF
70817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70818 _ACEOF
70819
70820 fi
70821 done
70822
70823   else
70824
70825   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
70826 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
70827   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
70828     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
70829   echo $ECHO_N "(cached) $ECHO_C" >&6
70830 else
70831
70832
70833
70834       ac_ext=cc
70835 ac_cpp='$CXXCPP $CPPFLAGS'
70836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70839
70840       cat >conftest.$ac_ext <<_ACEOF
70841 /* confdefs.h.  */
70842 _ACEOF
70843 cat confdefs.h >>conftest.$ac_ext
70844 cat >>conftest.$ac_ext <<_ACEOF
70845 /* end confdefs.h.  */
70846 #include <math.h>
70847                       #ifdef HAVE_IEEEFP_H
70848                       #include <ieeefp.h>
70849                       #endif
70850
70851 int
70852 main ()
70853 {
70854  _sqrtf(0);
70855   ;
70856   return 0;
70857 }
70858 _ACEOF
70859 rm -f conftest.$ac_objext
70860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70861   (eval $ac_compile) 2>conftest.er1
70862   ac_status=$?
70863   grep -v '^ *+' conftest.er1 >conftest.err
70864   rm -f conftest.er1
70865   cat conftest.err >&5
70866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867   (exit $ac_status); } &&
70868          { ac_try='test -z "$ac_cxx_werror_flag"
70869                          || test ! -s conftest.err'
70870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70871   (eval $ac_try) 2>&5
70872   ac_status=$?
70873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874   (exit $ac_status); }; } &&
70875          { ac_try='test -s conftest.$ac_objext'
70876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877   (eval $ac_try) 2>&5
70878   ac_status=$?
70879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880   (exit $ac_status); }; }; then
70881   glibcxx_cv_func__sqrtf_use=yes
70882 else
70883   echo "$as_me: failed program was:" >&5
70884 sed 's/^/| /' conftest.$ac_ext >&5
70885
70886 glibcxx_cv_func__sqrtf_use=no
70887 fi
70888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70889       ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70894
70895
70896 fi
70897
70898   fi
70899   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
70900 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
70901
70902     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70903
70904 for ac_func in _sqrtf
70905 do
70906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70907 echo "$as_me:$LINENO: checking for $ac_func" >&5
70908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70909 if eval "test \"\${$as_ac_var+set}\" = set"; then
70910   echo $ECHO_N "(cached) $ECHO_C" >&6
70911 else
70912   if test x$gcc_no_link = xyes; then
70913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70915    { (exit 1); exit 1; }; }
70916 fi
70917 cat >conftest.$ac_ext <<_ACEOF
70918 /* confdefs.h.  */
70919 _ACEOF
70920 cat confdefs.h >>conftest.$ac_ext
70921 cat >>conftest.$ac_ext <<_ACEOF
70922 /* end confdefs.h.  */
70923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70924    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70925 #define $ac_func innocuous_$ac_func
70926
70927 /* System header to define __stub macros and hopefully few prototypes,
70928     which can conflict with char $ac_func (); below.
70929     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70930     <limits.h> exists even on freestanding compilers.  */
70931
70932 #ifdef __STDC__
70933 # include <limits.h>
70934 #else
70935 # include <assert.h>
70936 #endif
70937
70938 #undef $ac_func
70939
70940 /* Override any gcc2 internal prototype to avoid an error.  */
70941 #ifdef __cplusplus
70942 extern "C"
70943 {
70944 #endif
70945 /* We use char because int might match the return type of a gcc2
70946    builtin and then its argument prototype would still apply.  */
70947 char $ac_func ();
70948 /* The GNU C library defines this for functions which it implements
70949     to always fail with ENOSYS.  Some functions are actually named
70950     something starting with __ and the normal name is an alias.  */
70951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70952 choke me
70953 #else
70954 char (*f) () = $ac_func;
70955 #endif
70956 #ifdef __cplusplus
70957 }
70958 #endif
70959
70960 int
70961 main ()
70962 {
70963 return f != $ac_func;
70964   ;
70965   return 0;
70966 }
70967 _ACEOF
70968 rm -f conftest.$ac_objext conftest$ac_exeext
70969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70970   (eval $ac_link) 2>conftest.er1
70971   ac_status=$?
70972   grep -v '^ *+' conftest.er1 >conftest.err
70973   rm -f conftest.er1
70974   cat conftest.err >&5
70975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70976   (exit $ac_status); } &&
70977          { ac_try='test -z "$ac_c_werror_flag"
70978                          || test ! -s conftest.err'
70979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70980   (eval $ac_try) 2>&5
70981   ac_status=$?
70982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70983   (exit $ac_status); }; } &&
70984          { ac_try='test -s conftest$ac_exeext'
70985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70986   (eval $ac_try) 2>&5
70987   ac_status=$?
70988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70989   (exit $ac_status); }; }; then
70990   eval "$as_ac_var=yes"
70991 else
70992   echo "$as_me: failed program was:" >&5
70993 sed 's/^/| /' conftest.$ac_ext >&5
70994
70995 eval "$as_ac_var=no"
70996 fi
70997 rm -f conftest.err conftest.$ac_objext \
70998       conftest$ac_exeext conftest.$ac_ext
70999 fi
71000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71002 if test `eval echo '${'$as_ac_var'}'` = yes; then
71003   cat >>confdefs.h <<_ACEOF
71004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71005 _ACEOF
71006
71007 fi
71008 done
71009
71010     fi
71011   fi
71012
71013
71014
71015
71016
71017
71018   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
71019 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
71020   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
71021     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
71022   echo $ECHO_N "(cached) $ECHO_C" >&6
71023 else
71024
71025
71026
71027       ac_ext=cc
71028 ac_cpp='$CXXCPP $CPPFLAGS'
71029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71032
71033       cat >conftest.$ac_ext <<_ACEOF
71034 /* confdefs.h.  */
71035 _ACEOF
71036 cat confdefs.h >>conftest.$ac_ext
71037 cat >>conftest.$ac_ext <<_ACEOF
71038 /* end confdefs.h.  */
71039 #include <math.h>
71040 int
71041 main ()
71042 {
71043  sincosf(0, 0, 0);
71044   ;
71045   return 0;
71046 }
71047 _ACEOF
71048 rm -f conftest.$ac_objext
71049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71050   (eval $ac_compile) 2>conftest.er1
71051   ac_status=$?
71052   grep -v '^ *+' conftest.er1 >conftest.err
71053   rm -f conftest.er1
71054   cat conftest.err >&5
71055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056   (exit $ac_status); } &&
71057          { ac_try='test -z "$ac_cxx_werror_flag"
71058                          || test ! -s conftest.err'
71059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71060   (eval $ac_try) 2>&5
71061   ac_status=$?
71062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71063   (exit $ac_status); }; } &&
71064          { ac_try='test -s conftest.$ac_objext'
71065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71066   (eval $ac_try) 2>&5
71067   ac_status=$?
71068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71069   (exit $ac_status); }; }; then
71070   glibcxx_cv_func_sincosf_use=yes
71071 else
71072   echo "$as_me: failed program was:" >&5
71073 sed 's/^/| /' conftest.$ac_ext >&5
71074
71075 glibcxx_cv_func_sincosf_use=no
71076 fi
71077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71078       ac_ext=c
71079 ac_cpp='$CPP $CPPFLAGS'
71080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71083
71084
71085 fi
71086
71087   fi
71088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
71089 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
71090
71091   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
71092
71093 for ac_func in sincosf
71094 do
71095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71096 echo "$as_me:$LINENO: checking for $ac_func" >&5
71097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71098 if eval "test \"\${$as_ac_var+set}\" = set"; then
71099   echo $ECHO_N "(cached) $ECHO_C" >&6
71100 else
71101   if test x$gcc_no_link = xyes; then
71102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71104    { (exit 1); exit 1; }; }
71105 fi
71106 cat >conftest.$ac_ext <<_ACEOF
71107 /* confdefs.h.  */
71108 _ACEOF
71109 cat confdefs.h >>conftest.$ac_ext
71110 cat >>conftest.$ac_ext <<_ACEOF
71111 /* end confdefs.h.  */
71112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71114 #define $ac_func innocuous_$ac_func
71115
71116 /* System header to define __stub macros and hopefully few prototypes,
71117     which can conflict with char $ac_func (); below.
71118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71119     <limits.h> exists even on freestanding compilers.  */
71120
71121 #ifdef __STDC__
71122 # include <limits.h>
71123 #else
71124 # include <assert.h>
71125 #endif
71126
71127 #undef $ac_func
71128
71129 /* Override any gcc2 internal prototype to avoid an error.  */
71130 #ifdef __cplusplus
71131 extern "C"
71132 {
71133 #endif
71134 /* We use char because int might match the return type of a gcc2
71135    builtin and then its argument prototype would still apply.  */
71136 char $ac_func ();
71137 /* The GNU C library defines this for functions which it implements
71138     to always fail with ENOSYS.  Some functions are actually named
71139     something starting with __ and the normal name is an alias.  */
71140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71141 choke me
71142 #else
71143 char (*f) () = $ac_func;
71144 #endif
71145 #ifdef __cplusplus
71146 }
71147 #endif
71148
71149 int
71150 main ()
71151 {
71152 return f != $ac_func;
71153   ;
71154   return 0;
71155 }
71156 _ACEOF
71157 rm -f conftest.$ac_objext conftest$ac_exeext
71158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71159   (eval $ac_link) 2>conftest.er1
71160   ac_status=$?
71161   grep -v '^ *+' conftest.er1 >conftest.err
71162   rm -f conftest.er1
71163   cat conftest.err >&5
71164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71165   (exit $ac_status); } &&
71166          { ac_try='test -z "$ac_c_werror_flag"
71167                          || test ! -s conftest.err'
71168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71169   (eval $ac_try) 2>&5
71170   ac_status=$?
71171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172   (exit $ac_status); }; } &&
71173          { ac_try='test -s conftest$ac_exeext'
71174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71175   (eval $ac_try) 2>&5
71176   ac_status=$?
71177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178   (exit $ac_status); }; }; then
71179   eval "$as_ac_var=yes"
71180 else
71181   echo "$as_me: failed program was:" >&5
71182 sed 's/^/| /' conftest.$ac_ext >&5
71183
71184 eval "$as_ac_var=no"
71185 fi
71186 rm -f conftest.err conftest.$ac_objext \
71187       conftest$ac_exeext conftest.$ac_ext
71188 fi
71189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71191 if test `eval echo '${'$as_ac_var'}'` = yes; then
71192   cat >>confdefs.h <<_ACEOF
71193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71194 _ACEOF
71195
71196 fi
71197 done
71198
71199   else
71200
71201   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
71202 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
71203   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
71204     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
71205   echo $ECHO_N "(cached) $ECHO_C" >&6
71206 else
71207
71208
71209
71210       ac_ext=cc
71211 ac_cpp='$CXXCPP $CPPFLAGS'
71212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71215
71216       cat >conftest.$ac_ext <<_ACEOF
71217 /* confdefs.h.  */
71218 _ACEOF
71219 cat confdefs.h >>conftest.$ac_ext
71220 cat >>conftest.$ac_ext <<_ACEOF
71221 /* end confdefs.h.  */
71222 #include <math.h>
71223 int
71224 main ()
71225 {
71226  _sincosf(0, 0, 0);
71227   ;
71228   return 0;
71229 }
71230 _ACEOF
71231 rm -f conftest.$ac_objext
71232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71233   (eval $ac_compile) 2>conftest.er1
71234   ac_status=$?
71235   grep -v '^ *+' conftest.er1 >conftest.err
71236   rm -f conftest.er1
71237   cat conftest.err >&5
71238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71239   (exit $ac_status); } &&
71240          { ac_try='test -z "$ac_cxx_werror_flag"
71241                          || test ! -s conftest.err'
71242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71243   (eval $ac_try) 2>&5
71244   ac_status=$?
71245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71246   (exit $ac_status); }; } &&
71247          { ac_try='test -s conftest.$ac_objext'
71248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71249   (eval $ac_try) 2>&5
71250   ac_status=$?
71251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71252   (exit $ac_status); }; }; then
71253   glibcxx_cv_func__sincosf_use=yes
71254 else
71255   echo "$as_me: failed program was:" >&5
71256 sed 's/^/| /' conftest.$ac_ext >&5
71257
71258 glibcxx_cv_func__sincosf_use=no
71259 fi
71260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71261       ac_ext=c
71262 ac_cpp='$CPP $CPPFLAGS'
71263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71266
71267
71268 fi
71269
71270   fi
71271   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
71272 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
71273
71274     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
71275
71276 for ac_func in _sincosf
71277 do
71278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71279 echo "$as_me:$LINENO: checking for $ac_func" >&5
71280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71281 if eval "test \"\${$as_ac_var+set}\" = set"; then
71282   echo $ECHO_N "(cached) $ECHO_C" >&6
71283 else
71284   if test x$gcc_no_link = xyes; then
71285   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71287    { (exit 1); exit 1; }; }
71288 fi
71289 cat >conftest.$ac_ext <<_ACEOF
71290 /* confdefs.h.  */
71291 _ACEOF
71292 cat confdefs.h >>conftest.$ac_ext
71293 cat >>conftest.$ac_ext <<_ACEOF
71294 /* end confdefs.h.  */
71295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71296    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71297 #define $ac_func innocuous_$ac_func
71298
71299 /* System header to define __stub macros and hopefully few prototypes,
71300     which can conflict with char $ac_func (); below.
71301     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71302     <limits.h> exists even on freestanding compilers.  */
71303
71304 #ifdef __STDC__
71305 # include <limits.h>
71306 #else
71307 # include <assert.h>
71308 #endif
71309
71310 #undef $ac_func
71311
71312 /* Override any gcc2 internal prototype to avoid an error.  */
71313 #ifdef __cplusplus
71314 extern "C"
71315 {
71316 #endif
71317 /* We use char because int might match the return type of a gcc2
71318    builtin and then its argument prototype would still apply.  */
71319 char $ac_func ();
71320 /* The GNU C library defines this for functions which it implements
71321     to always fail with ENOSYS.  Some functions are actually named
71322     something starting with __ and the normal name is an alias.  */
71323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71324 choke me
71325 #else
71326 char (*f) () = $ac_func;
71327 #endif
71328 #ifdef __cplusplus
71329 }
71330 #endif
71331
71332 int
71333 main ()
71334 {
71335 return f != $ac_func;
71336   ;
71337   return 0;
71338 }
71339 _ACEOF
71340 rm -f conftest.$ac_objext conftest$ac_exeext
71341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71342   (eval $ac_link) 2>conftest.er1
71343   ac_status=$?
71344   grep -v '^ *+' conftest.er1 >conftest.err
71345   rm -f conftest.er1
71346   cat conftest.err >&5
71347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71348   (exit $ac_status); } &&
71349          { ac_try='test -z "$ac_c_werror_flag"
71350                          || test ! -s conftest.err'
71351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71352   (eval $ac_try) 2>&5
71353   ac_status=$?
71354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71355   (exit $ac_status); }; } &&
71356          { ac_try='test -s conftest$ac_exeext'
71357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71358   (eval $ac_try) 2>&5
71359   ac_status=$?
71360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71361   (exit $ac_status); }; }; then
71362   eval "$as_ac_var=yes"
71363 else
71364   echo "$as_me: failed program was:" >&5
71365 sed 's/^/| /' conftest.$ac_ext >&5
71366
71367 eval "$as_ac_var=no"
71368 fi
71369 rm -f conftest.err conftest.$ac_objext \
71370       conftest$ac_exeext conftest.$ac_ext
71371 fi
71372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71374 if test `eval echo '${'$as_ac_var'}'` = yes; then
71375   cat >>confdefs.h <<_ACEOF
71376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71377 _ACEOF
71378
71379 fi
71380 done
71381
71382     fi
71383   fi
71384
71385
71386
71387
71388
71389
71390   echo "$as_me:$LINENO: checking for finitef declaration" >&5
71391 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
71392   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
71393     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
71394   echo $ECHO_N "(cached) $ECHO_C" >&6
71395 else
71396
71397
71398
71399       ac_ext=cc
71400 ac_cpp='$CXXCPP $CPPFLAGS'
71401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71404
71405       cat >conftest.$ac_ext <<_ACEOF
71406 /* confdefs.h.  */
71407 _ACEOF
71408 cat confdefs.h >>conftest.$ac_ext
71409 cat >>conftest.$ac_ext <<_ACEOF
71410 /* end confdefs.h.  */
71411 #include <math.h>
71412                       #ifdef HAVE_IEEEFP_H
71413                       #include <ieeefp.h>
71414                       #endif
71415
71416 int
71417 main ()
71418 {
71419  finitef(0);
71420   ;
71421   return 0;
71422 }
71423 _ACEOF
71424 rm -f conftest.$ac_objext
71425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71426   (eval $ac_compile) 2>conftest.er1
71427   ac_status=$?
71428   grep -v '^ *+' conftest.er1 >conftest.err
71429   rm -f conftest.er1
71430   cat conftest.err >&5
71431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71432   (exit $ac_status); } &&
71433          { ac_try='test -z "$ac_cxx_werror_flag"
71434                          || test ! -s conftest.err'
71435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71436   (eval $ac_try) 2>&5
71437   ac_status=$?
71438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71439   (exit $ac_status); }; } &&
71440          { ac_try='test -s conftest.$ac_objext'
71441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71442   (eval $ac_try) 2>&5
71443   ac_status=$?
71444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71445   (exit $ac_status); }; }; then
71446   glibcxx_cv_func_finitef_use=yes
71447 else
71448   echo "$as_me: failed program was:" >&5
71449 sed 's/^/| /' conftest.$ac_ext >&5
71450
71451 glibcxx_cv_func_finitef_use=no
71452 fi
71453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71454       ac_ext=c
71455 ac_cpp='$CPP $CPPFLAGS'
71456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71459
71460
71461 fi
71462
71463   fi
71464   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
71465 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
71466
71467   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
71468
71469 for ac_func in finitef
71470 do
71471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71472 echo "$as_me:$LINENO: checking for $ac_func" >&5
71473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71474 if eval "test \"\${$as_ac_var+set}\" = set"; then
71475   echo $ECHO_N "(cached) $ECHO_C" >&6
71476 else
71477   if test x$gcc_no_link = xyes; then
71478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71480    { (exit 1); exit 1; }; }
71481 fi
71482 cat >conftest.$ac_ext <<_ACEOF
71483 /* confdefs.h.  */
71484 _ACEOF
71485 cat confdefs.h >>conftest.$ac_ext
71486 cat >>conftest.$ac_ext <<_ACEOF
71487 /* end confdefs.h.  */
71488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71490 #define $ac_func innocuous_$ac_func
71491
71492 /* System header to define __stub macros and hopefully few prototypes,
71493     which can conflict with char $ac_func (); below.
71494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71495     <limits.h> exists even on freestanding compilers.  */
71496
71497 #ifdef __STDC__
71498 # include <limits.h>
71499 #else
71500 # include <assert.h>
71501 #endif
71502
71503 #undef $ac_func
71504
71505 /* Override any gcc2 internal prototype to avoid an error.  */
71506 #ifdef __cplusplus
71507 extern "C"
71508 {
71509 #endif
71510 /* We use char because int might match the return type of a gcc2
71511    builtin and then its argument prototype would still apply.  */
71512 char $ac_func ();
71513 /* The GNU C library defines this for functions which it implements
71514     to always fail with ENOSYS.  Some functions are actually named
71515     something starting with __ and the normal name is an alias.  */
71516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71517 choke me
71518 #else
71519 char (*f) () = $ac_func;
71520 #endif
71521 #ifdef __cplusplus
71522 }
71523 #endif
71524
71525 int
71526 main ()
71527 {
71528 return f != $ac_func;
71529   ;
71530   return 0;
71531 }
71532 _ACEOF
71533 rm -f conftest.$ac_objext conftest$ac_exeext
71534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71535   (eval $ac_link) 2>conftest.er1
71536   ac_status=$?
71537   grep -v '^ *+' conftest.er1 >conftest.err
71538   rm -f conftest.er1
71539   cat conftest.err >&5
71540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71541   (exit $ac_status); } &&
71542          { ac_try='test -z "$ac_c_werror_flag"
71543                          || test ! -s conftest.err'
71544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71545   (eval $ac_try) 2>&5
71546   ac_status=$?
71547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548   (exit $ac_status); }; } &&
71549          { ac_try='test -s conftest$ac_exeext'
71550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551   (eval $ac_try) 2>&5
71552   ac_status=$?
71553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554   (exit $ac_status); }; }; then
71555   eval "$as_ac_var=yes"
71556 else
71557   echo "$as_me: failed program was:" >&5
71558 sed 's/^/| /' conftest.$ac_ext >&5
71559
71560 eval "$as_ac_var=no"
71561 fi
71562 rm -f conftest.err conftest.$ac_objext \
71563       conftest$ac_exeext conftest.$ac_ext
71564 fi
71565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71567 if test `eval echo '${'$as_ac_var'}'` = yes; then
71568   cat >>confdefs.h <<_ACEOF
71569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71570 _ACEOF
71571
71572 fi
71573 done
71574
71575   else
71576
71577   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
71578 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
71579   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
71580     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
71581   echo $ECHO_N "(cached) $ECHO_C" >&6
71582 else
71583
71584
71585
71586       ac_ext=cc
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71591
71592       cat >conftest.$ac_ext <<_ACEOF
71593 /* confdefs.h.  */
71594 _ACEOF
71595 cat confdefs.h >>conftest.$ac_ext
71596 cat >>conftest.$ac_ext <<_ACEOF
71597 /* end confdefs.h.  */
71598 #include <math.h>
71599                       #ifdef HAVE_IEEEFP_H
71600                       #include <ieeefp.h>
71601                       #endif
71602
71603 int
71604 main ()
71605 {
71606  _finitef(0);
71607   ;
71608   return 0;
71609 }
71610 _ACEOF
71611 rm -f conftest.$ac_objext
71612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71613   (eval $ac_compile) 2>conftest.er1
71614   ac_status=$?
71615   grep -v '^ *+' conftest.er1 >conftest.err
71616   rm -f conftest.er1
71617   cat conftest.err >&5
71618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619   (exit $ac_status); } &&
71620          { ac_try='test -z "$ac_cxx_werror_flag"
71621                          || test ! -s conftest.err'
71622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623   (eval $ac_try) 2>&5
71624   ac_status=$?
71625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626   (exit $ac_status); }; } &&
71627          { ac_try='test -s conftest.$ac_objext'
71628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629   (eval $ac_try) 2>&5
71630   ac_status=$?
71631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632   (exit $ac_status); }; }; then
71633   glibcxx_cv_func__finitef_use=yes
71634 else
71635   echo "$as_me: failed program was:" >&5
71636 sed 's/^/| /' conftest.$ac_ext >&5
71637
71638 glibcxx_cv_func__finitef_use=no
71639 fi
71640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71641       ac_ext=c
71642 ac_cpp='$CPP $CPPFLAGS'
71643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71646
71647
71648 fi
71649
71650   fi
71651   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
71652 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
71653
71654     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
71655
71656 for ac_func in _finitef
71657 do
71658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71659 echo "$as_me:$LINENO: checking for $ac_func" >&5
71660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71661 if eval "test \"\${$as_ac_var+set}\" = set"; then
71662   echo $ECHO_N "(cached) $ECHO_C" >&6
71663 else
71664   if test x$gcc_no_link = xyes; then
71665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71667    { (exit 1); exit 1; }; }
71668 fi
71669 cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h.  */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h.  */
71675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71677 #define $ac_func innocuous_$ac_func
71678
71679 /* System header to define __stub macros and hopefully few prototypes,
71680     which can conflict with char $ac_func (); below.
71681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71682     <limits.h> exists even on freestanding compilers.  */
71683
71684 #ifdef __STDC__
71685 # include <limits.h>
71686 #else
71687 # include <assert.h>
71688 #endif
71689
71690 #undef $ac_func
71691
71692 /* Override any gcc2 internal prototype to avoid an error.  */
71693 #ifdef __cplusplus
71694 extern "C"
71695 {
71696 #endif
71697 /* We use char because int might match the return type of a gcc2
71698    builtin and then its argument prototype would still apply.  */
71699 char $ac_func ();
71700 /* The GNU C library defines this for functions which it implements
71701     to always fail with ENOSYS.  Some functions are actually named
71702     something starting with __ and the normal name is an alias.  */
71703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71704 choke me
71705 #else
71706 char (*f) () = $ac_func;
71707 #endif
71708 #ifdef __cplusplus
71709 }
71710 #endif
71711
71712 int
71713 main ()
71714 {
71715 return f != $ac_func;
71716   ;
71717   return 0;
71718 }
71719 _ACEOF
71720 rm -f conftest.$ac_objext conftest$ac_exeext
71721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71722   (eval $ac_link) 2>conftest.er1
71723   ac_status=$?
71724   grep -v '^ *+' conftest.er1 >conftest.err
71725   rm -f conftest.er1
71726   cat conftest.err >&5
71727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71728   (exit $ac_status); } &&
71729          { ac_try='test -z "$ac_c_werror_flag"
71730                          || test ! -s conftest.err'
71731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71732   (eval $ac_try) 2>&5
71733   ac_status=$?
71734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71735   (exit $ac_status); }; } &&
71736          { ac_try='test -s conftest$ac_exeext'
71737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71738   (eval $ac_try) 2>&5
71739   ac_status=$?
71740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71741   (exit $ac_status); }; }; then
71742   eval "$as_ac_var=yes"
71743 else
71744   echo "$as_me: failed program was:" >&5
71745 sed 's/^/| /' conftest.$ac_ext >&5
71746
71747 eval "$as_ac_var=no"
71748 fi
71749 rm -f conftest.err conftest.$ac_objext \
71750       conftest$ac_exeext conftest.$ac_ext
71751 fi
71752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71754 if test `eval echo '${'$as_ac_var'}'` = yes; then
71755   cat >>confdefs.h <<_ACEOF
71756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71757 _ACEOF
71758
71759 fi
71760 done
71761
71762     fi
71763   fi
71764
71765
71766
71767
71768
71769
71770     echo "$as_me:$LINENO: checking for long double trig functions" >&5
71771 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
71772   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
71773   echo $ECHO_N "(cached) $ECHO_C" >&6
71774 else
71775
71776
71777
71778     ac_ext=cc
71779 ac_cpp='$CXXCPP $CPPFLAGS'
71780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71783
71784     cat >conftest.$ac_ext <<_ACEOF
71785 /* confdefs.h.  */
71786 _ACEOF
71787 cat confdefs.h >>conftest.$ac_ext
71788 cat >>conftest.$ac_ext <<_ACEOF
71789 /* end confdefs.h.  */
71790 #include <math.h>
71791 int
71792 main ()
71793 {
71794 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
71795   ;
71796   return 0;
71797 }
71798 _ACEOF
71799 rm -f conftest.$ac_objext
71800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71801   (eval $ac_compile) 2>conftest.er1
71802   ac_status=$?
71803   grep -v '^ *+' conftest.er1 >conftest.err
71804   rm -f conftest.er1
71805   cat conftest.err >&5
71806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71807   (exit $ac_status); } &&
71808          { ac_try='test -z "$ac_cxx_werror_flag"
71809                          || test ! -s conftest.err'
71810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71811   (eval $ac_try) 2>&5
71812   ac_status=$?
71813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71814   (exit $ac_status); }; } &&
71815          { ac_try='test -s conftest.$ac_objext'
71816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71817   (eval $ac_try) 2>&5
71818   ac_status=$?
71819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71820   (exit $ac_status); }; }; then
71821   glibcxx_cv_func_long_double_trig_use=yes
71822 else
71823   echo "$as_me: failed program was:" >&5
71824 sed 's/^/| /' conftest.$ac_ext >&5
71825
71826 glibcxx_cv_func_long_double_trig_use=no
71827 fi
71828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71829     ac_ext=c
71830 ac_cpp='$CPP $CPPFLAGS'
71831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71834
71835 fi
71836
71837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
71838 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
71839   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
71840
71841
71842
71843
71844
71845
71846
71847
71848
71849 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
71850 do
71851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71852 echo "$as_me:$LINENO: checking for $ac_func" >&5
71853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71854 if eval "test \"\${$as_ac_var+set}\" = set"; then
71855   echo $ECHO_N "(cached) $ECHO_C" >&6
71856 else
71857   if test x$gcc_no_link = xyes; then
71858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71860    { (exit 1); exit 1; }; }
71861 fi
71862 cat >conftest.$ac_ext <<_ACEOF
71863 /* confdefs.h.  */
71864 _ACEOF
71865 cat confdefs.h >>conftest.$ac_ext
71866 cat >>conftest.$ac_ext <<_ACEOF
71867 /* end confdefs.h.  */
71868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71870 #define $ac_func innocuous_$ac_func
71871
71872 /* System header to define __stub macros and hopefully few prototypes,
71873     which can conflict with char $ac_func (); below.
71874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71875     <limits.h> exists even on freestanding compilers.  */
71876
71877 #ifdef __STDC__
71878 # include <limits.h>
71879 #else
71880 # include <assert.h>
71881 #endif
71882
71883 #undef $ac_func
71884
71885 /* Override any gcc2 internal prototype to avoid an error.  */
71886 #ifdef __cplusplus
71887 extern "C"
71888 {
71889 #endif
71890 /* We use char because int might match the return type of a gcc2
71891    builtin and then its argument prototype would still apply.  */
71892 char $ac_func ();
71893 /* The GNU C library defines this for functions which it implements
71894     to always fail with ENOSYS.  Some functions are actually named
71895     something starting with __ and the normal name is an alias.  */
71896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71897 choke me
71898 #else
71899 char (*f) () = $ac_func;
71900 #endif
71901 #ifdef __cplusplus
71902 }
71903 #endif
71904
71905 int
71906 main ()
71907 {
71908 return f != $ac_func;
71909   ;
71910   return 0;
71911 }
71912 _ACEOF
71913 rm -f conftest.$ac_objext conftest$ac_exeext
71914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71915   (eval $ac_link) 2>conftest.er1
71916   ac_status=$?
71917   grep -v '^ *+' conftest.er1 >conftest.err
71918   rm -f conftest.er1
71919   cat conftest.err >&5
71920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71921   (exit $ac_status); } &&
71922          { ac_try='test -z "$ac_c_werror_flag"
71923                          || test ! -s conftest.err'
71924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71925   (eval $ac_try) 2>&5
71926   ac_status=$?
71927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71928   (exit $ac_status); }; } &&
71929          { ac_try='test -s conftest$ac_exeext'
71930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71931   (eval $ac_try) 2>&5
71932   ac_status=$?
71933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71934   (exit $ac_status); }; }; then
71935   eval "$as_ac_var=yes"
71936 else
71937   echo "$as_me: failed program was:" >&5
71938 sed 's/^/| /' conftest.$ac_ext >&5
71939
71940 eval "$as_ac_var=no"
71941 fi
71942 rm -f conftest.err conftest.$ac_objext \
71943       conftest$ac_exeext conftest.$ac_ext
71944 fi
71945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71947 if test `eval echo '${'$as_ac_var'}'` = yes; then
71948   cat >>confdefs.h <<_ACEOF
71949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71950 _ACEOF
71951
71952 fi
71953 done
71954
71955   else
71956     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71957 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
71958     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71959   echo $ECHO_N "(cached) $ECHO_C" >&6
71960 else
71961
71962
71963
71964       ac_ext=cc
71965 ac_cpp='$CXXCPP $CPPFLAGS'
71966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71969
71970       cat >conftest.$ac_ext <<_ACEOF
71971 /* confdefs.h.  */
71972 _ACEOF
71973 cat confdefs.h >>conftest.$ac_ext
71974 cat >>conftest.$ac_ext <<_ACEOF
71975 /* end confdefs.h.  */
71976 #include <math.h>
71977 int
71978 main ()
71979 {
71980 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
71981   ;
71982   return 0;
71983 }
71984 _ACEOF
71985 rm -f conftest.$ac_objext
71986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71987   (eval $ac_compile) 2>conftest.er1
71988   ac_status=$?
71989   grep -v '^ *+' conftest.er1 >conftest.err
71990   rm -f conftest.er1
71991   cat conftest.err >&5
71992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993   (exit $ac_status); } &&
71994          { ac_try='test -z "$ac_cxx_werror_flag"
71995                          || test ! -s conftest.err'
71996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71997   (eval $ac_try) 2>&5
71998   ac_status=$?
71999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000   (exit $ac_status); }; } &&
72001          { ac_try='test -s conftest.$ac_objext'
72002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003   (eval $ac_try) 2>&5
72004   ac_status=$?
72005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006   (exit $ac_status); }; }; then
72007   glibcxx_cv_func__long_double_trig_use=yes
72008 else
72009   echo "$as_me: failed program was:" >&5
72010 sed 's/^/| /' conftest.$ac_ext >&5
72011
72012 glibcxx_cv_func__long_double_trig_use=no
72013 fi
72014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72015       ac_ext=c
72016 ac_cpp='$CPP $CPPFLAGS'
72017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72020
72021 fi
72022
72023     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
72024 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
72025     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
72026
72027
72028
72029
72030
72031
72032
72033
72034
72035 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
72036 do
72037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72038 echo "$as_me:$LINENO: checking for $ac_func" >&5
72039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72040 if eval "test \"\${$as_ac_var+set}\" = set"; then
72041   echo $ECHO_N "(cached) $ECHO_C" >&6
72042 else
72043   if test x$gcc_no_link = xyes; then
72044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72046    { (exit 1); exit 1; }; }
72047 fi
72048 cat >conftest.$ac_ext <<_ACEOF
72049 /* confdefs.h.  */
72050 _ACEOF
72051 cat confdefs.h >>conftest.$ac_ext
72052 cat >>conftest.$ac_ext <<_ACEOF
72053 /* end confdefs.h.  */
72054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72056 #define $ac_func innocuous_$ac_func
72057
72058 /* System header to define __stub macros and hopefully few prototypes,
72059     which can conflict with char $ac_func (); below.
72060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72061     <limits.h> exists even on freestanding compilers.  */
72062
72063 #ifdef __STDC__
72064 # include <limits.h>
72065 #else
72066 # include <assert.h>
72067 #endif
72068
72069 #undef $ac_func
72070
72071 /* Override any gcc2 internal prototype to avoid an error.  */
72072 #ifdef __cplusplus
72073 extern "C"
72074 {
72075 #endif
72076 /* We use char because int might match the return type of a gcc2
72077    builtin and then its argument prototype would still apply.  */
72078 char $ac_func ();
72079 /* The GNU C library defines this for functions which it implements
72080     to always fail with ENOSYS.  Some functions are actually named
72081     something starting with __ and the normal name is an alias.  */
72082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72083 choke me
72084 #else
72085 char (*f) () = $ac_func;
72086 #endif
72087 #ifdef __cplusplus
72088 }
72089 #endif
72090
72091 int
72092 main ()
72093 {
72094 return f != $ac_func;
72095   ;
72096   return 0;
72097 }
72098 _ACEOF
72099 rm -f conftest.$ac_objext conftest$ac_exeext
72100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72101   (eval $ac_link) 2>conftest.er1
72102   ac_status=$?
72103   grep -v '^ *+' conftest.er1 >conftest.err
72104   rm -f conftest.er1
72105   cat conftest.err >&5
72106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72107   (exit $ac_status); } &&
72108          { ac_try='test -z "$ac_c_werror_flag"
72109                          || test ! -s conftest.err'
72110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72111   (eval $ac_try) 2>&5
72112   ac_status=$?
72113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72114   (exit $ac_status); }; } &&
72115          { ac_try='test -s conftest$ac_exeext'
72116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72117   (eval $ac_try) 2>&5
72118   ac_status=$?
72119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72120   (exit $ac_status); }; }; then
72121   eval "$as_ac_var=yes"
72122 else
72123   echo "$as_me: failed program was:" >&5
72124 sed 's/^/| /' conftest.$ac_ext >&5
72125
72126 eval "$as_ac_var=no"
72127 fi
72128 rm -f conftest.err conftest.$ac_objext \
72129       conftest$ac_exeext conftest.$ac_ext
72130 fi
72131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72133 if test `eval echo '${'$as_ac_var'}'` = yes; then
72134   cat >>confdefs.h <<_ACEOF
72135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72136 _ACEOF
72137
72138 fi
72139 done
72140
72141     fi
72142   fi
72143
72144
72145
72146
72147
72148
72149
72150
72151
72152
72153
72154
72155
72156
72157     echo "$as_me:$LINENO: checking for long double round functions" >&5
72158 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
72159   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
72160   echo $ECHO_N "(cached) $ECHO_C" >&6
72161 else
72162
72163
72164
72165     ac_ext=cc
72166 ac_cpp='$CXXCPP $CPPFLAGS'
72167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72170
72171     cat >conftest.$ac_ext <<_ACEOF
72172 /* confdefs.h.  */
72173 _ACEOF
72174 cat confdefs.h >>conftest.$ac_ext
72175 cat >>conftest.$ac_ext <<_ACEOF
72176 /* end confdefs.h.  */
72177 #include <math.h>
72178 int
72179 main ()
72180 {
72181 ceill (0); floorl (0);
72182   ;
72183   return 0;
72184 }
72185 _ACEOF
72186 rm -f conftest.$ac_objext
72187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72188   (eval $ac_compile) 2>conftest.er1
72189   ac_status=$?
72190   grep -v '^ *+' conftest.er1 >conftest.err
72191   rm -f conftest.er1
72192   cat conftest.err >&5
72193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194   (exit $ac_status); } &&
72195          { ac_try='test -z "$ac_cxx_werror_flag"
72196                          || test ! -s conftest.err'
72197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72198   (eval $ac_try) 2>&5
72199   ac_status=$?
72200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201   (exit $ac_status); }; } &&
72202          { ac_try='test -s conftest.$ac_objext'
72203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72204   (eval $ac_try) 2>&5
72205   ac_status=$?
72206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72207   (exit $ac_status); }; }; then
72208   glibcxx_cv_func_long_double_round_use=yes
72209 else
72210   echo "$as_me: failed program was:" >&5
72211 sed 's/^/| /' conftest.$ac_ext >&5
72212
72213 glibcxx_cv_func_long_double_round_use=no
72214 fi
72215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72216     ac_ext=c
72217 ac_cpp='$CPP $CPPFLAGS'
72218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72221
72222 fi
72223
72224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
72225 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
72226   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
72227
72228
72229 for ac_func in ceill floorl
72230 do
72231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72232 echo "$as_me:$LINENO: checking for $ac_func" >&5
72233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72234 if eval "test \"\${$as_ac_var+set}\" = set"; then
72235   echo $ECHO_N "(cached) $ECHO_C" >&6
72236 else
72237   if test x$gcc_no_link = xyes; then
72238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72240    { (exit 1); exit 1; }; }
72241 fi
72242 cat >conftest.$ac_ext <<_ACEOF
72243 /* confdefs.h.  */
72244 _ACEOF
72245 cat confdefs.h >>conftest.$ac_ext
72246 cat >>conftest.$ac_ext <<_ACEOF
72247 /* end confdefs.h.  */
72248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72250 #define $ac_func innocuous_$ac_func
72251
72252 /* System header to define __stub macros and hopefully few prototypes,
72253     which can conflict with char $ac_func (); below.
72254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72255     <limits.h> exists even on freestanding compilers.  */
72256
72257 #ifdef __STDC__
72258 # include <limits.h>
72259 #else
72260 # include <assert.h>
72261 #endif
72262
72263 #undef $ac_func
72264
72265 /* Override any gcc2 internal prototype to avoid an error.  */
72266 #ifdef __cplusplus
72267 extern "C"
72268 {
72269 #endif
72270 /* We use char because int might match the return type of a gcc2
72271    builtin and then its argument prototype would still apply.  */
72272 char $ac_func ();
72273 /* The GNU C library defines this for functions which it implements
72274     to always fail with ENOSYS.  Some functions are actually named
72275     something starting with __ and the normal name is an alias.  */
72276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72277 choke me
72278 #else
72279 char (*f) () = $ac_func;
72280 #endif
72281 #ifdef __cplusplus
72282 }
72283 #endif
72284
72285 int
72286 main ()
72287 {
72288 return f != $ac_func;
72289   ;
72290   return 0;
72291 }
72292 _ACEOF
72293 rm -f conftest.$ac_objext conftest$ac_exeext
72294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72295   (eval $ac_link) 2>conftest.er1
72296   ac_status=$?
72297   grep -v '^ *+' conftest.er1 >conftest.err
72298   rm -f conftest.er1
72299   cat conftest.err >&5
72300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72301   (exit $ac_status); } &&
72302          { ac_try='test -z "$ac_c_werror_flag"
72303                          || test ! -s conftest.err'
72304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72305   (eval $ac_try) 2>&5
72306   ac_status=$?
72307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72308   (exit $ac_status); }; } &&
72309          { ac_try='test -s conftest$ac_exeext'
72310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72311   (eval $ac_try) 2>&5
72312   ac_status=$?
72313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72314   (exit $ac_status); }; }; then
72315   eval "$as_ac_var=yes"
72316 else
72317   echo "$as_me: failed program was:" >&5
72318 sed 's/^/| /' conftest.$ac_ext >&5
72319
72320 eval "$as_ac_var=no"
72321 fi
72322 rm -f conftest.err conftest.$ac_objext \
72323       conftest$ac_exeext conftest.$ac_ext
72324 fi
72325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72327 if test `eval echo '${'$as_ac_var'}'` = yes; then
72328   cat >>confdefs.h <<_ACEOF
72329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72330 _ACEOF
72331
72332 fi
72333 done
72334
72335   else
72336     echo "$as_me:$LINENO: checking for _long double round functions" >&5
72337 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72338     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72339   echo $ECHO_N "(cached) $ECHO_C" >&6
72340 else
72341
72342
72343
72344       ac_ext=cc
72345 ac_cpp='$CXXCPP $CPPFLAGS'
72346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72349
72350       cat >conftest.$ac_ext <<_ACEOF
72351 /* confdefs.h.  */
72352 _ACEOF
72353 cat confdefs.h >>conftest.$ac_ext
72354 cat >>conftest.$ac_ext <<_ACEOF
72355 /* end confdefs.h.  */
72356 #include <math.h>
72357 int
72358 main ()
72359 {
72360 _ceill (0); _floorl (0);
72361   ;
72362   return 0;
72363 }
72364 _ACEOF
72365 rm -f conftest.$ac_objext
72366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72367   (eval $ac_compile) 2>conftest.er1
72368   ac_status=$?
72369   grep -v '^ *+' conftest.er1 >conftest.err
72370   rm -f conftest.er1
72371   cat conftest.err >&5
72372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373   (exit $ac_status); } &&
72374          { ac_try='test -z "$ac_cxx_werror_flag"
72375                          || test ! -s conftest.err'
72376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377   (eval $ac_try) 2>&5
72378   ac_status=$?
72379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380   (exit $ac_status); }; } &&
72381          { ac_try='test -s conftest.$ac_objext'
72382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72383   (eval $ac_try) 2>&5
72384   ac_status=$?
72385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386   (exit $ac_status); }; }; then
72387   glibcxx_cv_func__long_double_round_use=yes
72388 else
72389   echo "$as_me: failed program was:" >&5
72390 sed 's/^/| /' conftest.$ac_ext >&5
72391
72392 glibcxx_cv_func__long_double_round_use=no
72393 fi
72394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72395       ac_ext=c
72396 ac_cpp='$CPP $CPPFLAGS'
72397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72400
72401 fi
72402
72403     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72404 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72405     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72406
72407
72408 for ac_func in _ceill _floorl
72409 do
72410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72411 echo "$as_me:$LINENO: checking for $ac_func" >&5
72412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72413 if eval "test \"\${$as_ac_var+set}\" = set"; then
72414   echo $ECHO_N "(cached) $ECHO_C" >&6
72415 else
72416   if test x$gcc_no_link = xyes; then
72417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72419    { (exit 1); exit 1; }; }
72420 fi
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h.  */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h.  */
72427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72429 #define $ac_func innocuous_$ac_func
72430
72431 /* System header to define __stub macros and hopefully few prototypes,
72432     which can conflict with char $ac_func (); below.
72433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72434     <limits.h> exists even on freestanding compilers.  */
72435
72436 #ifdef __STDC__
72437 # include <limits.h>
72438 #else
72439 # include <assert.h>
72440 #endif
72441
72442 #undef $ac_func
72443
72444 /* Override any gcc2 internal prototype to avoid an error.  */
72445 #ifdef __cplusplus
72446 extern "C"
72447 {
72448 #endif
72449 /* We use char because int might match the return type of a gcc2
72450    builtin and then its argument prototype would still apply.  */
72451 char $ac_func ();
72452 /* The GNU C library defines this for functions which it implements
72453     to always fail with ENOSYS.  Some functions are actually named
72454     something starting with __ and the normal name is an alias.  */
72455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72456 choke me
72457 #else
72458 char (*f) () = $ac_func;
72459 #endif
72460 #ifdef __cplusplus
72461 }
72462 #endif
72463
72464 int
72465 main ()
72466 {
72467 return f != $ac_func;
72468   ;
72469   return 0;
72470 }
72471 _ACEOF
72472 rm -f conftest.$ac_objext conftest$ac_exeext
72473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72474   (eval $ac_link) 2>conftest.er1
72475   ac_status=$?
72476   grep -v '^ *+' conftest.er1 >conftest.err
72477   rm -f conftest.er1
72478   cat conftest.err >&5
72479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72480   (exit $ac_status); } &&
72481          { ac_try='test -z "$ac_c_werror_flag"
72482                          || test ! -s conftest.err'
72483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72484   (eval $ac_try) 2>&5
72485   ac_status=$?
72486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72487   (exit $ac_status); }; } &&
72488          { ac_try='test -s conftest$ac_exeext'
72489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490   (eval $ac_try) 2>&5
72491   ac_status=$?
72492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493   (exit $ac_status); }; }; then
72494   eval "$as_ac_var=yes"
72495 else
72496   echo "$as_me: failed program was:" >&5
72497 sed 's/^/| /' conftest.$ac_ext >&5
72498
72499 eval "$as_ac_var=no"
72500 fi
72501 rm -f conftest.err conftest.$ac_objext \
72502       conftest$ac_exeext conftest.$ac_ext
72503 fi
72504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72506 if test `eval echo '${'$as_ac_var'}'` = yes; then
72507   cat >>confdefs.h <<_ACEOF
72508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72509 _ACEOF
72510
72511 fi
72512 done
72513
72514     fi
72515   fi
72516
72517
72518
72519
72520
72521
72522
72523
72524   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
72525 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
72526   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
72527     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
72528   echo $ECHO_N "(cached) $ECHO_C" >&6
72529 else
72530
72531
72532
72533       ac_ext=cc
72534 ac_cpp='$CXXCPP $CPPFLAGS'
72535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72538
72539       cat >conftest.$ac_ext <<_ACEOF
72540 /* confdefs.h.  */
72541 _ACEOF
72542 cat confdefs.h >>conftest.$ac_ext
72543 cat >>conftest.$ac_ext <<_ACEOF
72544 /* end confdefs.h.  */
72545 #include <math.h>
72546                       #ifdef HAVE_IEEEFP_H
72547                       #include <ieeefp.h>
72548                       #endif
72549
72550 int
72551 main ()
72552 {
72553  isnanl(0);
72554   ;
72555   return 0;
72556 }
72557 _ACEOF
72558 rm -f conftest.$ac_objext
72559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72560   (eval $ac_compile) 2>conftest.er1
72561   ac_status=$?
72562   grep -v '^ *+' conftest.er1 >conftest.err
72563   rm -f conftest.er1
72564   cat conftest.err >&5
72565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72566   (exit $ac_status); } &&
72567          { ac_try='test -z "$ac_cxx_werror_flag"
72568                          || test ! -s conftest.err'
72569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72570   (eval $ac_try) 2>&5
72571   ac_status=$?
72572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573   (exit $ac_status); }; } &&
72574          { ac_try='test -s conftest.$ac_objext'
72575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72576   (eval $ac_try) 2>&5
72577   ac_status=$?
72578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72579   (exit $ac_status); }; }; then
72580   glibcxx_cv_func_isnanl_use=yes
72581 else
72582   echo "$as_me: failed program was:" >&5
72583 sed 's/^/| /' conftest.$ac_ext >&5
72584
72585 glibcxx_cv_func_isnanl_use=no
72586 fi
72587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72588       ac_ext=c
72589 ac_cpp='$CPP $CPPFLAGS'
72590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72593
72594
72595 fi
72596
72597   fi
72598   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
72599 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
72600
72601   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
72602
72603 for ac_func in isnanl
72604 do
72605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72606 echo "$as_me:$LINENO: checking for $ac_func" >&5
72607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72608 if eval "test \"\${$as_ac_var+set}\" = set"; then
72609   echo $ECHO_N "(cached) $ECHO_C" >&6
72610 else
72611   if test x$gcc_no_link = xyes; then
72612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72614    { (exit 1); exit 1; }; }
72615 fi
72616 cat >conftest.$ac_ext <<_ACEOF
72617 /* confdefs.h.  */
72618 _ACEOF
72619 cat confdefs.h >>conftest.$ac_ext
72620 cat >>conftest.$ac_ext <<_ACEOF
72621 /* end confdefs.h.  */
72622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72623    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72624 #define $ac_func innocuous_$ac_func
72625
72626 /* System header to define __stub macros and hopefully few prototypes,
72627     which can conflict with char $ac_func (); below.
72628     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72629     <limits.h> exists even on freestanding compilers.  */
72630
72631 #ifdef __STDC__
72632 # include <limits.h>
72633 #else
72634 # include <assert.h>
72635 #endif
72636
72637 #undef $ac_func
72638
72639 /* Override any gcc2 internal prototype to avoid an error.  */
72640 #ifdef __cplusplus
72641 extern "C"
72642 {
72643 #endif
72644 /* We use char because int might match the return type of a gcc2
72645    builtin and then its argument prototype would still apply.  */
72646 char $ac_func ();
72647 /* The GNU C library defines this for functions which it implements
72648     to always fail with ENOSYS.  Some functions are actually named
72649     something starting with __ and the normal name is an alias.  */
72650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72651 choke me
72652 #else
72653 char (*f) () = $ac_func;
72654 #endif
72655 #ifdef __cplusplus
72656 }
72657 #endif
72658
72659 int
72660 main ()
72661 {
72662 return f != $ac_func;
72663   ;
72664   return 0;
72665 }
72666 _ACEOF
72667 rm -f conftest.$ac_objext conftest$ac_exeext
72668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72669   (eval $ac_link) 2>conftest.er1
72670   ac_status=$?
72671   grep -v '^ *+' conftest.er1 >conftest.err
72672   rm -f conftest.er1
72673   cat conftest.err >&5
72674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72675   (exit $ac_status); } &&
72676          { ac_try='test -z "$ac_c_werror_flag"
72677                          || test ! -s conftest.err'
72678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72679   (eval $ac_try) 2>&5
72680   ac_status=$?
72681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72682   (exit $ac_status); }; } &&
72683          { ac_try='test -s conftest$ac_exeext'
72684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72685   (eval $ac_try) 2>&5
72686   ac_status=$?
72687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72688   (exit $ac_status); }; }; then
72689   eval "$as_ac_var=yes"
72690 else
72691   echo "$as_me: failed program was:" >&5
72692 sed 's/^/| /' conftest.$ac_ext >&5
72693
72694 eval "$as_ac_var=no"
72695 fi
72696 rm -f conftest.err conftest.$ac_objext \
72697       conftest$ac_exeext conftest.$ac_ext
72698 fi
72699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72701 if test `eval echo '${'$as_ac_var'}'` = yes; then
72702   cat >>confdefs.h <<_ACEOF
72703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72704 _ACEOF
72705
72706 fi
72707 done
72708
72709   else
72710
72711   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
72712 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
72713   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
72714     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
72715   echo $ECHO_N "(cached) $ECHO_C" >&6
72716 else
72717
72718
72719
72720       ac_ext=cc
72721 ac_cpp='$CXXCPP $CPPFLAGS'
72722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72725
72726       cat >conftest.$ac_ext <<_ACEOF
72727 /* confdefs.h.  */
72728 _ACEOF
72729 cat confdefs.h >>conftest.$ac_ext
72730 cat >>conftest.$ac_ext <<_ACEOF
72731 /* end confdefs.h.  */
72732 #include <math.h>
72733                       #ifdef HAVE_IEEEFP_H
72734                       #include <ieeefp.h>
72735                       #endif
72736
72737 int
72738 main ()
72739 {
72740  _isnanl(0);
72741   ;
72742   return 0;
72743 }
72744 _ACEOF
72745 rm -f conftest.$ac_objext
72746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72747   (eval $ac_compile) 2>conftest.er1
72748   ac_status=$?
72749   grep -v '^ *+' conftest.er1 >conftest.err
72750   rm -f conftest.er1
72751   cat conftest.err >&5
72752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72753   (exit $ac_status); } &&
72754          { ac_try='test -z "$ac_cxx_werror_flag"
72755                          || test ! -s conftest.err'
72756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72757   (eval $ac_try) 2>&5
72758   ac_status=$?
72759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72760   (exit $ac_status); }; } &&
72761          { ac_try='test -s conftest.$ac_objext'
72762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72763   (eval $ac_try) 2>&5
72764   ac_status=$?
72765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72766   (exit $ac_status); }; }; then
72767   glibcxx_cv_func__isnanl_use=yes
72768 else
72769   echo "$as_me: failed program was:" >&5
72770 sed 's/^/| /' conftest.$ac_ext >&5
72771
72772 glibcxx_cv_func__isnanl_use=no
72773 fi
72774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72775       ac_ext=c
72776 ac_cpp='$CPP $CPPFLAGS'
72777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72780
72781
72782 fi
72783
72784   fi
72785   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
72786 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
72787
72788     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
72789
72790 for ac_func in _isnanl
72791 do
72792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72793 echo "$as_me:$LINENO: checking for $ac_func" >&5
72794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72795 if eval "test \"\${$as_ac_var+set}\" = set"; then
72796   echo $ECHO_N "(cached) $ECHO_C" >&6
72797 else
72798   if test x$gcc_no_link = xyes; then
72799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72801    { (exit 1); exit 1; }; }
72802 fi
72803 cat >conftest.$ac_ext <<_ACEOF
72804 /* confdefs.h.  */
72805 _ACEOF
72806 cat confdefs.h >>conftest.$ac_ext
72807 cat >>conftest.$ac_ext <<_ACEOF
72808 /* end confdefs.h.  */
72809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72810    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72811 #define $ac_func innocuous_$ac_func
72812
72813 /* System header to define __stub macros and hopefully few prototypes,
72814     which can conflict with char $ac_func (); below.
72815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72816     <limits.h> exists even on freestanding compilers.  */
72817
72818 #ifdef __STDC__
72819 # include <limits.h>
72820 #else
72821 # include <assert.h>
72822 #endif
72823
72824 #undef $ac_func
72825
72826 /* Override any gcc2 internal prototype to avoid an error.  */
72827 #ifdef __cplusplus
72828 extern "C"
72829 {
72830 #endif
72831 /* We use char because int might match the return type of a gcc2
72832    builtin and then its argument prototype would still apply.  */
72833 char $ac_func ();
72834 /* The GNU C library defines this for functions which it implements
72835     to always fail with ENOSYS.  Some functions are actually named
72836     something starting with __ and the normal name is an alias.  */
72837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72838 choke me
72839 #else
72840 char (*f) () = $ac_func;
72841 #endif
72842 #ifdef __cplusplus
72843 }
72844 #endif
72845
72846 int
72847 main ()
72848 {
72849 return f != $ac_func;
72850   ;
72851   return 0;
72852 }
72853 _ACEOF
72854 rm -f conftest.$ac_objext conftest$ac_exeext
72855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72856   (eval $ac_link) 2>conftest.er1
72857   ac_status=$?
72858   grep -v '^ *+' conftest.er1 >conftest.err
72859   rm -f conftest.er1
72860   cat conftest.err >&5
72861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72862   (exit $ac_status); } &&
72863          { ac_try='test -z "$ac_c_werror_flag"
72864                          || test ! -s conftest.err'
72865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72866   (eval $ac_try) 2>&5
72867   ac_status=$?
72868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72869   (exit $ac_status); }; } &&
72870          { ac_try='test -s conftest$ac_exeext'
72871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72872   (eval $ac_try) 2>&5
72873   ac_status=$?
72874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72875   (exit $ac_status); }; }; then
72876   eval "$as_ac_var=yes"
72877 else
72878   echo "$as_me: failed program was:" >&5
72879 sed 's/^/| /' conftest.$ac_ext >&5
72880
72881 eval "$as_ac_var=no"
72882 fi
72883 rm -f conftest.err conftest.$ac_objext \
72884       conftest$ac_exeext conftest.$ac_ext
72885 fi
72886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72888 if test `eval echo '${'$as_ac_var'}'` = yes; then
72889   cat >>confdefs.h <<_ACEOF
72890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72891 _ACEOF
72892
72893 fi
72894 done
72895
72896     fi
72897   fi
72898
72899
72900
72901
72902
72903
72904   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
72905 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
72906   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
72907     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
72908   echo $ECHO_N "(cached) $ECHO_C" >&6
72909 else
72910
72911
72912
72913       ac_ext=cc
72914 ac_cpp='$CXXCPP $CPPFLAGS'
72915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72918
72919       cat >conftest.$ac_ext <<_ACEOF
72920 /* confdefs.h.  */
72921 _ACEOF
72922 cat confdefs.h >>conftest.$ac_ext
72923 cat >>conftest.$ac_ext <<_ACEOF
72924 /* end confdefs.h.  */
72925 #include <math.h>
72926                       #ifdef HAVE_IEEEFP_H
72927                       #include <ieeefp.h>
72928                       #endif
72929
72930 int
72931 main ()
72932 {
72933  isinfl(0);
72934   ;
72935   return 0;
72936 }
72937 _ACEOF
72938 rm -f conftest.$ac_objext
72939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72940   (eval $ac_compile) 2>conftest.er1
72941   ac_status=$?
72942   grep -v '^ *+' conftest.er1 >conftest.err
72943   rm -f conftest.er1
72944   cat conftest.err >&5
72945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72946   (exit $ac_status); } &&
72947          { ac_try='test -z "$ac_cxx_werror_flag"
72948                          || test ! -s conftest.err'
72949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72950   (eval $ac_try) 2>&5
72951   ac_status=$?
72952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72953   (exit $ac_status); }; } &&
72954          { ac_try='test -s conftest.$ac_objext'
72955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72956   (eval $ac_try) 2>&5
72957   ac_status=$?
72958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72959   (exit $ac_status); }; }; then
72960   glibcxx_cv_func_isinfl_use=yes
72961 else
72962   echo "$as_me: failed program was:" >&5
72963 sed 's/^/| /' conftest.$ac_ext >&5
72964
72965 glibcxx_cv_func_isinfl_use=no
72966 fi
72967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72968       ac_ext=c
72969 ac_cpp='$CPP $CPPFLAGS'
72970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72973
72974
72975 fi
72976
72977   fi
72978   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
72979 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
72980
72981   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
72982
72983 for ac_func in isinfl
72984 do
72985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72986 echo "$as_me:$LINENO: checking for $ac_func" >&5
72987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72988 if eval "test \"\${$as_ac_var+set}\" = set"; then
72989   echo $ECHO_N "(cached) $ECHO_C" >&6
72990 else
72991   if test x$gcc_no_link = xyes; then
72992   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72994    { (exit 1); exit 1; }; }
72995 fi
72996 cat >conftest.$ac_ext <<_ACEOF
72997 /* confdefs.h.  */
72998 _ACEOF
72999 cat confdefs.h >>conftest.$ac_ext
73000 cat >>conftest.$ac_ext <<_ACEOF
73001 /* end confdefs.h.  */
73002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73004 #define $ac_func innocuous_$ac_func
73005
73006 /* System header to define __stub macros and hopefully few prototypes,
73007     which can conflict with char $ac_func (); below.
73008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73009     <limits.h> exists even on freestanding compilers.  */
73010
73011 #ifdef __STDC__
73012 # include <limits.h>
73013 #else
73014 # include <assert.h>
73015 #endif
73016
73017 #undef $ac_func
73018
73019 /* Override any gcc2 internal prototype to avoid an error.  */
73020 #ifdef __cplusplus
73021 extern "C"
73022 {
73023 #endif
73024 /* We use char because int might match the return type of a gcc2
73025    builtin and then its argument prototype would still apply.  */
73026 char $ac_func ();
73027 /* The GNU C library defines this for functions which it implements
73028     to always fail with ENOSYS.  Some functions are actually named
73029     something starting with __ and the normal name is an alias.  */
73030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73031 choke me
73032 #else
73033 char (*f) () = $ac_func;
73034 #endif
73035 #ifdef __cplusplus
73036 }
73037 #endif
73038
73039 int
73040 main ()
73041 {
73042 return f != $ac_func;
73043   ;
73044   return 0;
73045 }
73046 _ACEOF
73047 rm -f conftest.$ac_objext conftest$ac_exeext
73048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73049   (eval $ac_link) 2>conftest.er1
73050   ac_status=$?
73051   grep -v '^ *+' conftest.er1 >conftest.err
73052   rm -f conftest.er1
73053   cat conftest.err >&5
73054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055   (exit $ac_status); } &&
73056          { ac_try='test -z "$ac_c_werror_flag"
73057                          || test ! -s conftest.err'
73058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73059   (eval $ac_try) 2>&5
73060   ac_status=$?
73061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73062   (exit $ac_status); }; } &&
73063          { ac_try='test -s conftest$ac_exeext'
73064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73065   (eval $ac_try) 2>&5
73066   ac_status=$?
73067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73068   (exit $ac_status); }; }; then
73069   eval "$as_ac_var=yes"
73070 else
73071   echo "$as_me: failed program was:" >&5
73072 sed 's/^/| /' conftest.$ac_ext >&5
73073
73074 eval "$as_ac_var=no"
73075 fi
73076 rm -f conftest.err conftest.$ac_objext \
73077       conftest$ac_exeext conftest.$ac_ext
73078 fi
73079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73081 if test `eval echo '${'$as_ac_var'}'` = yes; then
73082   cat >>confdefs.h <<_ACEOF
73083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73084 _ACEOF
73085
73086 fi
73087 done
73088
73089   else
73090
73091   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
73092 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
73093   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
73094     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
73095   echo $ECHO_N "(cached) $ECHO_C" >&6
73096 else
73097
73098
73099
73100       ac_ext=cc
73101 ac_cpp='$CXXCPP $CPPFLAGS'
73102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73105
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 #include <math.h>
73113                       #ifdef HAVE_IEEEFP_H
73114                       #include <ieeefp.h>
73115                       #endif
73116
73117 int
73118 main ()
73119 {
73120  _isinfl(0);
73121   ;
73122   return 0;
73123 }
73124 _ACEOF
73125 rm -f conftest.$ac_objext
73126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73127   (eval $ac_compile) 2>conftest.er1
73128   ac_status=$?
73129   grep -v '^ *+' conftest.er1 >conftest.err
73130   rm -f conftest.er1
73131   cat conftest.err >&5
73132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73133   (exit $ac_status); } &&
73134          { ac_try='test -z "$ac_cxx_werror_flag"
73135                          || test ! -s conftest.err'
73136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73137   (eval $ac_try) 2>&5
73138   ac_status=$?
73139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73140   (exit $ac_status); }; } &&
73141          { ac_try='test -s conftest.$ac_objext'
73142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73143   (eval $ac_try) 2>&5
73144   ac_status=$?
73145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146   (exit $ac_status); }; }; then
73147   glibcxx_cv_func__isinfl_use=yes
73148 else
73149   echo "$as_me: failed program was:" >&5
73150 sed 's/^/| /' conftest.$ac_ext >&5
73151
73152 glibcxx_cv_func__isinfl_use=no
73153 fi
73154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73155       ac_ext=c
73156 ac_cpp='$CPP $CPPFLAGS'
73157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73160
73161
73162 fi
73163
73164   fi
73165   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
73166 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
73167
73168     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
73169
73170 for ac_func in _isinfl
73171 do
73172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73173 echo "$as_me:$LINENO: checking for $ac_func" >&5
73174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73175 if eval "test \"\${$as_ac_var+set}\" = set"; then
73176   echo $ECHO_N "(cached) $ECHO_C" >&6
73177 else
73178   if test x$gcc_no_link = xyes; then
73179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73181    { (exit 1); exit 1; }; }
73182 fi
73183 cat >conftest.$ac_ext <<_ACEOF
73184 /* confdefs.h.  */
73185 _ACEOF
73186 cat confdefs.h >>conftest.$ac_ext
73187 cat >>conftest.$ac_ext <<_ACEOF
73188 /* end confdefs.h.  */
73189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73191 #define $ac_func innocuous_$ac_func
73192
73193 /* System header to define __stub macros and hopefully few prototypes,
73194     which can conflict with char $ac_func (); below.
73195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73196     <limits.h> exists even on freestanding compilers.  */
73197
73198 #ifdef __STDC__
73199 # include <limits.h>
73200 #else
73201 # include <assert.h>
73202 #endif
73203
73204 #undef $ac_func
73205
73206 /* Override any gcc2 internal prototype to avoid an error.  */
73207 #ifdef __cplusplus
73208 extern "C"
73209 {
73210 #endif
73211 /* We use char because int might match the return type of a gcc2
73212    builtin and then its argument prototype would still apply.  */
73213 char $ac_func ();
73214 /* The GNU C library defines this for functions which it implements
73215     to always fail with ENOSYS.  Some functions are actually named
73216     something starting with __ and the normal name is an alias.  */
73217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73218 choke me
73219 #else
73220 char (*f) () = $ac_func;
73221 #endif
73222 #ifdef __cplusplus
73223 }
73224 #endif
73225
73226 int
73227 main ()
73228 {
73229 return f != $ac_func;
73230   ;
73231   return 0;
73232 }
73233 _ACEOF
73234 rm -f conftest.$ac_objext conftest$ac_exeext
73235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73236   (eval $ac_link) 2>conftest.er1
73237   ac_status=$?
73238   grep -v '^ *+' conftest.er1 >conftest.err
73239   rm -f conftest.er1
73240   cat conftest.err >&5
73241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73242   (exit $ac_status); } &&
73243          { ac_try='test -z "$ac_c_werror_flag"
73244                          || test ! -s conftest.err'
73245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73246   (eval $ac_try) 2>&5
73247   ac_status=$?
73248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73249   (exit $ac_status); }; } &&
73250          { ac_try='test -s conftest$ac_exeext'
73251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73252   (eval $ac_try) 2>&5
73253   ac_status=$?
73254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73255   (exit $ac_status); }; }; then
73256   eval "$as_ac_var=yes"
73257 else
73258   echo "$as_me: failed program was:" >&5
73259 sed 's/^/| /' conftest.$ac_ext >&5
73260
73261 eval "$as_ac_var=no"
73262 fi
73263 rm -f conftest.err conftest.$ac_objext \
73264       conftest$ac_exeext conftest.$ac_ext
73265 fi
73266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73268 if test `eval echo '${'$as_ac_var'}'` = yes; then
73269   cat >>confdefs.h <<_ACEOF
73270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73271 _ACEOF
73272
73273 fi
73274 done
73275
73276     fi
73277   fi
73278
73279
73280
73281
73282
73283
73284   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
73285 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
73286   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
73287     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
73288   echo $ECHO_N "(cached) $ECHO_C" >&6
73289 else
73290
73291
73292
73293       ac_ext=cc
73294 ac_cpp='$CXXCPP $CPPFLAGS'
73295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73298
73299       cat >conftest.$ac_ext <<_ACEOF
73300 /* confdefs.h.  */
73301 _ACEOF
73302 cat confdefs.h >>conftest.$ac_ext
73303 cat >>conftest.$ac_ext <<_ACEOF
73304 /* end confdefs.h.  */
73305 #include <math.h>
73306 int
73307 main ()
73308 {
73309  copysignl(0, 0);
73310   ;
73311   return 0;
73312 }
73313 _ACEOF
73314 rm -f conftest.$ac_objext
73315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73316   (eval $ac_compile) 2>conftest.er1
73317   ac_status=$?
73318   grep -v '^ *+' conftest.er1 >conftest.err
73319   rm -f conftest.er1
73320   cat conftest.err >&5
73321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73322   (exit $ac_status); } &&
73323          { ac_try='test -z "$ac_cxx_werror_flag"
73324                          || test ! -s conftest.err'
73325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73326   (eval $ac_try) 2>&5
73327   ac_status=$?
73328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73329   (exit $ac_status); }; } &&
73330          { ac_try='test -s conftest.$ac_objext'
73331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73332   (eval $ac_try) 2>&5
73333   ac_status=$?
73334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73335   (exit $ac_status); }; }; then
73336   glibcxx_cv_func_copysignl_use=yes
73337 else
73338   echo "$as_me: failed program was:" >&5
73339 sed 's/^/| /' conftest.$ac_ext >&5
73340
73341 glibcxx_cv_func_copysignl_use=no
73342 fi
73343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73344       ac_ext=c
73345 ac_cpp='$CPP $CPPFLAGS'
73346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73349
73350
73351 fi
73352
73353   fi
73354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
73355 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
73356
73357   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
73358
73359 for ac_func in copysignl
73360 do
73361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73362 echo "$as_me:$LINENO: checking for $ac_func" >&5
73363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73364 if eval "test \"\${$as_ac_var+set}\" = set"; then
73365   echo $ECHO_N "(cached) $ECHO_C" >&6
73366 else
73367   if test x$gcc_no_link = xyes; then
73368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73370    { (exit 1); exit 1; }; }
73371 fi
73372 cat >conftest.$ac_ext <<_ACEOF
73373 /* confdefs.h.  */
73374 _ACEOF
73375 cat confdefs.h >>conftest.$ac_ext
73376 cat >>conftest.$ac_ext <<_ACEOF
73377 /* end confdefs.h.  */
73378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73380 #define $ac_func innocuous_$ac_func
73381
73382 /* System header to define __stub macros and hopefully few prototypes,
73383     which can conflict with char $ac_func (); below.
73384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73385     <limits.h> exists even on freestanding compilers.  */
73386
73387 #ifdef __STDC__
73388 # include <limits.h>
73389 #else
73390 # include <assert.h>
73391 #endif
73392
73393 #undef $ac_func
73394
73395 /* Override any gcc2 internal prototype to avoid an error.  */
73396 #ifdef __cplusplus
73397 extern "C"
73398 {
73399 #endif
73400 /* We use char because int might match the return type of a gcc2
73401    builtin and then its argument prototype would still apply.  */
73402 char $ac_func ();
73403 /* The GNU C library defines this for functions which it implements
73404     to always fail with ENOSYS.  Some functions are actually named
73405     something starting with __ and the normal name is an alias.  */
73406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73407 choke me
73408 #else
73409 char (*f) () = $ac_func;
73410 #endif
73411 #ifdef __cplusplus
73412 }
73413 #endif
73414
73415 int
73416 main ()
73417 {
73418 return f != $ac_func;
73419   ;
73420   return 0;
73421 }
73422 _ACEOF
73423 rm -f conftest.$ac_objext conftest$ac_exeext
73424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73425   (eval $ac_link) 2>conftest.er1
73426   ac_status=$?
73427   grep -v '^ *+' conftest.er1 >conftest.err
73428   rm -f conftest.er1
73429   cat conftest.err >&5
73430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73431   (exit $ac_status); } &&
73432          { ac_try='test -z "$ac_c_werror_flag"
73433                          || test ! -s conftest.err'
73434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73435   (eval $ac_try) 2>&5
73436   ac_status=$?
73437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73438   (exit $ac_status); }; } &&
73439          { ac_try='test -s conftest$ac_exeext'
73440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73441   (eval $ac_try) 2>&5
73442   ac_status=$?
73443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73444   (exit $ac_status); }; }; then
73445   eval "$as_ac_var=yes"
73446 else
73447   echo "$as_me: failed program was:" >&5
73448 sed 's/^/| /' conftest.$ac_ext >&5
73449
73450 eval "$as_ac_var=no"
73451 fi
73452 rm -f conftest.err conftest.$ac_objext \
73453       conftest$ac_exeext conftest.$ac_ext
73454 fi
73455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73457 if test `eval echo '${'$as_ac_var'}'` = yes; then
73458   cat >>confdefs.h <<_ACEOF
73459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73460 _ACEOF
73461
73462 fi
73463 done
73464
73465   else
73466
73467   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
73468 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
73469   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
73470     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
73471   echo $ECHO_N "(cached) $ECHO_C" >&6
73472 else
73473
73474
73475
73476       ac_ext=cc
73477 ac_cpp='$CXXCPP $CPPFLAGS'
73478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73481
73482       cat >conftest.$ac_ext <<_ACEOF
73483 /* confdefs.h.  */
73484 _ACEOF
73485 cat confdefs.h >>conftest.$ac_ext
73486 cat >>conftest.$ac_ext <<_ACEOF
73487 /* end confdefs.h.  */
73488 #include <math.h>
73489 int
73490 main ()
73491 {
73492  _copysignl(0, 0);
73493   ;
73494   return 0;
73495 }
73496 _ACEOF
73497 rm -f conftest.$ac_objext
73498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73499   (eval $ac_compile) 2>conftest.er1
73500   ac_status=$?
73501   grep -v '^ *+' conftest.er1 >conftest.err
73502   rm -f conftest.er1
73503   cat conftest.err >&5
73504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73505   (exit $ac_status); } &&
73506          { ac_try='test -z "$ac_cxx_werror_flag"
73507                          || test ! -s conftest.err'
73508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73509   (eval $ac_try) 2>&5
73510   ac_status=$?
73511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73512   (exit $ac_status); }; } &&
73513          { ac_try='test -s conftest.$ac_objext'
73514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73515   (eval $ac_try) 2>&5
73516   ac_status=$?
73517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73518   (exit $ac_status); }; }; then
73519   glibcxx_cv_func__copysignl_use=yes
73520 else
73521   echo "$as_me: failed program was:" >&5
73522 sed 's/^/| /' conftest.$ac_ext >&5
73523
73524 glibcxx_cv_func__copysignl_use=no
73525 fi
73526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73527       ac_ext=c
73528 ac_cpp='$CPP $CPPFLAGS'
73529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73532
73533
73534 fi
73535
73536   fi
73537   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
73538 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
73539
73540     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
73541
73542 for ac_func in _copysignl
73543 do
73544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73545 echo "$as_me:$LINENO: checking for $ac_func" >&5
73546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73547 if eval "test \"\${$as_ac_var+set}\" = set"; then
73548   echo $ECHO_N "(cached) $ECHO_C" >&6
73549 else
73550   if test x$gcc_no_link = xyes; then
73551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73553    { (exit 1); exit 1; }; }
73554 fi
73555 cat >conftest.$ac_ext <<_ACEOF
73556 /* confdefs.h.  */
73557 _ACEOF
73558 cat confdefs.h >>conftest.$ac_ext
73559 cat >>conftest.$ac_ext <<_ACEOF
73560 /* end confdefs.h.  */
73561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73563 #define $ac_func innocuous_$ac_func
73564
73565 /* System header to define __stub macros and hopefully few prototypes,
73566     which can conflict with char $ac_func (); below.
73567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73568     <limits.h> exists even on freestanding compilers.  */
73569
73570 #ifdef __STDC__
73571 # include <limits.h>
73572 #else
73573 # include <assert.h>
73574 #endif
73575
73576 #undef $ac_func
73577
73578 /* Override any gcc2 internal prototype to avoid an error.  */
73579 #ifdef __cplusplus
73580 extern "C"
73581 {
73582 #endif
73583 /* We use char because int might match the return type of a gcc2
73584    builtin and then its argument prototype would still apply.  */
73585 char $ac_func ();
73586 /* The GNU C library defines this for functions which it implements
73587     to always fail with ENOSYS.  Some functions are actually named
73588     something starting with __ and the normal name is an alias.  */
73589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73590 choke me
73591 #else
73592 char (*f) () = $ac_func;
73593 #endif
73594 #ifdef __cplusplus
73595 }
73596 #endif
73597
73598 int
73599 main ()
73600 {
73601 return f != $ac_func;
73602   ;
73603   return 0;
73604 }
73605 _ACEOF
73606 rm -f conftest.$ac_objext conftest$ac_exeext
73607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73608   (eval $ac_link) 2>conftest.er1
73609   ac_status=$?
73610   grep -v '^ *+' conftest.er1 >conftest.err
73611   rm -f conftest.er1
73612   cat conftest.err >&5
73613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73614   (exit $ac_status); } &&
73615          { ac_try='test -z "$ac_c_werror_flag"
73616                          || test ! -s conftest.err'
73617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73618   (eval $ac_try) 2>&5
73619   ac_status=$?
73620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73621   (exit $ac_status); }; } &&
73622          { ac_try='test -s conftest$ac_exeext'
73623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73624   (eval $ac_try) 2>&5
73625   ac_status=$?
73626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73627   (exit $ac_status); }; }; then
73628   eval "$as_ac_var=yes"
73629 else
73630   echo "$as_me: failed program was:" >&5
73631 sed 's/^/| /' conftest.$ac_ext >&5
73632
73633 eval "$as_ac_var=no"
73634 fi
73635 rm -f conftest.err conftest.$ac_objext \
73636       conftest$ac_exeext conftest.$ac_ext
73637 fi
73638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73640 if test `eval echo '${'$as_ac_var'}'` = yes; then
73641   cat >>confdefs.h <<_ACEOF
73642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73643 _ACEOF
73644
73645 fi
73646 done
73647
73648     fi
73649   fi
73650
73651
73652
73653
73654
73655
73656   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
73657 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
73658   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
73659     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
73660   echo $ECHO_N "(cached) $ECHO_C" >&6
73661 else
73662
73663
73664
73665       ac_ext=cc
73666 ac_cpp='$CXXCPP $CPPFLAGS'
73667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73670
73671       cat >conftest.$ac_ext <<_ACEOF
73672 /* confdefs.h.  */
73673 _ACEOF
73674 cat confdefs.h >>conftest.$ac_ext
73675 cat >>conftest.$ac_ext <<_ACEOF
73676 /* end confdefs.h.  */
73677 #include <math.h>
73678 int
73679 main ()
73680 {
73681  atan2l(0, 0);
73682   ;
73683   return 0;
73684 }
73685 _ACEOF
73686 rm -f conftest.$ac_objext
73687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73688   (eval $ac_compile) 2>conftest.er1
73689   ac_status=$?
73690   grep -v '^ *+' conftest.er1 >conftest.err
73691   rm -f conftest.er1
73692   cat conftest.err >&5
73693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73694   (exit $ac_status); } &&
73695          { ac_try='test -z "$ac_cxx_werror_flag"
73696                          || test ! -s conftest.err'
73697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73698   (eval $ac_try) 2>&5
73699   ac_status=$?
73700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73701   (exit $ac_status); }; } &&
73702          { ac_try='test -s conftest.$ac_objext'
73703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73704   (eval $ac_try) 2>&5
73705   ac_status=$?
73706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73707   (exit $ac_status); }; }; then
73708   glibcxx_cv_func_atan2l_use=yes
73709 else
73710   echo "$as_me: failed program was:" >&5
73711 sed 's/^/| /' conftest.$ac_ext >&5
73712
73713 glibcxx_cv_func_atan2l_use=no
73714 fi
73715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73716       ac_ext=c
73717 ac_cpp='$CPP $CPPFLAGS'
73718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73721
73722
73723 fi
73724
73725   fi
73726   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
73727 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
73728
73729   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
73730
73731 for ac_func in atan2l
73732 do
73733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73734 echo "$as_me:$LINENO: checking for $ac_func" >&5
73735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73736 if eval "test \"\${$as_ac_var+set}\" = set"; then
73737   echo $ECHO_N "(cached) $ECHO_C" >&6
73738 else
73739   if test x$gcc_no_link = xyes; then
73740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73742    { (exit 1); exit 1; }; }
73743 fi
73744 cat >conftest.$ac_ext <<_ACEOF
73745 /* confdefs.h.  */
73746 _ACEOF
73747 cat confdefs.h >>conftest.$ac_ext
73748 cat >>conftest.$ac_ext <<_ACEOF
73749 /* end confdefs.h.  */
73750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73752 #define $ac_func innocuous_$ac_func
73753
73754 /* System header to define __stub macros and hopefully few prototypes,
73755     which can conflict with char $ac_func (); below.
73756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73757     <limits.h> exists even on freestanding compilers.  */
73758
73759 #ifdef __STDC__
73760 # include <limits.h>
73761 #else
73762 # include <assert.h>
73763 #endif
73764
73765 #undef $ac_func
73766
73767 /* Override any gcc2 internal prototype to avoid an error.  */
73768 #ifdef __cplusplus
73769 extern "C"
73770 {
73771 #endif
73772 /* We use char because int might match the return type of a gcc2
73773    builtin and then its argument prototype would still apply.  */
73774 char $ac_func ();
73775 /* The GNU C library defines this for functions which it implements
73776     to always fail with ENOSYS.  Some functions are actually named
73777     something starting with __ and the normal name is an alias.  */
73778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73779 choke me
73780 #else
73781 char (*f) () = $ac_func;
73782 #endif
73783 #ifdef __cplusplus
73784 }
73785 #endif
73786
73787 int
73788 main ()
73789 {
73790 return f != $ac_func;
73791   ;
73792   return 0;
73793 }
73794 _ACEOF
73795 rm -f conftest.$ac_objext conftest$ac_exeext
73796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73797   (eval $ac_link) 2>conftest.er1
73798   ac_status=$?
73799   grep -v '^ *+' conftest.er1 >conftest.err
73800   rm -f conftest.er1
73801   cat conftest.err >&5
73802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73803   (exit $ac_status); } &&
73804          { ac_try='test -z "$ac_c_werror_flag"
73805                          || test ! -s conftest.err'
73806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73807   (eval $ac_try) 2>&5
73808   ac_status=$?
73809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73810   (exit $ac_status); }; } &&
73811          { ac_try='test -s conftest$ac_exeext'
73812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73813   (eval $ac_try) 2>&5
73814   ac_status=$?
73815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73816   (exit $ac_status); }; }; then
73817   eval "$as_ac_var=yes"
73818 else
73819   echo "$as_me: failed program was:" >&5
73820 sed 's/^/| /' conftest.$ac_ext >&5
73821
73822 eval "$as_ac_var=no"
73823 fi
73824 rm -f conftest.err conftest.$ac_objext \
73825       conftest$ac_exeext conftest.$ac_ext
73826 fi
73827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73829 if test `eval echo '${'$as_ac_var'}'` = yes; then
73830   cat >>confdefs.h <<_ACEOF
73831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73832 _ACEOF
73833
73834 fi
73835 done
73836
73837   else
73838
73839   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
73840 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
73841   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
73842     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
73843   echo $ECHO_N "(cached) $ECHO_C" >&6
73844 else
73845
73846
73847
73848       ac_ext=cc
73849 ac_cpp='$CXXCPP $CPPFLAGS'
73850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73853
73854       cat >conftest.$ac_ext <<_ACEOF
73855 /* confdefs.h.  */
73856 _ACEOF
73857 cat confdefs.h >>conftest.$ac_ext
73858 cat >>conftest.$ac_ext <<_ACEOF
73859 /* end confdefs.h.  */
73860 #include <math.h>
73861 int
73862 main ()
73863 {
73864  _atan2l(0, 0);
73865   ;
73866   return 0;
73867 }
73868 _ACEOF
73869 rm -f conftest.$ac_objext
73870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73871   (eval $ac_compile) 2>conftest.er1
73872   ac_status=$?
73873   grep -v '^ *+' conftest.er1 >conftest.err
73874   rm -f conftest.er1
73875   cat conftest.err >&5
73876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73877   (exit $ac_status); } &&
73878          { ac_try='test -z "$ac_cxx_werror_flag"
73879                          || test ! -s conftest.err'
73880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73881   (eval $ac_try) 2>&5
73882   ac_status=$?
73883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73884   (exit $ac_status); }; } &&
73885          { ac_try='test -s conftest.$ac_objext'
73886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73887   (eval $ac_try) 2>&5
73888   ac_status=$?
73889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73890   (exit $ac_status); }; }; then
73891   glibcxx_cv_func__atan2l_use=yes
73892 else
73893   echo "$as_me: failed program was:" >&5
73894 sed 's/^/| /' conftest.$ac_ext >&5
73895
73896 glibcxx_cv_func__atan2l_use=no
73897 fi
73898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73899       ac_ext=c
73900 ac_cpp='$CPP $CPPFLAGS'
73901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73904
73905
73906 fi
73907
73908   fi
73909   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
73910 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
73911
73912     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
73913
73914 for ac_func in _atan2l
73915 do
73916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73917 echo "$as_me:$LINENO: checking for $ac_func" >&5
73918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73919 if eval "test \"\${$as_ac_var+set}\" = set"; then
73920   echo $ECHO_N "(cached) $ECHO_C" >&6
73921 else
73922   if test x$gcc_no_link = xyes; then
73923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73925    { (exit 1); exit 1; }; }
73926 fi
73927 cat >conftest.$ac_ext <<_ACEOF
73928 /* confdefs.h.  */
73929 _ACEOF
73930 cat confdefs.h >>conftest.$ac_ext
73931 cat >>conftest.$ac_ext <<_ACEOF
73932 /* end confdefs.h.  */
73933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73935 #define $ac_func innocuous_$ac_func
73936
73937 /* System header to define __stub macros and hopefully few prototypes,
73938     which can conflict with char $ac_func (); below.
73939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73940     <limits.h> exists even on freestanding compilers.  */
73941
73942 #ifdef __STDC__
73943 # include <limits.h>
73944 #else
73945 # include <assert.h>
73946 #endif
73947
73948 #undef $ac_func
73949
73950 /* Override any gcc2 internal prototype to avoid an error.  */
73951 #ifdef __cplusplus
73952 extern "C"
73953 {
73954 #endif
73955 /* We use char because int might match the return type of a gcc2
73956    builtin and then its argument prototype would still apply.  */
73957 char $ac_func ();
73958 /* The GNU C library defines this for functions which it implements
73959     to always fail with ENOSYS.  Some functions are actually named
73960     something starting with __ and the normal name is an alias.  */
73961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73962 choke me
73963 #else
73964 char (*f) () = $ac_func;
73965 #endif
73966 #ifdef __cplusplus
73967 }
73968 #endif
73969
73970 int
73971 main ()
73972 {
73973 return f != $ac_func;
73974   ;
73975   return 0;
73976 }
73977 _ACEOF
73978 rm -f conftest.$ac_objext conftest$ac_exeext
73979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73980   (eval $ac_link) 2>conftest.er1
73981   ac_status=$?
73982   grep -v '^ *+' conftest.er1 >conftest.err
73983   rm -f conftest.er1
73984   cat conftest.err >&5
73985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73986   (exit $ac_status); } &&
73987          { ac_try='test -z "$ac_c_werror_flag"
73988                          || test ! -s conftest.err'
73989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73990   (eval $ac_try) 2>&5
73991   ac_status=$?
73992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73993   (exit $ac_status); }; } &&
73994          { ac_try='test -s conftest$ac_exeext'
73995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73996   (eval $ac_try) 2>&5
73997   ac_status=$?
73998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73999   (exit $ac_status); }; }; then
74000   eval "$as_ac_var=yes"
74001 else
74002   echo "$as_me: failed program was:" >&5
74003 sed 's/^/| /' conftest.$ac_ext >&5
74004
74005 eval "$as_ac_var=no"
74006 fi
74007 rm -f conftest.err conftest.$ac_objext \
74008       conftest$ac_exeext conftest.$ac_ext
74009 fi
74010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74012 if test `eval echo '${'$as_ac_var'}'` = yes; then
74013   cat >>confdefs.h <<_ACEOF
74014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74015 _ACEOF
74016
74017 fi
74018 done
74019
74020     fi
74021   fi
74022
74023
74024
74025
74026
74027
74028   echo "$as_me:$LINENO: checking for expl declaration" >&5
74029 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
74030   if test x${glibcxx_cv_func_expl_use+set} != xset; then
74031     if test "${glibcxx_cv_func_expl_use+set}" = set; then
74032   echo $ECHO_N "(cached) $ECHO_C" >&6
74033 else
74034
74035
74036
74037       ac_ext=cc
74038 ac_cpp='$CXXCPP $CPPFLAGS'
74039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74042
74043       cat >conftest.$ac_ext <<_ACEOF
74044 /* confdefs.h.  */
74045 _ACEOF
74046 cat confdefs.h >>conftest.$ac_ext
74047 cat >>conftest.$ac_ext <<_ACEOF
74048 /* end confdefs.h.  */
74049 #include <math.h>
74050                       #ifdef HAVE_IEEEFP_H
74051                       #include <ieeefp.h>
74052                       #endif
74053
74054 int
74055 main ()
74056 {
74057  expl(0);
74058   ;
74059   return 0;
74060 }
74061 _ACEOF
74062 rm -f conftest.$ac_objext
74063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74064   (eval $ac_compile) 2>conftest.er1
74065   ac_status=$?
74066   grep -v '^ *+' conftest.er1 >conftest.err
74067   rm -f conftest.er1
74068   cat conftest.err >&5
74069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74070   (exit $ac_status); } &&
74071          { ac_try='test -z "$ac_cxx_werror_flag"
74072                          || test ! -s conftest.err'
74073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74074   (eval $ac_try) 2>&5
74075   ac_status=$?
74076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74077   (exit $ac_status); }; } &&
74078          { ac_try='test -s conftest.$ac_objext'
74079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74080   (eval $ac_try) 2>&5
74081   ac_status=$?
74082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74083   (exit $ac_status); }; }; then
74084   glibcxx_cv_func_expl_use=yes
74085 else
74086   echo "$as_me: failed program was:" >&5
74087 sed 's/^/| /' conftest.$ac_ext >&5
74088
74089 glibcxx_cv_func_expl_use=no
74090 fi
74091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74092       ac_ext=c
74093 ac_cpp='$CPP $CPPFLAGS'
74094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74097
74098
74099 fi
74100
74101   fi
74102   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
74103 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
74104
74105   if test x$glibcxx_cv_func_expl_use = x"yes"; then
74106
74107 for ac_func in expl
74108 do
74109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74110 echo "$as_me:$LINENO: checking for $ac_func" >&5
74111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74112 if eval "test \"\${$as_ac_var+set}\" = set"; then
74113   echo $ECHO_N "(cached) $ECHO_C" >&6
74114 else
74115   if test x$gcc_no_link = xyes; then
74116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74118    { (exit 1); exit 1; }; }
74119 fi
74120 cat >conftest.$ac_ext <<_ACEOF
74121 /* confdefs.h.  */
74122 _ACEOF
74123 cat confdefs.h >>conftest.$ac_ext
74124 cat >>conftest.$ac_ext <<_ACEOF
74125 /* end confdefs.h.  */
74126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74128 #define $ac_func innocuous_$ac_func
74129
74130 /* System header to define __stub macros and hopefully few prototypes,
74131     which can conflict with char $ac_func (); below.
74132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74133     <limits.h> exists even on freestanding compilers.  */
74134
74135 #ifdef __STDC__
74136 # include <limits.h>
74137 #else
74138 # include <assert.h>
74139 #endif
74140
74141 #undef $ac_func
74142
74143 /* Override any gcc2 internal prototype to avoid an error.  */
74144 #ifdef __cplusplus
74145 extern "C"
74146 {
74147 #endif
74148 /* We use char because int might match the return type of a gcc2
74149    builtin and then its argument prototype would still apply.  */
74150 char $ac_func ();
74151 /* The GNU C library defines this for functions which it implements
74152     to always fail with ENOSYS.  Some functions are actually named
74153     something starting with __ and the normal name is an alias.  */
74154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74155 choke me
74156 #else
74157 char (*f) () = $ac_func;
74158 #endif
74159 #ifdef __cplusplus
74160 }
74161 #endif
74162
74163 int
74164 main ()
74165 {
74166 return f != $ac_func;
74167   ;
74168   return 0;
74169 }
74170 _ACEOF
74171 rm -f conftest.$ac_objext conftest$ac_exeext
74172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74173   (eval $ac_link) 2>conftest.er1
74174   ac_status=$?
74175   grep -v '^ *+' conftest.er1 >conftest.err
74176   rm -f conftest.er1
74177   cat conftest.err >&5
74178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74179   (exit $ac_status); } &&
74180          { ac_try='test -z "$ac_c_werror_flag"
74181                          || test ! -s conftest.err'
74182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74183   (eval $ac_try) 2>&5
74184   ac_status=$?
74185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74186   (exit $ac_status); }; } &&
74187          { ac_try='test -s conftest$ac_exeext'
74188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74189   (eval $ac_try) 2>&5
74190   ac_status=$?
74191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74192   (exit $ac_status); }; }; then
74193   eval "$as_ac_var=yes"
74194 else
74195   echo "$as_me: failed program was:" >&5
74196 sed 's/^/| /' conftest.$ac_ext >&5
74197
74198 eval "$as_ac_var=no"
74199 fi
74200 rm -f conftest.err conftest.$ac_objext \
74201       conftest$ac_exeext conftest.$ac_ext
74202 fi
74203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74205 if test `eval echo '${'$as_ac_var'}'` = yes; then
74206   cat >>confdefs.h <<_ACEOF
74207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74208 _ACEOF
74209
74210 fi
74211 done
74212
74213   else
74214
74215   echo "$as_me:$LINENO: checking for _expl declaration" >&5
74216 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
74217   if test x${glibcxx_cv_func__expl_use+set} != xset; then
74218     if test "${glibcxx_cv_func__expl_use+set}" = set; then
74219   echo $ECHO_N "(cached) $ECHO_C" >&6
74220 else
74221
74222
74223
74224       ac_ext=cc
74225 ac_cpp='$CXXCPP $CPPFLAGS'
74226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74229
74230       cat >conftest.$ac_ext <<_ACEOF
74231 /* confdefs.h.  */
74232 _ACEOF
74233 cat confdefs.h >>conftest.$ac_ext
74234 cat >>conftest.$ac_ext <<_ACEOF
74235 /* end confdefs.h.  */
74236 #include <math.h>
74237                       #ifdef HAVE_IEEEFP_H
74238                       #include <ieeefp.h>
74239                       #endif
74240
74241 int
74242 main ()
74243 {
74244  _expl(0);
74245   ;
74246   return 0;
74247 }
74248 _ACEOF
74249 rm -f conftest.$ac_objext
74250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74251   (eval $ac_compile) 2>conftest.er1
74252   ac_status=$?
74253   grep -v '^ *+' conftest.er1 >conftest.err
74254   rm -f conftest.er1
74255   cat conftest.err >&5
74256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74257   (exit $ac_status); } &&
74258          { ac_try='test -z "$ac_cxx_werror_flag"
74259                          || test ! -s conftest.err'
74260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74261   (eval $ac_try) 2>&5
74262   ac_status=$?
74263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74264   (exit $ac_status); }; } &&
74265          { ac_try='test -s conftest.$ac_objext'
74266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74267   (eval $ac_try) 2>&5
74268   ac_status=$?
74269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74270   (exit $ac_status); }; }; then
74271   glibcxx_cv_func__expl_use=yes
74272 else
74273   echo "$as_me: failed program was:" >&5
74274 sed 's/^/| /' conftest.$ac_ext >&5
74275
74276 glibcxx_cv_func__expl_use=no
74277 fi
74278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74279       ac_ext=c
74280 ac_cpp='$CPP $CPPFLAGS'
74281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74284
74285
74286 fi
74287
74288   fi
74289   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
74290 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
74291
74292     if test x$glibcxx_cv_func__expl_use = x"yes"; then
74293
74294 for ac_func in _expl
74295 do
74296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74297 echo "$as_me:$LINENO: checking for $ac_func" >&5
74298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74299 if eval "test \"\${$as_ac_var+set}\" = set"; then
74300   echo $ECHO_N "(cached) $ECHO_C" >&6
74301 else
74302   if test x$gcc_no_link = xyes; then
74303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74305    { (exit 1); exit 1; }; }
74306 fi
74307 cat >conftest.$ac_ext <<_ACEOF
74308 /* confdefs.h.  */
74309 _ACEOF
74310 cat confdefs.h >>conftest.$ac_ext
74311 cat >>conftest.$ac_ext <<_ACEOF
74312 /* end confdefs.h.  */
74313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74315 #define $ac_func innocuous_$ac_func
74316
74317 /* System header to define __stub macros and hopefully few prototypes,
74318     which can conflict with char $ac_func (); below.
74319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74320     <limits.h> exists even on freestanding compilers.  */
74321
74322 #ifdef __STDC__
74323 # include <limits.h>
74324 #else
74325 # include <assert.h>
74326 #endif
74327
74328 #undef $ac_func
74329
74330 /* Override any gcc2 internal prototype to avoid an error.  */
74331 #ifdef __cplusplus
74332 extern "C"
74333 {
74334 #endif
74335 /* We use char because int might match the return type of a gcc2
74336    builtin and then its argument prototype would still apply.  */
74337 char $ac_func ();
74338 /* The GNU C library defines this for functions which it implements
74339     to always fail with ENOSYS.  Some functions are actually named
74340     something starting with __ and the normal name is an alias.  */
74341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74342 choke me
74343 #else
74344 char (*f) () = $ac_func;
74345 #endif
74346 #ifdef __cplusplus
74347 }
74348 #endif
74349
74350 int
74351 main ()
74352 {
74353 return f != $ac_func;
74354   ;
74355   return 0;
74356 }
74357 _ACEOF
74358 rm -f conftest.$ac_objext conftest$ac_exeext
74359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74360   (eval $ac_link) 2>conftest.er1
74361   ac_status=$?
74362   grep -v '^ *+' conftest.er1 >conftest.err
74363   rm -f conftest.er1
74364   cat conftest.err >&5
74365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74366   (exit $ac_status); } &&
74367          { ac_try='test -z "$ac_c_werror_flag"
74368                          || test ! -s conftest.err'
74369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370   (eval $ac_try) 2>&5
74371   ac_status=$?
74372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373   (exit $ac_status); }; } &&
74374          { ac_try='test -s conftest$ac_exeext'
74375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74376   (eval $ac_try) 2>&5
74377   ac_status=$?
74378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74379   (exit $ac_status); }; }; then
74380   eval "$as_ac_var=yes"
74381 else
74382   echo "$as_me: failed program was:" >&5
74383 sed 's/^/| /' conftest.$ac_ext >&5
74384
74385 eval "$as_ac_var=no"
74386 fi
74387 rm -f conftest.err conftest.$ac_objext \
74388       conftest$ac_exeext conftest.$ac_ext
74389 fi
74390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74392 if test `eval echo '${'$as_ac_var'}'` = yes; then
74393   cat >>confdefs.h <<_ACEOF
74394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74395 _ACEOF
74396
74397 fi
74398 done
74399
74400     fi
74401   fi
74402
74403
74404
74405
74406
74407
74408   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
74409 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
74410   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
74411     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
74412   echo $ECHO_N "(cached) $ECHO_C" >&6
74413 else
74414
74415
74416
74417       ac_ext=cc
74418 ac_cpp='$CXXCPP $CPPFLAGS'
74419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74422
74423       cat >conftest.$ac_ext <<_ACEOF
74424 /* confdefs.h.  */
74425 _ACEOF
74426 cat confdefs.h >>conftest.$ac_ext
74427 cat >>conftest.$ac_ext <<_ACEOF
74428 /* end confdefs.h.  */
74429 #include <math.h>
74430                       #ifdef HAVE_IEEEFP_H
74431                       #include <ieeefp.h>
74432                       #endif
74433
74434 int
74435 main ()
74436 {
74437  fabsl(0);
74438   ;
74439   return 0;
74440 }
74441 _ACEOF
74442 rm -f conftest.$ac_objext
74443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74444   (eval $ac_compile) 2>conftest.er1
74445   ac_status=$?
74446   grep -v '^ *+' conftest.er1 >conftest.err
74447   rm -f conftest.er1
74448   cat conftest.err >&5
74449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74450   (exit $ac_status); } &&
74451          { ac_try='test -z "$ac_cxx_werror_flag"
74452                          || test ! -s conftest.err'
74453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74454   (eval $ac_try) 2>&5
74455   ac_status=$?
74456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74457   (exit $ac_status); }; } &&
74458          { ac_try='test -s conftest.$ac_objext'
74459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74460   (eval $ac_try) 2>&5
74461   ac_status=$?
74462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74463   (exit $ac_status); }; }; then
74464   glibcxx_cv_func_fabsl_use=yes
74465 else
74466   echo "$as_me: failed program was:" >&5
74467 sed 's/^/| /' conftest.$ac_ext >&5
74468
74469 glibcxx_cv_func_fabsl_use=no
74470 fi
74471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74472       ac_ext=c
74473 ac_cpp='$CPP $CPPFLAGS'
74474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74477
74478
74479 fi
74480
74481   fi
74482   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
74483 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
74484
74485   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
74486
74487 for ac_func in fabsl
74488 do
74489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74490 echo "$as_me:$LINENO: checking for $ac_func" >&5
74491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74492 if eval "test \"\${$as_ac_var+set}\" = set"; then
74493   echo $ECHO_N "(cached) $ECHO_C" >&6
74494 else
74495   if test x$gcc_no_link = xyes; then
74496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74498    { (exit 1); exit 1; }; }
74499 fi
74500 cat >conftest.$ac_ext <<_ACEOF
74501 /* confdefs.h.  */
74502 _ACEOF
74503 cat confdefs.h >>conftest.$ac_ext
74504 cat >>conftest.$ac_ext <<_ACEOF
74505 /* end confdefs.h.  */
74506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74508 #define $ac_func innocuous_$ac_func
74509
74510 /* System header to define __stub macros and hopefully few prototypes,
74511     which can conflict with char $ac_func (); below.
74512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74513     <limits.h> exists even on freestanding compilers.  */
74514
74515 #ifdef __STDC__
74516 # include <limits.h>
74517 #else
74518 # include <assert.h>
74519 #endif
74520
74521 #undef $ac_func
74522
74523 /* Override any gcc2 internal prototype to avoid an error.  */
74524 #ifdef __cplusplus
74525 extern "C"
74526 {
74527 #endif
74528 /* We use char because int might match the return type of a gcc2
74529    builtin and then its argument prototype would still apply.  */
74530 char $ac_func ();
74531 /* The GNU C library defines this for functions which it implements
74532     to always fail with ENOSYS.  Some functions are actually named
74533     something starting with __ and the normal name is an alias.  */
74534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74535 choke me
74536 #else
74537 char (*f) () = $ac_func;
74538 #endif
74539 #ifdef __cplusplus
74540 }
74541 #endif
74542
74543 int
74544 main ()
74545 {
74546 return f != $ac_func;
74547   ;
74548   return 0;
74549 }
74550 _ACEOF
74551 rm -f conftest.$ac_objext conftest$ac_exeext
74552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74553   (eval $ac_link) 2>conftest.er1
74554   ac_status=$?
74555   grep -v '^ *+' conftest.er1 >conftest.err
74556   rm -f conftest.er1
74557   cat conftest.err >&5
74558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74559   (exit $ac_status); } &&
74560          { ac_try='test -z "$ac_c_werror_flag"
74561                          || test ! -s conftest.err'
74562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74563   (eval $ac_try) 2>&5
74564   ac_status=$?
74565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74566   (exit $ac_status); }; } &&
74567          { ac_try='test -s conftest$ac_exeext'
74568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74569   (eval $ac_try) 2>&5
74570   ac_status=$?
74571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74572   (exit $ac_status); }; }; then
74573   eval "$as_ac_var=yes"
74574 else
74575   echo "$as_me: failed program was:" >&5
74576 sed 's/^/| /' conftest.$ac_ext >&5
74577
74578 eval "$as_ac_var=no"
74579 fi
74580 rm -f conftest.err conftest.$ac_objext \
74581       conftest$ac_exeext conftest.$ac_ext
74582 fi
74583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74585 if test `eval echo '${'$as_ac_var'}'` = yes; then
74586   cat >>confdefs.h <<_ACEOF
74587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74588 _ACEOF
74589
74590 fi
74591 done
74592
74593   else
74594
74595   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
74596 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
74597   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
74598     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
74599   echo $ECHO_N "(cached) $ECHO_C" >&6
74600 else
74601
74602
74603
74604       ac_ext=cc
74605 ac_cpp='$CXXCPP $CPPFLAGS'
74606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74609
74610       cat >conftest.$ac_ext <<_ACEOF
74611 /* confdefs.h.  */
74612 _ACEOF
74613 cat confdefs.h >>conftest.$ac_ext
74614 cat >>conftest.$ac_ext <<_ACEOF
74615 /* end confdefs.h.  */
74616 #include <math.h>
74617                       #ifdef HAVE_IEEEFP_H
74618                       #include <ieeefp.h>
74619                       #endif
74620
74621 int
74622 main ()
74623 {
74624  _fabsl(0);
74625   ;
74626   return 0;
74627 }
74628 _ACEOF
74629 rm -f conftest.$ac_objext
74630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74631   (eval $ac_compile) 2>conftest.er1
74632   ac_status=$?
74633   grep -v '^ *+' conftest.er1 >conftest.err
74634   rm -f conftest.er1
74635   cat conftest.err >&5
74636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74637   (exit $ac_status); } &&
74638          { ac_try='test -z "$ac_cxx_werror_flag"
74639                          || test ! -s conftest.err'
74640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74641   (eval $ac_try) 2>&5
74642   ac_status=$?
74643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74644   (exit $ac_status); }; } &&
74645          { ac_try='test -s conftest.$ac_objext'
74646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74647   (eval $ac_try) 2>&5
74648   ac_status=$?
74649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74650   (exit $ac_status); }; }; then
74651   glibcxx_cv_func__fabsl_use=yes
74652 else
74653   echo "$as_me: failed program was:" >&5
74654 sed 's/^/| /' conftest.$ac_ext >&5
74655
74656 glibcxx_cv_func__fabsl_use=no
74657 fi
74658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74659       ac_ext=c
74660 ac_cpp='$CPP $CPPFLAGS'
74661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74664
74665
74666 fi
74667
74668   fi
74669   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
74670 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
74671
74672     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
74673
74674 for ac_func in _fabsl
74675 do
74676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74677 echo "$as_me:$LINENO: checking for $ac_func" >&5
74678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74679 if eval "test \"\${$as_ac_var+set}\" = set"; then
74680   echo $ECHO_N "(cached) $ECHO_C" >&6
74681 else
74682   if test x$gcc_no_link = xyes; then
74683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74685    { (exit 1); exit 1; }; }
74686 fi
74687 cat >conftest.$ac_ext <<_ACEOF
74688 /* confdefs.h.  */
74689 _ACEOF
74690 cat confdefs.h >>conftest.$ac_ext
74691 cat >>conftest.$ac_ext <<_ACEOF
74692 /* end confdefs.h.  */
74693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74695 #define $ac_func innocuous_$ac_func
74696
74697 /* System header to define __stub macros and hopefully few prototypes,
74698     which can conflict with char $ac_func (); below.
74699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74700     <limits.h> exists even on freestanding compilers.  */
74701
74702 #ifdef __STDC__
74703 # include <limits.h>
74704 #else
74705 # include <assert.h>
74706 #endif
74707
74708 #undef $ac_func
74709
74710 /* Override any gcc2 internal prototype to avoid an error.  */
74711 #ifdef __cplusplus
74712 extern "C"
74713 {
74714 #endif
74715 /* We use char because int might match the return type of a gcc2
74716    builtin and then its argument prototype would still apply.  */
74717 char $ac_func ();
74718 /* The GNU C library defines this for functions which it implements
74719     to always fail with ENOSYS.  Some functions are actually named
74720     something starting with __ and the normal name is an alias.  */
74721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74722 choke me
74723 #else
74724 char (*f) () = $ac_func;
74725 #endif
74726 #ifdef __cplusplus
74727 }
74728 #endif
74729
74730 int
74731 main ()
74732 {
74733 return f != $ac_func;
74734   ;
74735   return 0;
74736 }
74737 _ACEOF
74738 rm -f conftest.$ac_objext conftest$ac_exeext
74739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74740   (eval $ac_link) 2>conftest.er1
74741   ac_status=$?
74742   grep -v '^ *+' conftest.er1 >conftest.err
74743   rm -f conftest.er1
74744   cat conftest.err >&5
74745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74746   (exit $ac_status); } &&
74747          { ac_try='test -z "$ac_c_werror_flag"
74748                          || test ! -s conftest.err'
74749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74750   (eval $ac_try) 2>&5
74751   ac_status=$?
74752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753   (exit $ac_status); }; } &&
74754          { ac_try='test -s conftest$ac_exeext'
74755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74756   (eval $ac_try) 2>&5
74757   ac_status=$?
74758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74759   (exit $ac_status); }; }; then
74760   eval "$as_ac_var=yes"
74761 else
74762   echo "$as_me: failed program was:" >&5
74763 sed 's/^/| /' conftest.$ac_ext >&5
74764
74765 eval "$as_ac_var=no"
74766 fi
74767 rm -f conftest.err conftest.$ac_objext \
74768       conftest$ac_exeext conftest.$ac_ext
74769 fi
74770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74772 if test `eval echo '${'$as_ac_var'}'` = yes; then
74773   cat >>confdefs.h <<_ACEOF
74774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74775 _ACEOF
74776
74777 fi
74778 done
74779
74780     fi
74781   fi
74782
74783
74784
74785
74786
74787
74788   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
74789 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
74790   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
74791     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
74792   echo $ECHO_N "(cached) $ECHO_C" >&6
74793 else
74794
74795
74796
74797       ac_ext=cc
74798 ac_cpp='$CXXCPP $CPPFLAGS'
74799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74802
74803       cat >conftest.$ac_ext <<_ACEOF
74804 /* confdefs.h.  */
74805 _ACEOF
74806 cat confdefs.h >>conftest.$ac_ext
74807 cat >>conftest.$ac_ext <<_ACEOF
74808 /* end confdefs.h.  */
74809 #include <math.h>
74810 int
74811 main ()
74812 {
74813  fmodl(0, 0);
74814   ;
74815   return 0;
74816 }
74817 _ACEOF
74818 rm -f conftest.$ac_objext
74819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74820   (eval $ac_compile) 2>conftest.er1
74821   ac_status=$?
74822   grep -v '^ *+' conftest.er1 >conftest.err
74823   rm -f conftest.er1
74824   cat conftest.err >&5
74825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74826   (exit $ac_status); } &&
74827          { ac_try='test -z "$ac_cxx_werror_flag"
74828                          || test ! -s conftest.err'
74829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74830   (eval $ac_try) 2>&5
74831   ac_status=$?
74832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74833   (exit $ac_status); }; } &&
74834          { ac_try='test -s conftest.$ac_objext'
74835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74836   (eval $ac_try) 2>&5
74837   ac_status=$?
74838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74839   (exit $ac_status); }; }; then
74840   glibcxx_cv_func_fmodl_use=yes
74841 else
74842   echo "$as_me: failed program was:" >&5
74843 sed 's/^/| /' conftest.$ac_ext >&5
74844
74845 glibcxx_cv_func_fmodl_use=no
74846 fi
74847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74848       ac_ext=c
74849 ac_cpp='$CPP $CPPFLAGS'
74850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74853
74854
74855 fi
74856
74857   fi
74858   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
74859 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
74860
74861   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
74862
74863 for ac_func in fmodl
74864 do
74865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74866 echo "$as_me:$LINENO: checking for $ac_func" >&5
74867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74868 if eval "test \"\${$as_ac_var+set}\" = set"; then
74869   echo $ECHO_N "(cached) $ECHO_C" >&6
74870 else
74871   if test x$gcc_no_link = xyes; then
74872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74874    { (exit 1); exit 1; }; }
74875 fi
74876 cat >conftest.$ac_ext <<_ACEOF
74877 /* confdefs.h.  */
74878 _ACEOF
74879 cat confdefs.h >>conftest.$ac_ext
74880 cat >>conftest.$ac_ext <<_ACEOF
74881 /* end confdefs.h.  */
74882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74884 #define $ac_func innocuous_$ac_func
74885
74886 /* System header to define __stub macros and hopefully few prototypes,
74887     which can conflict with char $ac_func (); below.
74888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74889     <limits.h> exists even on freestanding compilers.  */
74890
74891 #ifdef __STDC__
74892 # include <limits.h>
74893 #else
74894 # include <assert.h>
74895 #endif
74896
74897 #undef $ac_func
74898
74899 /* Override any gcc2 internal prototype to avoid an error.  */
74900 #ifdef __cplusplus
74901 extern "C"
74902 {
74903 #endif
74904 /* We use char because int might match the return type of a gcc2
74905    builtin and then its argument prototype would still apply.  */
74906 char $ac_func ();
74907 /* The GNU C library defines this for functions which it implements
74908     to always fail with ENOSYS.  Some functions are actually named
74909     something starting with __ and the normal name is an alias.  */
74910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74911 choke me
74912 #else
74913 char (*f) () = $ac_func;
74914 #endif
74915 #ifdef __cplusplus
74916 }
74917 #endif
74918
74919 int
74920 main ()
74921 {
74922 return f != $ac_func;
74923   ;
74924   return 0;
74925 }
74926 _ACEOF
74927 rm -f conftest.$ac_objext conftest$ac_exeext
74928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74929   (eval $ac_link) 2>conftest.er1
74930   ac_status=$?
74931   grep -v '^ *+' conftest.er1 >conftest.err
74932   rm -f conftest.er1
74933   cat conftest.err >&5
74934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74935   (exit $ac_status); } &&
74936          { ac_try='test -z "$ac_c_werror_flag"
74937                          || test ! -s conftest.err'
74938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74939   (eval $ac_try) 2>&5
74940   ac_status=$?
74941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942   (exit $ac_status); }; } &&
74943          { ac_try='test -s conftest$ac_exeext'
74944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74945   (eval $ac_try) 2>&5
74946   ac_status=$?
74947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74948   (exit $ac_status); }; }; then
74949   eval "$as_ac_var=yes"
74950 else
74951   echo "$as_me: failed program was:" >&5
74952 sed 's/^/| /' conftest.$ac_ext >&5
74953
74954 eval "$as_ac_var=no"
74955 fi
74956 rm -f conftest.err conftest.$ac_objext \
74957       conftest$ac_exeext conftest.$ac_ext
74958 fi
74959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74961 if test `eval echo '${'$as_ac_var'}'` = yes; then
74962   cat >>confdefs.h <<_ACEOF
74963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74964 _ACEOF
74965
74966 fi
74967 done
74968
74969   else
74970
74971   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
74972 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
74973   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
74974     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
74975   echo $ECHO_N "(cached) $ECHO_C" >&6
74976 else
74977
74978
74979
74980       ac_ext=cc
74981 ac_cpp='$CXXCPP $CPPFLAGS'
74982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74985
74986       cat >conftest.$ac_ext <<_ACEOF
74987 /* confdefs.h.  */
74988 _ACEOF
74989 cat confdefs.h >>conftest.$ac_ext
74990 cat >>conftest.$ac_ext <<_ACEOF
74991 /* end confdefs.h.  */
74992 #include <math.h>
74993 int
74994 main ()
74995 {
74996  _fmodl(0, 0);
74997   ;
74998   return 0;
74999 }
75000 _ACEOF
75001 rm -f conftest.$ac_objext
75002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75003   (eval $ac_compile) 2>conftest.er1
75004   ac_status=$?
75005   grep -v '^ *+' conftest.er1 >conftest.err
75006   rm -f conftest.er1
75007   cat conftest.err >&5
75008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009   (exit $ac_status); } &&
75010          { ac_try='test -z "$ac_cxx_werror_flag"
75011                          || test ! -s conftest.err'
75012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013   (eval $ac_try) 2>&5
75014   ac_status=$?
75015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016   (exit $ac_status); }; } &&
75017          { ac_try='test -s conftest.$ac_objext'
75018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75019   (eval $ac_try) 2>&5
75020   ac_status=$?
75021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75022   (exit $ac_status); }; }; then
75023   glibcxx_cv_func__fmodl_use=yes
75024 else
75025   echo "$as_me: failed program was:" >&5
75026 sed 's/^/| /' conftest.$ac_ext >&5
75027
75028 glibcxx_cv_func__fmodl_use=no
75029 fi
75030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75031       ac_ext=c
75032 ac_cpp='$CPP $CPPFLAGS'
75033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75036
75037
75038 fi
75039
75040   fi
75041   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
75042 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
75043
75044     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75045
75046 for ac_func in _fmodl
75047 do
75048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75049 echo "$as_me:$LINENO: checking for $ac_func" >&5
75050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75051 if eval "test \"\${$as_ac_var+set}\" = set"; then
75052   echo $ECHO_N "(cached) $ECHO_C" >&6
75053 else
75054   if test x$gcc_no_link = xyes; then
75055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75057    { (exit 1); exit 1; }; }
75058 fi
75059 cat >conftest.$ac_ext <<_ACEOF
75060 /* confdefs.h.  */
75061 _ACEOF
75062 cat confdefs.h >>conftest.$ac_ext
75063 cat >>conftest.$ac_ext <<_ACEOF
75064 /* end confdefs.h.  */
75065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75067 #define $ac_func innocuous_$ac_func
75068
75069 /* System header to define __stub macros and hopefully few prototypes,
75070     which can conflict with char $ac_func (); below.
75071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75072     <limits.h> exists even on freestanding compilers.  */
75073
75074 #ifdef __STDC__
75075 # include <limits.h>
75076 #else
75077 # include <assert.h>
75078 #endif
75079
75080 #undef $ac_func
75081
75082 /* Override any gcc2 internal prototype to avoid an error.  */
75083 #ifdef __cplusplus
75084 extern "C"
75085 {
75086 #endif
75087 /* We use char because int might match the return type of a gcc2
75088    builtin and then its argument prototype would still apply.  */
75089 char $ac_func ();
75090 /* The GNU C library defines this for functions which it implements
75091     to always fail with ENOSYS.  Some functions are actually named
75092     something starting with __ and the normal name is an alias.  */
75093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75094 choke me
75095 #else
75096 char (*f) () = $ac_func;
75097 #endif
75098 #ifdef __cplusplus
75099 }
75100 #endif
75101
75102 int
75103 main ()
75104 {
75105 return f != $ac_func;
75106   ;
75107   return 0;
75108 }
75109 _ACEOF
75110 rm -f conftest.$ac_objext conftest$ac_exeext
75111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75112   (eval $ac_link) 2>conftest.er1
75113   ac_status=$?
75114   grep -v '^ *+' conftest.er1 >conftest.err
75115   rm -f conftest.er1
75116   cat conftest.err >&5
75117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75118   (exit $ac_status); } &&
75119          { ac_try='test -z "$ac_c_werror_flag"
75120                          || test ! -s conftest.err'
75121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75122   (eval $ac_try) 2>&5
75123   ac_status=$?
75124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75125   (exit $ac_status); }; } &&
75126          { ac_try='test -s conftest$ac_exeext'
75127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75128   (eval $ac_try) 2>&5
75129   ac_status=$?
75130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75131   (exit $ac_status); }; }; then
75132   eval "$as_ac_var=yes"
75133 else
75134   echo "$as_me: failed program was:" >&5
75135 sed 's/^/| /' conftest.$ac_ext >&5
75136
75137 eval "$as_ac_var=no"
75138 fi
75139 rm -f conftest.err conftest.$ac_objext \
75140       conftest$ac_exeext conftest.$ac_ext
75141 fi
75142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75144 if test `eval echo '${'$as_ac_var'}'` = yes; then
75145   cat >>confdefs.h <<_ACEOF
75146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75147 _ACEOF
75148
75149 fi
75150 done
75151
75152     fi
75153   fi
75154
75155
75156
75157
75158
75159
75160   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
75161 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
75162   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75163     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
75164   echo $ECHO_N "(cached) $ECHO_C" >&6
75165 else
75166
75167
75168
75169       ac_ext=cc
75170 ac_cpp='$CXXCPP $CPPFLAGS'
75171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75174
75175       cat >conftest.$ac_ext <<_ACEOF
75176 /* confdefs.h.  */
75177 _ACEOF
75178 cat confdefs.h >>conftest.$ac_ext
75179 cat >>conftest.$ac_ext <<_ACEOF
75180 /* end confdefs.h.  */
75181 #include <math.h>
75182 int
75183 main ()
75184 {
75185  frexpl(0, 0);
75186   ;
75187   return 0;
75188 }
75189 _ACEOF
75190 rm -f conftest.$ac_objext
75191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75192   (eval $ac_compile) 2>conftest.er1
75193   ac_status=$?
75194   grep -v '^ *+' conftest.er1 >conftest.err
75195   rm -f conftest.er1
75196   cat conftest.err >&5
75197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75198   (exit $ac_status); } &&
75199          { ac_try='test -z "$ac_cxx_werror_flag"
75200                          || test ! -s conftest.err'
75201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75202   (eval $ac_try) 2>&5
75203   ac_status=$?
75204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75205   (exit $ac_status); }; } &&
75206          { ac_try='test -s conftest.$ac_objext'
75207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75208   (eval $ac_try) 2>&5
75209   ac_status=$?
75210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75211   (exit $ac_status); }; }; then
75212   glibcxx_cv_func_frexpl_use=yes
75213 else
75214   echo "$as_me: failed program was:" >&5
75215 sed 's/^/| /' conftest.$ac_ext >&5
75216
75217 glibcxx_cv_func_frexpl_use=no
75218 fi
75219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75220       ac_ext=c
75221 ac_cpp='$CPP $CPPFLAGS'
75222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75225
75226
75227 fi
75228
75229   fi
75230   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
75231 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
75232
75233   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75234
75235 for ac_func in frexpl
75236 do
75237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75238 echo "$as_me:$LINENO: checking for $ac_func" >&5
75239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75240 if eval "test \"\${$as_ac_var+set}\" = set"; then
75241   echo $ECHO_N "(cached) $ECHO_C" >&6
75242 else
75243   if test x$gcc_no_link = xyes; then
75244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75246    { (exit 1); exit 1; }; }
75247 fi
75248 cat >conftest.$ac_ext <<_ACEOF
75249 /* confdefs.h.  */
75250 _ACEOF
75251 cat confdefs.h >>conftest.$ac_ext
75252 cat >>conftest.$ac_ext <<_ACEOF
75253 /* end confdefs.h.  */
75254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75256 #define $ac_func innocuous_$ac_func
75257
75258 /* System header to define __stub macros and hopefully few prototypes,
75259     which can conflict with char $ac_func (); below.
75260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75261     <limits.h> exists even on freestanding compilers.  */
75262
75263 #ifdef __STDC__
75264 # include <limits.h>
75265 #else
75266 # include <assert.h>
75267 #endif
75268
75269 #undef $ac_func
75270
75271 /* Override any gcc2 internal prototype to avoid an error.  */
75272 #ifdef __cplusplus
75273 extern "C"
75274 {
75275 #endif
75276 /* We use char because int might match the return type of a gcc2
75277    builtin and then its argument prototype would still apply.  */
75278 char $ac_func ();
75279 /* The GNU C library defines this for functions which it implements
75280     to always fail with ENOSYS.  Some functions are actually named
75281     something starting with __ and the normal name is an alias.  */
75282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75283 choke me
75284 #else
75285 char (*f) () = $ac_func;
75286 #endif
75287 #ifdef __cplusplus
75288 }
75289 #endif
75290
75291 int
75292 main ()
75293 {
75294 return f != $ac_func;
75295   ;
75296   return 0;
75297 }
75298 _ACEOF
75299 rm -f conftest.$ac_objext conftest$ac_exeext
75300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75301   (eval $ac_link) 2>conftest.er1
75302   ac_status=$?
75303   grep -v '^ *+' conftest.er1 >conftest.err
75304   rm -f conftest.er1
75305   cat conftest.err >&5
75306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75307   (exit $ac_status); } &&
75308          { ac_try='test -z "$ac_c_werror_flag"
75309                          || test ! -s conftest.err'
75310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75311   (eval $ac_try) 2>&5
75312   ac_status=$?
75313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75314   (exit $ac_status); }; } &&
75315          { ac_try='test -s conftest$ac_exeext'
75316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75317   (eval $ac_try) 2>&5
75318   ac_status=$?
75319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75320   (exit $ac_status); }; }; then
75321   eval "$as_ac_var=yes"
75322 else
75323   echo "$as_me: failed program was:" >&5
75324 sed 's/^/| /' conftest.$ac_ext >&5
75325
75326 eval "$as_ac_var=no"
75327 fi
75328 rm -f conftest.err conftest.$ac_objext \
75329       conftest$ac_exeext conftest.$ac_ext
75330 fi
75331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75333 if test `eval echo '${'$as_ac_var'}'` = yes; then
75334   cat >>confdefs.h <<_ACEOF
75335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75336 _ACEOF
75337
75338 fi
75339 done
75340
75341   else
75342
75343   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
75344 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
75345   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75346     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
75347   echo $ECHO_N "(cached) $ECHO_C" >&6
75348 else
75349
75350
75351
75352       ac_ext=cc
75353 ac_cpp='$CXXCPP $CPPFLAGS'
75354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75357
75358       cat >conftest.$ac_ext <<_ACEOF
75359 /* confdefs.h.  */
75360 _ACEOF
75361 cat confdefs.h >>conftest.$ac_ext
75362 cat >>conftest.$ac_ext <<_ACEOF
75363 /* end confdefs.h.  */
75364 #include <math.h>
75365 int
75366 main ()
75367 {
75368  _frexpl(0, 0);
75369   ;
75370   return 0;
75371 }
75372 _ACEOF
75373 rm -f conftest.$ac_objext
75374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75375   (eval $ac_compile) 2>conftest.er1
75376   ac_status=$?
75377   grep -v '^ *+' conftest.er1 >conftest.err
75378   rm -f conftest.er1
75379   cat conftest.err >&5
75380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75381   (exit $ac_status); } &&
75382          { ac_try='test -z "$ac_cxx_werror_flag"
75383                          || test ! -s conftest.err'
75384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385   (eval $ac_try) 2>&5
75386   ac_status=$?
75387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388   (exit $ac_status); }; } &&
75389          { ac_try='test -s conftest.$ac_objext'
75390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75391   (eval $ac_try) 2>&5
75392   ac_status=$?
75393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75394   (exit $ac_status); }; }; then
75395   glibcxx_cv_func__frexpl_use=yes
75396 else
75397   echo "$as_me: failed program was:" >&5
75398 sed 's/^/| /' conftest.$ac_ext >&5
75399
75400 glibcxx_cv_func__frexpl_use=no
75401 fi
75402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75403       ac_ext=c
75404 ac_cpp='$CPP $CPPFLAGS'
75405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75408
75409
75410 fi
75411
75412   fi
75413   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
75414 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
75415
75416     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75417
75418 for ac_func in _frexpl
75419 do
75420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75421 echo "$as_me:$LINENO: checking for $ac_func" >&5
75422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75423 if eval "test \"\${$as_ac_var+set}\" = set"; then
75424   echo $ECHO_N "(cached) $ECHO_C" >&6
75425 else
75426   if test x$gcc_no_link = xyes; then
75427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75429    { (exit 1); exit 1; }; }
75430 fi
75431 cat >conftest.$ac_ext <<_ACEOF
75432 /* confdefs.h.  */
75433 _ACEOF
75434 cat confdefs.h >>conftest.$ac_ext
75435 cat >>conftest.$ac_ext <<_ACEOF
75436 /* end confdefs.h.  */
75437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75439 #define $ac_func innocuous_$ac_func
75440
75441 /* System header to define __stub macros and hopefully few prototypes,
75442     which can conflict with char $ac_func (); below.
75443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75444     <limits.h> exists even on freestanding compilers.  */
75445
75446 #ifdef __STDC__
75447 # include <limits.h>
75448 #else
75449 # include <assert.h>
75450 #endif
75451
75452 #undef $ac_func
75453
75454 /* Override any gcc2 internal prototype to avoid an error.  */
75455 #ifdef __cplusplus
75456 extern "C"
75457 {
75458 #endif
75459 /* We use char because int might match the return type of a gcc2
75460    builtin and then its argument prototype would still apply.  */
75461 char $ac_func ();
75462 /* The GNU C library defines this for functions which it implements
75463     to always fail with ENOSYS.  Some functions are actually named
75464     something starting with __ and the normal name is an alias.  */
75465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75466 choke me
75467 #else
75468 char (*f) () = $ac_func;
75469 #endif
75470 #ifdef __cplusplus
75471 }
75472 #endif
75473
75474 int
75475 main ()
75476 {
75477 return f != $ac_func;
75478   ;
75479   return 0;
75480 }
75481 _ACEOF
75482 rm -f conftest.$ac_objext conftest$ac_exeext
75483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75484   (eval $ac_link) 2>conftest.er1
75485   ac_status=$?
75486   grep -v '^ *+' conftest.er1 >conftest.err
75487   rm -f conftest.er1
75488   cat conftest.err >&5
75489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75490   (exit $ac_status); } &&
75491          { ac_try='test -z "$ac_c_werror_flag"
75492                          || test ! -s conftest.err'
75493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494   (eval $ac_try) 2>&5
75495   ac_status=$?
75496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497   (exit $ac_status); }; } &&
75498          { ac_try='test -s conftest$ac_exeext'
75499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75500   (eval $ac_try) 2>&5
75501   ac_status=$?
75502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75503   (exit $ac_status); }; }; then
75504   eval "$as_ac_var=yes"
75505 else
75506   echo "$as_me: failed program was:" >&5
75507 sed 's/^/| /' conftest.$ac_ext >&5
75508
75509 eval "$as_ac_var=no"
75510 fi
75511 rm -f conftest.err conftest.$ac_objext \
75512       conftest$ac_exeext conftest.$ac_ext
75513 fi
75514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75516 if test `eval echo '${'$as_ac_var'}'` = yes; then
75517   cat >>confdefs.h <<_ACEOF
75518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75519 _ACEOF
75520
75521 fi
75522 done
75523
75524     fi
75525   fi
75526
75527
75528
75529
75530
75531
75532   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
75533 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
75534   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75535     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
75536   echo $ECHO_N "(cached) $ECHO_C" >&6
75537 else
75538
75539
75540
75541       ac_ext=cc
75542 ac_cpp='$CXXCPP $CPPFLAGS'
75543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75546
75547       cat >conftest.$ac_ext <<_ACEOF
75548 /* confdefs.h.  */
75549 _ACEOF
75550 cat confdefs.h >>conftest.$ac_ext
75551 cat >>conftest.$ac_ext <<_ACEOF
75552 /* end confdefs.h.  */
75553 #include <math.h>
75554 int
75555 main ()
75556 {
75557  hypotl(0, 0);
75558   ;
75559   return 0;
75560 }
75561 _ACEOF
75562 rm -f conftest.$ac_objext
75563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75564   (eval $ac_compile) 2>conftest.er1
75565   ac_status=$?
75566   grep -v '^ *+' conftest.er1 >conftest.err
75567   rm -f conftest.er1
75568   cat conftest.err >&5
75569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75570   (exit $ac_status); } &&
75571          { ac_try='test -z "$ac_cxx_werror_flag"
75572                          || test ! -s conftest.err'
75573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75574   (eval $ac_try) 2>&5
75575   ac_status=$?
75576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75577   (exit $ac_status); }; } &&
75578          { ac_try='test -s conftest.$ac_objext'
75579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75580   (eval $ac_try) 2>&5
75581   ac_status=$?
75582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75583   (exit $ac_status); }; }; then
75584   glibcxx_cv_func_hypotl_use=yes
75585 else
75586   echo "$as_me: failed program was:" >&5
75587 sed 's/^/| /' conftest.$ac_ext >&5
75588
75589 glibcxx_cv_func_hypotl_use=no
75590 fi
75591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75592       ac_ext=c
75593 ac_cpp='$CPP $CPPFLAGS'
75594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75597
75598
75599 fi
75600
75601   fi
75602   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
75603 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
75604
75605   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75606
75607 for ac_func in hypotl
75608 do
75609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75610 echo "$as_me:$LINENO: checking for $ac_func" >&5
75611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75612 if eval "test \"\${$as_ac_var+set}\" = set"; then
75613   echo $ECHO_N "(cached) $ECHO_C" >&6
75614 else
75615   if test x$gcc_no_link = xyes; then
75616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75618    { (exit 1); exit 1; }; }
75619 fi
75620 cat >conftest.$ac_ext <<_ACEOF
75621 /* confdefs.h.  */
75622 _ACEOF
75623 cat confdefs.h >>conftest.$ac_ext
75624 cat >>conftest.$ac_ext <<_ACEOF
75625 /* end confdefs.h.  */
75626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75628 #define $ac_func innocuous_$ac_func
75629
75630 /* System header to define __stub macros and hopefully few prototypes,
75631     which can conflict with char $ac_func (); below.
75632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75633     <limits.h> exists even on freestanding compilers.  */
75634
75635 #ifdef __STDC__
75636 # include <limits.h>
75637 #else
75638 # include <assert.h>
75639 #endif
75640
75641 #undef $ac_func
75642
75643 /* Override any gcc2 internal prototype to avoid an error.  */
75644 #ifdef __cplusplus
75645 extern "C"
75646 {
75647 #endif
75648 /* We use char because int might match the return type of a gcc2
75649    builtin and then its argument prototype would still apply.  */
75650 char $ac_func ();
75651 /* The GNU C library defines this for functions which it implements
75652     to always fail with ENOSYS.  Some functions are actually named
75653     something starting with __ and the normal name is an alias.  */
75654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75655 choke me
75656 #else
75657 char (*f) () = $ac_func;
75658 #endif
75659 #ifdef __cplusplus
75660 }
75661 #endif
75662
75663 int
75664 main ()
75665 {
75666 return f != $ac_func;
75667   ;
75668   return 0;
75669 }
75670 _ACEOF
75671 rm -f conftest.$ac_objext conftest$ac_exeext
75672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75673   (eval $ac_link) 2>conftest.er1
75674   ac_status=$?
75675   grep -v '^ *+' conftest.er1 >conftest.err
75676   rm -f conftest.er1
75677   cat conftest.err >&5
75678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75679   (exit $ac_status); } &&
75680          { ac_try='test -z "$ac_c_werror_flag"
75681                          || test ! -s conftest.err'
75682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75683   (eval $ac_try) 2>&5
75684   ac_status=$?
75685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75686   (exit $ac_status); }; } &&
75687          { ac_try='test -s conftest$ac_exeext'
75688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75689   (eval $ac_try) 2>&5
75690   ac_status=$?
75691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692   (exit $ac_status); }; }; then
75693   eval "$as_ac_var=yes"
75694 else
75695   echo "$as_me: failed program was:" >&5
75696 sed 's/^/| /' conftest.$ac_ext >&5
75697
75698 eval "$as_ac_var=no"
75699 fi
75700 rm -f conftest.err conftest.$ac_objext \
75701       conftest$ac_exeext conftest.$ac_ext
75702 fi
75703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75705 if test `eval echo '${'$as_ac_var'}'` = yes; then
75706   cat >>confdefs.h <<_ACEOF
75707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75708 _ACEOF
75709
75710 fi
75711 done
75712
75713   else
75714
75715   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
75716 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
75717   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75718     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
75719   echo $ECHO_N "(cached) $ECHO_C" >&6
75720 else
75721
75722
75723
75724       ac_ext=cc
75725 ac_cpp='$CXXCPP $CPPFLAGS'
75726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75729
75730       cat >conftest.$ac_ext <<_ACEOF
75731 /* confdefs.h.  */
75732 _ACEOF
75733 cat confdefs.h >>conftest.$ac_ext
75734 cat >>conftest.$ac_ext <<_ACEOF
75735 /* end confdefs.h.  */
75736 #include <math.h>
75737 int
75738 main ()
75739 {
75740  _hypotl(0, 0);
75741   ;
75742   return 0;
75743 }
75744 _ACEOF
75745 rm -f conftest.$ac_objext
75746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75747   (eval $ac_compile) 2>conftest.er1
75748   ac_status=$?
75749   grep -v '^ *+' conftest.er1 >conftest.err
75750   rm -f conftest.er1
75751   cat conftest.err >&5
75752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75753   (exit $ac_status); } &&
75754          { ac_try='test -z "$ac_cxx_werror_flag"
75755                          || test ! -s conftest.err'
75756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75757   (eval $ac_try) 2>&5
75758   ac_status=$?
75759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75760   (exit $ac_status); }; } &&
75761          { ac_try='test -s conftest.$ac_objext'
75762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75763   (eval $ac_try) 2>&5
75764   ac_status=$?
75765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766   (exit $ac_status); }; }; then
75767   glibcxx_cv_func__hypotl_use=yes
75768 else
75769   echo "$as_me: failed program was:" >&5
75770 sed 's/^/| /' conftest.$ac_ext >&5
75771
75772 glibcxx_cv_func__hypotl_use=no
75773 fi
75774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75775       ac_ext=c
75776 ac_cpp='$CPP $CPPFLAGS'
75777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75780
75781
75782 fi
75783
75784   fi
75785   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
75786 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
75787
75788     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75789
75790 for ac_func in _hypotl
75791 do
75792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75793 echo "$as_me:$LINENO: checking for $ac_func" >&5
75794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75795 if eval "test \"\${$as_ac_var+set}\" = set"; then
75796   echo $ECHO_N "(cached) $ECHO_C" >&6
75797 else
75798   if test x$gcc_no_link = xyes; then
75799   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75801    { (exit 1); exit 1; }; }
75802 fi
75803 cat >conftest.$ac_ext <<_ACEOF
75804 /* confdefs.h.  */
75805 _ACEOF
75806 cat confdefs.h >>conftest.$ac_ext
75807 cat >>conftest.$ac_ext <<_ACEOF
75808 /* end confdefs.h.  */
75809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75810    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75811 #define $ac_func innocuous_$ac_func
75812
75813 /* System header to define __stub macros and hopefully few prototypes,
75814     which can conflict with char $ac_func (); below.
75815     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75816     <limits.h> exists even on freestanding compilers.  */
75817
75818 #ifdef __STDC__
75819 # include <limits.h>
75820 #else
75821 # include <assert.h>
75822 #endif
75823
75824 #undef $ac_func
75825
75826 /* Override any gcc2 internal prototype to avoid an error.  */
75827 #ifdef __cplusplus
75828 extern "C"
75829 {
75830 #endif
75831 /* We use char because int might match the return type of a gcc2
75832    builtin and then its argument prototype would still apply.  */
75833 char $ac_func ();
75834 /* The GNU C library defines this for functions which it implements
75835     to always fail with ENOSYS.  Some functions are actually named
75836     something starting with __ and the normal name is an alias.  */
75837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75838 choke me
75839 #else
75840 char (*f) () = $ac_func;
75841 #endif
75842 #ifdef __cplusplus
75843 }
75844 #endif
75845
75846 int
75847 main ()
75848 {
75849 return f != $ac_func;
75850   ;
75851   return 0;
75852 }
75853 _ACEOF
75854 rm -f conftest.$ac_objext conftest$ac_exeext
75855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75856   (eval $ac_link) 2>conftest.er1
75857   ac_status=$?
75858   grep -v '^ *+' conftest.er1 >conftest.err
75859   rm -f conftest.er1
75860   cat conftest.err >&5
75861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75862   (exit $ac_status); } &&
75863          { ac_try='test -z "$ac_c_werror_flag"
75864                          || test ! -s conftest.err'
75865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75866   (eval $ac_try) 2>&5
75867   ac_status=$?
75868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75869   (exit $ac_status); }; } &&
75870          { ac_try='test -s conftest$ac_exeext'
75871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75872   (eval $ac_try) 2>&5
75873   ac_status=$?
75874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75875   (exit $ac_status); }; }; then
75876   eval "$as_ac_var=yes"
75877 else
75878   echo "$as_me: failed program was:" >&5
75879 sed 's/^/| /' conftest.$ac_ext >&5
75880
75881 eval "$as_ac_var=no"
75882 fi
75883 rm -f conftest.err conftest.$ac_objext \
75884       conftest$ac_exeext conftest.$ac_ext
75885 fi
75886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75888 if test `eval echo '${'$as_ac_var'}'` = yes; then
75889   cat >>confdefs.h <<_ACEOF
75890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75891 _ACEOF
75892
75893 fi
75894 done
75895
75896     fi
75897   fi
75898
75899
75900
75901
75902
75903
75904   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
75905 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
75906   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75907     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
75908   echo $ECHO_N "(cached) $ECHO_C" >&6
75909 else
75910
75911
75912
75913       ac_ext=cc
75914 ac_cpp='$CXXCPP $CPPFLAGS'
75915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75918
75919       cat >conftest.$ac_ext <<_ACEOF
75920 /* confdefs.h.  */
75921 _ACEOF
75922 cat confdefs.h >>conftest.$ac_ext
75923 cat >>conftest.$ac_ext <<_ACEOF
75924 /* end confdefs.h.  */
75925 #include <math.h>
75926 int
75927 main ()
75928 {
75929  ldexpl(0, 0);
75930   ;
75931   return 0;
75932 }
75933 _ACEOF
75934 rm -f conftest.$ac_objext
75935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75936   (eval $ac_compile) 2>conftest.er1
75937   ac_status=$?
75938   grep -v '^ *+' conftest.er1 >conftest.err
75939   rm -f conftest.er1
75940   cat conftest.err >&5
75941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75942   (exit $ac_status); } &&
75943          { ac_try='test -z "$ac_cxx_werror_flag"
75944                          || test ! -s conftest.err'
75945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75946   (eval $ac_try) 2>&5
75947   ac_status=$?
75948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949   (exit $ac_status); }; } &&
75950          { ac_try='test -s conftest.$ac_objext'
75951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75952   (eval $ac_try) 2>&5
75953   ac_status=$?
75954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75955   (exit $ac_status); }; }; then
75956   glibcxx_cv_func_ldexpl_use=yes
75957 else
75958   echo "$as_me: failed program was:" >&5
75959 sed 's/^/| /' conftest.$ac_ext >&5
75960
75961 glibcxx_cv_func_ldexpl_use=no
75962 fi
75963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75964       ac_ext=c
75965 ac_cpp='$CPP $CPPFLAGS'
75966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75969
75970
75971 fi
75972
75973   fi
75974   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
75975 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
75976
75977   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75978
75979 for ac_func in ldexpl
75980 do
75981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75982 echo "$as_me:$LINENO: checking for $ac_func" >&5
75983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75984 if eval "test \"\${$as_ac_var+set}\" = set"; then
75985   echo $ECHO_N "(cached) $ECHO_C" >&6
75986 else
75987   if test x$gcc_no_link = xyes; then
75988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75990    { (exit 1); exit 1; }; }
75991 fi
75992 cat >conftest.$ac_ext <<_ACEOF
75993 /* confdefs.h.  */
75994 _ACEOF
75995 cat confdefs.h >>conftest.$ac_ext
75996 cat >>conftest.$ac_ext <<_ACEOF
75997 /* end confdefs.h.  */
75998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76000 #define $ac_func innocuous_$ac_func
76001
76002 /* System header to define __stub macros and hopefully few prototypes,
76003     which can conflict with char $ac_func (); below.
76004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76005     <limits.h> exists even on freestanding compilers.  */
76006
76007 #ifdef __STDC__
76008 # include <limits.h>
76009 #else
76010 # include <assert.h>
76011 #endif
76012
76013 #undef $ac_func
76014
76015 /* Override any gcc2 internal prototype to avoid an error.  */
76016 #ifdef __cplusplus
76017 extern "C"
76018 {
76019 #endif
76020 /* We use char because int might match the return type of a gcc2
76021    builtin and then its argument prototype would still apply.  */
76022 char $ac_func ();
76023 /* The GNU C library defines this for functions which it implements
76024     to always fail with ENOSYS.  Some functions are actually named
76025     something starting with __ and the normal name is an alias.  */
76026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76027 choke me
76028 #else
76029 char (*f) () = $ac_func;
76030 #endif
76031 #ifdef __cplusplus
76032 }
76033 #endif
76034
76035 int
76036 main ()
76037 {
76038 return f != $ac_func;
76039   ;
76040   return 0;
76041 }
76042 _ACEOF
76043 rm -f conftest.$ac_objext conftest$ac_exeext
76044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76045   (eval $ac_link) 2>conftest.er1
76046   ac_status=$?
76047   grep -v '^ *+' conftest.er1 >conftest.err
76048   rm -f conftest.er1
76049   cat conftest.err >&5
76050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76051   (exit $ac_status); } &&
76052          { ac_try='test -z "$ac_c_werror_flag"
76053                          || test ! -s conftest.err'
76054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76055   (eval $ac_try) 2>&5
76056   ac_status=$?
76057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76058   (exit $ac_status); }; } &&
76059          { ac_try='test -s conftest$ac_exeext'
76060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76061   (eval $ac_try) 2>&5
76062   ac_status=$?
76063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76064   (exit $ac_status); }; }; then
76065   eval "$as_ac_var=yes"
76066 else
76067   echo "$as_me: failed program was:" >&5
76068 sed 's/^/| /' conftest.$ac_ext >&5
76069
76070 eval "$as_ac_var=no"
76071 fi
76072 rm -f conftest.err conftest.$ac_objext \
76073       conftest$ac_exeext conftest.$ac_ext
76074 fi
76075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76077 if test `eval echo '${'$as_ac_var'}'` = yes; then
76078   cat >>confdefs.h <<_ACEOF
76079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76080 _ACEOF
76081
76082 fi
76083 done
76084
76085   else
76086
76087   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
76088 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
76089   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76090     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
76091   echo $ECHO_N "(cached) $ECHO_C" >&6
76092 else
76093
76094
76095
76096       ac_ext=cc
76097 ac_cpp='$CXXCPP $CPPFLAGS'
76098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76101
76102       cat >conftest.$ac_ext <<_ACEOF
76103 /* confdefs.h.  */
76104 _ACEOF
76105 cat confdefs.h >>conftest.$ac_ext
76106 cat >>conftest.$ac_ext <<_ACEOF
76107 /* end confdefs.h.  */
76108 #include <math.h>
76109 int
76110 main ()
76111 {
76112  _ldexpl(0, 0);
76113   ;
76114   return 0;
76115 }
76116 _ACEOF
76117 rm -f conftest.$ac_objext
76118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76119   (eval $ac_compile) 2>conftest.er1
76120   ac_status=$?
76121   grep -v '^ *+' conftest.er1 >conftest.err
76122   rm -f conftest.er1
76123   cat conftest.err >&5
76124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76125   (exit $ac_status); } &&
76126          { ac_try='test -z "$ac_cxx_werror_flag"
76127                          || test ! -s conftest.err'
76128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76129   (eval $ac_try) 2>&5
76130   ac_status=$?
76131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76132   (exit $ac_status); }; } &&
76133          { ac_try='test -s conftest.$ac_objext'
76134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76135   (eval $ac_try) 2>&5
76136   ac_status=$?
76137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76138   (exit $ac_status); }; }; then
76139   glibcxx_cv_func__ldexpl_use=yes
76140 else
76141   echo "$as_me: failed program was:" >&5
76142 sed 's/^/| /' conftest.$ac_ext >&5
76143
76144 glibcxx_cv_func__ldexpl_use=no
76145 fi
76146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76147       ac_ext=c
76148 ac_cpp='$CPP $CPPFLAGS'
76149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76152
76153
76154 fi
76155
76156   fi
76157   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
76158 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
76159
76160     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76161
76162 for ac_func in _ldexpl
76163 do
76164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76165 echo "$as_me:$LINENO: checking for $ac_func" >&5
76166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76167 if eval "test \"\${$as_ac_var+set}\" = set"; then
76168   echo $ECHO_N "(cached) $ECHO_C" >&6
76169 else
76170   if test x$gcc_no_link = xyes; then
76171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76173    { (exit 1); exit 1; }; }
76174 fi
76175 cat >conftest.$ac_ext <<_ACEOF
76176 /* confdefs.h.  */
76177 _ACEOF
76178 cat confdefs.h >>conftest.$ac_ext
76179 cat >>conftest.$ac_ext <<_ACEOF
76180 /* end confdefs.h.  */
76181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76183 #define $ac_func innocuous_$ac_func
76184
76185 /* System header to define __stub macros and hopefully few prototypes,
76186     which can conflict with char $ac_func (); below.
76187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76188     <limits.h> exists even on freestanding compilers.  */
76189
76190 #ifdef __STDC__
76191 # include <limits.h>
76192 #else
76193 # include <assert.h>
76194 #endif
76195
76196 #undef $ac_func
76197
76198 /* Override any gcc2 internal prototype to avoid an error.  */
76199 #ifdef __cplusplus
76200 extern "C"
76201 {
76202 #endif
76203 /* We use char because int might match the return type of a gcc2
76204    builtin and then its argument prototype would still apply.  */
76205 char $ac_func ();
76206 /* The GNU C library defines this for functions which it implements
76207     to always fail with ENOSYS.  Some functions are actually named
76208     something starting with __ and the normal name is an alias.  */
76209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76210 choke me
76211 #else
76212 char (*f) () = $ac_func;
76213 #endif
76214 #ifdef __cplusplus
76215 }
76216 #endif
76217
76218 int
76219 main ()
76220 {
76221 return f != $ac_func;
76222   ;
76223   return 0;
76224 }
76225 _ACEOF
76226 rm -f conftest.$ac_objext conftest$ac_exeext
76227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76228   (eval $ac_link) 2>conftest.er1
76229   ac_status=$?
76230   grep -v '^ *+' conftest.er1 >conftest.err
76231   rm -f conftest.er1
76232   cat conftest.err >&5
76233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76234   (exit $ac_status); } &&
76235          { ac_try='test -z "$ac_c_werror_flag"
76236                          || test ! -s conftest.err'
76237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76238   (eval $ac_try) 2>&5
76239   ac_status=$?
76240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76241   (exit $ac_status); }; } &&
76242          { ac_try='test -s conftest$ac_exeext'
76243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76244   (eval $ac_try) 2>&5
76245   ac_status=$?
76246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76247   (exit $ac_status); }; }; then
76248   eval "$as_ac_var=yes"
76249 else
76250   echo "$as_me: failed program was:" >&5
76251 sed 's/^/| /' conftest.$ac_ext >&5
76252
76253 eval "$as_ac_var=no"
76254 fi
76255 rm -f conftest.err conftest.$ac_objext \
76256       conftest$ac_exeext conftest.$ac_ext
76257 fi
76258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76260 if test `eval echo '${'$as_ac_var'}'` = yes; then
76261   cat >>confdefs.h <<_ACEOF
76262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76263 _ACEOF
76264
76265 fi
76266 done
76267
76268     fi
76269   fi
76270
76271
76272
76273
76274
76275
76276   echo "$as_me:$LINENO: checking for logl declaration" >&5
76277 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
76278   if test x${glibcxx_cv_func_logl_use+set} != xset; then
76279     if test "${glibcxx_cv_func_logl_use+set}" = set; then
76280   echo $ECHO_N "(cached) $ECHO_C" >&6
76281 else
76282
76283
76284
76285       ac_ext=cc
76286 ac_cpp='$CXXCPP $CPPFLAGS'
76287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76290
76291       cat >conftest.$ac_ext <<_ACEOF
76292 /* confdefs.h.  */
76293 _ACEOF
76294 cat confdefs.h >>conftest.$ac_ext
76295 cat >>conftest.$ac_ext <<_ACEOF
76296 /* end confdefs.h.  */
76297 #include <math.h>
76298                       #ifdef HAVE_IEEEFP_H
76299                       #include <ieeefp.h>
76300                       #endif
76301
76302 int
76303 main ()
76304 {
76305  logl(0);
76306   ;
76307   return 0;
76308 }
76309 _ACEOF
76310 rm -f conftest.$ac_objext
76311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76312   (eval $ac_compile) 2>conftest.er1
76313   ac_status=$?
76314   grep -v '^ *+' conftest.er1 >conftest.err
76315   rm -f conftest.er1
76316   cat conftest.err >&5
76317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76318   (exit $ac_status); } &&
76319          { ac_try='test -z "$ac_cxx_werror_flag"
76320                          || test ! -s conftest.err'
76321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76322   (eval $ac_try) 2>&5
76323   ac_status=$?
76324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76325   (exit $ac_status); }; } &&
76326          { ac_try='test -s conftest.$ac_objext'
76327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76328   (eval $ac_try) 2>&5
76329   ac_status=$?
76330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331   (exit $ac_status); }; }; then
76332   glibcxx_cv_func_logl_use=yes
76333 else
76334   echo "$as_me: failed program was:" >&5
76335 sed 's/^/| /' conftest.$ac_ext >&5
76336
76337 glibcxx_cv_func_logl_use=no
76338 fi
76339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76340       ac_ext=c
76341 ac_cpp='$CPP $CPPFLAGS'
76342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76345
76346
76347 fi
76348
76349   fi
76350   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
76351 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
76352
76353   if test x$glibcxx_cv_func_logl_use = x"yes"; then
76354
76355 for ac_func in logl
76356 do
76357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76358 echo "$as_me:$LINENO: checking for $ac_func" >&5
76359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76360 if eval "test \"\${$as_ac_var+set}\" = set"; then
76361   echo $ECHO_N "(cached) $ECHO_C" >&6
76362 else
76363   if test x$gcc_no_link = xyes; then
76364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76366    { (exit 1); exit 1; }; }
76367 fi
76368 cat >conftest.$ac_ext <<_ACEOF
76369 /* confdefs.h.  */
76370 _ACEOF
76371 cat confdefs.h >>conftest.$ac_ext
76372 cat >>conftest.$ac_ext <<_ACEOF
76373 /* end confdefs.h.  */
76374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76376 #define $ac_func innocuous_$ac_func
76377
76378 /* System header to define __stub macros and hopefully few prototypes,
76379     which can conflict with char $ac_func (); below.
76380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76381     <limits.h> exists even on freestanding compilers.  */
76382
76383 #ifdef __STDC__
76384 # include <limits.h>
76385 #else
76386 # include <assert.h>
76387 #endif
76388
76389 #undef $ac_func
76390
76391 /* Override any gcc2 internal prototype to avoid an error.  */
76392 #ifdef __cplusplus
76393 extern "C"
76394 {
76395 #endif
76396 /* We use char because int might match the return type of a gcc2
76397    builtin and then its argument prototype would still apply.  */
76398 char $ac_func ();
76399 /* The GNU C library defines this for functions which it implements
76400     to always fail with ENOSYS.  Some functions are actually named
76401     something starting with __ and the normal name is an alias.  */
76402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76403 choke me
76404 #else
76405 char (*f) () = $ac_func;
76406 #endif
76407 #ifdef __cplusplus
76408 }
76409 #endif
76410
76411 int
76412 main ()
76413 {
76414 return f != $ac_func;
76415   ;
76416   return 0;
76417 }
76418 _ACEOF
76419 rm -f conftest.$ac_objext conftest$ac_exeext
76420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76421   (eval $ac_link) 2>conftest.er1
76422   ac_status=$?
76423   grep -v '^ *+' conftest.er1 >conftest.err
76424   rm -f conftest.er1
76425   cat conftest.err >&5
76426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76427   (exit $ac_status); } &&
76428          { ac_try='test -z "$ac_c_werror_flag"
76429                          || test ! -s conftest.err'
76430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76431   (eval $ac_try) 2>&5
76432   ac_status=$?
76433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76434   (exit $ac_status); }; } &&
76435          { ac_try='test -s conftest$ac_exeext'
76436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76437   (eval $ac_try) 2>&5
76438   ac_status=$?
76439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76440   (exit $ac_status); }; }; then
76441   eval "$as_ac_var=yes"
76442 else
76443   echo "$as_me: failed program was:" >&5
76444 sed 's/^/| /' conftest.$ac_ext >&5
76445
76446 eval "$as_ac_var=no"
76447 fi
76448 rm -f conftest.err conftest.$ac_objext \
76449       conftest$ac_exeext conftest.$ac_ext
76450 fi
76451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76453 if test `eval echo '${'$as_ac_var'}'` = yes; then
76454   cat >>confdefs.h <<_ACEOF
76455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76456 _ACEOF
76457
76458 fi
76459 done
76460
76461   else
76462
76463   echo "$as_me:$LINENO: checking for _logl declaration" >&5
76464 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
76465   if test x${glibcxx_cv_func__logl_use+set} != xset; then
76466     if test "${glibcxx_cv_func__logl_use+set}" = set; then
76467   echo $ECHO_N "(cached) $ECHO_C" >&6
76468 else
76469
76470
76471
76472       ac_ext=cc
76473 ac_cpp='$CXXCPP $CPPFLAGS'
76474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76477
76478       cat >conftest.$ac_ext <<_ACEOF
76479 /* confdefs.h.  */
76480 _ACEOF
76481 cat confdefs.h >>conftest.$ac_ext
76482 cat >>conftest.$ac_ext <<_ACEOF
76483 /* end confdefs.h.  */
76484 #include <math.h>
76485                       #ifdef HAVE_IEEEFP_H
76486                       #include <ieeefp.h>
76487                       #endif
76488
76489 int
76490 main ()
76491 {
76492  _logl(0);
76493   ;
76494   return 0;
76495 }
76496 _ACEOF
76497 rm -f conftest.$ac_objext
76498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76499   (eval $ac_compile) 2>conftest.er1
76500   ac_status=$?
76501   grep -v '^ *+' conftest.er1 >conftest.err
76502   rm -f conftest.er1
76503   cat conftest.err >&5
76504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76505   (exit $ac_status); } &&
76506          { ac_try='test -z "$ac_cxx_werror_flag"
76507                          || test ! -s conftest.err'
76508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76509   (eval $ac_try) 2>&5
76510   ac_status=$?
76511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76512   (exit $ac_status); }; } &&
76513          { ac_try='test -s conftest.$ac_objext'
76514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76515   (eval $ac_try) 2>&5
76516   ac_status=$?
76517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76518   (exit $ac_status); }; }; then
76519   glibcxx_cv_func__logl_use=yes
76520 else
76521   echo "$as_me: failed program was:" >&5
76522 sed 's/^/| /' conftest.$ac_ext >&5
76523
76524 glibcxx_cv_func__logl_use=no
76525 fi
76526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76527       ac_ext=c
76528 ac_cpp='$CPP $CPPFLAGS'
76529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76532
76533
76534 fi
76535
76536   fi
76537   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
76538 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
76539
76540     if test x$glibcxx_cv_func__logl_use = x"yes"; then
76541
76542 for ac_func in _logl
76543 do
76544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76545 echo "$as_me:$LINENO: checking for $ac_func" >&5
76546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76547 if eval "test \"\${$as_ac_var+set}\" = set"; then
76548   echo $ECHO_N "(cached) $ECHO_C" >&6
76549 else
76550   if test x$gcc_no_link = xyes; then
76551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76553    { (exit 1); exit 1; }; }
76554 fi
76555 cat >conftest.$ac_ext <<_ACEOF
76556 /* confdefs.h.  */
76557 _ACEOF
76558 cat confdefs.h >>conftest.$ac_ext
76559 cat >>conftest.$ac_ext <<_ACEOF
76560 /* end confdefs.h.  */
76561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76563 #define $ac_func innocuous_$ac_func
76564
76565 /* System header to define __stub macros and hopefully few prototypes,
76566     which can conflict with char $ac_func (); below.
76567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76568     <limits.h> exists even on freestanding compilers.  */
76569
76570 #ifdef __STDC__
76571 # include <limits.h>
76572 #else
76573 # include <assert.h>
76574 #endif
76575
76576 #undef $ac_func
76577
76578 /* Override any gcc2 internal prototype to avoid an error.  */
76579 #ifdef __cplusplus
76580 extern "C"
76581 {
76582 #endif
76583 /* We use char because int might match the return type of a gcc2
76584    builtin and then its argument prototype would still apply.  */
76585 char $ac_func ();
76586 /* The GNU C library defines this for functions which it implements
76587     to always fail with ENOSYS.  Some functions are actually named
76588     something starting with __ and the normal name is an alias.  */
76589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76590 choke me
76591 #else
76592 char (*f) () = $ac_func;
76593 #endif
76594 #ifdef __cplusplus
76595 }
76596 #endif
76597
76598 int
76599 main ()
76600 {
76601 return f != $ac_func;
76602   ;
76603   return 0;
76604 }
76605 _ACEOF
76606 rm -f conftest.$ac_objext conftest$ac_exeext
76607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76608   (eval $ac_link) 2>conftest.er1
76609   ac_status=$?
76610   grep -v '^ *+' conftest.er1 >conftest.err
76611   rm -f conftest.er1
76612   cat conftest.err >&5
76613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76614   (exit $ac_status); } &&
76615          { ac_try='test -z "$ac_c_werror_flag"
76616                          || test ! -s conftest.err'
76617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76618   (eval $ac_try) 2>&5
76619   ac_status=$?
76620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76621   (exit $ac_status); }; } &&
76622          { ac_try='test -s conftest$ac_exeext'
76623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76624   (eval $ac_try) 2>&5
76625   ac_status=$?
76626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76627   (exit $ac_status); }; }; then
76628   eval "$as_ac_var=yes"
76629 else
76630   echo "$as_me: failed program was:" >&5
76631 sed 's/^/| /' conftest.$ac_ext >&5
76632
76633 eval "$as_ac_var=no"
76634 fi
76635 rm -f conftest.err conftest.$ac_objext \
76636       conftest$ac_exeext conftest.$ac_ext
76637 fi
76638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76640 if test `eval echo '${'$as_ac_var'}'` = yes; then
76641   cat >>confdefs.h <<_ACEOF
76642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76643 _ACEOF
76644
76645 fi
76646 done
76647
76648     fi
76649   fi
76650
76651
76652
76653
76654
76655
76656   echo "$as_me:$LINENO: checking for log10l declaration" >&5
76657 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
76658   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76659     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
76660   echo $ECHO_N "(cached) $ECHO_C" >&6
76661 else
76662
76663
76664
76665       ac_ext=cc
76666 ac_cpp='$CXXCPP $CPPFLAGS'
76667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76670
76671       cat >conftest.$ac_ext <<_ACEOF
76672 /* confdefs.h.  */
76673 _ACEOF
76674 cat confdefs.h >>conftest.$ac_ext
76675 cat >>conftest.$ac_ext <<_ACEOF
76676 /* end confdefs.h.  */
76677 #include <math.h>
76678                       #ifdef HAVE_IEEEFP_H
76679                       #include <ieeefp.h>
76680                       #endif
76681
76682 int
76683 main ()
76684 {
76685  log10l(0);
76686   ;
76687   return 0;
76688 }
76689 _ACEOF
76690 rm -f conftest.$ac_objext
76691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76692   (eval $ac_compile) 2>conftest.er1
76693   ac_status=$?
76694   grep -v '^ *+' conftest.er1 >conftest.err
76695   rm -f conftest.er1
76696   cat conftest.err >&5
76697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76698   (exit $ac_status); } &&
76699          { ac_try='test -z "$ac_cxx_werror_flag"
76700                          || test ! -s conftest.err'
76701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76702   (eval $ac_try) 2>&5
76703   ac_status=$?
76704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76705   (exit $ac_status); }; } &&
76706          { ac_try='test -s conftest.$ac_objext'
76707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76708   (eval $ac_try) 2>&5
76709   ac_status=$?
76710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76711   (exit $ac_status); }; }; then
76712   glibcxx_cv_func_log10l_use=yes
76713 else
76714   echo "$as_me: failed program was:" >&5
76715 sed 's/^/| /' conftest.$ac_ext >&5
76716
76717 glibcxx_cv_func_log10l_use=no
76718 fi
76719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76720       ac_ext=c
76721 ac_cpp='$CPP $CPPFLAGS'
76722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76725
76726
76727 fi
76728
76729   fi
76730   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
76731 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
76732
76733   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76734
76735 for ac_func in log10l
76736 do
76737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76738 echo "$as_me:$LINENO: checking for $ac_func" >&5
76739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76740 if eval "test \"\${$as_ac_var+set}\" = set"; then
76741   echo $ECHO_N "(cached) $ECHO_C" >&6
76742 else
76743   if test x$gcc_no_link = xyes; then
76744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76746    { (exit 1); exit 1; }; }
76747 fi
76748 cat >conftest.$ac_ext <<_ACEOF
76749 /* confdefs.h.  */
76750 _ACEOF
76751 cat confdefs.h >>conftest.$ac_ext
76752 cat >>conftest.$ac_ext <<_ACEOF
76753 /* end confdefs.h.  */
76754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76756 #define $ac_func innocuous_$ac_func
76757
76758 /* System header to define __stub macros and hopefully few prototypes,
76759     which can conflict with char $ac_func (); below.
76760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76761     <limits.h> exists even on freestanding compilers.  */
76762
76763 #ifdef __STDC__
76764 # include <limits.h>
76765 #else
76766 # include <assert.h>
76767 #endif
76768
76769 #undef $ac_func
76770
76771 /* Override any gcc2 internal prototype to avoid an error.  */
76772 #ifdef __cplusplus
76773 extern "C"
76774 {
76775 #endif
76776 /* We use char because int might match the return type of a gcc2
76777    builtin and then its argument prototype would still apply.  */
76778 char $ac_func ();
76779 /* The GNU C library defines this for functions which it implements
76780     to always fail with ENOSYS.  Some functions are actually named
76781     something starting with __ and the normal name is an alias.  */
76782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76783 choke me
76784 #else
76785 char (*f) () = $ac_func;
76786 #endif
76787 #ifdef __cplusplus
76788 }
76789 #endif
76790
76791 int
76792 main ()
76793 {
76794 return f != $ac_func;
76795   ;
76796   return 0;
76797 }
76798 _ACEOF
76799 rm -f conftest.$ac_objext conftest$ac_exeext
76800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76801   (eval $ac_link) 2>conftest.er1
76802   ac_status=$?
76803   grep -v '^ *+' conftest.er1 >conftest.err
76804   rm -f conftest.er1
76805   cat conftest.err >&5
76806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76807   (exit $ac_status); } &&
76808          { ac_try='test -z "$ac_c_werror_flag"
76809                          || test ! -s conftest.err'
76810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76811   (eval $ac_try) 2>&5
76812   ac_status=$?
76813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76814   (exit $ac_status); }; } &&
76815          { ac_try='test -s conftest$ac_exeext'
76816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76817   (eval $ac_try) 2>&5
76818   ac_status=$?
76819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76820   (exit $ac_status); }; }; then
76821   eval "$as_ac_var=yes"
76822 else
76823   echo "$as_me: failed program was:" >&5
76824 sed 's/^/| /' conftest.$ac_ext >&5
76825
76826 eval "$as_ac_var=no"
76827 fi
76828 rm -f conftest.err conftest.$ac_objext \
76829       conftest$ac_exeext conftest.$ac_ext
76830 fi
76831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76833 if test `eval echo '${'$as_ac_var'}'` = yes; then
76834   cat >>confdefs.h <<_ACEOF
76835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76836 _ACEOF
76837
76838 fi
76839 done
76840
76841   else
76842
76843   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
76844 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
76845   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76846     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
76847   echo $ECHO_N "(cached) $ECHO_C" >&6
76848 else
76849
76850
76851
76852       ac_ext=cc
76853 ac_cpp='$CXXCPP $CPPFLAGS'
76854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76857
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 #include <math.h>
76865                       #ifdef HAVE_IEEEFP_H
76866                       #include <ieeefp.h>
76867                       #endif
76868
76869 int
76870 main ()
76871 {
76872  _log10l(0);
76873   ;
76874   return 0;
76875 }
76876 _ACEOF
76877 rm -f conftest.$ac_objext
76878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76879   (eval $ac_compile) 2>conftest.er1
76880   ac_status=$?
76881   grep -v '^ *+' conftest.er1 >conftest.err
76882   rm -f conftest.er1
76883   cat conftest.err >&5
76884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76885   (exit $ac_status); } &&
76886          { ac_try='test -z "$ac_cxx_werror_flag"
76887                          || test ! -s conftest.err'
76888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76889   (eval $ac_try) 2>&5
76890   ac_status=$?
76891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76892   (exit $ac_status); }; } &&
76893          { ac_try='test -s conftest.$ac_objext'
76894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76895   (eval $ac_try) 2>&5
76896   ac_status=$?
76897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76898   (exit $ac_status); }; }; then
76899   glibcxx_cv_func__log10l_use=yes
76900 else
76901   echo "$as_me: failed program was:" >&5
76902 sed 's/^/| /' conftest.$ac_ext >&5
76903
76904 glibcxx_cv_func__log10l_use=no
76905 fi
76906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76907       ac_ext=c
76908 ac_cpp='$CPP $CPPFLAGS'
76909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76912
76913
76914 fi
76915
76916   fi
76917   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
76918 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
76919
76920     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76921
76922 for ac_func in _log10l
76923 do
76924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76925 echo "$as_me:$LINENO: checking for $ac_func" >&5
76926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76927 if eval "test \"\${$as_ac_var+set}\" = set"; then
76928   echo $ECHO_N "(cached) $ECHO_C" >&6
76929 else
76930   if test x$gcc_no_link = xyes; then
76931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76933    { (exit 1); exit 1; }; }
76934 fi
76935 cat >conftest.$ac_ext <<_ACEOF
76936 /* confdefs.h.  */
76937 _ACEOF
76938 cat confdefs.h >>conftest.$ac_ext
76939 cat >>conftest.$ac_ext <<_ACEOF
76940 /* end confdefs.h.  */
76941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76943 #define $ac_func innocuous_$ac_func
76944
76945 /* System header to define __stub macros and hopefully few prototypes,
76946     which can conflict with char $ac_func (); below.
76947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76948     <limits.h> exists even on freestanding compilers.  */
76949
76950 #ifdef __STDC__
76951 # include <limits.h>
76952 #else
76953 # include <assert.h>
76954 #endif
76955
76956 #undef $ac_func
76957
76958 /* Override any gcc2 internal prototype to avoid an error.  */
76959 #ifdef __cplusplus
76960 extern "C"
76961 {
76962 #endif
76963 /* We use char because int might match the return type of a gcc2
76964    builtin and then its argument prototype would still apply.  */
76965 char $ac_func ();
76966 /* The GNU C library defines this for functions which it implements
76967     to always fail with ENOSYS.  Some functions are actually named
76968     something starting with __ and the normal name is an alias.  */
76969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76970 choke me
76971 #else
76972 char (*f) () = $ac_func;
76973 #endif
76974 #ifdef __cplusplus
76975 }
76976 #endif
76977
76978 int
76979 main ()
76980 {
76981 return f != $ac_func;
76982   ;
76983   return 0;
76984 }
76985 _ACEOF
76986 rm -f conftest.$ac_objext conftest$ac_exeext
76987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76988   (eval $ac_link) 2>conftest.er1
76989   ac_status=$?
76990   grep -v '^ *+' conftest.er1 >conftest.err
76991   rm -f conftest.er1
76992   cat conftest.err >&5
76993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76994   (exit $ac_status); } &&
76995          { ac_try='test -z "$ac_c_werror_flag"
76996                          || test ! -s conftest.err'
76997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76998   (eval $ac_try) 2>&5
76999   ac_status=$?
77000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77001   (exit $ac_status); }; } &&
77002          { ac_try='test -s conftest$ac_exeext'
77003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77004   (eval $ac_try) 2>&5
77005   ac_status=$?
77006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77007   (exit $ac_status); }; }; then
77008   eval "$as_ac_var=yes"
77009 else
77010   echo "$as_me: failed program was:" >&5
77011 sed 's/^/| /' conftest.$ac_ext >&5
77012
77013 eval "$as_ac_var=no"
77014 fi
77015 rm -f conftest.err conftest.$ac_objext \
77016       conftest$ac_exeext conftest.$ac_ext
77017 fi
77018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77020 if test `eval echo '${'$as_ac_var'}'` = yes; then
77021   cat >>confdefs.h <<_ACEOF
77022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77023 _ACEOF
77024
77025 fi
77026 done
77027
77028     fi
77029   fi
77030
77031
77032
77033
77034
77035
77036   echo "$as_me:$LINENO: checking for modfl declaration" >&5
77037 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
77038   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77039     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
77040   echo $ECHO_N "(cached) $ECHO_C" >&6
77041 else
77042
77043
77044
77045       ac_ext=cc
77046 ac_cpp='$CXXCPP $CPPFLAGS'
77047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77050
77051       cat >conftest.$ac_ext <<_ACEOF
77052 /* confdefs.h.  */
77053 _ACEOF
77054 cat confdefs.h >>conftest.$ac_ext
77055 cat >>conftest.$ac_ext <<_ACEOF
77056 /* end confdefs.h.  */
77057 #include <math.h>
77058 int
77059 main ()
77060 {
77061  modfl(0, 0);
77062   ;
77063   return 0;
77064 }
77065 _ACEOF
77066 rm -f conftest.$ac_objext
77067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77068   (eval $ac_compile) 2>conftest.er1
77069   ac_status=$?
77070   grep -v '^ *+' conftest.er1 >conftest.err
77071   rm -f conftest.er1
77072   cat conftest.err >&5
77073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77074   (exit $ac_status); } &&
77075          { ac_try='test -z "$ac_cxx_werror_flag"
77076                          || test ! -s conftest.err'
77077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77078   (eval $ac_try) 2>&5
77079   ac_status=$?
77080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77081   (exit $ac_status); }; } &&
77082          { ac_try='test -s conftest.$ac_objext'
77083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77084   (eval $ac_try) 2>&5
77085   ac_status=$?
77086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77087   (exit $ac_status); }; }; then
77088   glibcxx_cv_func_modfl_use=yes
77089 else
77090   echo "$as_me: failed program was:" >&5
77091 sed 's/^/| /' conftest.$ac_ext >&5
77092
77093 glibcxx_cv_func_modfl_use=no
77094 fi
77095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77096       ac_ext=c
77097 ac_cpp='$CPP $CPPFLAGS'
77098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77101
77102
77103 fi
77104
77105   fi
77106   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
77107 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
77108
77109   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77110
77111 for ac_func in modfl
77112 do
77113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77114 echo "$as_me:$LINENO: checking for $ac_func" >&5
77115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77116 if eval "test \"\${$as_ac_var+set}\" = set"; then
77117   echo $ECHO_N "(cached) $ECHO_C" >&6
77118 else
77119   if test x$gcc_no_link = xyes; then
77120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77122    { (exit 1); exit 1; }; }
77123 fi
77124 cat >conftest.$ac_ext <<_ACEOF
77125 /* confdefs.h.  */
77126 _ACEOF
77127 cat confdefs.h >>conftest.$ac_ext
77128 cat >>conftest.$ac_ext <<_ACEOF
77129 /* end confdefs.h.  */
77130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77132 #define $ac_func innocuous_$ac_func
77133
77134 /* System header to define __stub macros and hopefully few prototypes,
77135     which can conflict with char $ac_func (); below.
77136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77137     <limits.h> exists even on freestanding compilers.  */
77138
77139 #ifdef __STDC__
77140 # include <limits.h>
77141 #else
77142 # include <assert.h>
77143 #endif
77144
77145 #undef $ac_func
77146
77147 /* Override any gcc2 internal prototype to avoid an error.  */
77148 #ifdef __cplusplus
77149 extern "C"
77150 {
77151 #endif
77152 /* We use char because int might match the return type of a gcc2
77153    builtin and then its argument prototype would still apply.  */
77154 char $ac_func ();
77155 /* The GNU C library defines this for functions which it implements
77156     to always fail with ENOSYS.  Some functions are actually named
77157     something starting with __ and the normal name is an alias.  */
77158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77159 choke me
77160 #else
77161 char (*f) () = $ac_func;
77162 #endif
77163 #ifdef __cplusplus
77164 }
77165 #endif
77166
77167 int
77168 main ()
77169 {
77170 return f != $ac_func;
77171   ;
77172   return 0;
77173 }
77174 _ACEOF
77175 rm -f conftest.$ac_objext conftest$ac_exeext
77176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77177   (eval $ac_link) 2>conftest.er1
77178   ac_status=$?
77179   grep -v '^ *+' conftest.er1 >conftest.err
77180   rm -f conftest.er1
77181   cat conftest.err >&5
77182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77183   (exit $ac_status); } &&
77184          { ac_try='test -z "$ac_c_werror_flag"
77185                          || test ! -s conftest.err'
77186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77187   (eval $ac_try) 2>&5
77188   ac_status=$?
77189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77190   (exit $ac_status); }; } &&
77191          { ac_try='test -s conftest$ac_exeext'
77192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77193   (eval $ac_try) 2>&5
77194   ac_status=$?
77195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196   (exit $ac_status); }; }; then
77197   eval "$as_ac_var=yes"
77198 else
77199   echo "$as_me: failed program was:" >&5
77200 sed 's/^/| /' conftest.$ac_ext >&5
77201
77202 eval "$as_ac_var=no"
77203 fi
77204 rm -f conftest.err conftest.$ac_objext \
77205       conftest$ac_exeext conftest.$ac_ext
77206 fi
77207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77209 if test `eval echo '${'$as_ac_var'}'` = yes; then
77210   cat >>confdefs.h <<_ACEOF
77211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77212 _ACEOF
77213
77214 fi
77215 done
77216
77217   else
77218
77219   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
77220 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
77221   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77222     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
77223   echo $ECHO_N "(cached) $ECHO_C" >&6
77224 else
77225
77226
77227
77228       ac_ext=cc
77229 ac_cpp='$CXXCPP $CPPFLAGS'
77230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77233
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 #include <math.h>
77241 int
77242 main ()
77243 {
77244  _modfl(0, 0);
77245   ;
77246   return 0;
77247 }
77248 _ACEOF
77249 rm -f conftest.$ac_objext
77250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77251   (eval $ac_compile) 2>conftest.er1
77252   ac_status=$?
77253   grep -v '^ *+' conftest.er1 >conftest.err
77254   rm -f conftest.er1
77255   cat conftest.err >&5
77256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77257   (exit $ac_status); } &&
77258          { ac_try='test -z "$ac_cxx_werror_flag"
77259                          || test ! -s conftest.err'
77260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77261   (eval $ac_try) 2>&5
77262   ac_status=$?
77263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77264   (exit $ac_status); }; } &&
77265          { ac_try='test -s conftest.$ac_objext'
77266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77267   (eval $ac_try) 2>&5
77268   ac_status=$?
77269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77270   (exit $ac_status); }; }; then
77271   glibcxx_cv_func__modfl_use=yes
77272 else
77273   echo "$as_me: failed program was:" >&5
77274 sed 's/^/| /' conftest.$ac_ext >&5
77275
77276 glibcxx_cv_func__modfl_use=no
77277 fi
77278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77279       ac_ext=c
77280 ac_cpp='$CPP $CPPFLAGS'
77281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77284
77285
77286 fi
77287
77288   fi
77289   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
77290 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
77291
77292     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77293
77294 for ac_func in _modfl
77295 do
77296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77297 echo "$as_me:$LINENO: checking for $ac_func" >&5
77298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77299 if eval "test \"\${$as_ac_var+set}\" = set"; then
77300   echo $ECHO_N "(cached) $ECHO_C" >&6
77301 else
77302   if test x$gcc_no_link = xyes; then
77303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77305    { (exit 1); exit 1; }; }
77306 fi
77307 cat >conftest.$ac_ext <<_ACEOF
77308 /* confdefs.h.  */
77309 _ACEOF
77310 cat confdefs.h >>conftest.$ac_ext
77311 cat >>conftest.$ac_ext <<_ACEOF
77312 /* end confdefs.h.  */
77313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77315 #define $ac_func innocuous_$ac_func
77316
77317 /* System header to define __stub macros and hopefully few prototypes,
77318     which can conflict with char $ac_func (); below.
77319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77320     <limits.h> exists even on freestanding compilers.  */
77321
77322 #ifdef __STDC__
77323 # include <limits.h>
77324 #else
77325 # include <assert.h>
77326 #endif
77327
77328 #undef $ac_func
77329
77330 /* Override any gcc2 internal prototype to avoid an error.  */
77331 #ifdef __cplusplus
77332 extern "C"
77333 {
77334 #endif
77335 /* We use char because int might match the return type of a gcc2
77336    builtin and then its argument prototype would still apply.  */
77337 char $ac_func ();
77338 /* The GNU C library defines this for functions which it implements
77339     to always fail with ENOSYS.  Some functions are actually named
77340     something starting with __ and the normal name is an alias.  */
77341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77342 choke me
77343 #else
77344 char (*f) () = $ac_func;
77345 #endif
77346 #ifdef __cplusplus
77347 }
77348 #endif
77349
77350 int
77351 main ()
77352 {
77353 return f != $ac_func;
77354   ;
77355   return 0;
77356 }
77357 _ACEOF
77358 rm -f conftest.$ac_objext conftest$ac_exeext
77359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77360   (eval $ac_link) 2>conftest.er1
77361   ac_status=$?
77362   grep -v '^ *+' conftest.er1 >conftest.err
77363   rm -f conftest.er1
77364   cat conftest.err >&5
77365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77366   (exit $ac_status); } &&
77367          { ac_try='test -z "$ac_c_werror_flag"
77368                          || test ! -s conftest.err'
77369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77370   (eval $ac_try) 2>&5
77371   ac_status=$?
77372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77373   (exit $ac_status); }; } &&
77374          { ac_try='test -s conftest$ac_exeext'
77375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77376   (eval $ac_try) 2>&5
77377   ac_status=$?
77378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77379   (exit $ac_status); }; }; then
77380   eval "$as_ac_var=yes"
77381 else
77382   echo "$as_me: failed program was:" >&5
77383 sed 's/^/| /' conftest.$ac_ext >&5
77384
77385 eval "$as_ac_var=no"
77386 fi
77387 rm -f conftest.err conftest.$ac_objext \
77388       conftest$ac_exeext conftest.$ac_ext
77389 fi
77390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77392 if test `eval echo '${'$as_ac_var'}'` = yes; then
77393   cat >>confdefs.h <<_ACEOF
77394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77395 _ACEOF
77396
77397 fi
77398 done
77399
77400     fi
77401   fi
77402
77403
77404
77405
77406
77407
77408   echo "$as_me:$LINENO: checking for powl declaration" >&5
77409 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
77410   if test x${glibcxx_cv_func_powl_use+set} != xset; then
77411     if test "${glibcxx_cv_func_powl_use+set}" = set; then
77412   echo $ECHO_N "(cached) $ECHO_C" >&6
77413 else
77414
77415
77416
77417       ac_ext=cc
77418 ac_cpp='$CXXCPP $CPPFLAGS'
77419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77422
77423       cat >conftest.$ac_ext <<_ACEOF
77424 /* confdefs.h.  */
77425 _ACEOF
77426 cat confdefs.h >>conftest.$ac_ext
77427 cat >>conftest.$ac_ext <<_ACEOF
77428 /* end confdefs.h.  */
77429 #include <math.h>
77430 int
77431 main ()
77432 {
77433  powl(0, 0);
77434   ;
77435   return 0;
77436 }
77437 _ACEOF
77438 rm -f conftest.$ac_objext
77439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77440   (eval $ac_compile) 2>conftest.er1
77441   ac_status=$?
77442   grep -v '^ *+' conftest.er1 >conftest.err
77443   rm -f conftest.er1
77444   cat conftest.err >&5
77445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77446   (exit $ac_status); } &&
77447          { ac_try='test -z "$ac_cxx_werror_flag"
77448                          || test ! -s conftest.err'
77449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77450   (eval $ac_try) 2>&5
77451   ac_status=$?
77452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77453   (exit $ac_status); }; } &&
77454          { ac_try='test -s conftest.$ac_objext'
77455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77456   (eval $ac_try) 2>&5
77457   ac_status=$?
77458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77459   (exit $ac_status); }; }; then
77460   glibcxx_cv_func_powl_use=yes
77461 else
77462   echo "$as_me: failed program was:" >&5
77463 sed 's/^/| /' conftest.$ac_ext >&5
77464
77465 glibcxx_cv_func_powl_use=no
77466 fi
77467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77468       ac_ext=c
77469 ac_cpp='$CPP $CPPFLAGS'
77470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77473
77474
77475 fi
77476
77477   fi
77478   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
77479 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
77480
77481   if test x$glibcxx_cv_func_powl_use = x"yes"; then
77482
77483 for ac_func in powl
77484 do
77485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77486 echo "$as_me:$LINENO: checking for $ac_func" >&5
77487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77488 if eval "test \"\${$as_ac_var+set}\" = set"; then
77489   echo $ECHO_N "(cached) $ECHO_C" >&6
77490 else
77491   if test x$gcc_no_link = xyes; then
77492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77494    { (exit 1); exit 1; }; }
77495 fi
77496 cat >conftest.$ac_ext <<_ACEOF
77497 /* confdefs.h.  */
77498 _ACEOF
77499 cat confdefs.h >>conftest.$ac_ext
77500 cat >>conftest.$ac_ext <<_ACEOF
77501 /* end confdefs.h.  */
77502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77504 #define $ac_func innocuous_$ac_func
77505
77506 /* System header to define __stub macros and hopefully few prototypes,
77507     which can conflict with char $ac_func (); below.
77508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77509     <limits.h> exists even on freestanding compilers.  */
77510
77511 #ifdef __STDC__
77512 # include <limits.h>
77513 #else
77514 # include <assert.h>
77515 #endif
77516
77517 #undef $ac_func
77518
77519 /* Override any gcc2 internal prototype to avoid an error.  */
77520 #ifdef __cplusplus
77521 extern "C"
77522 {
77523 #endif
77524 /* We use char because int might match the return type of a gcc2
77525    builtin and then its argument prototype would still apply.  */
77526 char $ac_func ();
77527 /* The GNU C library defines this for functions which it implements
77528     to always fail with ENOSYS.  Some functions are actually named
77529     something starting with __ and the normal name is an alias.  */
77530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77531 choke me
77532 #else
77533 char (*f) () = $ac_func;
77534 #endif
77535 #ifdef __cplusplus
77536 }
77537 #endif
77538
77539 int
77540 main ()
77541 {
77542 return f != $ac_func;
77543   ;
77544   return 0;
77545 }
77546 _ACEOF
77547 rm -f conftest.$ac_objext conftest$ac_exeext
77548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77549   (eval $ac_link) 2>conftest.er1
77550   ac_status=$?
77551   grep -v '^ *+' conftest.er1 >conftest.err
77552   rm -f conftest.er1
77553   cat conftest.err >&5
77554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77555   (exit $ac_status); } &&
77556          { ac_try='test -z "$ac_c_werror_flag"
77557                          || test ! -s conftest.err'
77558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77559   (eval $ac_try) 2>&5
77560   ac_status=$?
77561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77562   (exit $ac_status); }; } &&
77563          { ac_try='test -s conftest$ac_exeext'
77564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77565   (eval $ac_try) 2>&5
77566   ac_status=$?
77567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568   (exit $ac_status); }; }; then
77569   eval "$as_ac_var=yes"
77570 else
77571   echo "$as_me: failed program was:" >&5
77572 sed 's/^/| /' conftest.$ac_ext >&5
77573
77574 eval "$as_ac_var=no"
77575 fi
77576 rm -f conftest.err conftest.$ac_objext \
77577       conftest$ac_exeext conftest.$ac_ext
77578 fi
77579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77581 if test `eval echo '${'$as_ac_var'}'` = yes; then
77582   cat >>confdefs.h <<_ACEOF
77583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77584 _ACEOF
77585
77586 fi
77587 done
77588
77589   else
77590
77591   echo "$as_me:$LINENO: checking for _powl declaration" >&5
77592 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
77593   if test x${glibcxx_cv_func__powl_use+set} != xset; then
77594     if test "${glibcxx_cv_func__powl_use+set}" = set; then
77595   echo $ECHO_N "(cached) $ECHO_C" >&6
77596 else
77597
77598
77599
77600       ac_ext=cc
77601 ac_cpp='$CXXCPP $CPPFLAGS'
77602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77605
77606       cat >conftest.$ac_ext <<_ACEOF
77607 /* confdefs.h.  */
77608 _ACEOF
77609 cat confdefs.h >>conftest.$ac_ext
77610 cat >>conftest.$ac_ext <<_ACEOF
77611 /* end confdefs.h.  */
77612 #include <math.h>
77613 int
77614 main ()
77615 {
77616  _powl(0, 0);
77617   ;
77618   return 0;
77619 }
77620 _ACEOF
77621 rm -f conftest.$ac_objext
77622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77623   (eval $ac_compile) 2>conftest.er1
77624   ac_status=$?
77625   grep -v '^ *+' conftest.er1 >conftest.err
77626   rm -f conftest.er1
77627   cat conftest.err >&5
77628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77629   (exit $ac_status); } &&
77630          { ac_try='test -z "$ac_cxx_werror_flag"
77631                          || test ! -s conftest.err'
77632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77633   (eval $ac_try) 2>&5
77634   ac_status=$?
77635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636   (exit $ac_status); }; } &&
77637          { ac_try='test -s conftest.$ac_objext'
77638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77639   (eval $ac_try) 2>&5
77640   ac_status=$?
77641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77642   (exit $ac_status); }; }; then
77643   glibcxx_cv_func__powl_use=yes
77644 else
77645   echo "$as_me: failed program was:" >&5
77646 sed 's/^/| /' conftest.$ac_ext >&5
77647
77648 glibcxx_cv_func__powl_use=no
77649 fi
77650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77651       ac_ext=c
77652 ac_cpp='$CPP $CPPFLAGS'
77653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77656
77657
77658 fi
77659
77660   fi
77661   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
77662 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
77663
77664     if test x$glibcxx_cv_func__powl_use = x"yes"; then
77665
77666 for ac_func in _powl
77667 do
77668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77669 echo "$as_me:$LINENO: checking for $ac_func" >&5
77670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77671 if eval "test \"\${$as_ac_var+set}\" = set"; then
77672   echo $ECHO_N "(cached) $ECHO_C" >&6
77673 else
77674   if test x$gcc_no_link = xyes; then
77675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77677    { (exit 1); exit 1; }; }
77678 fi
77679 cat >conftest.$ac_ext <<_ACEOF
77680 /* confdefs.h.  */
77681 _ACEOF
77682 cat confdefs.h >>conftest.$ac_ext
77683 cat >>conftest.$ac_ext <<_ACEOF
77684 /* end confdefs.h.  */
77685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77687 #define $ac_func innocuous_$ac_func
77688
77689 /* System header to define __stub macros and hopefully few prototypes,
77690     which can conflict with char $ac_func (); below.
77691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77692     <limits.h> exists even on freestanding compilers.  */
77693
77694 #ifdef __STDC__
77695 # include <limits.h>
77696 #else
77697 # include <assert.h>
77698 #endif
77699
77700 #undef $ac_func
77701
77702 /* Override any gcc2 internal prototype to avoid an error.  */
77703 #ifdef __cplusplus
77704 extern "C"
77705 {
77706 #endif
77707 /* We use char because int might match the return type of a gcc2
77708    builtin and then its argument prototype would still apply.  */
77709 char $ac_func ();
77710 /* The GNU C library defines this for functions which it implements
77711     to always fail with ENOSYS.  Some functions are actually named
77712     something starting with __ and the normal name is an alias.  */
77713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77714 choke me
77715 #else
77716 char (*f) () = $ac_func;
77717 #endif
77718 #ifdef __cplusplus
77719 }
77720 #endif
77721
77722 int
77723 main ()
77724 {
77725 return f != $ac_func;
77726   ;
77727   return 0;
77728 }
77729 _ACEOF
77730 rm -f conftest.$ac_objext conftest$ac_exeext
77731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77732   (eval $ac_link) 2>conftest.er1
77733   ac_status=$?
77734   grep -v '^ *+' conftest.er1 >conftest.err
77735   rm -f conftest.er1
77736   cat conftest.err >&5
77737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77738   (exit $ac_status); } &&
77739          { ac_try='test -z "$ac_c_werror_flag"
77740                          || test ! -s conftest.err'
77741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77742   (eval $ac_try) 2>&5
77743   ac_status=$?
77744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745   (exit $ac_status); }; } &&
77746          { ac_try='test -s conftest$ac_exeext'
77747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748   (eval $ac_try) 2>&5
77749   ac_status=$?
77750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751   (exit $ac_status); }; }; then
77752   eval "$as_ac_var=yes"
77753 else
77754   echo "$as_me: failed program was:" >&5
77755 sed 's/^/| /' conftest.$ac_ext >&5
77756
77757 eval "$as_ac_var=no"
77758 fi
77759 rm -f conftest.err conftest.$ac_objext \
77760       conftest$ac_exeext conftest.$ac_ext
77761 fi
77762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77764 if test `eval echo '${'$as_ac_var'}'` = yes; then
77765   cat >>confdefs.h <<_ACEOF
77766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77767 _ACEOF
77768
77769 fi
77770 done
77771
77772     fi
77773   fi
77774
77775
77776
77777
77778
77779
77780   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
77781 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
77782   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77783     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
77784   echo $ECHO_N "(cached) $ECHO_C" >&6
77785 else
77786
77787
77788
77789       ac_ext=cc
77790 ac_cpp='$CXXCPP $CPPFLAGS'
77791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77794
77795       cat >conftest.$ac_ext <<_ACEOF
77796 /* confdefs.h.  */
77797 _ACEOF
77798 cat confdefs.h >>conftest.$ac_ext
77799 cat >>conftest.$ac_ext <<_ACEOF
77800 /* end confdefs.h.  */
77801 #include <math.h>
77802                       #ifdef HAVE_IEEEFP_H
77803                       #include <ieeefp.h>
77804                       #endif
77805
77806 int
77807 main ()
77808 {
77809  sqrtl(0);
77810   ;
77811   return 0;
77812 }
77813 _ACEOF
77814 rm -f conftest.$ac_objext
77815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77816   (eval $ac_compile) 2>conftest.er1
77817   ac_status=$?
77818   grep -v '^ *+' conftest.er1 >conftest.err
77819   rm -f conftest.er1
77820   cat conftest.err >&5
77821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77822   (exit $ac_status); } &&
77823          { ac_try='test -z "$ac_cxx_werror_flag"
77824                          || test ! -s conftest.err'
77825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77826   (eval $ac_try) 2>&5
77827   ac_status=$?
77828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77829   (exit $ac_status); }; } &&
77830          { ac_try='test -s conftest.$ac_objext'
77831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832   (eval $ac_try) 2>&5
77833   ac_status=$?
77834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835   (exit $ac_status); }; }; then
77836   glibcxx_cv_func_sqrtl_use=yes
77837 else
77838   echo "$as_me: failed program was:" >&5
77839 sed 's/^/| /' conftest.$ac_ext >&5
77840
77841 glibcxx_cv_func_sqrtl_use=no
77842 fi
77843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77844       ac_ext=c
77845 ac_cpp='$CPP $CPPFLAGS'
77846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77849
77850
77851 fi
77852
77853   fi
77854   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
77855 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
77856
77857   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77858
77859 for ac_func in sqrtl
77860 do
77861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77862 echo "$as_me:$LINENO: checking for $ac_func" >&5
77863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77864 if eval "test \"\${$as_ac_var+set}\" = set"; then
77865   echo $ECHO_N "(cached) $ECHO_C" >&6
77866 else
77867   if test x$gcc_no_link = xyes; then
77868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77870    { (exit 1); exit 1; }; }
77871 fi
77872 cat >conftest.$ac_ext <<_ACEOF
77873 /* confdefs.h.  */
77874 _ACEOF
77875 cat confdefs.h >>conftest.$ac_ext
77876 cat >>conftest.$ac_ext <<_ACEOF
77877 /* end confdefs.h.  */
77878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77880 #define $ac_func innocuous_$ac_func
77881
77882 /* System header to define __stub macros and hopefully few prototypes,
77883     which can conflict with char $ac_func (); below.
77884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77885     <limits.h> exists even on freestanding compilers.  */
77886
77887 #ifdef __STDC__
77888 # include <limits.h>
77889 #else
77890 # include <assert.h>
77891 #endif
77892
77893 #undef $ac_func
77894
77895 /* Override any gcc2 internal prototype to avoid an error.  */
77896 #ifdef __cplusplus
77897 extern "C"
77898 {
77899 #endif
77900 /* We use char because int might match the return type of a gcc2
77901    builtin and then its argument prototype would still apply.  */
77902 char $ac_func ();
77903 /* The GNU C library defines this for functions which it implements
77904     to always fail with ENOSYS.  Some functions are actually named
77905     something starting with __ and the normal name is an alias.  */
77906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77907 choke me
77908 #else
77909 char (*f) () = $ac_func;
77910 #endif
77911 #ifdef __cplusplus
77912 }
77913 #endif
77914
77915 int
77916 main ()
77917 {
77918 return f != $ac_func;
77919   ;
77920   return 0;
77921 }
77922 _ACEOF
77923 rm -f conftest.$ac_objext conftest$ac_exeext
77924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77925   (eval $ac_link) 2>conftest.er1
77926   ac_status=$?
77927   grep -v '^ *+' conftest.er1 >conftest.err
77928   rm -f conftest.er1
77929   cat conftest.err >&5
77930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77931   (exit $ac_status); } &&
77932          { ac_try='test -z "$ac_c_werror_flag"
77933                          || test ! -s conftest.err'
77934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77935   (eval $ac_try) 2>&5
77936   ac_status=$?
77937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77938   (exit $ac_status); }; } &&
77939          { ac_try='test -s conftest$ac_exeext'
77940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77941   (eval $ac_try) 2>&5
77942   ac_status=$?
77943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77944   (exit $ac_status); }; }; then
77945   eval "$as_ac_var=yes"
77946 else
77947   echo "$as_me: failed program was:" >&5
77948 sed 's/^/| /' conftest.$ac_ext >&5
77949
77950 eval "$as_ac_var=no"
77951 fi
77952 rm -f conftest.err conftest.$ac_objext \
77953       conftest$ac_exeext conftest.$ac_ext
77954 fi
77955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77957 if test `eval echo '${'$as_ac_var'}'` = yes; then
77958   cat >>confdefs.h <<_ACEOF
77959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77960 _ACEOF
77961
77962 fi
77963 done
77964
77965   else
77966
77967   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
77968 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
77969   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77970     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
77971   echo $ECHO_N "(cached) $ECHO_C" >&6
77972 else
77973
77974
77975
77976       ac_ext=cc
77977 ac_cpp='$CXXCPP $CPPFLAGS'
77978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77981
77982       cat >conftest.$ac_ext <<_ACEOF
77983 /* confdefs.h.  */
77984 _ACEOF
77985 cat confdefs.h >>conftest.$ac_ext
77986 cat >>conftest.$ac_ext <<_ACEOF
77987 /* end confdefs.h.  */
77988 #include <math.h>
77989                       #ifdef HAVE_IEEEFP_H
77990                       #include <ieeefp.h>
77991                       #endif
77992
77993 int
77994 main ()
77995 {
77996  _sqrtl(0);
77997   ;
77998   return 0;
77999 }
78000 _ACEOF
78001 rm -f conftest.$ac_objext
78002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78003   (eval $ac_compile) 2>conftest.er1
78004   ac_status=$?
78005   grep -v '^ *+' conftest.er1 >conftest.err
78006   rm -f conftest.er1
78007   cat conftest.err >&5
78008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78009   (exit $ac_status); } &&
78010          { ac_try='test -z "$ac_cxx_werror_flag"
78011                          || test ! -s conftest.err'
78012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78013   (eval $ac_try) 2>&5
78014   ac_status=$?
78015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78016   (exit $ac_status); }; } &&
78017          { ac_try='test -s conftest.$ac_objext'
78018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78019   (eval $ac_try) 2>&5
78020   ac_status=$?
78021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78022   (exit $ac_status); }; }; then
78023   glibcxx_cv_func__sqrtl_use=yes
78024 else
78025   echo "$as_me: failed program was:" >&5
78026 sed 's/^/| /' conftest.$ac_ext >&5
78027
78028 glibcxx_cv_func__sqrtl_use=no
78029 fi
78030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78031       ac_ext=c
78032 ac_cpp='$CPP $CPPFLAGS'
78033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78036
78037
78038 fi
78039
78040   fi
78041   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
78042 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
78043
78044     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78045
78046 for ac_func in _sqrtl
78047 do
78048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78049 echo "$as_me:$LINENO: checking for $ac_func" >&5
78050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78051 if eval "test \"\${$as_ac_var+set}\" = set"; then
78052   echo $ECHO_N "(cached) $ECHO_C" >&6
78053 else
78054   if test x$gcc_no_link = xyes; then
78055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78057    { (exit 1); exit 1; }; }
78058 fi
78059 cat >conftest.$ac_ext <<_ACEOF
78060 /* confdefs.h.  */
78061 _ACEOF
78062 cat confdefs.h >>conftest.$ac_ext
78063 cat >>conftest.$ac_ext <<_ACEOF
78064 /* end confdefs.h.  */
78065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78067 #define $ac_func innocuous_$ac_func
78068
78069 /* System header to define __stub macros and hopefully few prototypes,
78070     which can conflict with char $ac_func (); below.
78071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78072     <limits.h> exists even on freestanding compilers.  */
78073
78074 #ifdef __STDC__
78075 # include <limits.h>
78076 #else
78077 # include <assert.h>
78078 #endif
78079
78080 #undef $ac_func
78081
78082 /* Override any gcc2 internal prototype to avoid an error.  */
78083 #ifdef __cplusplus
78084 extern "C"
78085 {
78086 #endif
78087 /* We use char because int might match the return type of a gcc2
78088    builtin and then its argument prototype would still apply.  */
78089 char $ac_func ();
78090 /* The GNU C library defines this for functions which it implements
78091     to always fail with ENOSYS.  Some functions are actually named
78092     something starting with __ and the normal name is an alias.  */
78093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78094 choke me
78095 #else
78096 char (*f) () = $ac_func;
78097 #endif
78098 #ifdef __cplusplus
78099 }
78100 #endif
78101
78102 int
78103 main ()
78104 {
78105 return f != $ac_func;
78106   ;
78107   return 0;
78108 }
78109 _ACEOF
78110 rm -f conftest.$ac_objext conftest$ac_exeext
78111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78112   (eval $ac_link) 2>conftest.er1
78113   ac_status=$?
78114   grep -v '^ *+' conftest.er1 >conftest.err
78115   rm -f conftest.er1
78116   cat conftest.err >&5
78117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78118   (exit $ac_status); } &&
78119          { ac_try='test -z "$ac_c_werror_flag"
78120                          || test ! -s conftest.err'
78121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78122   (eval $ac_try) 2>&5
78123   ac_status=$?
78124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78125   (exit $ac_status); }; } &&
78126          { ac_try='test -s conftest$ac_exeext'
78127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78128   (eval $ac_try) 2>&5
78129   ac_status=$?
78130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78131   (exit $ac_status); }; }; then
78132   eval "$as_ac_var=yes"
78133 else
78134   echo "$as_me: failed program was:" >&5
78135 sed 's/^/| /' conftest.$ac_ext >&5
78136
78137 eval "$as_ac_var=no"
78138 fi
78139 rm -f conftest.err conftest.$ac_objext \
78140       conftest$ac_exeext conftest.$ac_ext
78141 fi
78142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78144 if test `eval echo '${'$as_ac_var'}'` = yes; then
78145   cat >>confdefs.h <<_ACEOF
78146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78147 _ACEOF
78148
78149 fi
78150 done
78151
78152     fi
78153   fi
78154
78155
78156
78157
78158
78159
78160   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
78161 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
78162   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78163     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
78164   echo $ECHO_N "(cached) $ECHO_C" >&6
78165 else
78166
78167
78168
78169       ac_ext=cc
78170 ac_cpp='$CXXCPP $CPPFLAGS'
78171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78174
78175       cat >conftest.$ac_ext <<_ACEOF
78176 /* confdefs.h.  */
78177 _ACEOF
78178 cat confdefs.h >>conftest.$ac_ext
78179 cat >>conftest.$ac_ext <<_ACEOF
78180 /* end confdefs.h.  */
78181 #include <math.h>
78182 int
78183 main ()
78184 {
78185  sincosl(0, 0, 0);
78186   ;
78187   return 0;
78188 }
78189 _ACEOF
78190 rm -f conftest.$ac_objext
78191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78192   (eval $ac_compile) 2>conftest.er1
78193   ac_status=$?
78194   grep -v '^ *+' conftest.er1 >conftest.err
78195   rm -f conftest.er1
78196   cat conftest.err >&5
78197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78198   (exit $ac_status); } &&
78199          { ac_try='test -z "$ac_cxx_werror_flag"
78200                          || test ! -s conftest.err'
78201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78202   (eval $ac_try) 2>&5
78203   ac_status=$?
78204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78205   (exit $ac_status); }; } &&
78206          { ac_try='test -s conftest.$ac_objext'
78207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78208   (eval $ac_try) 2>&5
78209   ac_status=$?
78210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78211   (exit $ac_status); }; }; then
78212   glibcxx_cv_func_sincosl_use=yes
78213 else
78214   echo "$as_me: failed program was:" >&5
78215 sed 's/^/| /' conftest.$ac_ext >&5
78216
78217 glibcxx_cv_func_sincosl_use=no
78218 fi
78219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78220       ac_ext=c
78221 ac_cpp='$CPP $CPPFLAGS'
78222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78225
78226
78227 fi
78228
78229   fi
78230   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
78231 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
78232
78233   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78234
78235 for ac_func in sincosl
78236 do
78237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78238 echo "$as_me:$LINENO: checking for $ac_func" >&5
78239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78240 if eval "test \"\${$as_ac_var+set}\" = set"; then
78241   echo $ECHO_N "(cached) $ECHO_C" >&6
78242 else
78243   if test x$gcc_no_link = xyes; then
78244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78246    { (exit 1); exit 1; }; }
78247 fi
78248 cat >conftest.$ac_ext <<_ACEOF
78249 /* confdefs.h.  */
78250 _ACEOF
78251 cat confdefs.h >>conftest.$ac_ext
78252 cat >>conftest.$ac_ext <<_ACEOF
78253 /* end confdefs.h.  */
78254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78256 #define $ac_func innocuous_$ac_func
78257
78258 /* System header to define __stub macros and hopefully few prototypes,
78259     which can conflict with char $ac_func (); below.
78260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78261     <limits.h> exists even on freestanding compilers.  */
78262
78263 #ifdef __STDC__
78264 # include <limits.h>
78265 #else
78266 # include <assert.h>
78267 #endif
78268
78269 #undef $ac_func
78270
78271 /* Override any gcc2 internal prototype to avoid an error.  */
78272 #ifdef __cplusplus
78273 extern "C"
78274 {
78275 #endif
78276 /* We use char because int might match the return type of a gcc2
78277    builtin and then its argument prototype would still apply.  */
78278 char $ac_func ();
78279 /* The GNU C library defines this for functions which it implements
78280     to always fail with ENOSYS.  Some functions are actually named
78281     something starting with __ and the normal name is an alias.  */
78282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78283 choke me
78284 #else
78285 char (*f) () = $ac_func;
78286 #endif
78287 #ifdef __cplusplus
78288 }
78289 #endif
78290
78291 int
78292 main ()
78293 {
78294 return f != $ac_func;
78295   ;
78296   return 0;
78297 }
78298 _ACEOF
78299 rm -f conftest.$ac_objext conftest$ac_exeext
78300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78301   (eval $ac_link) 2>conftest.er1
78302   ac_status=$?
78303   grep -v '^ *+' conftest.er1 >conftest.err
78304   rm -f conftest.er1
78305   cat conftest.err >&5
78306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78307   (exit $ac_status); } &&
78308          { ac_try='test -z "$ac_c_werror_flag"
78309                          || test ! -s conftest.err'
78310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78311   (eval $ac_try) 2>&5
78312   ac_status=$?
78313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78314   (exit $ac_status); }; } &&
78315          { ac_try='test -s conftest$ac_exeext'
78316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78317   (eval $ac_try) 2>&5
78318   ac_status=$?
78319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78320   (exit $ac_status); }; }; then
78321   eval "$as_ac_var=yes"
78322 else
78323   echo "$as_me: failed program was:" >&5
78324 sed 's/^/| /' conftest.$ac_ext >&5
78325
78326 eval "$as_ac_var=no"
78327 fi
78328 rm -f conftest.err conftest.$ac_objext \
78329       conftest$ac_exeext conftest.$ac_ext
78330 fi
78331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78333 if test `eval echo '${'$as_ac_var'}'` = yes; then
78334   cat >>confdefs.h <<_ACEOF
78335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78336 _ACEOF
78337
78338 fi
78339 done
78340
78341   else
78342
78343   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
78344 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
78345   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78346     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
78347   echo $ECHO_N "(cached) $ECHO_C" >&6
78348 else
78349
78350
78351
78352       ac_ext=cc
78353 ac_cpp='$CXXCPP $CPPFLAGS'
78354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78357
78358       cat >conftest.$ac_ext <<_ACEOF
78359 /* confdefs.h.  */
78360 _ACEOF
78361 cat confdefs.h >>conftest.$ac_ext
78362 cat >>conftest.$ac_ext <<_ACEOF
78363 /* end confdefs.h.  */
78364 #include <math.h>
78365 int
78366 main ()
78367 {
78368  _sincosl(0, 0, 0);
78369   ;
78370   return 0;
78371 }
78372 _ACEOF
78373 rm -f conftest.$ac_objext
78374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78375   (eval $ac_compile) 2>conftest.er1
78376   ac_status=$?
78377   grep -v '^ *+' conftest.er1 >conftest.err
78378   rm -f conftest.er1
78379   cat conftest.err >&5
78380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78381   (exit $ac_status); } &&
78382          { ac_try='test -z "$ac_cxx_werror_flag"
78383                          || test ! -s conftest.err'
78384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78385   (eval $ac_try) 2>&5
78386   ac_status=$?
78387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78388   (exit $ac_status); }; } &&
78389          { ac_try='test -s conftest.$ac_objext'
78390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78391   (eval $ac_try) 2>&5
78392   ac_status=$?
78393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78394   (exit $ac_status); }; }; then
78395   glibcxx_cv_func__sincosl_use=yes
78396 else
78397   echo "$as_me: failed program was:" >&5
78398 sed 's/^/| /' conftest.$ac_ext >&5
78399
78400 glibcxx_cv_func__sincosl_use=no
78401 fi
78402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78403       ac_ext=c
78404 ac_cpp='$CPP $CPPFLAGS'
78405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78408
78409
78410 fi
78411
78412   fi
78413   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
78414 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
78415
78416     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78417
78418 for ac_func in _sincosl
78419 do
78420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78421 echo "$as_me:$LINENO: checking for $ac_func" >&5
78422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78423 if eval "test \"\${$as_ac_var+set}\" = set"; then
78424   echo $ECHO_N "(cached) $ECHO_C" >&6
78425 else
78426   if test x$gcc_no_link = xyes; then
78427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78429    { (exit 1); exit 1; }; }
78430 fi
78431 cat >conftest.$ac_ext <<_ACEOF
78432 /* confdefs.h.  */
78433 _ACEOF
78434 cat confdefs.h >>conftest.$ac_ext
78435 cat >>conftest.$ac_ext <<_ACEOF
78436 /* end confdefs.h.  */
78437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78439 #define $ac_func innocuous_$ac_func
78440
78441 /* System header to define __stub macros and hopefully few prototypes,
78442     which can conflict with char $ac_func (); below.
78443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78444     <limits.h> exists even on freestanding compilers.  */
78445
78446 #ifdef __STDC__
78447 # include <limits.h>
78448 #else
78449 # include <assert.h>
78450 #endif
78451
78452 #undef $ac_func
78453
78454 /* Override any gcc2 internal prototype to avoid an error.  */
78455 #ifdef __cplusplus
78456 extern "C"
78457 {
78458 #endif
78459 /* We use char because int might match the return type of a gcc2
78460    builtin and then its argument prototype would still apply.  */
78461 char $ac_func ();
78462 /* The GNU C library defines this for functions which it implements
78463     to always fail with ENOSYS.  Some functions are actually named
78464     something starting with __ and the normal name is an alias.  */
78465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78466 choke me
78467 #else
78468 char (*f) () = $ac_func;
78469 #endif
78470 #ifdef __cplusplus
78471 }
78472 #endif
78473
78474 int
78475 main ()
78476 {
78477 return f != $ac_func;
78478   ;
78479   return 0;
78480 }
78481 _ACEOF
78482 rm -f conftest.$ac_objext conftest$ac_exeext
78483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78484   (eval $ac_link) 2>conftest.er1
78485   ac_status=$?
78486   grep -v '^ *+' conftest.er1 >conftest.err
78487   rm -f conftest.er1
78488   cat conftest.err >&5
78489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78490   (exit $ac_status); } &&
78491          { ac_try='test -z "$ac_c_werror_flag"
78492                          || test ! -s conftest.err'
78493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78494   (eval $ac_try) 2>&5
78495   ac_status=$?
78496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78497   (exit $ac_status); }; } &&
78498          { ac_try='test -s conftest$ac_exeext'
78499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78500   (eval $ac_try) 2>&5
78501   ac_status=$?
78502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78503   (exit $ac_status); }; }; then
78504   eval "$as_ac_var=yes"
78505 else
78506   echo "$as_me: failed program was:" >&5
78507 sed 's/^/| /' conftest.$ac_ext >&5
78508
78509 eval "$as_ac_var=no"
78510 fi
78511 rm -f conftest.err conftest.$ac_objext \
78512       conftest$ac_exeext conftest.$ac_ext
78513 fi
78514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78516 if test `eval echo '${'$as_ac_var'}'` = yes; then
78517   cat >>confdefs.h <<_ACEOF
78518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78519 _ACEOF
78520
78521 fi
78522 done
78523
78524     fi
78525   fi
78526
78527
78528
78529
78530
78531
78532   echo "$as_me:$LINENO: checking for finitel declaration" >&5
78533 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
78534   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78535     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
78536   echo $ECHO_N "(cached) $ECHO_C" >&6
78537 else
78538
78539
78540
78541       ac_ext=cc
78542 ac_cpp='$CXXCPP $CPPFLAGS'
78543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78546
78547       cat >conftest.$ac_ext <<_ACEOF
78548 /* confdefs.h.  */
78549 _ACEOF
78550 cat confdefs.h >>conftest.$ac_ext
78551 cat >>conftest.$ac_ext <<_ACEOF
78552 /* end confdefs.h.  */
78553 #include <math.h>
78554                       #ifdef HAVE_IEEEFP_H
78555                       #include <ieeefp.h>
78556                       #endif
78557
78558 int
78559 main ()
78560 {
78561  finitel(0);
78562   ;
78563   return 0;
78564 }
78565 _ACEOF
78566 rm -f conftest.$ac_objext
78567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78568   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func_finitel_use=yes
78589 else
78590   echo "$as_me: failed program was:" >&5
78591 sed 's/^/| /' conftest.$ac_ext >&5
78592
78593 glibcxx_cv_func_finitel_use=no
78594 fi
78595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78596       ac_ext=c
78597 ac_cpp='$CPP $CPPFLAGS'
78598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78601
78602
78603 fi
78604
78605   fi
78606   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
78607 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
78608
78609   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78610
78611 for ac_func in finitel
78612 do
78613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78614 echo "$as_me:$LINENO: checking for $ac_func" >&5
78615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78616 if eval "test \"\${$as_ac_var+set}\" = set"; then
78617   echo $ECHO_N "(cached) $ECHO_C" >&6
78618 else
78619   if test x$gcc_no_link = xyes; then
78620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78622    { (exit 1); exit 1; }; }
78623 fi
78624 cat >conftest.$ac_ext <<_ACEOF
78625 /* confdefs.h.  */
78626 _ACEOF
78627 cat confdefs.h >>conftest.$ac_ext
78628 cat >>conftest.$ac_ext <<_ACEOF
78629 /* end confdefs.h.  */
78630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78632 #define $ac_func innocuous_$ac_func
78633
78634 /* System header to define __stub macros and hopefully few prototypes,
78635     which can conflict with char $ac_func (); below.
78636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78637     <limits.h> exists even on freestanding compilers.  */
78638
78639 #ifdef __STDC__
78640 # include <limits.h>
78641 #else
78642 # include <assert.h>
78643 #endif
78644
78645 #undef $ac_func
78646
78647 /* Override any gcc2 internal prototype to avoid an error.  */
78648 #ifdef __cplusplus
78649 extern "C"
78650 {
78651 #endif
78652 /* We use char because int might match the return type of a gcc2
78653    builtin and then its argument prototype would still apply.  */
78654 char $ac_func ();
78655 /* The GNU C library defines this for functions which it implements
78656     to always fail with ENOSYS.  Some functions are actually named
78657     something starting with __ and the normal name is an alias.  */
78658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78659 choke me
78660 #else
78661 char (*f) () = $ac_func;
78662 #endif
78663 #ifdef __cplusplus
78664 }
78665 #endif
78666
78667 int
78668 main ()
78669 {
78670 return f != $ac_func;
78671   ;
78672   return 0;
78673 }
78674 _ACEOF
78675 rm -f conftest.$ac_objext conftest$ac_exeext
78676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78677   (eval $ac_link) 2>conftest.er1
78678   ac_status=$?
78679   grep -v '^ *+' conftest.er1 >conftest.err
78680   rm -f conftest.er1
78681   cat conftest.err >&5
78682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78683   (exit $ac_status); } &&
78684          { ac_try='test -z "$ac_c_werror_flag"
78685                          || test ! -s conftest.err'
78686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78687   (eval $ac_try) 2>&5
78688   ac_status=$?
78689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78690   (exit $ac_status); }; } &&
78691          { ac_try='test -s conftest$ac_exeext'
78692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78693   (eval $ac_try) 2>&5
78694   ac_status=$?
78695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78696   (exit $ac_status); }; }; then
78697   eval "$as_ac_var=yes"
78698 else
78699   echo "$as_me: failed program was:" >&5
78700 sed 's/^/| /' conftest.$ac_ext >&5
78701
78702 eval "$as_ac_var=no"
78703 fi
78704 rm -f conftest.err conftest.$ac_objext \
78705       conftest$ac_exeext conftest.$ac_ext
78706 fi
78707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78709 if test `eval echo '${'$as_ac_var'}'` = yes; then
78710   cat >>confdefs.h <<_ACEOF
78711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78712 _ACEOF
78713
78714 fi
78715 done
78716
78717   else
78718
78719   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
78720 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
78721   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78722     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
78723   echo $ECHO_N "(cached) $ECHO_C" >&6
78724 else
78725
78726
78727
78728       ac_ext=cc
78729 ac_cpp='$CXXCPP $CPPFLAGS'
78730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78733
78734       cat >conftest.$ac_ext <<_ACEOF
78735 /* confdefs.h.  */
78736 _ACEOF
78737 cat confdefs.h >>conftest.$ac_ext
78738 cat >>conftest.$ac_ext <<_ACEOF
78739 /* end confdefs.h.  */
78740 #include <math.h>
78741                       #ifdef HAVE_IEEEFP_H
78742                       #include <ieeefp.h>
78743                       #endif
78744
78745 int
78746 main ()
78747 {
78748  _finitel(0);
78749   ;
78750   return 0;
78751 }
78752 _ACEOF
78753 rm -f conftest.$ac_objext
78754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78755   (eval $ac_compile) 2>conftest.er1
78756   ac_status=$?
78757   grep -v '^ *+' conftest.er1 >conftest.err
78758   rm -f conftest.er1
78759   cat conftest.err >&5
78760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78761   (exit $ac_status); } &&
78762          { ac_try='test -z "$ac_cxx_werror_flag"
78763                          || test ! -s conftest.err'
78764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765   (eval $ac_try) 2>&5
78766   ac_status=$?
78767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768   (exit $ac_status); }; } &&
78769          { ac_try='test -s conftest.$ac_objext'
78770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78771   (eval $ac_try) 2>&5
78772   ac_status=$?
78773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78774   (exit $ac_status); }; }; then
78775   glibcxx_cv_func__finitel_use=yes
78776 else
78777   echo "$as_me: failed program was:" >&5
78778 sed 's/^/| /' conftest.$ac_ext >&5
78779
78780 glibcxx_cv_func__finitel_use=no
78781 fi
78782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78783       ac_ext=c
78784 ac_cpp='$CPP $CPPFLAGS'
78785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78788
78789
78790 fi
78791
78792   fi
78793   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
78794 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
78795
78796     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78797
78798 for ac_func in _finitel
78799 do
78800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78801 echo "$as_me:$LINENO: checking for $ac_func" >&5
78802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78803 if eval "test \"\${$as_ac_var+set}\" = set"; then
78804   echo $ECHO_N "(cached) $ECHO_C" >&6
78805 else
78806   if test x$gcc_no_link = xyes; then
78807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78809    { (exit 1); exit 1; }; }
78810 fi
78811 cat >conftest.$ac_ext <<_ACEOF
78812 /* confdefs.h.  */
78813 _ACEOF
78814 cat confdefs.h >>conftest.$ac_ext
78815 cat >>conftest.$ac_ext <<_ACEOF
78816 /* end confdefs.h.  */
78817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78819 #define $ac_func innocuous_$ac_func
78820
78821 /* System header to define __stub macros and hopefully few prototypes,
78822     which can conflict with char $ac_func (); below.
78823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78824     <limits.h> exists even on freestanding compilers.  */
78825
78826 #ifdef __STDC__
78827 # include <limits.h>
78828 #else
78829 # include <assert.h>
78830 #endif
78831
78832 #undef $ac_func
78833
78834 /* Override any gcc2 internal prototype to avoid an error.  */
78835 #ifdef __cplusplus
78836 extern "C"
78837 {
78838 #endif
78839 /* We use char because int might match the return type of a gcc2
78840    builtin and then its argument prototype would still apply.  */
78841 char $ac_func ();
78842 /* The GNU C library defines this for functions which it implements
78843     to always fail with ENOSYS.  Some functions are actually named
78844     something starting with __ and the normal name is an alias.  */
78845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78846 choke me
78847 #else
78848 char (*f) () = $ac_func;
78849 #endif
78850 #ifdef __cplusplus
78851 }
78852 #endif
78853
78854 int
78855 main ()
78856 {
78857 return f != $ac_func;
78858   ;
78859   return 0;
78860 }
78861 _ACEOF
78862 rm -f conftest.$ac_objext conftest$ac_exeext
78863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78864   (eval $ac_link) 2>conftest.er1
78865   ac_status=$?
78866   grep -v '^ *+' conftest.er1 >conftest.err
78867   rm -f conftest.er1
78868   cat conftest.err >&5
78869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78870   (exit $ac_status); } &&
78871          { ac_try='test -z "$ac_c_werror_flag"
78872                          || test ! -s conftest.err'
78873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78874   (eval $ac_try) 2>&5
78875   ac_status=$?
78876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877   (exit $ac_status); }; } &&
78878          { ac_try='test -s conftest$ac_exeext'
78879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78880   (eval $ac_try) 2>&5
78881   ac_status=$?
78882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78883   (exit $ac_status); }; }; then
78884   eval "$as_ac_var=yes"
78885 else
78886   echo "$as_me: failed program was:" >&5
78887 sed 's/^/| /' conftest.$ac_ext >&5
78888
78889 eval "$as_ac_var=no"
78890 fi
78891 rm -f conftest.err conftest.$ac_objext \
78892       conftest$ac_exeext conftest.$ac_ext
78893 fi
78894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78896 if test `eval echo '${'$as_ac_var'}'` = yes; then
78897   cat >>confdefs.h <<_ACEOF
78898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78899 _ACEOF
78900
78901 fi
78902 done
78903
78904     fi
78905   fi
78906
78907
78908
78909
78910
78911   LIBS="$ac_save_LIBS"
78912   CXXFLAGS="$ac_save_CXXFLAGS"
78913
78914
78915
78916 echo "$as_me:$LINENO: checking for main in -lm" >&5
78917 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78918 if test "${ac_cv_lib_m_main+set}" = set; then
78919   echo $ECHO_N "(cached) $ECHO_C" >&6
78920 else
78921   ac_check_lib_save_LIBS=$LIBS
78922 LIBS="-lm  $LIBS"
78923 if test x$gcc_no_link = xyes; then
78924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78926    { (exit 1); exit 1; }; }
78927 fi
78928 cat >conftest.$ac_ext <<_ACEOF
78929 /* confdefs.h.  */
78930 _ACEOF
78931 cat confdefs.h >>conftest.$ac_ext
78932 cat >>conftest.$ac_ext <<_ACEOF
78933 /* end confdefs.h.  */
78934
78935
78936 int
78937 main ()
78938 {
78939 main ();
78940   ;
78941   return 0;
78942 }
78943 _ACEOF
78944 rm -f conftest.$ac_objext conftest$ac_exeext
78945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78946   (eval $ac_link) 2>conftest.er1
78947   ac_status=$?
78948   grep -v '^ *+' conftest.er1 >conftest.err
78949   rm -f conftest.er1
78950   cat conftest.err >&5
78951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78952   (exit $ac_status); } &&
78953          { ac_try='test -z "$ac_c_werror_flag"
78954                          || test ! -s conftest.err'
78955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78956   (eval $ac_try) 2>&5
78957   ac_status=$?
78958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78959   (exit $ac_status); }; } &&
78960          { ac_try='test -s conftest$ac_exeext'
78961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78962   (eval $ac_try) 2>&5
78963   ac_status=$?
78964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78965   (exit $ac_status); }; }; then
78966   ac_cv_lib_m_main=yes
78967 else
78968   echo "$as_me: failed program was:" >&5
78969 sed 's/^/| /' conftest.$ac_ext >&5
78970
78971 ac_cv_lib_m_main=no
78972 fi
78973 rm -f conftest.err conftest.$ac_objext \
78974       conftest$ac_exeext conftest.$ac_ext
78975 LIBS=$ac_check_lib_save_LIBS
78976 fi
78977 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78978 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78979 if test $ac_cv_lib_m_main = yes; then
78980   cat >>confdefs.h <<_ACEOF
78981 #define HAVE_LIBM 1
78982 _ACEOF
78983
78984   LIBS="-lm $LIBS"
78985
78986 fi
78987
78988
78989 for ac_func in copysignf
78990 do
78991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78992 echo "$as_me:$LINENO: checking for $ac_func" >&5
78993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78994 if eval "test \"\${$as_ac_var+set}\" = set"; then
78995   echo $ECHO_N "(cached) $ECHO_C" >&6
78996 else
78997   if test x$gcc_no_link = xyes; then
78998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79000    { (exit 1); exit 1; }; }
79001 fi
79002 cat >conftest.$ac_ext <<_ACEOF
79003 /* confdefs.h.  */
79004 _ACEOF
79005 cat confdefs.h >>conftest.$ac_ext
79006 cat >>conftest.$ac_ext <<_ACEOF
79007 /* end confdefs.h.  */
79008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79010 #define $ac_func innocuous_$ac_func
79011
79012 /* System header to define __stub macros and hopefully few prototypes,
79013     which can conflict with char $ac_func (); below.
79014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79015     <limits.h> exists even on freestanding compilers.  */
79016
79017 #ifdef __STDC__
79018 # include <limits.h>
79019 #else
79020 # include <assert.h>
79021 #endif
79022
79023 #undef $ac_func
79024
79025 /* Override any gcc2 internal prototype to avoid an error.  */
79026 #ifdef __cplusplus
79027 extern "C"
79028 {
79029 #endif
79030 /* We use char because int might match the return type of a gcc2
79031    builtin and then its argument prototype would still apply.  */
79032 char $ac_func ();
79033 /* The GNU C library defines this for functions which it implements
79034     to always fail with ENOSYS.  Some functions are actually named
79035     something starting with __ and the normal name is an alias.  */
79036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79037 choke me
79038 #else
79039 char (*f) () = $ac_func;
79040 #endif
79041 #ifdef __cplusplus
79042 }
79043 #endif
79044
79045 int
79046 main ()
79047 {
79048 return f != $ac_func;
79049   ;
79050   return 0;
79051 }
79052 _ACEOF
79053 rm -f conftest.$ac_objext conftest$ac_exeext
79054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79055   (eval $ac_link) 2>conftest.er1
79056   ac_status=$?
79057   grep -v '^ *+' conftest.er1 >conftest.err
79058   rm -f conftest.er1
79059   cat conftest.err >&5
79060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79061   (exit $ac_status); } &&
79062          { ac_try='test -z "$ac_c_werror_flag"
79063                          || test ! -s conftest.err'
79064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79065   (eval $ac_try) 2>&5
79066   ac_status=$?
79067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79068   (exit $ac_status); }; } &&
79069          { ac_try='test -s conftest$ac_exeext'
79070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79071   (eval $ac_try) 2>&5
79072   ac_status=$?
79073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79074   (exit $ac_status); }; }; then
79075   eval "$as_ac_var=yes"
79076 else
79077   echo "$as_me: failed program was:" >&5
79078 sed 's/^/| /' conftest.$ac_ext >&5
79079
79080 eval "$as_ac_var=no"
79081 fi
79082 rm -f conftest.err conftest.$ac_objext \
79083       conftest$ac_exeext conftest.$ac_ext
79084 fi
79085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79087 if test `eval echo '${'$as_ac_var'}'` = yes; then
79088   cat >>confdefs.h <<_ACEOF
79089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79090 _ACEOF
79091
79092 else
79093   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79094 fi
79095 done
79096
79097
79098
79099 for ac_func in __signbit
79100 do
79101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79102 echo "$as_me:$LINENO: checking for $ac_func" >&5
79103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79104 if eval "test \"\${$as_ac_var+set}\" = set"; then
79105   echo $ECHO_N "(cached) $ECHO_C" >&6
79106 else
79107   if test x$gcc_no_link = xyes; then
79108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79110    { (exit 1); exit 1; }; }
79111 fi
79112 cat >conftest.$ac_ext <<_ACEOF
79113 /* confdefs.h.  */
79114 _ACEOF
79115 cat confdefs.h >>conftest.$ac_ext
79116 cat >>conftest.$ac_ext <<_ACEOF
79117 /* end confdefs.h.  */
79118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79120 #define $ac_func innocuous_$ac_func
79121
79122 /* System header to define __stub macros and hopefully few prototypes,
79123     which can conflict with char $ac_func (); below.
79124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79125     <limits.h> exists even on freestanding compilers.  */
79126
79127 #ifdef __STDC__
79128 # include <limits.h>
79129 #else
79130 # include <assert.h>
79131 #endif
79132
79133 #undef $ac_func
79134
79135 /* Override any gcc2 internal prototype to avoid an error.  */
79136 #ifdef __cplusplus
79137 extern "C"
79138 {
79139 #endif
79140 /* We use char because int might match the return type of a gcc2
79141    builtin and then its argument prototype would still apply.  */
79142 char $ac_func ();
79143 /* The GNU C library defines this for functions which it implements
79144     to always fail with ENOSYS.  Some functions are actually named
79145     something starting with __ and the normal name is an alias.  */
79146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79147 choke me
79148 #else
79149 char (*f) () = $ac_func;
79150 #endif
79151 #ifdef __cplusplus
79152 }
79153 #endif
79154
79155 int
79156 main ()
79157 {
79158 return f != $ac_func;
79159   ;
79160   return 0;
79161 }
79162 _ACEOF
79163 rm -f conftest.$ac_objext conftest$ac_exeext
79164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79165   (eval $ac_link) 2>conftest.er1
79166   ac_status=$?
79167   grep -v '^ *+' conftest.er1 >conftest.err
79168   rm -f conftest.er1
79169   cat conftest.err >&5
79170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171   (exit $ac_status); } &&
79172          { ac_try='test -z "$ac_c_werror_flag"
79173                          || test ! -s conftest.err'
79174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79175   (eval $ac_try) 2>&5
79176   ac_status=$?
79177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79178   (exit $ac_status); }; } &&
79179          { ac_try='test -s conftest$ac_exeext'
79180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79181   (eval $ac_try) 2>&5
79182   ac_status=$?
79183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79184   (exit $ac_status); }; }; then
79185   eval "$as_ac_var=yes"
79186 else
79187   echo "$as_me: failed program was:" >&5
79188 sed 's/^/| /' conftest.$ac_ext >&5
79189
79190 eval "$as_ac_var=no"
79191 fi
79192 rm -f conftest.err conftest.$ac_objext \
79193       conftest$ac_exeext conftest.$ac_ext
79194 fi
79195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79197 if test `eval echo '${'$as_ac_var'}'` = yes; then
79198   cat >>confdefs.h <<_ACEOF
79199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79200 _ACEOF
79201
79202 else
79203   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79204 fi
79205 done
79206
79207
79208
79209 for ac_func in __signbitf
79210 do
79211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79212 echo "$as_me:$LINENO: checking for $ac_func" >&5
79213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79214 if eval "test \"\${$as_ac_var+set}\" = set"; then
79215   echo $ECHO_N "(cached) $ECHO_C" >&6
79216 else
79217   if test x$gcc_no_link = xyes; then
79218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79220    { (exit 1); exit 1; }; }
79221 fi
79222 cat >conftest.$ac_ext <<_ACEOF
79223 /* confdefs.h.  */
79224 _ACEOF
79225 cat confdefs.h >>conftest.$ac_ext
79226 cat >>conftest.$ac_ext <<_ACEOF
79227 /* end confdefs.h.  */
79228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79230 #define $ac_func innocuous_$ac_func
79231
79232 /* System header to define __stub macros and hopefully few prototypes,
79233     which can conflict with char $ac_func (); below.
79234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79235     <limits.h> exists even on freestanding compilers.  */
79236
79237 #ifdef __STDC__
79238 # include <limits.h>
79239 #else
79240 # include <assert.h>
79241 #endif
79242
79243 #undef $ac_func
79244
79245 /* Override any gcc2 internal prototype to avoid an error.  */
79246 #ifdef __cplusplus
79247 extern "C"
79248 {
79249 #endif
79250 /* We use char because int might match the return type of a gcc2
79251    builtin and then its argument prototype would still apply.  */
79252 char $ac_func ();
79253 /* The GNU C library defines this for functions which it implements
79254     to always fail with ENOSYS.  Some functions are actually named
79255     something starting with __ and the normal name is an alias.  */
79256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79257 choke me
79258 #else
79259 char (*f) () = $ac_func;
79260 #endif
79261 #ifdef __cplusplus
79262 }
79263 #endif
79264
79265 int
79266 main ()
79267 {
79268 return f != $ac_func;
79269   ;
79270   return 0;
79271 }
79272 _ACEOF
79273 rm -f conftest.$ac_objext conftest$ac_exeext
79274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79275   (eval $ac_link) 2>conftest.er1
79276   ac_status=$?
79277   grep -v '^ *+' conftest.er1 >conftest.err
79278   rm -f conftest.er1
79279   cat conftest.err >&5
79280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79281   (exit $ac_status); } &&
79282          { ac_try='test -z "$ac_c_werror_flag"
79283                          || test ! -s conftest.err'
79284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79285   (eval $ac_try) 2>&5
79286   ac_status=$?
79287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79288   (exit $ac_status); }; } &&
79289          { ac_try='test -s conftest$ac_exeext'
79290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79291   (eval $ac_try) 2>&5
79292   ac_status=$?
79293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79294   (exit $ac_status); }; }; then
79295   eval "$as_ac_var=yes"
79296 else
79297   echo "$as_me: failed program was:" >&5
79298 sed 's/^/| /' conftest.$ac_ext >&5
79299
79300 eval "$as_ac_var=no"
79301 fi
79302 rm -f conftest.err conftest.$ac_objext \
79303       conftest$ac_exeext conftest.$ac_ext
79304 fi
79305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79307 if test `eval echo '${'$as_ac_var'}'` = yes; then
79308   cat >>confdefs.h <<_ACEOF
79309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79310 _ACEOF
79311
79312 else
79313   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79314 fi
79315 done
79316
79317
79318           if test x$ac_cv_func_copysignl = x"yes"; then
79319
79320 for ac_func in __signbitl
79321 do
79322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79323 echo "$as_me:$LINENO: checking for $ac_func" >&5
79324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79325 if eval "test \"\${$as_ac_var+set}\" = set"; then
79326   echo $ECHO_N "(cached) $ECHO_C" >&6
79327 else
79328   if test x$gcc_no_link = xyes; then
79329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79331    { (exit 1); exit 1; }; }
79332 fi
79333 cat >conftest.$ac_ext <<_ACEOF
79334 /* confdefs.h.  */
79335 _ACEOF
79336 cat confdefs.h >>conftest.$ac_ext
79337 cat >>conftest.$ac_ext <<_ACEOF
79338 /* end confdefs.h.  */
79339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79341 #define $ac_func innocuous_$ac_func
79342
79343 /* System header to define __stub macros and hopefully few prototypes,
79344     which can conflict with char $ac_func (); below.
79345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79346     <limits.h> exists even on freestanding compilers.  */
79347
79348 #ifdef __STDC__
79349 # include <limits.h>
79350 #else
79351 # include <assert.h>
79352 #endif
79353
79354 #undef $ac_func
79355
79356 /* Override any gcc2 internal prototype to avoid an error.  */
79357 #ifdef __cplusplus
79358 extern "C"
79359 {
79360 #endif
79361 /* We use char because int might match the return type of a gcc2
79362    builtin and then its argument prototype would still apply.  */
79363 char $ac_func ();
79364 /* The GNU C library defines this for functions which it implements
79365     to always fail with ENOSYS.  Some functions are actually named
79366     something starting with __ and the normal name is an alias.  */
79367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79368 choke me
79369 #else
79370 char (*f) () = $ac_func;
79371 #endif
79372 #ifdef __cplusplus
79373 }
79374 #endif
79375
79376 int
79377 main ()
79378 {
79379 return f != $ac_func;
79380   ;
79381   return 0;
79382 }
79383 _ACEOF
79384 rm -f conftest.$ac_objext conftest$ac_exeext
79385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79386   (eval $ac_link) 2>conftest.er1
79387   ac_status=$?
79388   grep -v '^ *+' conftest.er1 >conftest.err
79389   rm -f conftest.er1
79390   cat conftest.err >&5
79391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79392   (exit $ac_status); } &&
79393          { ac_try='test -z "$ac_c_werror_flag"
79394                          || test ! -s conftest.err'
79395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79396   (eval $ac_try) 2>&5
79397   ac_status=$?
79398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79399   (exit $ac_status); }; } &&
79400          { ac_try='test -s conftest$ac_exeext'
79401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402   (eval $ac_try) 2>&5
79403   ac_status=$?
79404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405   (exit $ac_status); }; }; then
79406   eval "$as_ac_var=yes"
79407 else
79408   echo "$as_me: failed program was:" >&5
79409 sed 's/^/| /' conftest.$ac_ext >&5
79410
79411 eval "$as_ac_var=no"
79412 fi
79413 rm -f conftest.err conftest.$ac_objext \
79414       conftest$ac_exeext conftest.$ac_ext
79415 fi
79416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79418 if test `eval echo '${'$as_ac_var'}'` = yes; then
79419   cat >>confdefs.h <<_ACEOF
79420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79421 _ACEOF
79422
79423 else
79424   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79425 fi
79426 done
79427
79428   fi
79429
79430   # Used in libmath/Makefile.am.
79431   if test -n "$LIBMATHOBJS"; then
79432     need_libmath=yes
79433   fi
79434
79435
79436
79437   ac_test_CXXFLAGS="${CXXFLAGS+set}"
79438   ac_save_CXXFLAGS="$CXXFLAGS"
79439   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
79440
79441
79442   echo "$as_me:$LINENO: checking for strtold declaration" >&5
79443 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
79444   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
79445     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
79446   echo $ECHO_N "(cached) $ECHO_C" >&6
79447 else
79448
79449
79450
79451       ac_ext=cc
79452 ac_cpp='$CXXCPP $CPPFLAGS'
79453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79456
79457       cat >conftest.$ac_ext <<_ACEOF
79458 /* confdefs.h.  */
79459 _ACEOF
79460 cat confdefs.h >>conftest.$ac_ext
79461 cat >>conftest.$ac_ext <<_ACEOF
79462 /* end confdefs.h.  */
79463 #include <stdlib.h>
79464 int
79465 main ()
79466 {
79467  strtold(0, 0);
79468   ;
79469   return 0;
79470 }
79471 _ACEOF
79472 rm -f conftest.$ac_objext
79473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79474   (eval $ac_compile) 2>conftest.er1
79475   ac_status=$?
79476   grep -v '^ *+' conftest.er1 >conftest.err
79477   rm -f conftest.er1
79478   cat conftest.err >&5
79479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79480   (exit $ac_status); } &&
79481          { ac_try='test -z "$ac_cxx_werror_flag"
79482                          || test ! -s conftest.err'
79483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79484   (eval $ac_try) 2>&5
79485   ac_status=$?
79486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79487   (exit $ac_status); }; } &&
79488          { ac_try='test -s conftest.$ac_objext'
79489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79490   (eval $ac_try) 2>&5
79491   ac_status=$?
79492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79493   (exit $ac_status); }; }; then
79494   glibcxx_cv_func_strtold_use=yes
79495 else
79496   echo "$as_me: failed program was:" >&5
79497 sed 's/^/| /' conftest.$ac_ext >&5
79498
79499 glibcxx_cv_func_strtold_use=no
79500 fi
79501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79502       ac_ext=c
79503 ac_cpp='$CPP $CPPFLAGS'
79504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79507
79508
79509 fi
79510
79511   fi
79512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
79513 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
79514   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
79515
79516 for ac_func in strtold
79517 do
79518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79519 echo "$as_me:$LINENO: checking for $ac_func" >&5
79520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79521 if eval "test \"\${$as_ac_var+set}\" = set"; then
79522   echo $ECHO_N "(cached) $ECHO_C" >&6
79523 else
79524   if test x$gcc_no_link = xyes; then
79525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79527    { (exit 1); exit 1; }; }
79528 fi
79529 cat >conftest.$ac_ext <<_ACEOF
79530 /* confdefs.h.  */
79531 _ACEOF
79532 cat confdefs.h >>conftest.$ac_ext
79533 cat >>conftest.$ac_ext <<_ACEOF
79534 /* end confdefs.h.  */
79535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79537 #define $ac_func innocuous_$ac_func
79538
79539 /* System header to define __stub macros and hopefully few prototypes,
79540     which can conflict with char $ac_func (); below.
79541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79542     <limits.h> exists even on freestanding compilers.  */
79543
79544 #ifdef __STDC__
79545 # include <limits.h>
79546 #else
79547 # include <assert.h>
79548 #endif
79549
79550 #undef $ac_func
79551
79552 /* Override any gcc2 internal prototype to avoid an error.  */
79553 #ifdef __cplusplus
79554 extern "C"
79555 {
79556 #endif
79557 /* We use char because int might match the return type of a gcc2
79558    builtin and then its argument prototype would still apply.  */
79559 char $ac_func ();
79560 /* The GNU C library defines this for functions which it implements
79561     to always fail with ENOSYS.  Some functions are actually named
79562     something starting with __ and the normal name is an alias.  */
79563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79564 choke me
79565 #else
79566 char (*f) () = $ac_func;
79567 #endif
79568 #ifdef __cplusplus
79569 }
79570 #endif
79571
79572 int
79573 main ()
79574 {
79575 return f != $ac_func;
79576   ;
79577   return 0;
79578 }
79579 _ACEOF
79580 rm -f conftest.$ac_objext conftest$ac_exeext
79581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79582   (eval $ac_link) 2>conftest.er1
79583   ac_status=$?
79584   grep -v '^ *+' conftest.er1 >conftest.err
79585   rm -f conftest.er1
79586   cat conftest.err >&5
79587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79588   (exit $ac_status); } &&
79589          { ac_try='test -z "$ac_c_werror_flag"
79590                          || test ! -s conftest.err'
79591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79592   (eval $ac_try) 2>&5
79593   ac_status=$?
79594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79595   (exit $ac_status); }; } &&
79596          { ac_try='test -s conftest$ac_exeext'
79597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79598   (eval $ac_try) 2>&5
79599   ac_status=$?
79600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79601   (exit $ac_status); }; }; then
79602   eval "$as_ac_var=yes"
79603 else
79604   echo "$as_me: failed program was:" >&5
79605 sed 's/^/| /' conftest.$ac_ext >&5
79606
79607 eval "$as_ac_var=no"
79608 fi
79609 rm -f conftest.err conftest.$ac_objext \
79610       conftest$ac_exeext conftest.$ac_ext
79611 fi
79612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79614 if test `eval echo '${'$as_ac_var'}'` = yes; then
79615   cat >>confdefs.h <<_ACEOF
79616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79617 _ACEOF
79618
79619 fi
79620 done
79621
79622   fi
79623
79624
79625
79626
79627
79628   echo "$as_me:$LINENO: checking for strtof declaration" >&5
79629 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
79630   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
79631     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
79632   echo $ECHO_N "(cached) $ECHO_C" >&6
79633 else
79634
79635
79636
79637       ac_ext=cc
79638 ac_cpp='$CXXCPP $CPPFLAGS'
79639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79642
79643       cat >conftest.$ac_ext <<_ACEOF
79644 /* confdefs.h.  */
79645 _ACEOF
79646 cat confdefs.h >>conftest.$ac_ext
79647 cat >>conftest.$ac_ext <<_ACEOF
79648 /* end confdefs.h.  */
79649 #include <stdlib.h>
79650 int
79651 main ()
79652 {
79653  strtof(0, 0);
79654   ;
79655   return 0;
79656 }
79657 _ACEOF
79658 rm -f conftest.$ac_objext
79659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79660   (eval $ac_compile) 2>conftest.er1
79661   ac_status=$?
79662   grep -v '^ *+' conftest.er1 >conftest.err
79663   rm -f conftest.er1
79664   cat conftest.err >&5
79665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79666   (exit $ac_status); } &&
79667          { ac_try='test -z "$ac_cxx_werror_flag"
79668                          || test ! -s conftest.err'
79669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79670   (eval $ac_try) 2>&5
79671   ac_status=$?
79672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79673   (exit $ac_status); }; } &&
79674          { ac_try='test -s conftest.$ac_objext'
79675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79676   (eval $ac_try) 2>&5
79677   ac_status=$?
79678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79679   (exit $ac_status); }; }; then
79680   glibcxx_cv_func_strtof_use=yes
79681 else
79682   echo "$as_me: failed program was:" >&5
79683 sed 's/^/| /' conftest.$ac_ext >&5
79684
79685 glibcxx_cv_func_strtof_use=no
79686 fi
79687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79688       ac_ext=c
79689 ac_cpp='$CPP $CPPFLAGS'
79690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79693
79694
79695 fi
79696
79697   fi
79698   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
79699 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
79700   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
79701
79702 for ac_func in strtof
79703 do
79704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79705 echo "$as_me:$LINENO: checking for $ac_func" >&5
79706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79707 if eval "test \"\${$as_ac_var+set}\" = set"; then
79708   echo $ECHO_N "(cached) $ECHO_C" >&6
79709 else
79710   if test x$gcc_no_link = xyes; then
79711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79713    { (exit 1); exit 1; }; }
79714 fi
79715 cat >conftest.$ac_ext <<_ACEOF
79716 /* confdefs.h.  */
79717 _ACEOF
79718 cat confdefs.h >>conftest.$ac_ext
79719 cat >>conftest.$ac_ext <<_ACEOF
79720 /* end confdefs.h.  */
79721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79723 #define $ac_func innocuous_$ac_func
79724
79725 /* System header to define __stub macros and hopefully few prototypes,
79726     which can conflict with char $ac_func (); below.
79727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79728     <limits.h> exists even on freestanding compilers.  */
79729
79730 #ifdef __STDC__
79731 # include <limits.h>
79732 #else
79733 # include <assert.h>
79734 #endif
79735
79736 #undef $ac_func
79737
79738 /* Override any gcc2 internal prototype to avoid an error.  */
79739 #ifdef __cplusplus
79740 extern "C"
79741 {
79742 #endif
79743 /* We use char because int might match the return type of a gcc2
79744    builtin and then its argument prototype would still apply.  */
79745 char $ac_func ();
79746 /* The GNU C library defines this for functions which it implements
79747     to always fail with ENOSYS.  Some functions are actually named
79748     something starting with __ and the normal name is an alias.  */
79749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79750 choke me
79751 #else
79752 char (*f) () = $ac_func;
79753 #endif
79754 #ifdef __cplusplus
79755 }
79756 #endif
79757
79758 int
79759 main ()
79760 {
79761 return f != $ac_func;
79762   ;
79763   return 0;
79764 }
79765 _ACEOF
79766 rm -f conftest.$ac_objext conftest$ac_exeext
79767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79768   (eval $ac_link) 2>conftest.er1
79769   ac_status=$?
79770   grep -v '^ *+' conftest.er1 >conftest.err
79771   rm -f conftest.er1
79772   cat conftest.err >&5
79773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79774   (exit $ac_status); } &&
79775          { ac_try='test -z "$ac_c_werror_flag"
79776                          || test ! -s conftest.err'
79777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79778   (eval $ac_try) 2>&5
79779   ac_status=$?
79780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79781   (exit $ac_status); }; } &&
79782          { ac_try='test -s conftest$ac_exeext'
79783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79784   (eval $ac_try) 2>&5
79785   ac_status=$?
79786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79787   (exit $ac_status); }; }; then
79788   eval "$as_ac_var=yes"
79789 else
79790   echo "$as_me: failed program was:" >&5
79791 sed 's/^/| /' conftest.$ac_ext >&5
79792
79793 eval "$as_ac_var=no"
79794 fi
79795 rm -f conftest.err conftest.$ac_objext \
79796       conftest$ac_exeext conftest.$ac_ext
79797 fi
79798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79800 if test `eval echo '${'$as_ac_var'}'` = yes; then
79801   cat >>confdefs.h <<_ACEOF
79802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79803 _ACEOF
79804
79805 fi
79806 done
79807
79808   fi
79809
79810
79811
79812
79813
79814   CXXFLAGS="$ac_save_CXXFLAGS"
79815
79816     ;;
79817
79818   *djgpp)
79819     # GLIBCXX_CHECK_MATH_SUPPORT
79820     cat >>confdefs.h <<\_ACEOF
79821 #define HAVE_LIBM 1
79822 _ACEOF
79823
79824     cat >>confdefs.h <<\_ACEOF
79825 #define HAVE_ISINF 1
79826 _ACEOF
79827
79828     cat >>confdefs.h <<\_ACEOF
79829 #define HAVE_ISNAN 1
79830 _ACEOF
79831
79832     cat >>confdefs.h <<\_ACEOF
79833 #define HAVE_FINITE 1
79834 _ACEOF
79835
79836     cat >>confdefs.h <<\_ACEOF
79837 #define HAVE_COPYSIGN 1
79838 _ACEOF
79839
79840     cat >>confdefs.h <<\_ACEOF
79841 #define HAVE_SINCOS 1
79842 _ACEOF
79843
79844     cat >>confdefs.h <<\_ACEOF
79845 #define HAVE_HYPOT 1
79846 _ACEOF
79847
79848     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
79849     # GLIBCXX_CHECK_STDLIB_SUPPORT
79850     cat >>confdefs.h <<\_ACEOF
79851 #define HAVE_COPYSIGN 1
79852 _ACEOF
79853
79854     cat >>confdefs.h <<\_ACEOF
79855 #define HAVE_COPYSIGNF 1
79856 _ACEOF
79857
79858     ;;
79859
79860   *-freebsd*)
79861     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79862
79863
79864   # If we're not using GNU ld, then there's no point in even trying these
79865   # tests.  Check for that first.  We should have already tested for gld
79866   # by now (in libtool), but require it now just to be safe...
79867   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79868   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79869
79870
79871
79872   # The name set by libtool depends on the version of libtool.  Shame on us
79873   # for depending on an impl detail, but c'est la vie.  Older versions used
79874   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79875   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79876   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79877   # set (hence we're using an older libtool), then set it.
79878   if test x${with_gnu_ld+set} != xset; then
79879     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79880       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79881       with_gnu_ld=no
79882     else
79883       with_gnu_ld=$ac_cv_prog_gnu_ld
79884     fi
79885   fi
79886
79887   # Start by getting the version number.  I think the libtool test already
79888   # does some of this, but throws away the result.
79889   glibcxx_ld_is_gold=no
79890   if test x"$with_gnu_ld" = x"yes"; then
79891     echo "$as_me:$LINENO: checking for ld version" >&5
79892 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79893
79894     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
79895       glibcxx_ld_is_gold=yes
79896     fi
79897     ldver=`$LD --version 2>/dev/null | head -1 | \
79898            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
79899
79900     glibcxx_gnu_ld_version=`echo $ldver | \
79901            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79902     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79903 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79904   fi
79905
79906   # Set --gc-sections.
79907   glibcxx_have_gc_sections=no
79908   if test "$glibcxx_ld_is_gold" = "yes"; then
79909     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
79910       glibcxx_have_gc_sections=yes
79911     fi
79912   else
79913     glibcxx_gcsections_min_ld=21602
79914     if test x"$with_gnu_ld" = x"yes" &&
79915         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79916       glibcxx_have_gc_sections=yes
79917     fi
79918   fi
79919   if test "$glibcxx_have_gc_sections" = "yes"; then
79920     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
79921     # NB: This flag only works reliably after 2.16.1. Configure tests
79922     # for this are difficult, so hard wire a value that should work.
79923
79924     ac_test_CFLAGS="${CFLAGS+set}"
79925     ac_save_CFLAGS="$CFLAGS"
79926     CFLAGS='-Wl,--gc-sections'
79927
79928     # Check for -Wl,--gc-sections
79929     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79930 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79931     if test x$gcc_no_link = xyes; then
79932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79934    { (exit 1); exit 1; }; }
79935 fi
79936 cat >conftest.$ac_ext <<_ACEOF
79937 /* confdefs.h.  */
79938 _ACEOF
79939 cat confdefs.h >>conftest.$ac_ext
79940 cat >>conftest.$ac_ext <<_ACEOF
79941 /* end confdefs.h.  */
79942  int one(void) { return 1; }
79943      int two(void) { return 2; }
79944
79945 int
79946 main ()
79947 {
79948  two();
79949   ;
79950   return 0;
79951 }
79952 _ACEOF
79953 rm -f conftest.$ac_objext conftest$ac_exeext
79954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79955   (eval $ac_link) 2>conftest.er1
79956   ac_status=$?
79957   grep -v '^ *+' conftest.er1 >conftest.err
79958   rm -f conftest.er1
79959   cat conftest.err >&5
79960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79961   (exit $ac_status); } &&
79962          { ac_try='test -z "$ac_c_werror_flag"
79963                          || test ! -s conftest.err'
79964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79965   (eval $ac_try) 2>&5
79966   ac_status=$?
79967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79968   (exit $ac_status); }; } &&
79969          { ac_try='test -s conftest$ac_exeext'
79970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971   (eval $ac_try) 2>&5
79972   ac_status=$?
79973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974   (exit $ac_status); }; }; then
79975   ac_gcsections=yes
79976 else
79977   echo "$as_me: failed program was:" >&5
79978 sed 's/^/| /' conftest.$ac_ext >&5
79979
79980 ac_gcsections=no
79981 fi
79982 rm -f conftest.err conftest.$ac_objext \
79983       conftest$ac_exeext conftest.$ac_ext
79984     if test "$ac_gcsections" = "yes"; then
79985       rm -f conftest.c
79986       touch conftest.c
79987       if $CC -c conftest.c; then
79988         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79989            grep "Warning: gc-sections option ignored" > /dev/null; then
79990           ac_gcsections=no
79991         fi
79992       fi
79993       rm -f conftest.c conftest.o conftest
79994     fi
79995     if test "$ac_gcsections" = "yes"; then
79996       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79997     fi
79998     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79999 echo "${ECHO_T}$ac_gcsections" >&6
80000
80001     if test "$ac_test_CFLAGS" = set; then
80002       CFLAGS="$ac_save_CFLAGS"
80003     else
80004       # this is the suspicious part
80005       CFLAGS=''
80006     fi
80007   fi
80008
80009   # Set -z,relro.
80010   # Note this is only for shared objects.
80011   ac_ld_relro=no
80012   if test x"$with_gnu_ld" = x"yes"; then
80013     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80014 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80015     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80016     if test -n "$cxx_z_relo"; then
80017       OPT_LDFLAGS="-Wl,-z,relro"
80018       ac_ld_relro=yes
80019     fi
80020     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80021 echo "${ECHO_T}$ac_ld_relro" >&6
80022   fi
80023
80024   # Set linker optimization flags.
80025   if test x"$with_gnu_ld" = x"yes"; then
80026     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80027   fi
80028
80029
80030
80031
80032
80033
80034 echo "$as_me:$LINENO: checking for main in -lm" >&5
80035 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80036 if test "${ac_cv_lib_m_main+set}" = set; then
80037   echo $ECHO_N "(cached) $ECHO_C" >&6
80038 else
80039   ac_check_lib_save_LIBS=$LIBS
80040 LIBS="-lm  $LIBS"
80041 if test x$gcc_no_link = xyes; then
80042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80044    { (exit 1); exit 1; }; }
80045 fi
80046 cat >conftest.$ac_ext <<_ACEOF
80047 /* confdefs.h.  */
80048 _ACEOF
80049 cat confdefs.h >>conftest.$ac_ext
80050 cat >>conftest.$ac_ext <<_ACEOF
80051 /* end confdefs.h.  */
80052
80053
80054 int
80055 main ()
80056 {
80057 main ();
80058   ;
80059   return 0;
80060 }
80061 _ACEOF
80062 rm -f conftest.$ac_objext conftest$ac_exeext
80063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80064   (eval $ac_link) 2>conftest.er1
80065   ac_status=$?
80066   grep -v '^ *+' conftest.er1 >conftest.err
80067   rm -f conftest.er1
80068   cat conftest.err >&5
80069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80070   (exit $ac_status); } &&
80071          { ac_try='test -z "$ac_c_werror_flag"
80072                          || test ! -s conftest.err'
80073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80074   (eval $ac_try) 2>&5
80075   ac_status=$?
80076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80077   (exit $ac_status); }; } &&
80078          { ac_try='test -s conftest$ac_exeext'
80079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080   (eval $ac_try) 2>&5
80081   ac_status=$?
80082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083   (exit $ac_status); }; }; then
80084   ac_cv_lib_m_main=yes
80085 else
80086   echo "$as_me: failed program was:" >&5
80087 sed 's/^/| /' conftest.$ac_ext >&5
80088
80089 ac_cv_lib_m_main=no
80090 fi
80091 rm -f conftest.err conftest.$ac_objext \
80092       conftest$ac_exeext conftest.$ac_ext
80093 LIBS=$ac_check_lib_save_LIBS
80094 fi
80095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80096 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80097 if test $ac_cv_lib_m_main = yes; then
80098   cat >>confdefs.h <<_ACEOF
80099 #define HAVE_LIBM 1
80100 _ACEOF
80101
80102   LIBS="-lm $LIBS"
80103
80104 fi
80105
80106
80107 for ac_func in copysignf
80108 do
80109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80110 echo "$as_me:$LINENO: checking for $ac_func" >&5
80111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80112 if eval "test \"\${$as_ac_var+set}\" = set"; then
80113   echo $ECHO_N "(cached) $ECHO_C" >&6
80114 else
80115   if test x$gcc_no_link = xyes; then
80116   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80118    { (exit 1); exit 1; }; }
80119 fi
80120 cat >conftest.$ac_ext <<_ACEOF
80121 /* confdefs.h.  */
80122 _ACEOF
80123 cat confdefs.h >>conftest.$ac_ext
80124 cat >>conftest.$ac_ext <<_ACEOF
80125 /* end confdefs.h.  */
80126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80127    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80128 #define $ac_func innocuous_$ac_func
80129
80130 /* System header to define __stub macros and hopefully few prototypes,
80131     which can conflict with char $ac_func (); below.
80132     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80133     <limits.h> exists even on freestanding compilers.  */
80134
80135 #ifdef __STDC__
80136 # include <limits.h>
80137 #else
80138 # include <assert.h>
80139 #endif
80140
80141 #undef $ac_func
80142
80143 /* Override any gcc2 internal prototype to avoid an error.  */
80144 #ifdef __cplusplus
80145 extern "C"
80146 {
80147 #endif
80148 /* We use char because int might match the return type of a gcc2
80149    builtin and then its argument prototype would still apply.  */
80150 char $ac_func ();
80151 /* The GNU C library defines this for functions which it implements
80152     to always fail with ENOSYS.  Some functions are actually named
80153     something starting with __ and the normal name is an alias.  */
80154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80155 choke me
80156 #else
80157 char (*f) () = $ac_func;
80158 #endif
80159 #ifdef __cplusplus
80160 }
80161 #endif
80162
80163 int
80164 main ()
80165 {
80166 return f != $ac_func;
80167   ;
80168   return 0;
80169 }
80170 _ACEOF
80171 rm -f conftest.$ac_objext conftest$ac_exeext
80172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80173   (eval $ac_link) 2>conftest.er1
80174   ac_status=$?
80175   grep -v '^ *+' conftest.er1 >conftest.err
80176   rm -f conftest.er1
80177   cat conftest.err >&5
80178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80179   (exit $ac_status); } &&
80180          { ac_try='test -z "$ac_c_werror_flag"
80181                          || test ! -s conftest.err'
80182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80183   (eval $ac_try) 2>&5
80184   ac_status=$?
80185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80186   (exit $ac_status); }; } &&
80187          { ac_try='test -s conftest$ac_exeext'
80188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80189   (eval $ac_try) 2>&5
80190   ac_status=$?
80191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80192   (exit $ac_status); }; }; then
80193   eval "$as_ac_var=yes"
80194 else
80195   echo "$as_me: failed program was:" >&5
80196 sed 's/^/| /' conftest.$ac_ext >&5
80197
80198 eval "$as_ac_var=no"
80199 fi
80200 rm -f conftest.err conftest.$ac_objext \
80201       conftest$ac_exeext conftest.$ac_ext
80202 fi
80203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80205 if test `eval echo '${'$as_ac_var'}'` = yes; then
80206   cat >>confdefs.h <<_ACEOF
80207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80208 _ACEOF
80209
80210 else
80211   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80212 fi
80213 done
80214
80215
80216
80217 for ac_func in __signbit
80218 do
80219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80220 echo "$as_me:$LINENO: checking for $ac_func" >&5
80221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80222 if eval "test \"\${$as_ac_var+set}\" = set"; then
80223   echo $ECHO_N "(cached) $ECHO_C" >&6
80224 else
80225   if test x$gcc_no_link = xyes; then
80226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80228    { (exit 1); exit 1; }; }
80229 fi
80230 cat >conftest.$ac_ext <<_ACEOF
80231 /* confdefs.h.  */
80232 _ACEOF
80233 cat confdefs.h >>conftest.$ac_ext
80234 cat >>conftest.$ac_ext <<_ACEOF
80235 /* end confdefs.h.  */
80236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80238 #define $ac_func innocuous_$ac_func
80239
80240 /* System header to define __stub macros and hopefully few prototypes,
80241     which can conflict with char $ac_func (); below.
80242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80243     <limits.h> exists even on freestanding compilers.  */
80244
80245 #ifdef __STDC__
80246 # include <limits.h>
80247 #else
80248 # include <assert.h>
80249 #endif
80250
80251 #undef $ac_func
80252
80253 /* Override any gcc2 internal prototype to avoid an error.  */
80254 #ifdef __cplusplus
80255 extern "C"
80256 {
80257 #endif
80258 /* We use char because int might match the return type of a gcc2
80259    builtin and then its argument prototype would still apply.  */
80260 char $ac_func ();
80261 /* The GNU C library defines this for functions which it implements
80262     to always fail with ENOSYS.  Some functions are actually named
80263     something starting with __ and the normal name is an alias.  */
80264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80265 choke me
80266 #else
80267 char (*f) () = $ac_func;
80268 #endif
80269 #ifdef __cplusplus
80270 }
80271 #endif
80272
80273 int
80274 main ()
80275 {
80276 return f != $ac_func;
80277   ;
80278   return 0;
80279 }
80280 _ACEOF
80281 rm -f conftest.$ac_objext conftest$ac_exeext
80282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80283   (eval $ac_link) 2>conftest.er1
80284   ac_status=$?
80285   grep -v '^ *+' conftest.er1 >conftest.err
80286   rm -f conftest.er1
80287   cat conftest.err >&5
80288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80289   (exit $ac_status); } &&
80290          { ac_try='test -z "$ac_c_werror_flag"
80291                          || test ! -s conftest.err'
80292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80293   (eval $ac_try) 2>&5
80294   ac_status=$?
80295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80296   (exit $ac_status); }; } &&
80297          { ac_try='test -s conftest$ac_exeext'
80298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80299   (eval $ac_try) 2>&5
80300   ac_status=$?
80301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80302   (exit $ac_status); }; }; then
80303   eval "$as_ac_var=yes"
80304 else
80305   echo "$as_me: failed program was:" >&5
80306 sed 's/^/| /' conftest.$ac_ext >&5
80307
80308 eval "$as_ac_var=no"
80309 fi
80310 rm -f conftest.err conftest.$ac_objext \
80311       conftest$ac_exeext conftest.$ac_ext
80312 fi
80313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80315 if test `eval echo '${'$as_ac_var'}'` = yes; then
80316   cat >>confdefs.h <<_ACEOF
80317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80318 _ACEOF
80319
80320 else
80321   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80322 fi
80323 done
80324
80325
80326
80327 for ac_func in __signbitf
80328 do
80329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80330 echo "$as_me:$LINENO: checking for $ac_func" >&5
80331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80332 if eval "test \"\${$as_ac_var+set}\" = set"; then
80333   echo $ECHO_N "(cached) $ECHO_C" >&6
80334 else
80335   if test x$gcc_no_link = xyes; then
80336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80338    { (exit 1); exit 1; }; }
80339 fi
80340 cat >conftest.$ac_ext <<_ACEOF
80341 /* confdefs.h.  */
80342 _ACEOF
80343 cat confdefs.h >>conftest.$ac_ext
80344 cat >>conftest.$ac_ext <<_ACEOF
80345 /* end confdefs.h.  */
80346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80348 #define $ac_func innocuous_$ac_func
80349
80350 /* System header to define __stub macros and hopefully few prototypes,
80351     which can conflict with char $ac_func (); below.
80352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80353     <limits.h> exists even on freestanding compilers.  */
80354
80355 #ifdef __STDC__
80356 # include <limits.h>
80357 #else
80358 # include <assert.h>
80359 #endif
80360
80361 #undef $ac_func
80362
80363 /* Override any gcc2 internal prototype to avoid an error.  */
80364 #ifdef __cplusplus
80365 extern "C"
80366 {
80367 #endif
80368 /* We use char because int might match the return type of a gcc2
80369    builtin and then its argument prototype would still apply.  */
80370 char $ac_func ();
80371 /* The GNU C library defines this for functions which it implements
80372     to always fail with ENOSYS.  Some functions are actually named
80373     something starting with __ and the normal name is an alias.  */
80374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80375 choke me
80376 #else
80377 char (*f) () = $ac_func;
80378 #endif
80379 #ifdef __cplusplus
80380 }
80381 #endif
80382
80383 int
80384 main ()
80385 {
80386 return f != $ac_func;
80387   ;
80388   return 0;
80389 }
80390 _ACEOF
80391 rm -f conftest.$ac_objext conftest$ac_exeext
80392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80393   (eval $ac_link) 2>conftest.er1
80394   ac_status=$?
80395   grep -v '^ *+' conftest.er1 >conftest.err
80396   rm -f conftest.er1
80397   cat conftest.err >&5
80398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80399   (exit $ac_status); } &&
80400          { ac_try='test -z "$ac_c_werror_flag"
80401                          || test ! -s conftest.err'
80402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80403   (eval $ac_try) 2>&5
80404   ac_status=$?
80405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80406   (exit $ac_status); }; } &&
80407          { ac_try='test -s conftest$ac_exeext'
80408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80409   (eval $ac_try) 2>&5
80410   ac_status=$?
80411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80412   (exit $ac_status); }; }; then
80413   eval "$as_ac_var=yes"
80414 else
80415   echo "$as_me: failed program was:" >&5
80416 sed 's/^/| /' conftest.$ac_ext >&5
80417
80418 eval "$as_ac_var=no"
80419 fi
80420 rm -f conftest.err conftest.$ac_objext \
80421       conftest$ac_exeext conftest.$ac_ext
80422 fi
80423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80425 if test `eval echo '${'$as_ac_var'}'` = yes; then
80426   cat >>confdefs.h <<_ACEOF
80427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80428 _ACEOF
80429
80430 else
80431   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80432 fi
80433 done
80434
80435
80436           if test x$ac_cv_func_copysignl = x"yes"; then
80437
80438 for ac_func in __signbitl
80439 do
80440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80441 echo "$as_me:$LINENO: checking for $ac_func" >&5
80442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80443 if eval "test \"\${$as_ac_var+set}\" = set"; then
80444   echo $ECHO_N "(cached) $ECHO_C" >&6
80445 else
80446   if test x$gcc_no_link = xyes; then
80447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80449    { (exit 1); exit 1; }; }
80450 fi
80451 cat >conftest.$ac_ext <<_ACEOF
80452 /* confdefs.h.  */
80453 _ACEOF
80454 cat confdefs.h >>conftest.$ac_ext
80455 cat >>conftest.$ac_ext <<_ACEOF
80456 /* end confdefs.h.  */
80457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80459 #define $ac_func innocuous_$ac_func
80460
80461 /* System header to define __stub macros and hopefully few prototypes,
80462     which can conflict with char $ac_func (); below.
80463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80464     <limits.h> exists even on freestanding compilers.  */
80465
80466 #ifdef __STDC__
80467 # include <limits.h>
80468 #else
80469 # include <assert.h>
80470 #endif
80471
80472 #undef $ac_func
80473
80474 /* Override any gcc2 internal prototype to avoid an error.  */
80475 #ifdef __cplusplus
80476 extern "C"
80477 {
80478 #endif
80479 /* We use char because int might match the return type of a gcc2
80480    builtin and then its argument prototype would still apply.  */
80481 char $ac_func ();
80482 /* The GNU C library defines this for functions which it implements
80483     to always fail with ENOSYS.  Some functions are actually named
80484     something starting with __ and the normal name is an alias.  */
80485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80486 choke me
80487 #else
80488 char (*f) () = $ac_func;
80489 #endif
80490 #ifdef __cplusplus
80491 }
80492 #endif
80493
80494 int
80495 main ()
80496 {
80497 return f != $ac_func;
80498   ;
80499   return 0;
80500 }
80501 _ACEOF
80502 rm -f conftest.$ac_objext conftest$ac_exeext
80503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80504   (eval $ac_link) 2>conftest.er1
80505   ac_status=$?
80506   grep -v '^ *+' conftest.er1 >conftest.err
80507   rm -f conftest.er1
80508   cat conftest.err >&5
80509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80510   (exit $ac_status); } &&
80511          { ac_try='test -z "$ac_c_werror_flag"
80512                          || test ! -s conftest.err'
80513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80514   (eval $ac_try) 2>&5
80515   ac_status=$?
80516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80517   (exit $ac_status); }; } &&
80518          { ac_try='test -s conftest$ac_exeext'
80519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80520   (eval $ac_try) 2>&5
80521   ac_status=$?
80522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80523   (exit $ac_status); }; }; then
80524   eval "$as_ac_var=yes"
80525 else
80526   echo "$as_me: failed program was:" >&5
80527 sed 's/^/| /' conftest.$ac_ext >&5
80528
80529 eval "$as_ac_var=no"
80530 fi
80531 rm -f conftest.err conftest.$ac_objext \
80532       conftest$ac_exeext conftest.$ac_ext
80533 fi
80534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80536 if test `eval echo '${'$as_ac_var'}'` = yes; then
80537   cat >>confdefs.h <<_ACEOF
80538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80539 _ACEOF
80540
80541 else
80542   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80543 fi
80544 done
80545
80546   fi
80547
80548   # Used in libmath/Makefile.am.
80549   if test -n "$LIBMATHOBJS"; then
80550     need_libmath=yes
80551   fi
80552
80553
80554     cat >>confdefs.h <<\_ACEOF
80555 #define HAVE_SETENV 1
80556 _ACEOF
80557
80558     cat >>confdefs.h <<\_ACEOF
80559 #define HAVE_COPYSIGN 1
80560 _ACEOF
80561
80562     cat >>confdefs.h <<\_ACEOF
80563 #define HAVE_COPYSIGNF 1
80564 _ACEOF
80565
80566     cat >>confdefs.h <<\_ACEOF
80567 #define HAVE_FINITEF 1
80568 _ACEOF
80569
80570     cat >>confdefs.h <<\_ACEOF
80571 #define HAVE_FINITE 1
80572 _ACEOF
80573
80574     cat >>confdefs.h <<\_ACEOF
80575 #define HAVE_FREXPF 1
80576 _ACEOF
80577
80578     cat >>confdefs.h <<\_ACEOF
80579 #define HAVE_HYPOT 1
80580 _ACEOF
80581
80582     cat >>confdefs.h <<\_ACEOF
80583 #define HAVE_HYPOTF 1
80584 _ACEOF
80585
80586     cat >>confdefs.h <<\_ACEOF
80587 #define HAVE_ISINF 1
80588 _ACEOF
80589
80590     cat >>confdefs.h <<\_ACEOF
80591 #define HAVE_ISNAN 1
80592 _ACEOF
80593
80594     cat >>confdefs.h <<\_ACEOF
80595 #define HAVE_ISNANF 1
80596 _ACEOF
80597
80598
80599     cat >>confdefs.h <<\_ACEOF
80600 #define HAVE_ACOSF 1
80601 _ACEOF
80602
80603     cat >>confdefs.h <<\_ACEOF
80604 #define HAVE_ASINF 1
80605 _ACEOF
80606
80607     cat >>confdefs.h <<\_ACEOF
80608 #define HAVE_ATAN2F 1
80609 _ACEOF
80610
80611     cat >>confdefs.h <<\_ACEOF
80612 #define HAVE_ATANF 1
80613 _ACEOF
80614
80615     cat >>confdefs.h <<\_ACEOF
80616 #define HAVE_CEILF 1
80617 _ACEOF
80618
80619     cat >>confdefs.h <<\_ACEOF
80620 #define HAVE_COPYSIGN 1
80621 _ACEOF
80622
80623     cat >>confdefs.h <<\_ACEOF
80624 #define HAVE_COPYSIGNF 1
80625 _ACEOF
80626
80627     cat >>confdefs.h <<\_ACEOF
80628 #define HAVE_COSF 1
80629 _ACEOF
80630
80631     cat >>confdefs.h <<\_ACEOF
80632 #define HAVE_COSHF 1
80633 _ACEOF
80634
80635     cat >>confdefs.h <<\_ACEOF
80636 #define HAVE_EXPF 1
80637 _ACEOF
80638
80639     cat >>confdefs.h <<\_ACEOF
80640 #define HAVE_FABSF 1
80641 _ACEOF
80642
80643     cat >>confdefs.h <<\_ACEOF
80644 #define HAVE_FLOORF 1
80645 _ACEOF
80646
80647     cat >>confdefs.h <<\_ACEOF
80648 #define HAVE_FMODF 1
80649 _ACEOF
80650
80651     cat >>confdefs.h <<\_ACEOF
80652 #define HAVE_FREXPF 1
80653 _ACEOF
80654
80655     cat >>confdefs.h <<\_ACEOF
80656 #define HAVE_LDEXPF 1
80657 _ACEOF
80658
80659     cat >>confdefs.h <<\_ACEOF
80660 #define HAVE_LOG10F 1
80661 _ACEOF
80662
80663     cat >>confdefs.h <<\_ACEOF
80664 #define HAVE_LOGF 1
80665 _ACEOF
80666
80667     cat >>confdefs.h <<\_ACEOF
80668 #define HAVE_MODFF 1
80669 _ACEOF
80670
80671     cat >>confdefs.h <<\_ACEOF
80672 #define HAVE_POWF 1
80673 _ACEOF
80674
80675     cat >>confdefs.h <<\_ACEOF
80676 #define HAVE_SINF 1
80677 _ACEOF
80678
80679     cat >>confdefs.h <<\_ACEOF
80680 #define HAVE_SINHF 1
80681 _ACEOF
80682
80683     cat >>confdefs.h <<\_ACEOF
80684 #define HAVE_SQRTF 1
80685 _ACEOF
80686
80687     cat >>confdefs.h <<\_ACEOF
80688 #define HAVE_TANF 1
80689 _ACEOF
80690
80691     cat >>confdefs.h <<\_ACEOF
80692 #define HAVE_TANHF 1
80693 _ACEOF
80694
80695     if test x"long_double_math_on_this_cpu" = x"yes"; then
80696       cat >>confdefs.h <<\_ACEOF
80697 #define HAVE_FINITEL 1
80698 _ACEOF
80699
80700       cat >>confdefs.h <<\_ACEOF
80701 #define HAVE_ISINFL 1
80702 _ACEOF
80703
80704       cat >>confdefs.h <<\_ACEOF
80705 #define HAVE_ISNANL 1
80706 _ACEOF
80707
80708     fi
80709     ;;
80710   *-hpux*)
80711     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80712
80713
80714   # If we're not using GNU ld, then there's no point in even trying these
80715   # tests.  Check for that first.  We should have already tested for gld
80716   # by now (in libtool), but require it now just to be safe...
80717   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80718   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80719
80720
80721
80722   # The name set by libtool depends on the version of libtool.  Shame on us
80723   # for depending on an impl detail, but c'est la vie.  Older versions used
80724   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80725   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80726   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80727   # set (hence we're using an older libtool), then set it.
80728   if test x${with_gnu_ld+set} != xset; then
80729     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80730       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80731       with_gnu_ld=no
80732     else
80733       with_gnu_ld=$ac_cv_prog_gnu_ld
80734     fi
80735   fi
80736
80737   # Start by getting the version number.  I think the libtool test already
80738   # does some of this, but throws away the result.
80739   glibcxx_ld_is_gold=no
80740   if test x"$with_gnu_ld" = x"yes"; then
80741     echo "$as_me:$LINENO: checking for ld version" >&5
80742 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80743
80744     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
80745       glibcxx_ld_is_gold=yes
80746     fi
80747     ldver=`$LD --version 2>/dev/null | head -1 | \
80748            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
80749
80750     glibcxx_gnu_ld_version=`echo $ldver | \
80751            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80752     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80753 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80754   fi
80755
80756   # Set --gc-sections.
80757   glibcxx_have_gc_sections=no
80758   if test "$glibcxx_ld_is_gold" = "yes"; then
80759     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
80760       glibcxx_have_gc_sections=yes
80761     fi
80762   else
80763     glibcxx_gcsections_min_ld=21602
80764     if test x"$with_gnu_ld" = x"yes" &&
80765         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80766       glibcxx_have_gc_sections=yes
80767     fi
80768   fi
80769   if test "$glibcxx_have_gc_sections" = "yes"; then
80770     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
80771     # NB: This flag only works reliably after 2.16.1. Configure tests
80772     # for this are difficult, so hard wire a value that should work.
80773
80774     ac_test_CFLAGS="${CFLAGS+set}"
80775     ac_save_CFLAGS="$CFLAGS"
80776     CFLAGS='-Wl,--gc-sections'
80777
80778     # Check for -Wl,--gc-sections
80779     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80780 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80781     if test x$gcc_no_link = xyes; then
80782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80784    { (exit 1); exit 1; }; }
80785 fi
80786 cat >conftest.$ac_ext <<_ACEOF
80787 /* confdefs.h.  */
80788 _ACEOF
80789 cat confdefs.h >>conftest.$ac_ext
80790 cat >>conftest.$ac_ext <<_ACEOF
80791 /* end confdefs.h.  */
80792  int one(void) { return 1; }
80793      int two(void) { return 2; }
80794
80795 int
80796 main ()
80797 {
80798  two();
80799   ;
80800   return 0;
80801 }
80802 _ACEOF
80803 rm -f conftest.$ac_objext conftest$ac_exeext
80804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80805   (eval $ac_link) 2>conftest.er1
80806   ac_status=$?
80807   grep -v '^ *+' conftest.er1 >conftest.err
80808   rm -f conftest.er1
80809   cat conftest.err >&5
80810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80811   (exit $ac_status); } &&
80812          { ac_try='test -z "$ac_c_werror_flag"
80813                          || test ! -s conftest.err'
80814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80815   (eval $ac_try) 2>&5
80816   ac_status=$?
80817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80818   (exit $ac_status); }; } &&
80819          { ac_try='test -s conftest$ac_exeext'
80820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80821   (eval $ac_try) 2>&5
80822   ac_status=$?
80823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80824   (exit $ac_status); }; }; then
80825   ac_gcsections=yes
80826 else
80827   echo "$as_me: failed program was:" >&5
80828 sed 's/^/| /' conftest.$ac_ext >&5
80829
80830 ac_gcsections=no
80831 fi
80832 rm -f conftest.err conftest.$ac_objext \
80833       conftest$ac_exeext conftest.$ac_ext
80834     if test "$ac_gcsections" = "yes"; then
80835       rm -f conftest.c
80836       touch conftest.c
80837       if $CC -c conftest.c; then
80838         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
80839            grep "Warning: gc-sections option ignored" > /dev/null; then
80840           ac_gcsections=no
80841         fi
80842       fi
80843       rm -f conftest.c conftest.o conftest
80844     fi
80845     if test "$ac_gcsections" = "yes"; then
80846       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80847     fi
80848     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
80849 echo "${ECHO_T}$ac_gcsections" >&6
80850
80851     if test "$ac_test_CFLAGS" = set; then
80852       CFLAGS="$ac_save_CFLAGS"
80853     else
80854       # this is the suspicious part
80855       CFLAGS=''
80856     fi
80857   fi
80858
80859   # Set -z,relro.
80860   # Note this is only for shared objects.
80861   ac_ld_relro=no
80862   if test x"$with_gnu_ld" = x"yes"; then
80863     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80864 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80865     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80866     if test -n "$cxx_z_relo"; then
80867       OPT_LDFLAGS="-Wl,-z,relro"
80868       ac_ld_relro=yes
80869     fi
80870     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80871 echo "${ECHO_T}$ac_ld_relro" >&6
80872   fi
80873
80874   # Set linker optimization flags.
80875   if test x"$with_gnu_ld" = x"yes"; then
80876     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80877   fi
80878
80879
80880
80881
80882
80883     # GLIBCXX_CHECK_MATH_SUPPORT
80884     cat >>confdefs.h <<\_ACEOF
80885 #define HAVE_ISNAN 1
80886 _ACEOF
80887
80888     cat >>confdefs.h <<\_ACEOF
80889 #define HAVE_COPYSIGN 1
80890 _ACEOF
80891
80892     cat >>confdefs.h <<\_ACEOF
80893 #define HAVE_COPYSIGNF 1
80894 _ACEOF
80895
80896     cat >>confdefs.h <<\_ACEOF
80897 #define HAVE_HYPOT 1
80898 _ACEOF
80899
80900     cat >>confdefs.h <<\_ACEOF
80901 #define HAVE_ACOSF 1
80902 _ACEOF
80903
80904     cat >>confdefs.h <<\_ACEOF
80905 #define HAVE_ASINF 1
80906 _ACEOF
80907
80908     cat >>confdefs.h <<\_ACEOF
80909 #define HAVE_ATANF 1
80910 _ACEOF
80911
80912     cat >>confdefs.h <<\_ACEOF
80913 #define HAVE_COSF 1
80914 _ACEOF
80915
80916     cat >>confdefs.h <<\_ACEOF
80917 #define HAVE_COSHF 1
80918 _ACEOF
80919
80920     cat >>confdefs.h <<\_ACEOF
80921 #define HAVE_SINF 1
80922 _ACEOF
80923
80924     cat >>confdefs.h <<\_ACEOF
80925 #define HAVE_SINHF 1
80926 _ACEOF
80927
80928     cat >>confdefs.h <<\_ACEOF
80929 #define HAVE_TANF 1
80930 _ACEOF
80931
80932     cat >>confdefs.h <<\_ACEOF
80933 #define HAVE_TANHF 1
80934 _ACEOF
80935
80936     cat >>confdefs.h <<\_ACEOF
80937 #define HAVE_EXPF 1
80938 _ACEOF
80939
80940     cat >>confdefs.h <<\_ACEOF
80941 #define HAVE_ATAN2F 1
80942 _ACEOF
80943
80944     cat >>confdefs.h <<\_ACEOF
80945 #define HAVE_FABSF 1
80946 _ACEOF
80947
80948     cat >>confdefs.h <<\_ACEOF
80949 #define HAVE_FMODF 1
80950 _ACEOF
80951
80952     cat >>confdefs.h <<\_ACEOF
80953 #define HAVE_FREXPF 1
80954 _ACEOF
80955
80956     cat >>confdefs.h <<\_ACEOF
80957 #define HAVE_LOGF 1
80958 _ACEOF
80959
80960     cat >>confdefs.h <<\_ACEOF
80961 #define HAVE_LOG10F 1
80962 _ACEOF
80963
80964     cat >>confdefs.h <<\_ACEOF
80965 #define HAVE_MODF 1
80966 _ACEOF
80967
80968     cat >>confdefs.h <<\_ACEOF
80969 #define HAVE_POWF 1
80970 _ACEOF
80971
80972     cat >>confdefs.h <<\_ACEOF
80973 #define HAVE_SQRTF 1
80974 _ACEOF
80975
80976
80977
80978
80979 echo "$as_me:$LINENO: checking for main in -lm" >&5
80980 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80981 if test "${ac_cv_lib_m_main+set}" = set; then
80982   echo $ECHO_N "(cached) $ECHO_C" >&6
80983 else
80984   ac_check_lib_save_LIBS=$LIBS
80985 LIBS="-lm  $LIBS"
80986 if test x$gcc_no_link = xyes; then
80987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80989    { (exit 1); exit 1; }; }
80990 fi
80991 cat >conftest.$ac_ext <<_ACEOF
80992 /* confdefs.h.  */
80993 _ACEOF
80994 cat confdefs.h >>conftest.$ac_ext
80995 cat >>conftest.$ac_ext <<_ACEOF
80996 /* end confdefs.h.  */
80997
80998
80999 int
81000 main ()
81001 {
81002 main ();
81003   ;
81004   return 0;
81005 }
81006 _ACEOF
81007 rm -f conftest.$ac_objext conftest$ac_exeext
81008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81009   (eval $ac_link) 2>conftest.er1
81010   ac_status=$?
81011   grep -v '^ *+' conftest.er1 >conftest.err
81012   rm -f conftest.er1
81013   cat conftest.err >&5
81014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81015   (exit $ac_status); } &&
81016          { ac_try='test -z "$ac_c_werror_flag"
81017                          || test ! -s conftest.err'
81018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81019   (eval $ac_try) 2>&5
81020   ac_status=$?
81021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81022   (exit $ac_status); }; } &&
81023          { ac_try='test -s conftest$ac_exeext'
81024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81025   (eval $ac_try) 2>&5
81026   ac_status=$?
81027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81028   (exit $ac_status); }; }; then
81029   ac_cv_lib_m_main=yes
81030 else
81031   echo "$as_me: failed program was:" >&5
81032 sed 's/^/| /' conftest.$ac_ext >&5
81033
81034 ac_cv_lib_m_main=no
81035 fi
81036 rm -f conftest.err conftest.$ac_objext \
81037       conftest$ac_exeext conftest.$ac_ext
81038 LIBS=$ac_check_lib_save_LIBS
81039 fi
81040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81041 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81042 if test $ac_cv_lib_m_main = yes; then
81043   cat >>confdefs.h <<_ACEOF
81044 #define HAVE_LIBM 1
81045 _ACEOF
81046
81047   LIBS="-lm $LIBS"
81048
81049 fi
81050
81051
81052 for ac_func in copysignf
81053 do
81054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81055 echo "$as_me:$LINENO: checking for $ac_func" >&5
81056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81057 if eval "test \"\${$as_ac_var+set}\" = set"; then
81058   echo $ECHO_N "(cached) $ECHO_C" >&6
81059 else
81060   if test x$gcc_no_link = xyes; then
81061   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81063    { (exit 1); exit 1; }; }
81064 fi
81065 cat >conftest.$ac_ext <<_ACEOF
81066 /* confdefs.h.  */
81067 _ACEOF
81068 cat confdefs.h >>conftest.$ac_ext
81069 cat >>conftest.$ac_ext <<_ACEOF
81070 /* end confdefs.h.  */
81071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81072    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81073 #define $ac_func innocuous_$ac_func
81074
81075 /* System header to define __stub macros and hopefully few prototypes,
81076     which can conflict with char $ac_func (); below.
81077     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81078     <limits.h> exists even on freestanding compilers.  */
81079
81080 #ifdef __STDC__
81081 # include <limits.h>
81082 #else
81083 # include <assert.h>
81084 #endif
81085
81086 #undef $ac_func
81087
81088 /* Override any gcc2 internal prototype to avoid an error.  */
81089 #ifdef __cplusplus
81090 extern "C"
81091 {
81092 #endif
81093 /* We use char because int might match the return type of a gcc2
81094    builtin and then its argument prototype would still apply.  */
81095 char $ac_func ();
81096 /* The GNU C library defines this for functions which it implements
81097     to always fail with ENOSYS.  Some functions are actually named
81098     something starting with __ and the normal name is an alias.  */
81099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81100 choke me
81101 #else
81102 char (*f) () = $ac_func;
81103 #endif
81104 #ifdef __cplusplus
81105 }
81106 #endif
81107
81108 int
81109 main ()
81110 {
81111 return f != $ac_func;
81112   ;
81113   return 0;
81114 }
81115 _ACEOF
81116 rm -f conftest.$ac_objext conftest$ac_exeext
81117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81118   (eval $ac_link) 2>conftest.er1
81119   ac_status=$?
81120   grep -v '^ *+' conftest.er1 >conftest.err
81121   rm -f conftest.er1
81122   cat conftest.err >&5
81123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81124   (exit $ac_status); } &&
81125          { ac_try='test -z "$ac_c_werror_flag"
81126                          || test ! -s conftest.err'
81127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81128   (eval $ac_try) 2>&5
81129   ac_status=$?
81130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81131   (exit $ac_status); }; } &&
81132          { ac_try='test -s conftest$ac_exeext'
81133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81134   (eval $ac_try) 2>&5
81135   ac_status=$?
81136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81137   (exit $ac_status); }; }; then
81138   eval "$as_ac_var=yes"
81139 else
81140   echo "$as_me: failed program was:" >&5
81141 sed 's/^/| /' conftest.$ac_ext >&5
81142
81143 eval "$as_ac_var=no"
81144 fi
81145 rm -f conftest.err conftest.$ac_objext \
81146       conftest$ac_exeext conftest.$ac_ext
81147 fi
81148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81150 if test `eval echo '${'$as_ac_var'}'` = yes; then
81151   cat >>confdefs.h <<_ACEOF
81152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81153 _ACEOF
81154
81155 else
81156   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81157 fi
81158 done
81159
81160
81161
81162 for ac_func in __signbit
81163 do
81164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81165 echo "$as_me:$LINENO: checking for $ac_func" >&5
81166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81167 if eval "test \"\${$as_ac_var+set}\" = set"; then
81168   echo $ECHO_N "(cached) $ECHO_C" >&6
81169 else
81170   if test x$gcc_no_link = xyes; then
81171   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81173    { (exit 1); exit 1; }; }
81174 fi
81175 cat >conftest.$ac_ext <<_ACEOF
81176 /* confdefs.h.  */
81177 _ACEOF
81178 cat confdefs.h >>conftest.$ac_ext
81179 cat >>conftest.$ac_ext <<_ACEOF
81180 /* end confdefs.h.  */
81181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81182    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81183 #define $ac_func innocuous_$ac_func
81184
81185 /* System header to define __stub macros and hopefully few prototypes,
81186     which can conflict with char $ac_func (); below.
81187     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81188     <limits.h> exists even on freestanding compilers.  */
81189
81190 #ifdef __STDC__
81191 # include <limits.h>
81192 #else
81193 # include <assert.h>
81194 #endif
81195
81196 #undef $ac_func
81197
81198 /* Override any gcc2 internal prototype to avoid an error.  */
81199 #ifdef __cplusplus
81200 extern "C"
81201 {
81202 #endif
81203 /* We use char because int might match the return type of a gcc2
81204    builtin and then its argument prototype would still apply.  */
81205 char $ac_func ();
81206 /* The GNU C library defines this for functions which it implements
81207     to always fail with ENOSYS.  Some functions are actually named
81208     something starting with __ and the normal name is an alias.  */
81209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81210 choke me
81211 #else
81212 char (*f) () = $ac_func;
81213 #endif
81214 #ifdef __cplusplus
81215 }
81216 #endif
81217
81218 int
81219 main ()
81220 {
81221 return f != $ac_func;
81222   ;
81223   return 0;
81224 }
81225 _ACEOF
81226 rm -f conftest.$ac_objext conftest$ac_exeext
81227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81228   (eval $ac_link) 2>conftest.er1
81229   ac_status=$?
81230   grep -v '^ *+' conftest.er1 >conftest.err
81231   rm -f conftest.er1
81232   cat conftest.err >&5
81233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81234   (exit $ac_status); } &&
81235          { ac_try='test -z "$ac_c_werror_flag"
81236                          || test ! -s conftest.err'
81237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81238   (eval $ac_try) 2>&5
81239   ac_status=$?
81240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81241   (exit $ac_status); }; } &&
81242          { ac_try='test -s conftest$ac_exeext'
81243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81244   (eval $ac_try) 2>&5
81245   ac_status=$?
81246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81247   (exit $ac_status); }; }; then
81248   eval "$as_ac_var=yes"
81249 else
81250   echo "$as_me: failed program was:" >&5
81251 sed 's/^/| /' conftest.$ac_ext >&5
81252
81253 eval "$as_ac_var=no"
81254 fi
81255 rm -f conftest.err conftest.$ac_objext \
81256       conftest$ac_exeext conftest.$ac_ext
81257 fi
81258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81260 if test `eval echo '${'$as_ac_var'}'` = yes; then
81261   cat >>confdefs.h <<_ACEOF
81262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81263 _ACEOF
81264
81265 else
81266   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81267 fi
81268 done
81269
81270
81271
81272 for ac_func in __signbitf
81273 do
81274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81275 echo "$as_me:$LINENO: checking for $ac_func" >&5
81276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81277 if eval "test \"\${$as_ac_var+set}\" = set"; then
81278   echo $ECHO_N "(cached) $ECHO_C" >&6
81279 else
81280   if test x$gcc_no_link = xyes; then
81281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81283    { (exit 1); exit 1; }; }
81284 fi
81285 cat >conftest.$ac_ext <<_ACEOF
81286 /* confdefs.h.  */
81287 _ACEOF
81288 cat confdefs.h >>conftest.$ac_ext
81289 cat >>conftest.$ac_ext <<_ACEOF
81290 /* end confdefs.h.  */
81291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81293 #define $ac_func innocuous_$ac_func
81294
81295 /* System header to define __stub macros and hopefully few prototypes,
81296     which can conflict with char $ac_func (); below.
81297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81298     <limits.h> exists even on freestanding compilers.  */
81299
81300 #ifdef __STDC__
81301 # include <limits.h>
81302 #else
81303 # include <assert.h>
81304 #endif
81305
81306 #undef $ac_func
81307
81308 /* Override any gcc2 internal prototype to avoid an error.  */
81309 #ifdef __cplusplus
81310 extern "C"
81311 {
81312 #endif
81313 /* We use char because int might match the return type of a gcc2
81314    builtin and then its argument prototype would still apply.  */
81315 char $ac_func ();
81316 /* The GNU C library defines this for functions which it implements
81317     to always fail with ENOSYS.  Some functions are actually named
81318     something starting with __ and the normal name is an alias.  */
81319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81320 choke me
81321 #else
81322 char (*f) () = $ac_func;
81323 #endif
81324 #ifdef __cplusplus
81325 }
81326 #endif
81327
81328 int
81329 main ()
81330 {
81331 return f != $ac_func;
81332   ;
81333   return 0;
81334 }
81335 _ACEOF
81336 rm -f conftest.$ac_objext conftest$ac_exeext
81337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81338   (eval $ac_link) 2>conftest.er1
81339   ac_status=$?
81340   grep -v '^ *+' conftest.er1 >conftest.err
81341   rm -f conftest.er1
81342   cat conftest.err >&5
81343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81344   (exit $ac_status); } &&
81345          { ac_try='test -z "$ac_c_werror_flag"
81346                          || test ! -s conftest.err'
81347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81348   (eval $ac_try) 2>&5
81349   ac_status=$?
81350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81351   (exit $ac_status); }; } &&
81352          { ac_try='test -s conftest$ac_exeext'
81353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81354   (eval $ac_try) 2>&5
81355   ac_status=$?
81356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81357   (exit $ac_status); }; }; then
81358   eval "$as_ac_var=yes"
81359 else
81360   echo "$as_me: failed program was:" >&5
81361 sed 's/^/| /' conftest.$ac_ext >&5
81362
81363 eval "$as_ac_var=no"
81364 fi
81365 rm -f conftest.err conftest.$ac_objext \
81366       conftest$ac_exeext conftest.$ac_ext
81367 fi
81368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81370 if test `eval echo '${'$as_ac_var'}'` = yes; then
81371   cat >>confdefs.h <<_ACEOF
81372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81373 _ACEOF
81374
81375 else
81376   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81377 fi
81378 done
81379
81380
81381           if test x$ac_cv_func_copysignl = x"yes"; then
81382
81383 for ac_func in __signbitl
81384 do
81385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81386 echo "$as_me:$LINENO: checking for $ac_func" >&5
81387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81388 if eval "test \"\${$as_ac_var+set}\" = set"; then
81389   echo $ECHO_N "(cached) $ECHO_C" >&6
81390 else
81391   if test x$gcc_no_link = xyes; then
81392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81394    { (exit 1); exit 1; }; }
81395 fi
81396 cat >conftest.$ac_ext <<_ACEOF
81397 /* confdefs.h.  */
81398 _ACEOF
81399 cat confdefs.h >>conftest.$ac_ext
81400 cat >>conftest.$ac_ext <<_ACEOF
81401 /* end confdefs.h.  */
81402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81404 #define $ac_func innocuous_$ac_func
81405
81406 /* System header to define __stub macros and hopefully few prototypes,
81407     which can conflict with char $ac_func (); below.
81408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81409     <limits.h> exists even on freestanding compilers.  */
81410
81411 #ifdef __STDC__
81412 # include <limits.h>
81413 #else
81414 # include <assert.h>
81415 #endif
81416
81417 #undef $ac_func
81418
81419 /* Override any gcc2 internal prototype to avoid an error.  */
81420 #ifdef __cplusplus
81421 extern "C"
81422 {
81423 #endif
81424 /* We use char because int might match the return type of a gcc2
81425    builtin and then its argument prototype would still apply.  */
81426 char $ac_func ();
81427 /* The GNU C library defines this for functions which it implements
81428     to always fail with ENOSYS.  Some functions are actually named
81429     something starting with __ and the normal name is an alias.  */
81430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81431 choke me
81432 #else
81433 char (*f) () = $ac_func;
81434 #endif
81435 #ifdef __cplusplus
81436 }
81437 #endif
81438
81439 int
81440 main ()
81441 {
81442 return f != $ac_func;
81443   ;
81444   return 0;
81445 }
81446 _ACEOF
81447 rm -f conftest.$ac_objext conftest$ac_exeext
81448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81449   (eval $ac_link) 2>conftest.er1
81450   ac_status=$?
81451   grep -v '^ *+' conftest.er1 >conftest.err
81452   rm -f conftest.er1
81453   cat conftest.err >&5
81454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81455   (exit $ac_status); } &&
81456          { ac_try='test -z "$ac_c_werror_flag"
81457                          || test ! -s conftest.err'
81458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81459   (eval $ac_try) 2>&5
81460   ac_status=$?
81461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81462   (exit $ac_status); }; } &&
81463          { ac_try='test -s conftest$ac_exeext'
81464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81465   (eval $ac_try) 2>&5
81466   ac_status=$?
81467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81468   (exit $ac_status); }; }; then
81469   eval "$as_ac_var=yes"
81470 else
81471   echo "$as_me: failed program was:" >&5
81472 sed 's/^/| /' conftest.$ac_ext >&5
81473
81474 eval "$as_ac_var=no"
81475 fi
81476 rm -f conftest.err conftest.$ac_objext \
81477       conftest$ac_exeext conftest.$ac_ext
81478 fi
81479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81481 if test `eval echo '${'$as_ac_var'}'` = yes; then
81482   cat >>confdefs.h <<_ACEOF
81483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81484 _ACEOF
81485
81486 else
81487   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81488 fi
81489 done
81490
81491   fi
81492
81493   # Used in libmath/Makefile.am.
81494   if test -n "$LIBMATHOBJS"; then
81495     need_libmath=yes
81496   fi
81497
81498
81499
81500     # GLIBCXX_CHECK_STDLIB_SUPPORT
81501     cat >>confdefs.h <<\_ACEOF
81502 #define HAVE_STRTOLD 1
81503 _ACEOF
81504
81505
81506
81507    # Check whether --enable-tls or --disable-tls was given.
81508 if test "${enable_tls+set}" = set; then
81509   enableval="$enable_tls"
81510
81511       case "$enableval" in
81512        yes|no) ;;
81513        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
81514 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
81515    { (exit 1); exit 1; }; } ;;
81516       esac
81517
81518 else
81519   enable_tls=yes
81520 fi;
81521
81522   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
81523 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
81524 if test "${gcc_cv_have_tls+set}" = set; then
81525   echo $ECHO_N "(cached) $ECHO_C" >&6
81526 else
81527
81528     if test "$cross_compiling" = yes; then
81529                 if test x$gcc_no_link = xyes; then
81530   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81532    { (exit 1); exit 1; }; }
81533 fi
81534 cat >conftest.$ac_ext <<_ACEOF
81535 __thread int a; int b; int main() { return a = b; }
81536 _ACEOF
81537 rm -f conftest.$ac_objext conftest$ac_exeext
81538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81539   (eval $ac_link) 2>conftest.er1
81540   ac_status=$?
81541   grep -v '^ *+' conftest.er1 >conftest.err
81542   rm -f conftest.er1
81543   cat conftest.err >&5
81544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81545   (exit $ac_status); } &&
81546          { ac_try='test -z "$ac_c_werror_flag"
81547                          || test ! -s conftest.err'
81548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81549   (eval $ac_try) 2>&5
81550   ac_status=$?
81551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81552   (exit $ac_status); }; } &&
81553          { ac_try='test -s conftest$ac_exeext'
81554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81555   (eval $ac_try) 2>&5
81556   ac_status=$?
81557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81558   (exit $ac_status); }; }; then
81559   gcc_cv_have_tls=yes
81560 else
81561   echo "$as_me: failed program was:" >&5
81562 sed 's/^/| /' conftest.$ac_ext >&5
81563
81564 gcc_cv_have_tls=no
81565 fi
81566 rm -f conftest.err conftest.$ac_objext \
81567       conftest$ac_exeext conftest.$ac_ext
81568
81569
81570 else
81571   cat >conftest.$ac_ext <<_ACEOF
81572 __thread int a; int b; int main() { return a = b; }
81573 _ACEOF
81574 rm -f conftest$ac_exeext
81575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81576   (eval $ac_link) 2>&5
81577   ac_status=$?
81578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81579   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81581   (eval $ac_try) 2>&5
81582   ac_status=$?
81583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81584   (exit $ac_status); }; }; then
81585                       chktls_save_LDFLAGS="$LDFLAGS"
81586       LDFLAGS="-static $LDFLAGS"
81587       if test x$gcc_no_link = xyes; then
81588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81590    { (exit 1); exit 1; }; }
81591 fi
81592 cat >conftest.$ac_ext <<_ACEOF
81593 int main() { return 0; }
81594 _ACEOF
81595 rm -f conftest.$ac_objext conftest$ac_exeext
81596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81597   (eval $ac_link) 2>conftest.er1
81598   ac_status=$?
81599   grep -v '^ *+' conftest.er1 >conftest.err
81600   rm -f conftest.er1
81601   cat conftest.err >&5
81602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81603   (exit $ac_status); } &&
81604          { ac_try='test -z "$ac_c_werror_flag"
81605                          || test ! -s conftest.err'
81606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81607   (eval $ac_try) 2>&5
81608   ac_status=$?
81609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81610   (exit $ac_status); }; } &&
81611          { ac_try='test -s conftest$ac_exeext'
81612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81613   (eval $ac_try) 2>&5
81614   ac_status=$?
81615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81616   (exit $ac_status); }; }; then
81617   if test "$cross_compiling" = yes; then
81618   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
81619 echo "$as_me: error: in \`$ac_pwd':" >&2;}
81620 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
81621 See \`config.log' for more details." >&5
81622 echo "$as_me: error: cannot run test program while cross compiling
81623 See \`config.log' for more details." >&2;}
81624    { (exit 1); exit 1; }; }; }
81625 else
81626   cat >conftest.$ac_ext <<_ACEOF
81627 __thread int a; int b; int main() { return a = b; }
81628 _ACEOF
81629 rm -f conftest$ac_exeext
81630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81631   (eval $ac_link) 2>&5
81632   ac_status=$?
81633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81634   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81636   (eval $ac_try) 2>&5
81637   ac_status=$?
81638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81639   (exit $ac_status); }; }; then
81640   gcc_cv_have_tls=yes
81641 else
81642   echo "$as_me: program exited with status $ac_status" >&5
81643 echo "$as_me: failed program was:" >&5
81644 sed 's/^/| /' conftest.$ac_ext >&5
81645
81646 ( exit $ac_status )
81647 gcc_cv_have_tls=no
81648 fi
81649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81650 fi
81651 else
81652   echo "$as_me: failed program was:" >&5
81653 sed 's/^/| /' conftest.$ac_ext >&5
81654
81655 gcc_cv_have_tls=yes
81656 fi
81657 rm -f conftest.err conftest.$ac_objext \
81658       conftest$ac_exeext conftest.$ac_ext
81659       LDFLAGS="$chktls_save_LDFLAGS"
81660       if test $gcc_cv_have_tls = yes; then
81661                                                 chktls_save_CFLAGS="$CFLAGS"
81662         thread_CFLAGS=failed
81663         for flag in '' '-pthread' '-lpthread'; do
81664           CFLAGS="$flag $chktls_save_CFLAGS"
81665           if test x$gcc_no_link = xyes; then
81666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81668    { (exit 1); exit 1; }; }
81669 fi
81670 cat >conftest.$ac_ext <<_ACEOF
81671 /* confdefs.h.  */
81672 _ACEOF
81673 cat confdefs.h >>conftest.$ac_ext
81674 cat >>conftest.$ac_ext <<_ACEOF
81675 /* end confdefs.h.  */
81676 #include <pthread.h>
81677                 void *g(void *d) { return NULL; }
81678 int
81679 main ()
81680 {
81681 pthread_t t; pthread_create(&t,NULL,g,NULL);
81682   ;
81683   return 0;
81684 }
81685 _ACEOF
81686 rm -f conftest.$ac_objext conftest$ac_exeext
81687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81688   (eval $ac_link) 2>conftest.er1
81689   ac_status=$?
81690   grep -v '^ *+' conftest.er1 >conftest.err
81691   rm -f conftest.er1
81692   cat conftest.err >&5
81693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81694   (exit $ac_status); } &&
81695          { ac_try='test -z "$ac_c_werror_flag"
81696                          || test ! -s conftest.err'
81697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81698   (eval $ac_try) 2>&5
81699   ac_status=$?
81700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81701   (exit $ac_status); }; } &&
81702          { ac_try='test -s conftest$ac_exeext'
81703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81704   (eval $ac_try) 2>&5
81705   ac_status=$?
81706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81707   (exit $ac_status); }; }; then
81708   thread_CFLAGS="$flag"
81709 else
81710   echo "$as_me: failed program was:" >&5
81711 sed 's/^/| /' conftest.$ac_ext >&5
81712
81713 fi
81714 rm -f conftest.err conftest.$ac_objext \
81715       conftest$ac_exeext conftest.$ac_ext
81716           if test "X$thread_CFLAGS" != Xfailed; then
81717             break
81718           fi
81719         done
81720         CFLAGS="$chktls_save_CFLAGS"
81721         if test "X$thread_CFLAGS" != Xfailed; then
81722           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
81723           if test "$cross_compiling" = yes; then
81724   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
81725 echo "$as_me: error: in \`$ac_pwd':" >&2;}
81726 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
81727 See \`config.log' for more details." >&5
81728 echo "$as_me: error: cannot run test program while cross compiling
81729 See \`config.log' for more details." >&2;}
81730    { (exit 1); exit 1; }; }; }
81731 else
81732   cat >conftest.$ac_ext <<_ACEOF
81733 /* confdefs.h.  */
81734 _ACEOF
81735 cat confdefs.h >>conftest.$ac_ext
81736 cat >>conftest.$ac_ext <<_ACEOF
81737 /* end confdefs.h.  */
81738 #include <pthread.h>
81739                 __thread int a;
81740                 static int *a_in_other_thread;
81741                 static void *
81742                 thread_func (void *arg)
81743                 {
81744                   a_in_other_thread = &a;
81745                   return (void *)0;
81746                 }
81747 int
81748 main ()
81749 {
81750 pthread_t thread;
81751                 void *thread_retval;
81752                 int *a_in_main_thread;
81753                 if (pthread_create (&thread, (pthread_attr_t *)0,
81754                                     thread_func, (void *)0))
81755                   return 0;
81756                 a_in_main_thread = &a;
81757                 if (pthread_join (thread, &thread_retval))
81758                   return 0;
81759                 return (a_in_other_thread == a_in_main_thread);
81760   ;
81761   return 0;
81762 }
81763 _ACEOF
81764 rm -f conftest$ac_exeext
81765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81766   (eval $ac_link) 2>&5
81767   ac_status=$?
81768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81769   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81771   (eval $ac_try) 2>&5
81772   ac_status=$?
81773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81774   (exit $ac_status); }; }; then
81775   gcc_cv_have_tls=yes
81776 else
81777   echo "$as_me: program exited with status $ac_status" >&5
81778 echo "$as_me: failed program was:" >&5
81779 sed 's/^/| /' conftest.$ac_ext >&5
81780
81781 ( exit $ac_status )
81782 gcc_cv_have_tls=no
81783 fi
81784 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81785 fi
81786           CFLAGS="$chktls_save_CFLAGS"
81787         fi
81788       fi
81789 else
81790   echo "$as_me: program exited with status $ac_status" >&5
81791 echo "$as_me: failed program was:" >&5
81792 sed 's/^/| /' conftest.$ac_ext >&5
81793
81794 ( exit $ac_status )
81795 gcc_cv_have_tls=no
81796 fi
81797 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81798 fi
81799 fi
81800 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
81801 echo "${ECHO_T}$gcc_cv_have_tls" >&6
81802   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
81803
81804 cat >>confdefs.h <<\_ACEOF
81805 #define HAVE_TLS 1
81806 _ACEOF
81807
81808   fi
81809     case "$target" in
81810       *-hpux10*)
81811         cat >>confdefs.h <<\_ACEOF
81812 #define HAVE_ISINF 1
81813 _ACEOF
81814
81815         cat >>confdefs.h <<\_ACEOF
81816 #define HAVE_ISINFF 1
81817 _ACEOF
81818
81819         cat >>confdefs.h <<\_ACEOF
81820 #define HAVE_ISNANF 1
81821 _ACEOF
81822
81823         cat >>confdefs.h <<\_ACEOF
81824 #define HAVE_FINITE 1
81825 _ACEOF
81826
81827         cat >>confdefs.h <<\_ACEOF
81828 #define HAVE_FINITEF 1
81829 _ACEOF
81830
81831         ;;
81832     esac
81833     ;;
81834   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81835
81836   # All these tests are for C++; save the language and the compiler flags.
81837   # The CXXFLAGS thing is suspicious, but based on similar bits previously
81838   # found in GLIBCXX_CONFIGURE.
81839
81840
81841   ac_ext=cc
81842 ac_cpp='$CXXCPP $CPPFLAGS'
81843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81846
81847   ac_test_CXXFLAGS="${CXXFLAGS+set}"
81848   ac_save_CXXFLAGS="$CXXFLAGS"
81849
81850   # Check for maintainer-mode bits.
81851   if test x"$USE_MAINTAINER_MODE" = xno; then
81852     WERROR=''
81853   else
81854     WERROR='-Werror'
81855   fi
81856
81857   # Check for -ffunction-sections -fdata-sections
81858   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
81859 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
81860   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
81861   cat >conftest.$ac_ext <<_ACEOF
81862 /* confdefs.h.  */
81863 _ACEOF
81864 cat confdefs.h >>conftest.$ac_ext
81865 cat >>conftest.$ac_ext <<_ACEOF
81866 /* end confdefs.h.  */
81867 int foo; void bar() { };
81868 int
81869 main ()
81870 {
81871
81872   ;
81873   return 0;
81874 }
81875 _ACEOF
81876 rm -f conftest.$ac_objext
81877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81878   (eval $ac_compile) 2>conftest.er1
81879   ac_status=$?
81880   grep -v '^ *+' conftest.er1 >conftest.err
81881   rm -f conftest.er1
81882   cat conftest.err >&5
81883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81884   (exit $ac_status); } &&
81885          { ac_try='test -z "$ac_cxx_werror_flag"
81886                          || test ! -s conftest.err'
81887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81888   (eval $ac_try) 2>&5
81889   ac_status=$?
81890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81891   (exit $ac_status); }; } &&
81892          { ac_try='test -s conftest.$ac_objext'
81893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81894   (eval $ac_try) 2>&5
81895   ac_status=$?
81896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81897   (exit $ac_status); }; }; then
81898   ac_fdsections=yes
81899 else
81900   echo "$as_me: failed program was:" >&5
81901 sed 's/^/| /' conftest.$ac_ext >&5
81902
81903 ac_fdsections=no
81904 fi
81905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81906   if test "$ac_test_CXXFLAGS" = set; then
81907     CXXFLAGS="$ac_save_CXXFLAGS"
81908   else
81909     # this is the suspicious part
81910     CXXFLAGS=''
81911   fi
81912   if test x"$ac_fdsections" = x"yes"; then
81913     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81914   fi
81915   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
81916 echo "${ECHO_T}$ac_fdsections" >&6
81917
81918   ac_ext=c
81919 ac_cpp='$CPP $CPPFLAGS'
81920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81923
81924
81925
81926
81927
81928   # If we're not using GNU ld, then there's no point in even trying these
81929   # tests.  Check for that first.  We should have already tested for gld
81930   # by now (in libtool), but require it now just to be safe...
81931   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81932   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81933
81934
81935
81936   # The name set by libtool depends on the version of libtool.  Shame on us
81937   # for depending on an impl detail, but c'est la vie.  Older versions used
81938   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81939   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81940   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81941   # set (hence we're using an older libtool), then set it.
81942   if test x${with_gnu_ld+set} != xset; then
81943     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81944       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81945       with_gnu_ld=no
81946     else
81947       with_gnu_ld=$ac_cv_prog_gnu_ld
81948     fi
81949   fi
81950
81951   # Start by getting the version number.  I think the libtool test already
81952   # does some of this, but throws away the result.
81953   glibcxx_ld_is_gold=no
81954   if test x"$with_gnu_ld" = x"yes"; then
81955     echo "$as_me:$LINENO: checking for ld version" >&5
81956 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81957
81958     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
81959       glibcxx_ld_is_gold=yes
81960     fi
81961     ldver=`$LD --version 2>/dev/null | head -1 | \
81962            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
81963
81964     glibcxx_gnu_ld_version=`echo $ldver | \
81965            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81966     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81967 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81968   fi
81969
81970   # Set --gc-sections.
81971   glibcxx_have_gc_sections=no
81972   if test "$glibcxx_ld_is_gold" = "yes"; then
81973     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
81974       glibcxx_have_gc_sections=yes
81975     fi
81976   else
81977     glibcxx_gcsections_min_ld=21602
81978     if test x"$with_gnu_ld" = x"yes" &&
81979         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81980       glibcxx_have_gc_sections=yes
81981     fi
81982   fi
81983   if test "$glibcxx_have_gc_sections" = "yes"; then
81984     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
81985     # NB: This flag only works reliably after 2.16.1. Configure tests
81986     # for this are difficult, so hard wire a value that should work.
81987
81988     ac_test_CFLAGS="${CFLAGS+set}"
81989     ac_save_CFLAGS="$CFLAGS"
81990     CFLAGS='-Wl,--gc-sections'
81991
81992     # Check for -Wl,--gc-sections
81993     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81994 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81995     if test x$gcc_no_link = xyes; then
81996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81998    { (exit 1); exit 1; }; }
81999 fi
82000 cat >conftest.$ac_ext <<_ACEOF
82001 /* confdefs.h.  */
82002 _ACEOF
82003 cat confdefs.h >>conftest.$ac_ext
82004 cat >>conftest.$ac_ext <<_ACEOF
82005 /* end confdefs.h.  */
82006  int one(void) { return 1; }
82007      int two(void) { return 2; }
82008
82009 int
82010 main ()
82011 {
82012  two();
82013   ;
82014   return 0;
82015 }
82016 _ACEOF
82017 rm -f conftest.$ac_objext conftest$ac_exeext
82018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82019   (eval $ac_link) 2>conftest.er1
82020   ac_status=$?
82021   grep -v '^ *+' conftest.er1 >conftest.err
82022   rm -f conftest.er1
82023   cat conftest.err >&5
82024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82025   (exit $ac_status); } &&
82026          { ac_try='test -z "$ac_c_werror_flag"
82027                          || test ! -s conftest.err'
82028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82029   (eval $ac_try) 2>&5
82030   ac_status=$?
82031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82032   (exit $ac_status); }; } &&
82033          { ac_try='test -s conftest$ac_exeext'
82034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82035   (eval $ac_try) 2>&5
82036   ac_status=$?
82037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82038   (exit $ac_status); }; }; then
82039   ac_gcsections=yes
82040 else
82041   echo "$as_me: failed program was:" >&5
82042 sed 's/^/| /' conftest.$ac_ext >&5
82043
82044 ac_gcsections=no
82045 fi
82046 rm -f conftest.err conftest.$ac_objext \
82047       conftest$ac_exeext conftest.$ac_ext
82048     if test "$ac_gcsections" = "yes"; then
82049       rm -f conftest.c
82050       touch conftest.c
82051       if $CC -c conftest.c; then
82052         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
82053            grep "Warning: gc-sections option ignored" > /dev/null; then
82054           ac_gcsections=no
82055         fi
82056       fi
82057       rm -f conftest.c conftest.o conftest
82058     fi
82059     if test "$ac_gcsections" = "yes"; then
82060       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82061     fi
82062     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82063 echo "${ECHO_T}$ac_gcsections" >&6
82064
82065     if test "$ac_test_CFLAGS" = set; then
82066       CFLAGS="$ac_save_CFLAGS"
82067     else
82068       # this is the suspicious part
82069       CFLAGS=''
82070     fi
82071   fi
82072
82073   # Set -z,relro.
82074   # Note this is only for shared objects.
82075   ac_ld_relro=no
82076   if test x"$with_gnu_ld" = x"yes"; then
82077     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82078 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82079     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82080     if test -n "$cxx_z_relo"; then
82081       OPT_LDFLAGS="-Wl,-z,relro"
82082       ac_ld_relro=yes
82083     fi
82084     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82085 echo "${ECHO_T}$ac_ld_relro" >&6
82086   fi
82087
82088   # Set linker optimization flags.
82089   if test x"$with_gnu_ld" = x"yes"; then
82090     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82091   fi
82092
82093
82094
82095
82096
82097   ac_test_CXXFLAGS="${CXXFLAGS+set}"
82098   ac_save_CXXFLAGS="$CXXFLAGS"
82099   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
82100
82101     echo "$as_me:$LINENO: checking for sin in -lm" >&5
82102 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
82103 if test "${ac_cv_lib_m_sin+set}" = set; then
82104   echo $ECHO_N "(cached) $ECHO_C" >&6
82105 else
82106   ac_check_lib_save_LIBS=$LIBS
82107 LIBS="-lm  $LIBS"
82108 if test x$gcc_no_link = xyes; then
82109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82111    { (exit 1); exit 1; }; }
82112 fi
82113 cat >conftest.$ac_ext <<_ACEOF
82114 /* confdefs.h.  */
82115 _ACEOF
82116 cat confdefs.h >>conftest.$ac_ext
82117 cat >>conftest.$ac_ext <<_ACEOF
82118 /* end confdefs.h.  */
82119
82120 /* Override any gcc2 internal prototype to avoid an error.  */
82121 #ifdef __cplusplus
82122 extern "C"
82123 #endif
82124 /* We use char because int might match the return type of a gcc2
82125    builtin and then its argument prototype would still apply.  */
82126 char sin ();
82127 int
82128 main ()
82129 {
82130 sin ();
82131   ;
82132   return 0;
82133 }
82134 _ACEOF
82135 rm -f conftest.$ac_objext conftest$ac_exeext
82136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82137   (eval $ac_link) 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_c_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_exeext'
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   ac_cv_lib_m_sin=yes
82158 else
82159   echo "$as_me: failed program was:" >&5
82160 sed 's/^/| /' conftest.$ac_ext >&5
82161
82162 ac_cv_lib_m_sin=no
82163 fi
82164 rm -f conftest.err conftest.$ac_objext \
82165       conftest$ac_exeext conftest.$ac_ext
82166 LIBS=$ac_check_lib_save_LIBS
82167 fi
82168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
82169 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
82170 if test $ac_cv_lib_m_sin = yes; then
82171   libm="-lm"
82172 fi
82173
82174   ac_save_LIBS="$LIBS"
82175   LIBS="$LIBS $libm"
82176
82177
82178
82179   echo "$as_me:$LINENO: checking for isinf declaration" >&5
82180 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
82181   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
82182     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
82183   echo $ECHO_N "(cached) $ECHO_C" >&6
82184 else
82185
82186
82187
82188       ac_ext=cc
82189 ac_cpp='$CXXCPP $CPPFLAGS'
82190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82193
82194       cat >conftest.$ac_ext <<_ACEOF
82195 /* confdefs.h.  */
82196 _ACEOF
82197 cat confdefs.h >>conftest.$ac_ext
82198 cat >>conftest.$ac_ext <<_ACEOF
82199 /* end confdefs.h.  */
82200 #include <math.h>
82201                       #ifdef HAVE_IEEEFP_H
82202                       #include <ieeefp.h>
82203                       #endif
82204
82205 int
82206 main ()
82207 {
82208  isinf(0);
82209   ;
82210   return 0;
82211 }
82212 _ACEOF
82213 rm -f conftest.$ac_objext
82214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82215   (eval $ac_compile) 2>conftest.er1
82216   ac_status=$?
82217   grep -v '^ *+' conftest.er1 >conftest.err
82218   rm -f conftest.er1
82219   cat conftest.err >&5
82220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221   (exit $ac_status); } &&
82222          { ac_try='test -z "$ac_cxx_werror_flag"
82223                          || test ! -s conftest.err'
82224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82225   (eval $ac_try) 2>&5
82226   ac_status=$?
82227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228   (exit $ac_status); }; } &&
82229          { ac_try='test -s conftest.$ac_objext'
82230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82231   (eval $ac_try) 2>&5
82232   ac_status=$?
82233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234   (exit $ac_status); }; }; then
82235   glibcxx_cv_func_isinf_use=yes
82236 else
82237   echo "$as_me: failed program was:" >&5
82238 sed 's/^/| /' conftest.$ac_ext >&5
82239
82240 glibcxx_cv_func_isinf_use=no
82241 fi
82242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82243       ac_ext=c
82244 ac_cpp='$CPP $CPPFLAGS'
82245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82248
82249
82250 fi
82251
82252   fi
82253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
82254 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
82255
82256   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
82257
82258 for ac_func in isinf
82259 do
82260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82261 echo "$as_me:$LINENO: checking for $ac_func" >&5
82262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82263 if eval "test \"\${$as_ac_var+set}\" = set"; then
82264   echo $ECHO_N "(cached) $ECHO_C" >&6
82265 else
82266   if test x$gcc_no_link = xyes; then
82267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82269    { (exit 1); exit 1; }; }
82270 fi
82271 cat >conftest.$ac_ext <<_ACEOF
82272 /* confdefs.h.  */
82273 _ACEOF
82274 cat confdefs.h >>conftest.$ac_ext
82275 cat >>conftest.$ac_ext <<_ACEOF
82276 /* end confdefs.h.  */
82277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82279 #define $ac_func innocuous_$ac_func
82280
82281 /* System header to define __stub macros and hopefully few prototypes,
82282     which can conflict with char $ac_func (); below.
82283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82284     <limits.h> exists even on freestanding compilers.  */
82285
82286 #ifdef __STDC__
82287 # include <limits.h>
82288 #else
82289 # include <assert.h>
82290 #endif
82291
82292 #undef $ac_func
82293
82294 /* Override any gcc2 internal prototype to avoid an error.  */
82295 #ifdef __cplusplus
82296 extern "C"
82297 {
82298 #endif
82299 /* We use char because int might match the return type of a gcc2
82300    builtin and then its argument prototype would still apply.  */
82301 char $ac_func ();
82302 /* The GNU C library defines this for functions which it implements
82303     to always fail with ENOSYS.  Some functions are actually named
82304     something starting with __ and the normal name is an alias.  */
82305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82306 choke me
82307 #else
82308 char (*f) () = $ac_func;
82309 #endif
82310 #ifdef __cplusplus
82311 }
82312 #endif
82313
82314 int
82315 main ()
82316 {
82317 return f != $ac_func;
82318   ;
82319   return 0;
82320 }
82321 _ACEOF
82322 rm -f conftest.$ac_objext conftest$ac_exeext
82323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82324   (eval $ac_link) 2>conftest.er1
82325   ac_status=$?
82326   grep -v '^ *+' conftest.er1 >conftest.err
82327   rm -f conftest.er1
82328   cat conftest.err >&5
82329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82330   (exit $ac_status); } &&
82331          { ac_try='test -z "$ac_c_werror_flag"
82332                          || test ! -s conftest.err'
82333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82334   (eval $ac_try) 2>&5
82335   ac_status=$?
82336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82337   (exit $ac_status); }; } &&
82338          { ac_try='test -s conftest$ac_exeext'
82339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82340   (eval $ac_try) 2>&5
82341   ac_status=$?
82342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82343   (exit $ac_status); }; }; then
82344   eval "$as_ac_var=yes"
82345 else
82346   echo "$as_me: failed program was:" >&5
82347 sed 's/^/| /' conftest.$ac_ext >&5
82348
82349 eval "$as_ac_var=no"
82350 fi
82351 rm -f conftest.err conftest.$ac_objext \
82352       conftest$ac_exeext conftest.$ac_ext
82353 fi
82354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82356 if test `eval echo '${'$as_ac_var'}'` = yes; then
82357   cat >>confdefs.h <<_ACEOF
82358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82359 _ACEOF
82360
82361 fi
82362 done
82363
82364   else
82365
82366   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
82367 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
82368   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
82369     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
82370   echo $ECHO_N "(cached) $ECHO_C" >&6
82371 else
82372
82373
82374
82375       ac_ext=cc
82376 ac_cpp='$CXXCPP $CPPFLAGS'
82377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82380
82381       cat >conftest.$ac_ext <<_ACEOF
82382 /* confdefs.h.  */
82383 _ACEOF
82384 cat confdefs.h >>conftest.$ac_ext
82385 cat >>conftest.$ac_ext <<_ACEOF
82386 /* end confdefs.h.  */
82387 #include <math.h>
82388                       #ifdef HAVE_IEEEFP_H
82389                       #include <ieeefp.h>
82390                       #endif
82391
82392 int
82393 main ()
82394 {
82395  _isinf(0);
82396   ;
82397   return 0;
82398 }
82399 _ACEOF
82400 rm -f conftest.$ac_objext
82401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82402   (eval $ac_compile) 2>conftest.er1
82403   ac_status=$?
82404   grep -v '^ *+' conftest.er1 >conftest.err
82405   rm -f conftest.er1
82406   cat conftest.err >&5
82407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408   (exit $ac_status); } &&
82409          { ac_try='test -z "$ac_cxx_werror_flag"
82410                          || test ! -s conftest.err'
82411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82412   (eval $ac_try) 2>&5
82413   ac_status=$?
82414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82415   (exit $ac_status); }; } &&
82416          { ac_try='test -s conftest.$ac_objext'
82417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82418   (eval $ac_try) 2>&5
82419   ac_status=$?
82420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82421   (exit $ac_status); }; }; then
82422   glibcxx_cv_func__isinf_use=yes
82423 else
82424   echo "$as_me: failed program was:" >&5
82425 sed 's/^/| /' conftest.$ac_ext >&5
82426
82427 glibcxx_cv_func__isinf_use=no
82428 fi
82429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82430       ac_ext=c
82431 ac_cpp='$CPP $CPPFLAGS'
82432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82435
82436
82437 fi
82438
82439   fi
82440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
82441 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
82442
82443     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
82444
82445 for ac_func in _isinf
82446 do
82447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82448 echo "$as_me:$LINENO: checking for $ac_func" >&5
82449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82450 if eval "test \"\${$as_ac_var+set}\" = set"; then
82451   echo $ECHO_N "(cached) $ECHO_C" >&6
82452 else
82453   if test x$gcc_no_link = xyes; then
82454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82456    { (exit 1); exit 1; }; }
82457 fi
82458 cat >conftest.$ac_ext <<_ACEOF
82459 /* confdefs.h.  */
82460 _ACEOF
82461 cat confdefs.h >>conftest.$ac_ext
82462 cat >>conftest.$ac_ext <<_ACEOF
82463 /* end confdefs.h.  */
82464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82466 #define $ac_func innocuous_$ac_func
82467
82468 /* System header to define __stub macros and hopefully few prototypes,
82469     which can conflict with char $ac_func (); below.
82470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82471     <limits.h> exists even on freestanding compilers.  */
82472
82473 #ifdef __STDC__
82474 # include <limits.h>
82475 #else
82476 # include <assert.h>
82477 #endif
82478
82479 #undef $ac_func
82480
82481 /* Override any gcc2 internal prototype to avoid an error.  */
82482 #ifdef __cplusplus
82483 extern "C"
82484 {
82485 #endif
82486 /* We use char because int might match the return type of a gcc2
82487    builtin and then its argument prototype would still apply.  */
82488 char $ac_func ();
82489 /* The GNU C library defines this for functions which it implements
82490     to always fail with ENOSYS.  Some functions are actually named
82491     something starting with __ and the normal name is an alias.  */
82492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82493 choke me
82494 #else
82495 char (*f) () = $ac_func;
82496 #endif
82497 #ifdef __cplusplus
82498 }
82499 #endif
82500
82501 int
82502 main ()
82503 {
82504 return f != $ac_func;
82505   ;
82506   return 0;
82507 }
82508 _ACEOF
82509 rm -f conftest.$ac_objext conftest$ac_exeext
82510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82511   (eval $ac_link) 2>conftest.er1
82512   ac_status=$?
82513   grep -v '^ *+' conftest.er1 >conftest.err
82514   rm -f conftest.er1
82515   cat conftest.err >&5
82516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82517   (exit $ac_status); } &&
82518          { ac_try='test -z "$ac_c_werror_flag"
82519                          || test ! -s conftest.err'
82520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82521   (eval $ac_try) 2>&5
82522   ac_status=$?
82523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82524   (exit $ac_status); }; } &&
82525          { ac_try='test -s conftest$ac_exeext'
82526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82527   (eval $ac_try) 2>&5
82528   ac_status=$?
82529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82530   (exit $ac_status); }; }; then
82531   eval "$as_ac_var=yes"
82532 else
82533   echo "$as_me: failed program was:" >&5
82534 sed 's/^/| /' conftest.$ac_ext >&5
82535
82536 eval "$as_ac_var=no"
82537 fi
82538 rm -f conftest.err conftest.$ac_objext \
82539       conftest$ac_exeext conftest.$ac_ext
82540 fi
82541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82543 if test `eval echo '${'$as_ac_var'}'` = yes; then
82544   cat >>confdefs.h <<_ACEOF
82545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82546 _ACEOF
82547
82548 fi
82549 done
82550
82551     fi
82552   fi
82553
82554
82555
82556
82557
82558
82559   echo "$as_me:$LINENO: checking for isnan declaration" >&5
82560 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
82561   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
82562     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
82563   echo $ECHO_N "(cached) $ECHO_C" >&6
82564 else
82565
82566
82567
82568       ac_ext=cc
82569 ac_cpp='$CXXCPP $CPPFLAGS'
82570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82573
82574       cat >conftest.$ac_ext <<_ACEOF
82575 /* confdefs.h.  */
82576 _ACEOF
82577 cat confdefs.h >>conftest.$ac_ext
82578 cat >>conftest.$ac_ext <<_ACEOF
82579 /* end confdefs.h.  */
82580 #include <math.h>
82581                       #ifdef HAVE_IEEEFP_H
82582                       #include <ieeefp.h>
82583                       #endif
82584
82585 int
82586 main ()
82587 {
82588  isnan(0);
82589   ;
82590   return 0;
82591 }
82592 _ACEOF
82593 rm -f conftest.$ac_objext
82594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82595   (eval $ac_compile) 2>conftest.er1
82596   ac_status=$?
82597   grep -v '^ *+' conftest.er1 >conftest.err
82598   rm -f conftest.er1
82599   cat conftest.err >&5
82600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82601   (exit $ac_status); } &&
82602          { ac_try='test -z "$ac_cxx_werror_flag"
82603                          || test ! -s conftest.err'
82604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82605   (eval $ac_try) 2>&5
82606   ac_status=$?
82607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82608   (exit $ac_status); }; } &&
82609          { ac_try='test -s conftest.$ac_objext'
82610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82611   (eval $ac_try) 2>&5
82612   ac_status=$?
82613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82614   (exit $ac_status); }; }; then
82615   glibcxx_cv_func_isnan_use=yes
82616 else
82617   echo "$as_me: failed program was:" >&5
82618 sed 's/^/| /' conftest.$ac_ext >&5
82619
82620 glibcxx_cv_func_isnan_use=no
82621 fi
82622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82623       ac_ext=c
82624 ac_cpp='$CPP $CPPFLAGS'
82625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82628
82629
82630 fi
82631
82632   fi
82633   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
82634 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
82635
82636   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
82637
82638 for ac_func in isnan
82639 do
82640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82641 echo "$as_me:$LINENO: checking for $ac_func" >&5
82642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82643 if eval "test \"\${$as_ac_var+set}\" = set"; then
82644   echo $ECHO_N "(cached) $ECHO_C" >&6
82645 else
82646   if test x$gcc_no_link = xyes; then
82647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82649    { (exit 1); exit 1; }; }
82650 fi
82651 cat >conftest.$ac_ext <<_ACEOF
82652 /* confdefs.h.  */
82653 _ACEOF
82654 cat confdefs.h >>conftest.$ac_ext
82655 cat >>conftest.$ac_ext <<_ACEOF
82656 /* end confdefs.h.  */
82657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82659 #define $ac_func innocuous_$ac_func
82660
82661 /* System header to define __stub macros and hopefully few prototypes,
82662     which can conflict with char $ac_func (); below.
82663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82664     <limits.h> exists even on freestanding compilers.  */
82665
82666 #ifdef __STDC__
82667 # include <limits.h>
82668 #else
82669 # include <assert.h>
82670 #endif
82671
82672 #undef $ac_func
82673
82674 /* Override any gcc2 internal prototype to avoid an error.  */
82675 #ifdef __cplusplus
82676 extern "C"
82677 {
82678 #endif
82679 /* We use char because int might match the return type of a gcc2
82680    builtin and then its argument prototype would still apply.  */
82681 char $ac_func ();
82682 /* The GNU C library defines this for functions which it implements
82683     to always fail with ENOSYS.  Some functions are actually named
82684     something starting with __ and the normal name is an alias.  */
82685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82686 choke me
82687 #else
82688 char (*f) () = $ac_func;
82689 #endif
82690 #ifdef __cplusplus
82691 }
82692 #endif
82693
82694 int
82695 main ()
82696 {
82697 return f != $ac_func;
82698   ;
82699   return 0;
82700 }
82701 _ACEOF
82702 rm -f conftest.$ac_objext conftest$ac_exeext
82703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82704   (eval $ac_link) 2>conftest.er1
82705   ac_status=$?
82706   grep -v '^ *+' conftest.er1 >conftest.err
82707   rm -f conftest.er1
82708   cat conftest.err >&5
82709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82710   (exit $ac_status); } &&
82711          { ac_try='test -z "$ac_c_werror_flag"
82712                          || test ! -s conftest.err'
82713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82714   (eval $ac_try) 2>&5
82715   ac_status=$?
82716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82717   (exit $ac_status); }; } &&
82718          { ac_try='test -s conftest$ac_exeext'
82719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82720   (eval $ac_try) 2>&5
82721   ac_status=$?
82722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82723   (exit $ac_status); }; }; then
82724   eval "$as_ac_var=yes"
82725 else
82726   echo "$as_me: failed program was:" >&5
82727 sed 's/^/| /' conftest.$ac_ext >&5
82728
82729 eval "$as_ac_var=no"
82730 fi
82731 rm -f conftest.err conftest.$ac_objext \
82732       conftest$ac_exeext conftest.$ac_ext
82733 fi
82734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82736 if test `eval echo '${'$as_ac_var'}'` = yes; then
82737   cat >>confdefs.h <<_ACEOF
82738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82739 _ACEOF
82740
82741 fi
82742 done
82743
82744   else
82745
82746   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
82747 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
82748   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
82749     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
82750   echo $ECHO_N "(cached) $ECHO_C" >&6
82751 else
82752
82753
82754
82755       ac_ext=cc
82756 ac_cpp='$CXXCPP $CPPFLAGS'
82757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82760
82761       cat >conftest.$ac_ext <<_ACEOF
82762 /* confdefs.h.  */
82763 _ACEOF
82764 cat confdefs.h >>conftest.$ac_ext
82765 cat >>conftest.$ac_ext <<_ACEOF
82766 /* end confdefs.h.  */
82767 #include <math.h>
82768                       #ifdef HAVE_IEEEFP_H
82769                       #include <ieeefp.h>
82770                       #endif
82771
82772 int
82773 main ()
82774 {
82775  _isnan(0);
82776   ;
82777   return 0;
82778 }
82779 _ACEOF
82780 rm -f conftest.$ac_objext
82781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82782   (eval $ac_compile) 2>conftest.er1
82783   ac_status=$?
82784   grep -v '^ *+' conftest.er1 >conftest.err
82785   rm -f conftest.er1
82786   cat conftest.err >&5
82787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82788   (exit $ac_status); } &&
82789          { ac_try='test -z "$ac_cxx_werror_flag"
82790                          || test ! -s conftest.err'
82791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82792   (eval $ac_try) 2>&5
82793   ac_status=$?
82794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82795   (exit $ac_status); }; } &&
82796          { ac_try='test -s conftest.$ac_objext'
82797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82798   (eval $ac_try) 2>&5
82799   ac_status=$?
82800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82801   (exit $ac_status); }; }; then
82802   glibcxx_cv_func__isnan_use=yes
82803 else
82804   echo "$as_me: failed program was:" >&5
82805 sed 's/^/| /' conftest.$ac_ext >&5
82806
82807 glibcxx_cv_func__isnan_use=no
82808 fi
82809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82810       ac_ext=c
82811 ac_cpp='$CPP $CPPFLAGS'
82812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82815
82816
82817 fi
82818
82819   fi
82820   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
82821 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
82822
82823     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
82824
82825 for ac_func in _isnan
82826 do
82827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82828 echo "$as_me:$LINENO: checking for $ac_func" >&5
82829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82830 if eval "test \"\${$as_ac_var+set}\" = set"; then
82831   echo $ECHO_N "(cached) $ECHO_C" >&6
82832 else
82833   if test x$gcc_no_link = xyes; then
82834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82836    { (exit 1); exit 1; }; }
82837 fi
82838 cat >conftest.$ac_ext <<_ACEOF
82839 /* confdefs.h.  */
82840 _ACEOF
82841 cat confdefs.h >>conftest.$ac_ext
82842 cat >>conftest.$ac_ext <<_ACEOF
82843 /* end confdefs.h.  */
82844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82846 #define $ac_func innocuous_$ac_func
82847
82848 /* System header to define __stub macros and hopefully few prototypes,
82849     which can conflict with char $ac_func (); below.
82850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82851     <limits.h> exists even on freestanding compilers.  */
82852
82853 #ifdef __STDC__
82854 # include <limits.h>
82855 #else
82856 # include <assert.h>
82857 #endif
82858
82859 #undef $ac_func
82860
82861 /* Override any gcc2 internal prototype to avoid an error.  */
82862 #ifdef __cplusplus
82863 extern "C"
82864 {
82865 #endif
82866 /* We use char because int might match the return type of a gcc2
82867    builtin and then its argument prototype would still apply.  */
82868 char $ac_func ();
82869 /* The GNU C library defines this for functions which it implements
82870     to always fail with ENOSYS.  Some functions are actually named
82871     something starting with __ and the normal name is an alias.  */
82872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82873 choke me
82874 #else
82875 char (*f) () = $ac_func;
82876 #endif
82877 #ifdef __cplusplus
82878 }
82879 #endif
82880
82881 int
82882 main ()
82883 {
82884 return f != $ac_func;
82885   ;
82886   return 0;
82887 }
82888 _ACEOF
82889 rm -f conftest.$ac_objext conftest$ac_exeext
82890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82891   (eval $ac_link) 2>conftest.er1
82892   ac_status=$?
82893   grep -v '^ *+' conftest.er1 >conftest.err
82894   rm -f conftest.er1
82895   cat conftest.err >&5
82896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82897   (exit $ac_status); } &&
82898          { ac_try='test -z "$ac_c_werror_flag"
82899                          || test ! -s conftest.err'
82900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82901   (eval $ac_try) 2>&5
82902   ac_status=$?
82903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82904   (exit $ac_status); }; } &&
82905          { ac_try='test -s conftest$ac_exeext'
82906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82907   (eval $ac_try) 2>&5
82908   ac_status=$?
82909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82910   (exit $ac_status); }; }; then
82911   eval "$as_ac_var=yes"
82912 else
82913   echo "$as_me: failed program was:" >&5
82914 sed 's/^/| /' conftest.$ac_ext >&5
82915
82916 eval "$as_ac_var=no"
82917 fi
82918 rm -f conftest.err conftest.$ac_objext \
82919       conftest$ac_exeext conftest.$ac_ext
82920 fi
82921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82923 if test `eval echo '${'$as_ac_var'}'` = yes; then
82924   cat >>confdefs.h <<_ACEOF
82925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82926 _ACEOF
82927
82928 fi
82929 done
82930
82931     fi
82932   fi
82933
82934
82935
82936
82937
82938
82939   echo "$as_me:$LINENO: checking for finite declaration" >&5
82940 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
82941   if test x${glibcxx_cv_func_finite_use+set} != xset; then
82942     if test "${glibcxx_cv_func_finite_use+set}" = set; then
82943   echo $ECHO_N "(cached) $ECHO_C" >&6
82944 else
82945
82946
82947
82948       ac_ext=cc
82949 ac_cpp='$CXXCPP $CPPFLAGS'
82950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82953
82954       cat >conftest.$ac_ext <<_ACEOF
82955 /* confdefs.h.  */
82956 _ACEOF
82957 cat confdefs.h >>conftest.$ac_ext
82958 cat >>conftest.$ac_ext <<_ACEOF
82959 /* end confdefs.h.  */
82960 #include <math.h>
82961                       #ifdef HAVE_IEEEFP_H
82962                       #include <ieeefp.h>
82963                       #endif
82964
82965 int
82966 main ()
82967 {
82968  finite(0);
82969   ;
82970   return 0;
82971 }
82972 _ACEOF
82973 rm -f conftest.$ac_objext
82974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82975   (eval $ac_compile) 2>conftest.er1
82976   ac_status=$?
82977   grep -v '^ *+' conftest.er1 >conftest.err
82978   rm -f conftest.er1
82979   cat conftest.err >&5
82980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82981   (exit $ac_status); } &&
82982          { ac_try='test -z "$ac_cxx_werror_flag"
82983                          || test ! -s conftest.err'
82984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82985   (eval $ac_try) 2>&5
82986   ac_status=$?
82987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82988   (exit $ac_status); }; } &&
82989          { ac_try='test -s conftest.$ac_objext'
82990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82991   (eval $ac_try) 2>&5
82992   ac_status=$?
82993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82994   (exit $ac_status); }; }; then
82995   glibcxx_cv_func_finite_use=yes
82996 else
82997   echo "$as_me: failed program was:" >&5
82998 sed 's/^/| /' conftest.$ac_ext >&5
82999
83000 glibcxx_cv_func_finite_use=no
83001 fi
83002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83003       ac_ext=c
83004 ac_cpp='$CPP $CPPFLAGS'
83005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83008
83009
83010 fi
83011
83012   fi
83013   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
83014 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
83015
83016   if test x$glibcxx_cv_func_finite_use = x"yes"; then
83017
83018 for ac_func in finite
83019 do
83020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83021 echo "$as_me:$LINENO: checking for $ac_func" >&5
83022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83023 if eval "test \"\${$as_ac_var+set}\" = set"; then
83024   echo $ECHO_N "(cached) $ECHO_C" >&6
83025 else
83026   if test x$gcc_no_link = xyes; then
83027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83029    { (exit 1); exit 1; }; }
83030 fi
83031 cat >conftest.$ac_ext <<_ACEOF
83032 /* confdefs.h.  */
83033 _ACEOF
83034 cat confdefs.h >>conftest.$ac_ext
83035 cat >>conftest.$ac_ext <<_ACEOF
83036 /* end confdefs.h.  */
83037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83039 #define $ac_func innocuous_$ac_func
83040
83041 /* System header to define __stub macros and hopefully few prototypes,
83042     which can conflict with char $ac_func (); below.
83043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83044     <limits.h> exists even on freestanding compilers.  */
83045
83046 #ifdef __STDC__
83047 # include <limits.h>
83048 #else
83049 # include <assert.h>
83050 #endif
83051
83052 #undef $ac_func
83053
83054 /* Override any gcc2 internal prototype to avoid an error.  */
83055 #ifdef __cplusplus
83056 extern "C"
83057 {
83058 #endif
83059 /* We use char because int might match the return type of a gcc2
83060    builtin and then its argument prototype would still apply.  */
83061 char $ac_func ();
83062 /* The GNU C library defines this for functions which it implements
83063     to always fail with ENOSYS.  Some functions are actually named
83064     something starting with __ and the normal name is an alias.  */
83065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83066 choke me
83067 #else
83068 char (*f) () = $ac_func;
83069 #endif
83070 #ifdef __cplusplus
83071 }
83072 #endif
83073
83074 int
83075 main ()
83076 {
83077 return f != $ac_func;
83078   ;
83079   return 0;
83080 }
83081 _ACEOF
83082 rm -f conftest.$ac_objext conftest$ac_exeext
83083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83084   (eval $ac_link) 2>conftest.er1
83085   ac_status=$?
83086   grep -v '^ *+' conftest.er1 >conftest.err
83087   rm -f conftest.er1
83088   cat conftest.err >&5
83089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83090   (exit $ac_status); } &&
83091          { ac_try='test -z "$ac_c_werror_flag"
83092                          || test ! -s conftest.err'
83093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83094   (eval $ac_try) 2>&5
83095   ac_status=$?
83096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097   (exit $ac_status); }; } &&
83098          { ac_try='test -s conftest$ac_exeext'
83099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83100   (eval $ac_try) 2>&5
83101   ac_status=$?
83102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83103   (exit $ac_status); }; }; then
83104   eval "$as_ac_var=yes"
83105 else
83106   echo "$as_me: failed program was:" >&5
83107 sed 's/^/| /' conftest.$ac_ext >&5
83108
83109 eval "$as_ac_var=no"
83110 fi
83111 rm -f conftest.err conftest.$ac_objext \
83112       conftest$ac_exeext conftest.$ac_ext
83113 fi
83114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83116 if test `eval echo '${'$as_ac_var'}'` = yes; then
83117   cat >>confdefs.h <<_ACEOF
83118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83119 _ACEOF
83120
83121 fi
83122 done
83123
83124   else
83125
83126   echo "$as_me:$LINENO: checking for _finite declaration" >&5
83127 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
83128   if test x${glibcxx_cv_func__finite_use+set} != xset; then
83129     if test "${glibcxx_cv_func__finite_use+set}" = set; then
83130   echo $ECHO_N "(cached) $ECHO_C" >&6
83131 else
83132
83133
83134
83135       ac_ext=cc
83136 ac_cpp='$CXXCPP $CPPFLAGS'
83137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83140
83141       cat >conftest.$ac_ext <<_ACEOF
83142 /* confdefs.h.  */
83143 _ACEOF
83144 cat confdefs.h >>conftest.$ac_ext
83145 cat >>conftest.$ac_ext <<_ACEOF
83146 /* end confdefs.h.  */
83147 #include <math.h>
83148                       #ifdef HAVE_IEEEFP_H
83149                       #include <ieeefp.h>
83150                       #endif
83151
83152 int
83153 main ()
83154 {
83155  _finite(0);
83156   ;
83157   return 0;
83158 }
83159 _ACEOF
83160 rm -f conftest.$ac_objext
83161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83162   (eval $ac_compile) 2>conftest.er1
83163   ac_status=$?
83164   grep -v '^ *+' conftest.er1 >conftest.err
83165   rm -f conftest.er1
83166   cat conftest.err >&5
83167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83168   (exit $ac_status); } &&
83169          { ac_try='test -z "$ac_cxx_werror_flag"
83170                          || test ! -s conftest.err'
83171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83172   (eval $ac_try) 2>&5
83173   ac_status=$?
83174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83175   (exit $ac_status); }; } &&
83176          { ac_try='test -s conftest.$ac_objext'
83177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83178   (eval $ac_try) 2>&5
83179   ac_status=$?
83180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83181   (exit $ac_status); }; }; then
83182   glibcxx_cv_func__finite_use=yes
83183 else
83184   echo "$as_me: failed program was:" >&5
83185 sed 's/^/| /' conftest.$ac_ext >&5
83186
83187 glibcxx_cv_func__finite_use=no
83188 fi
83189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83190       ac_ext=c
83191 ac_cpp='$CPP $CPPFLAGS'
83192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83195
83196
83197 fi
83198
83199   fi
83200   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
83201 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
83202
83203     if test x$glibcxx_cv_func__finite_use = x"yes"; then
83204
83205 for ac_func in _finite
83206 do
83207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83208 echo "$as_me:$LINENO: checking for $ac_func" >&5
83209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83210 if eval "test \"\${$as_ac_var+set}\" = set"; then
83211   echo $ECHO_N "(cached) $ECHO_C" >&6
83212 else
83213   if test x$gcc_no_link = xyes; then
83214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83216    { (exit 1); exit 1; }; }
83217 fi
83218 cat >conftest.$ac_ext <<_ACEOF
83219 /* confdefs.h.  */
83220 _ACEOF
83221 cat confdefs.h >>conftest.$ac_ext
83222 cat >>conftest.$ac_ext <<_ACEOF
83223 /* end confdefs.h.  */
83224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83226 #define $ac_func innocuous_$ac_func
83227
83228 /* System header to define __stub macros and hopefully few prototypes,
83229     which can conflict with char $ac_func (); below.
83230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83231     <limits.h> exists even on freestanding compilers.  */
83232
83233 #ifdef __STDC__
83234 # include <limits.h>
83235 #else
83236 # include <assert.h>
83237 #endif
83238
83239 #undef $ac_func
83240
83241 /* Override any gcc2 internal prototype to avoid an error.  */
83242 #ifdef __cplusplus
83243 extern "C"
83244 {
83245 #endif
83246 /* We use char because int might match the return type of a gcc2
83247    builtin and then its argument prototype would still apply.  */
83248 char $ac_func ();
83249 /* The GNU C library defines this for functions which it implements
83250     to always fail with ENOSYS.  Some functions are actually named
83251     something starting with __ and the normal name is an alias.  */
83252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83253 choke me
83254 #else
83255 char (*f) () = $ac_func;
83256 #endif
83257 #ifdef __cplusplus
83258 }
83259 #endif
83260
83261 int
83262 main ()
83263 {
83264 return f != $ac_func;
83265   ;
83266   return 0;
83267 }
83268 _ACEOF
83269 rm -f conftest.$ac_objext conftest$ac_exeext
83270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83271   (eval $ac_link) 2>conftest.er1
83272   ac_status=$?
83273   grep -v '^ *+' conftest.er1 >conftest.err
83274   rm -f conftest.er1
83275   cat conftest.err >&5
83276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83277   (exit $ac_status); } &&
83278          { ac_try='test -z "$ac_c_werror_flag"
83279                          || test ! -s conftest.err'
83280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83281   (eval $ac_try) 2>&5
83282   ac_status=$?
83283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83284   (exit $ac_status); }; } &&
83285          { ac_try='test -s conftest$ac_exeext'
83286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83287   (eval $ac_try) 2>&5
83288   ac_status=$?
83289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83290   (exit $ac_status); }; }; then
83291   eval "$as_ac_var=yes"
83292 else
83293   echo "$as_me: failed program was:" >&5
83294 sed 's/^/| /' conftest.$ac_ext >&5
83295
83296 eval "$as_ac_var=no"
83297 fi
83298 rm -f conftest.err conftest.$ac_objext \
83299       conftest$ac_exeext conftest.$ac_ext
83300 fi
83301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83303 if test `eval echo '${'$as_ac_var'}'` = yes; then
83304   cat >>confdefs.h <<_ACEOF
83305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83306 _ACEOF
83307
83308 fi
83309 done
83310
83311     fi
83312   fi
83313
83314
83315
83316
83317
83318
83319   echo "$as_me:$LINENO: checking for copysign declaration" >&5
83320 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
83321   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
83322     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
83323   echo $ECHO_N "(cached) $ECHO_C" >&6
83324 else
83325
83326
83327
83328       ac_ext=cc
83329 ac_cpp='$CXXCPP $CPPFLAGS'
83330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83333
83334       cat >conftest.$ac_ext <<_ACEOF
83335 /* confdefs.h.  */
83336 _ACEOF
83337 cat confdefs.h >>conftest.$ac_ext
83338 cat >>conftest.$ac_ext <<_ACEOF
83339 /* end confdefs.h.  */
83340 #include <math.h>
83341 int
83342 main ()
83343 {
83344  copysign(0, 0);
83345   ;
83346   return 0;
83347 }
83348 _ACEOF
83349 rm -f conftest.$ac_objext
83350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83351   (eval $ac_compile) 2>conftest.er1
83352   ac_status=$?
83353   grep -v '^ *+' conftest.er1 >conftest.err
83354   rm -f conftest.er1
83355   cat conftest.err >&5
83356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83357   (exit $ac_status); } &&
83358          { ac_try='test -z "$ac_cxx_werror_flag"
83359                          || test ! -s conftest.err'
83360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83361   (eval $ac_try) 2>&5
83362   ac_status=$?
83363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364   (exit $ac_status); }; } &&
83365          { ac_try='test -s conftest.$ac_objext'
83366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83367   (eval $ac_try) 2>&5
83368   ac_status=$?
83369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83370   (exit $ac_status); }; }; then
83371   glibcxx_cv_func_copysign_use=yes
83372 else
83373   echo "$as_me: failed program was:" >&5
83374 sed 's/^/| /' conftest.$ac_ext >&5
83375
83376 glibcxx_cv_func_copysign_use=no
83377 fi
83378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83379       ac_ext=c
83380 ac_cpp='$CPP $CPPFLAGS'
83381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83384
83385
83386 fi
83387
83388   fi
83389   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
83390 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
83391
83392   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
83393
83394 for ac_func in copysign
83395 do
83396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83397 echo "$as_me:$LINENO: checking for $ac_func" >&5
83398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83399 if eval "test \"\${$as_ac_var+set}\" = set"; then
83400   echo $ECHO_N "(cached) $ECHO_C" >&6
83401 else
83402   if test x$gcc_no_link = xyes; then
83403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83405    { (exit 1); exit 1; }; }
83406 fi
83407 cat >conftest.$ac_ext <<_ACEOF
83408 /* confdefs.h.  */
83409 _ACEOF
83410 cat confdefs.h >>conftest.$ac_ext
83411 cat >>conftest.$ac_ext <<_ACEOF
83412 /* end confdefs.h.  */
83413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83415 #define $ac_func innocuous_$ac_func
83416
83417 /* System header to define __stub macros and hopefully few prototypes,
83418     which can conflict with char $ac_func (); below.
83419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83420     <limits.h> exists even on freestanding compilers.  */
83421
83422 #ifdef __STDC__
83423 # include <limits.h>
83424 #else
83425 # include <assert.h>
83426 #endif
83427
83428 #undef $ac_func
83429
83430 /* Override any gcc2 internal prototype to avoid an error.  */
83431 #ifdef __cplusplus
83432 extern "C"
83433 {
83434 #endif
83435 /* We use char because int might match the return type of a gcc2
83436    builtin and then its argument prototype would still apply.  */
83437 char $ac_func ();
83438 /* The GNU C library defines this for functions which it implements
83439     to always fail with ENOSYS.  Some functions are actually named
83440     something starting with __ and the normal name is an alias.  */
83441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83442 choke me
83443 #else
83444 char (*f) () = $ac_func;
83445 #endif
83446 #ifdef __cplusplus
83447 }
83448 #endif
83449
83450 int
83451 main ()
83452 {
83453 return f != $ac_func;
83454   ;
83455   return 0;
83456 }
83457 _ACEOF
83458 rm -f conftest.$ac_objext conftest$ac_exeext
83459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83460   (eval $ac_link) 2>conftest.er1
83461   ac_status=$?
83462   grep -v '^ *+' conftest.er1 >conftest.err
83463   rm -f conftest.er1
83464   cat conftest.err >&5
83465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83466   (exit $ac_status); } &&
83467          { ac_try='test -z "$ac_c_werror_flag"
83468                          || test ! -s conftest.err'
83469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83470   (eval $ac_try) 2>&5
83471   ac_status=$?
83472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83473   (exit $ac_status); }; } &&
83474          { ac_try='test -s conftest$ac_exeext'
83475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83476   (eval $ac_try) 2>&5
83477   ac_status=$?
83478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83479   (exit $ac_status); }; }; then
83480   eval "$as_ac_var=yes"
83481 else
83482   echo "$as_me: failed program was:" >&5
83483 sed 's/^/| /' conftest.$ac_ext >&5
83484
83485 eval "$as_ac_var=no"
83486 fi
83487 rm -f conftest.err conftest.$ac_objext \
83488       conftest$ac_exeext conftest.$ac_ext
83489 fi
83490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83492 if test `eval echo '${'$as_ac_var'}'` = yes; then
83493   cat >>confdefs.h <<_ACEOF
83494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83495 _ACEOF
83496
83497 fi
83498 done
83499
83500   else
83501
83502   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
83503 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
83504   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
83505     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
83506   echo $ECHO_N "(cached) $ECHO_C" >&6
83507 else
83508
83509
83510
83511       ac_ext=cc
83512 ac_cpp='$CXXCPP $CPPFLAGS'
83513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83516
83517       cat >conftest.$ac_ext <<_ACEOF
83518 /* confdefs.h.  */
83519 _ACEOF
83520 cat confdefs.h >>conftest.$ac_ext
83521 cat >>conftest.$ac_ext <<_ACEOF
83522 /* end confdefs.h.  */
83523 #include <math.h>
83524 int
83525 main ()
83526 {
83527  _copysign(0, 0);
83528   ;
83529   return 0;
83530 }
83531 _ACEOF
83532 rm -f conftest.$ac_objext
83533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83534   (eval $ac_compile) 2>conftest.er1
83535   ac_status=$?
83536   grep -v '^ *+' conftest.er1 >conftest.err
83537   rm -f conftest.er1
83538   cat conftest.err >&5
83539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83540   (exit $ac_status); } &&
83541          { ac_try='test -z "$ac_cxx_werror_flag"
83542                          || test ! -s conftest.err'
83543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83544   (eval $ac_try) 2>&5
83545   ac_status=$?
83546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83547   (exit $ac_status); }; } &&
83548          { ac_try='test -s conftest.$ac_objext'
83549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83550   (eval $ac_try) 2>&5
83551   ac_status=$?
83552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83553   (exit $ac_status); }; }; then
83554   glibcxx_cv_func__copysign_use=yes
83555 else
83556   echo "$as_me: failed program was:" >&5
83557 sed 's/^/| /' conftest.$ac_ext >&5
83558
83559 glibcxx_cv_func__copysign_use=no
83560 fi
83561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83562       ac_ext=c
83563 ac_cpp='$CPP $CPPFLAGS'
83564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83567
83568
83569 fi
83570
83571   fi
83572   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
83573 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
83574
83575     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
83576
83577 for ac_func in _copysign
83578 do
83579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83580 echo "$as_me:$LINENO: checking for $ac_func" >&5
83581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83582 if eval "test \"\${$as_ac_var+set}\" = set"; then
83583   echo $ECHO_N "(cached) $ECHO_C" >&6
83584 else
83585   if test x$gcc_no_link = xyes; then
83586   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83588    { (exit 1); exit 1; }; }
83589 fi
83590 cat >conftest.$ac_ext <<_ACEOF
83591 /* confdefs.h.  */
83592 _ACEOF
83593 cat confdefs.h >>conftest.$ac_ext
83594 cat >>conftest.$ac_ext <<_ACEOF
83595 /* end confdefs.h.  */
83596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83597    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83598 #define $ac_func innocuous_$ac_func
83599
83600 /* System header to define __stub macros and hopefully few prototypes,
83601     which can conflict with char $ac_func (); below.
83602     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83603     <limits.h> exists even on freestanding compilers.  */
83604
83605 #ifdef __STDC__
83606 # include <limits.h>
83607 #else
83608 # include <assert.h>
83609 #endif
83610
83611 #undef $ac_func
83612
83613 /* Override any gcc2 internal prototype to avoid an error.  */
83614 #ifdef __cplusplus
83615 extern "C"
83616 {
83617 #endif
83618 /* We use char because int might match the return type of a gcc2
83619    builtin and then its argument prototype would still apply.  */
83620 char $ac_func ();
83621 /* The GNU C library defines this for functions which it implements
83622     to always fail with ENOSYS.  Some functions are actually named
83623     something starting with __ and the normal name is an alias.  */
83624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83625 choke me
83626 #else
83627 char (*f) () = $ac_func;
83628 #endif
83629 #ifdef __cplusplus
83630 }
83631 #endif
83632
83633 int
83634 main ()
83635 {
83636 return f != $ac_func;
83637   ;
83638   return 0;
83639 }
83640 _ACEOF
83641 rm -f conftest.$ac_objext conftest$ac_exeext
83642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83643   (eval $ac_link) 2>conftest.er1
83644   ac_status=$?
83645   grep -v '^ *+' conftest.er1 >conftest.err
83646   rm -f conftest.er1
83647   cat conftest.err >&5
83648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83649   (exit $ac_status); } &&
83650          { ac_try='test -z "$ac_c_werror_flag"
83651                          || test ! -s conftest.err'
83652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83653   (eval $ac_try) 2>&5
83654   ac_status=$?
83655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83656   (exit $ac_status); }; } &&
83657          { ac_try='test -s conftest$ac_exeext'
83658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83659   (eval $ac_try) 2>&5
83660   ac_status=$?
83661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83662   (exit $ac_status); }; }; then
83663   eval "$as_ac_var=yes"
83664 else
83665   echo "$as_me: failed program was:" >&5
83666 sed 's/^/| /' conftest.$ac_ext >&5
83667
83668 eval "$as_ac_var=no"
83669 fi
83670 rm -f conftest.err conftest.$ac_objext \
83671       conftest$ac_exeext conftest.$ac_ext
83672 fi
83673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83675 if test `eval echo '${'$as_ac_var'}'` = yes; then
83676   cat >>confdefs.h <<_ACEOF
83677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83678 _ACEOF
83679
83680 fi
83681 done
83682
83683     fi
83684   fi
83685
83686
83687
83688
83689
83690
83691   echo "$as_me:$LINENO: checking for sincos declaration" >&5
83692 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
83693   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
83694     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
83695   echo $ECHO_N "(cached) $ECHO_C" >&6
83696 else
83697
83698
83699
83700       ac_ext=cc
83701 ac_cpp='$CXXCPP $CPPFLAGS'
83702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83705
83706       cat >conftest.$ac_ext <<_ACEOF
83707 /* confdefs.h.  */
83708 _ACEOF
83709 cat confdefs.h >>conftest.$ac_ext
83710 cat >>conftest.$ac_ext <<_ACEOF
83711 /* end confdefs.h.  */
83712 #include <math.h>
83713 int
83714 main ()
83715 {
83716  sincos(0, 0, 0);
83717   ;
83718   return 0;
83719 }
83720 _ACEOF
83721 rm -f conftest.$ac_objext
83722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83723   (eval $ac_compile) 2>conftest.er1
83724   ac_status=$?
83725   grep -v '^ *+' conftest.er1 >conftest.err
83726   rm -f conftest.er1
83727   cat conftest.err >&5
83728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83729   (exit $ac_status); } &&
83730          { ac_try='test -z "$ac_cxx_werror_flag"
83731                          || test ! -s conftest.err'
83732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83733   (eval $ac_try) 2>&5
83734   ac_status=$?
83735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83736   (exit $ac_status); }; } &&
83737          { ac_try='test -s conftest.$ac_objext'
83738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83739   (eval $ac_try) 2>&5
83740   ac_status=$?
83741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83742   (exit $ac_status); }; }; then
83743   glibcxx_cv_func_sincos_use=yes
83744 else
83745   echo "$as_me: failed program was:" >&5
83746 sed 's/^/| /' conftest.$ac_ext >&5
83747
83748 glibcxx_cv_func_sincos_use=no
83749 fi
83750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83751       ac_ext=c
83752 ac_cpp='$CPP $CPPFLAGS'
83753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83756
83757
83758 fi
83759
83760   fi
83761   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
83762 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
83763
83764   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
83765
83766 for ac_func in sincos
83767 do
83768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83769 echo "$as_me:$LINENO: checking for $ac_func" >&5
83770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83771 if eval "test \"\${$as_ac_var+set}\" = set"; then
83772   echo $ECHO_N "(cached) $ECHO_C" >&6
83773 else
83774   if test x$gcc_no_link = xyes; then
83775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83777    { (exit 1); exit 1; }; }
83778 fi
83779 cat >conftest.$ac_ext <<_ACEOF
83780 /* confdefs.h.  */
83781 _ACEOF
83782 cat confdefs.h >>conftest.$ac_ext
83783 cat >>conftest.$ac_ext <<_ACEOF
83784 /* end confdefs.h.  */
83785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83787 #define $ac_func innocuous_$ac_func
83788
83789 /* System header to define __stub macros and hopefully few prototypes,
83790     which can conflict with char $ac_func (); below.
83791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83792     <limits.h> exists even on freestanding compilers.  */
83793
83794 #ifdef __STDC__
83795 # include <limits.h>
83796 #else
83797 # include <assert.h>
83798 #endif
83799
83800 #undef $ac_func
83801
83802 /* Override any gcc2 internal prototype to avoid an error.  */
83803 #ifdef __cplusplus
83804 extern "C"
83805 {
83806 #endif
83807 /* We use char because int might match the return type of a gcc2
83808    builtin and then its argument prototype would still apply.  */
83809 char $ac_func ();
83810 /* The GNU C library defines this for functions which it implements
83811     to always fail with ENOSYS.  Some functions are actually named
83812     something starting with __ and the normal name is an alias.  */
83813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83814 choke me
83815 #else
83816 char (*f) () = $ac_func;
83817 #endif
83818 #ifdef __cplusplus
83819 }
83820 #endif
83821
83822 int
83823 main ()
83824 {
83825 return f != $ac_func;
83826   ;
83827   return 0;
83828 }
83829 _ACEOF
83830 rm -f conftest.$ac_objext conftest$ac_exeext
83831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83832   (eval $ac_link) 2>conftest.er1
83833   ac_status=$?
83834   grep -v '^ *+' conftest.er1 >conftest.err
83835   rm -f conftest.er1
83836   cat conftest.err >&5
83837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83838   (exit $ac_status); } &&
83839          { ac_try='test -z "$ac_c_werror_flag"
83840                          || test ! -s conftest.err'
83841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83842   (eval $ac_try) 2>&5
83843   ac_status=$?
83844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83845   (exit $ac_status); }; } &&
83846          { ac_try='test -s conftest$ac_exeext'
83847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83848   (eval $ac_try) 2>&5
83849   ac_status=$?
83850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83851   (exit $ac_status); }; }; then
83852   eval "$as_ac_var=yes"
83853 else
83854   echo "$as_me: failed program was:" >&5
83855 sed 's/^/| /' conftest.$ac_ext >&5
83856
83857 eval "$as_ac_var=no"
83858 fi
83859 rm -f conftest.err conftest.$ac_objext \
83860       conftest$ac_exeext conftest.$ac_ext
83861 fi
83862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83864 if test `eval echo '${'$as_ac_var'}'` = yes; then
83865   cat >>confdefs.h <<_ACEOF
83866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83867 _ACEOF
83868
83869 fi
83870 done
83871
83872   else
83873
83874   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
83875 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
83876   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
83877     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
83878   echo $ECHO_N "(cached) $ECHO_C" >&6
83879 else
83880
83881
83882
83883       ac_ext=cc
83884 ac_cpp='$CXXCPP $CPPFLAGS'
83885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83888
83889       cat >conftest.$ac_ext <<_ACEOF
83890 /* confdefs.h.  */
83891 _ACEOF
83892 cat confdefs.h >>conftest.$ac_ext
83893 cat >>conftest.$ac_ext <<_ACEOF
83894 /* end confdefs.h.  */
83895 #include <math.h>
83896 int
83897 main ()
83898 {
83899  _sincos(0, 0, 0);
83900   ;
83901   return 0;
83902 }
83903 _ACEOF
83904 rm -f conftest.$ac_objext
83905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83906   (eval $ac_compile) 2>conftest.er1
83907   ac_status=$?
83908   grep -v '^ *+' conftest.er1 >conftest.err
83909   rm -f conftest.er1
83910   cat conftest.err >&5
83911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83912   (exit $ac_status); } &&
83913          { ac_try='test -z "$ac_cxx_werror_flag"
83914                          || test ! -s conftest.err'
83915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83916   (eval $ac_try) 2>&5
83917   ac_status=$?
83918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83919   (exit $ac_status); }; } &&
83920          { ac_try='test -s conftest.$ac_objext'
83921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83922   (eval $ac_try) 2>&5
83923   ac_status=$?
83924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83925   (exit $ac_status); }; }; then
83926   glibcxx_cv_func__sincos_use=yes
83927 else
83928   echo "$as_me: failed program was:" >&5
83929 sed 's/^/| /' conftest.$ac_ext >&5
83930
83931 glibcxx_cv_func__sincos_use=no
83932 fi
83933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83934       ac_ext=c
83935 ac_cpp='$CPP $CPPFLAGS'
83936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83939
83940
83941 fi
83942
83943   fi
83944   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
83945 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
83946
83947     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
83948
83949 for ac_func in _sincos
83950 do
83951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83952 echo "$as_me:$LINENO: checking for $ac_func" >&5
83953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83954 if eval "test \"\${$as_ac_var+set}\" = set"; then
83955   echo $ECHO_N "(cached) $ECHO_C" >&6
83956 else
83957   if test x$gcc_no_link = xyes; then
83958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83960    { (exit 1); exit 1; }; }
83961 fi
83962 cat >conftest.$ac_ext <<_ACEOF
83963 /* confdefs.h.  */
83964 _ACEOF
83965 cat confdefs.h >>conftest.$ac_ext
83966 cat >>conftest.$ac_ext <<_ACEOF
83967 /* end confdefs.h.  */
83968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83970 #define $ac_func innocuous_$ac_func
83971
83972 /* System header to define __stub macros and hopefully few prototypes,
83973     which can conflict with char $ac_func (); below.
83974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83975     <limits.h> exists even on freestanding compilers.  */
83976
83977 #ifdef __STDC__
83978 # include <limits.h>
83979 #else
83980 # include <assert.h>
83981 #endif
83982
83983 #undef $ac_func
83984
83985 /* Override any gcc2 internal prototype to avoid an error.  */
83986 #ifdef __cplusplus
83987 extern "C"
83988 {
83989 #endif
83990 /* We use char because int might match the return type of a gcc2
83991    builtin and then its argument prototype would still apply.  */
83992 char $ac_func ();
83993 /* The GNU C library defines this for functions which it implements
83994     to always fail with ENOSYS.  Some functions are actually named
83995     something starting with __ and the normal name is an alias.  */
83996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83997 choke me
83998 #else
83999 char (*f) () = $ac_func;
84000 #endif
84001 #ifdef __cplusplus
84002 }
84003 #endif
84004
84005 int
84006 main ()
84007 {
84008 return f != $ac_func;
84009   ;
84010   return 0;
84011 }
84012 _ACEOF
84013 rm -f conftest.$ac_objext conftest$ac_exeext
84014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84015   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
84036 else
84037   echo "$as_me: failed program was:" >&5
84038 sed 's/^/| /' conftest.$ac_ext >&5
84039
84040 eval "$as_ac_var=no"
84041 fi
84042 rm -f conftest.err conftest.$ac_objext \
84043       conftest$ac_exeext conftest.$ac_ext
84044 fi
84045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84047 if test `eval echo '${'$as_ac_var'}'` = yes; then
84048   cat >>confdefs.h <<_ACEOF
84049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84050 _ACEOF
84051
84052 fi
84053 done
84054
84055     fi
84056   fi
84057
84058
84059
84060
84061
84062
84063   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
84064 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
84065   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
84066     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
84067   echo $ECHO_N "(cached) $ECHO_C" >&6
84068 else
84069
84070
84071
84072       ac_ext=cc
84073 ac_cpp='$CXXCPP $CPPFLAGS'
84074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84077
84078       cat >conftest.$ac_ext <<_ACEOF
84079 /* confdefs.h.  */
84080 _ACEOF
84081 cat confdefs.h >>conftest.$ac_ext
84082 cat >>conftest.$ac_ext <<_ACEOF
84083 /* end confdefs.h.  */
84084 #include <math.h>
84085                       #ifdef HAVE_IEEEFP_H
84086                       #include <ieeefp.h>
84087                       #endif
84088
84089 int
84090 main ()
84091 {
84092  fpclass(0);
84093   ;
84094   return 0;
84095 }
84096 _ACEOF
84097 rm -f conftest.$ac_objext
84098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84099   (eval $ac_compile) 2>conftest.er1
84100   ac_status=$?
84101   grep -v '^ *+' conftest.er1 >conftest.err
84102   rm -f conftest.er1
84103   cat conftest.err >&5
84104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84105   (exit $ac_status); } &&
84106          { ac_try='test -z "$ac_cxx_werror_flag"
84107                          || test ! -s conftest.err'
84108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84109   (eval $ac_try) 2>&5
84110   ac_status=$?
84111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84112   (exit $ac_status); }; } &&
84113          { ac_try='test -s conftest.$ac_objext'
84114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84115   (eval $ac_try) 2>&5
84116   ac_status=$?
84117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84118   (exit $ac_status); }; }; then
84119   glibcxx_cv_func_fpclass_use=yes
84120 else
84121   echo "$as_me: failed program was:" >&5
84122 sed 's/^/| /' conftest.$ac_ext >&5
84123
84124 glibcxx_cv_func_fpclass_use=no
84125 fi
84126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84127       ac_ext=c
84128 ac_cpp='$CPP $CPPFLAGS'
84129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84132
84133
84134 fi
84135
84136   fi
84137   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
84138 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
84139
84140   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
84141
84142 for ac_func in fpclass
84143 do
84144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84145 echo "$as_me:$LINENO: checking for $ac_func" >&5
84146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84147 if eval "test \"\${$as_ac_var+set}\" = set"; then
84148   echo $ECHO_N "(cached) $ECHO_C" >&6
84149 else
84150   if test x$gcc_no_link = xyes; then
84151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84153    { (exit 1); exit 1; }; }
84154 fi
84155 cat >conftest.$ac_ext <<_ACEOF
84156 /* confdefs.h.  */
84157 _ACEOF
84158 cat confdefs.h >>conftest.$ac_ext
84159 cat >>conftest.$ac_ext <<_ACEOF
84160 /* end confdefs.h.  */
84161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84163 #define $ac_func innocuous_$ac_func
84164
84165 /* System header to define __stub macros and hopefully few prototypes,
84166     which can conflict with char $ac_func (); below.
84167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84168     <limits.h> exists even on freestanding compilers.  */
84169
84170 #ifdef __STDC__
84171 # include <limits.h>
84172 #else
84173 # include <assert.h>
84174 #endif
84175
84176 #undef $ac_func
84177
84178 /* Override any gcc2 internal prototype to avoid an error.  */
84179 #ifdef __cplusplus
84180 extern "C"
84181 {
84182 #endif
84183 /* We use char because int might match the return type of a gcc2
84184    builtin and then its argument prototype would still apply.  */
84185 char $ac_func ();
84186 /* The GNU C library defines this for functions which it implements
84187     to always fail with ENOSYS.  Some functions are actually named
84188     something starting with __ and the normal name is an alias.  */
84189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84190 choke me
84191 #else
84192 char (*f) () = $ac_func;
84193 #endif
84194 #ifdef __cplusplus
84195 }
84196 #endif
84197
84198 int
84199 main ()
84200 {
84201 return f != $ac_func;
84202   ;
84203   return 0;
84204 }
84205 _ACEOF
84206 rm -f conftest.$ac_objext conftest$ac_exeext
84207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84208   (eval $ac_link) 2>conftest.er1
84209   ac_status=$?
84210   grep -v '^ *+' conftest.er1 >conftest.err
84211   rm -f conftest.er1
84212   cat conftest.err >&5
84213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84214   (exit $ac_status); } &&
84215          { ac_try='test -z "$ac_c_werror_flag"
84216                          || test ! -s conftest.err'
84217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84218   (eval $ac_try) 2>&5
84219   ac_status=$?
84220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84221   (exit $ac_status); }; } &&
84222          { ac_try='test -s conftest$ac_exeext'
84223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84224   (eval $ac_try) 2>&5
84225   ac_status=$?
84226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84227   (exit $ac_status); }; }; then
84228   eval "$as_ac_var=yes"
84229 else
84230   echo "$as_me: failed program was:" >&5
84231 sed 's/^/| /' conftest.$ac_ext >&5
84232
84233 eval "$as_ac_var=no"
84234 fi
84235 rm -f conftest.err conftest.$ac_objext \
84236       conftest$ac_exeext conftest.$ac_ext
84237 fi
84238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84240 if test `eval echo '${'$as_ac_var'}'` = yes; then
84241   cat >>confdefs.h <<_ACEOF
84242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84243 _ACEOF
84244
84245 fi
84246 done
84247
84248   else
84249
84250   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
84251 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
84252   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
84253     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
84254   echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256
84257
84258
84259       ac_ext=cc
84260 ac_cpp='$CXXCPP $CPPFLAGS'
84261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84264
84265       cat >conftest.$ac_ext <<_ACEOF
84266 /* confdefs.h.  */
84267 _ACEOF
84268 cat confdefs.h >>conftest.$ac_ext
84269 cat >>conftest.$ac_ext <<_ACEOF
84270 /* end confdefs.h.  */
84271 #include <math.h>
84272                       #ifdef HAVE_IEEEFP_H
84273                       #include <ieeefp.h>
84274                       #endif
84275
84276 int
84277 main ()
84278 {
84279  _fpclass(0);
84280   ;
84281   return 0;
84282 }
84283 _ACEOF
84284 rm -f conftest.$ac_objext
84285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84286   (eval $ac_compile) 2>conftest.er1
84287   ac_status=$?
84288   grep -v '^ *+' conftest.er1 >conftest.err
84289   rm -f conftest.er1
84290   cat conftest.err >&5
84291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84292   (exit $ac_status); } &&
84293          { ac_try='test -z "$ac_cxx_werror_flag"
84294                          || test ! -s conftest.err'
84295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84296   (eval $ac_try) 2>&5
84297   ac_status=$?
84298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84299   (exit $ac_status); }; } &&
84300          { ac_try='test -s conftest.$ac_objext'
84301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84302   (eval $ac_try) 2>&5
84303   ac_status=$?
84304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84305   (exit $ac_status); }; }; then
84306   glibcxx_cv_func__fpclass_use=yes
84307 else
84308   echo "$as_me: failed program was:" >&5
84309 sed 's/^/| /' conftest.$ac_ext >&5
84310
84311 glibcxx_cv_func__fpclass_use=no
84312 fi
84313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84314       ac_ext=c
84315 ac_cpp='$CPP $CPPFLAGS'
84316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84319
84320
84321 fi
84322
84323   fi
84324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
84325 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
84326
84327     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
84328
84329 for ac_func in _fpclass
84330 do
84331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84332 echo "$as_me:$LINENO: checking for $ac_func" >&5
84333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84334 if eval "test \"\${$as_ac_var+set}\" = set"; then
84335   echo $ECHO_N "(cached) $ECHO_C" >&6
84336 else
84337   if test x$gcc_no_link = xyes; then
84338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84340    { (exit 1); exit 1; }; }
84341 fi
84342 cat >conftest.$ac_ext <<_ACEOF
84343 /* confdefs.h.  */
84344 _ACEOF
84345 cat confdefs.h >>conftest.$ac_ext
84346 cat >>conftest.$ac_ext <<_ACEOF
84347 /* end confdefs.h.  */
84348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84350 #define $ac_func innocuous_$ac_func
84351
84352 /* System header to define __stub macros and hopefully few prototypes,
84353     which can conflict with char $ac_func (); below.
84354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84355     <limits.h> exists even on freestanding compilers.  */
84356
84357 #ifdef __STDC__
84358 # include <limits.h>
84359 #else
84360 # include <assert.h>
84361 #endif
84362
84363 #undef $ac_func
84364
84365 /* Override any gcc2 internal prototype to avoid an error.  */
84366 #ifdef __cplusplus
84367 extern "C"
84368 {
84369 #endif
84370 /* We use char because int might match the return type of a gcc2
84371    builtin and then its argument prototype would still apply.  */
84372 char $ac_func ();
84373 /* The GNU C library defines this for functions which it implements
84374     to always fail with ENOSYS.  Some functions are actually named
84375     something starting with __ and the normal name is an alias.  */
84376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84377 choke me
84378 #else
84379 char (*f) () = $ac_func;
84380 #endif
84381 #ifdef __cplusplus
84382 }
84383 #endif
84384
84385 int
84386 main ()
84387 {
84388 return f != $ac_func;
84389   ;
84390   return 0;
84391 }
84392 _ACEOF
84393 rm -f conftest.$ac_objext conftest$ac_exeext
84394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84395   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
84416 else
84417   echo "$as_me: failed program was:" >&5
84418 sed 's/^/| /' conftest.$ac_ext >&5
84419
84420 eval "$as_ac_var=no"
84421 fi
84422 rm -f conftest.err conftest.$ac_objext \
84423       conftest$ac_exeext conftest.$ac_ext
84424 fi
84425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84427 if test `eval echo '${'$as_ac_var'}'` = yes; then
84428   cat >>confdefs.h <<_ACEOF
84429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84430 _ACEOF
84431
84432 fi
84433 done
84434
84435     fi
84436   fi
84437
84438
84439
84440
84441
84442
84443   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
84444 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
84445   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
84446     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
84447   echo $ECHO_N "(cached) $ECHO_C" >&6
84448 else
84449
84450
84451
84452       ac_ext=cc
84453 ac_cpp='$CXXCPP $CPPFLAGS'
84454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84457
84458       cat >conftest.$ac_ext <<_ACEOF
84459 /* confdefs.h.  */
84460 _ACEOF
84461 cat confdefs.h >>conftest.$ac_ext
84462 cat >>conftest.$ac_ext <<_ACEOF
84463 /* end confdefs.h.  */
84464 #include <math.h>
84465                       #ifdef HAVE_IEEEFP_H
84466                       #include <ieeefp.h>
84467                       #endif
84468
84469 int
84470 main ()
84471 {
84472  qfpclass(0);
84473   ;
84474   return 0;
84475 }
84476 _ACEOF
84477 rm -f conftest.$ac_objext
84478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84479   (eval $ac_compile) 2>conftest.er1
84480   ac_status=$?
84481   grep -v '^ *+' conftest.er1 >conftest.err
84482   rm -f conftest.er1
84483   cat conftest.err >&5
84484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84485   (exit $ac_status); } &&
84486          { ac_try='test -z "$ac_cxx_werror_flag"
84487                          || test ! -s conftest.err'
84488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84489   (eval $ac_try) 2>&5
84490   ac_status=$?
84491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84492   (exit $ac_status); }; } &&
84493          { ac_try='test -s conftest.$ac_objext'
84494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84495   (eval $ac_try) 2>&5
84496   ac_status=$?
84497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84498   (exit $ac_status); }; }; then
84499   glibcxx_cv_func_qfpclass_use=yes
84500 else
84501   echo "$as_me: failed program was:" >&5
84502 sed 's/^/| /' conftest.$ac_ext >&5
84503
84504 glibcxx_cv_func_qfpclass_use=no
84505 fi
84506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84507       ac_ext=c
84508 ac_cpp='$CPP $CPPFLAGS'
84509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84512
84513
84514 fi
84515
84516   fi
84517   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
84518 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
84519
84520   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
84521
84522 for ac_func in qfpclass
84523 do
84524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84525 echo "$as_me:$LINENO: checking for $ac_func" >&5
84526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84527 if eval "test \"\${$as_ac_var+set}\" = set"; then
84528   echo $ECHO_N "(cached) $ECHO_C" >&6
84529 else
84530   if test x$gcc_no_link = xyes; then
84531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84533    { (exit 1); exit 1; }; }
84534 fi
84535 cat >conftest.$ac_ext <<_ACEOF
84536 /* confdefs.h.  */
84537 _ACEOF
84538 cat confdefs.h >>conftest.$ac_ext
84539 cat >>conftest.$ac_ext <<_ACEOF
84540 /* end confdefs.h.  */
84541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84543 #define $ac_func innocuous_$ac_func
84544
84545 /* System header to define __stub macros and hopefully few prototypes,
84546     which can conflict with char $ac_func (); below.
84547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84548     <limits.h> exists even on freestanding compilers.  */
84549
84550 #ifdef __STDC__
84551 # include <limits.h>
84552 #else
84553 # include <assert.h>
84554 #endif
84555
84556 #undef $ac_func
84557
84558 /* Override any gcc2 internal prototype to avoid an error.  */
84559 #ifdef __cplusplus
84560 extern "C"
84561 {
84562 #endif
84563 /* We use char because int might match the return type of a gcc2
84564    builtin and then its argument prototype would still apply.  */
84565 char $ac_func ();
84566 /* The GNU C library defines this for functions which it implements
84567     to always fail with ENOSYS.  Some functions are actually named
84568     something starting with __ and the normal name is an alias.  */
84569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84570 choke me
84571 #else
84572 char (*f) () = $ac_func;
84573 #endif
84574 #ifdef __cplusplus
84575 }
84576 #endif
84577
84578 int
84579 main ()
84580 {
84581 return f != $ac_func;
84582   ;
84583   return 0;
84584 }
84585 _ACEOF
84586 rm -f conftest.$ac_objext conftest$ac_exeext
84587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84588   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
84609 else
84610   echo "$as_me: failed program was:" >&5
84611 sed 's/^/| /' conftest.$ac_ext >&5
84612
84613 eval "$as_ac_var=no"
84614 fi
84615 rm -f conftest.err conftest.$ac_objext \
84616       conftest$ac_exeext conftest.$ac_ext
84617 fi
84618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84620 if test `eval echo '${'$as_ac_var'}'` = yes; then
84621   cat >>confdefs.h <<_ACEOF
84622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84623 _ACEOF
84624
84625 fi
84626 done
84627
84628   else
84629
84630   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
84631 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
84632   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
84633     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
84634   echo $ECHO_N "(cached) $ECHO_C" >&6
84635 else
84636
84637
84638
84639       ac_ext=cc
84640 ac_cpp='$CXXCPP $CPPFLAGS'
84641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84644
84645       cat >conftest.$ac_ext <<_ACEOF
84646 /* confdefs.h.  */
84647 _ACEOF
84648 cat confdefs.h >>conftest.$ac_ext
84649 cat >>conftest.$ac_ext <<_ACEOF
84650 /* end confdefs.h.  */
84651 #include <math.h>
84652                       #ifdef HAVE_IEEEFP_H
84653                       #include <ieeefp.h>
84654                       #endif
84655
84656 int
84657 main ()
84658 {
84659  _qfpclass(0);
84660   ;
84661   return 0;
84662 }
84663 _ACEOF
84664 rm -f conftest.$ac_objext
84665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84666   (eval $ac_compile) 2>conftest.er1
84667   ac_status=$?
84668   grep -v '^ *+' conftest.er1 >conftest.err
84669   rm -f conftest.er1
84670   cat conftest.err >&5
84671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84672   (exit $ac_status); } &&
84673          { ac_try='test -z "$ac_cxx_werror_flag"
84674                          || test ! -s conftest.err'
84675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84676   (eval $ac_try) 2>&5
84677   ac_status=$?
84678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84679   (exit $ac_status); }; } &&
84680          { ac_try='test -s conftest.$ac_objext'
84681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84682   (eval $ac_try) 2>&5
84683   ac_status=$?
84684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84685   (exit $ac_status); }; }; then
84686   glibcxx_cv_func__qfpclass_use=yes
84687 else
84688   echo "$as_me: failed program was:" >&5
84689 sed 's/^/| /' conftest.$ac_ext >&5
84690
84691 glibcxx_cv_func__qfpclass_use=no
84692 fi
84693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84694       ac_ext=c
84695 ac_cpp='$CPP $CPPFLAGS'
84696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84699
84700
84701 fi
84702
84703   fi
84704   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
84705 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
84706
84707     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
84708
84709 for ac_func in _qfpclass
84710 do
84711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84712 echo "$as_me:$LINENO: checking for $ac_func" >&5
84713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84714 if eval "test \"\${$as_ac_var+set}\" = set"; then
84715   echo $ECHO_N "(cached) $ECHO_C" >&6
84716 else
84717   if test x$gcc_no_link = xyes; then
84718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84720    { (exit 1); exit 1; }; }
84721 fi
84722 cat >conftest.$ac_ext <<_ACEOF
84723 /* confdefs.h.  */
84724 _ACEOF
84725 cat confdefs.h >>conftest.$ac_ext
84726 cat >>conftest.$ac_ext <<_ACEOF
84727 /* end confdefs.h.  */
84728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84729    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84730 #define $ac_func innocuous_$ac_func
84731
84732 /* System header to define __stub macros and hopefully few prototypes,
84733     which can conflict with char $ac_func (); below.
84734     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84735     <limits.h> exists even on freestanding compilers.  */
84736
84737 #ifdef __STDC__
84738 # include <limits.h>
84739 #else
84740 # include <assert.h>
84741 #endif
84742
84743 #undef $ac_func
84744
84745 /* Override any gcc2 internal prototype to avoid an error.  */
84746 #ifdef __cplusplus
84747 extern "C"
84748 {
84749 #endif
84750 /* We use char because int might match the return type of a gcc2
84751    builtin and then its argument prototype would still apply.  */
84752 char $ac_func ();
84753 /* The GNU C library defines this for functions which it implements
84754     to always fail with ENOSYS.  Some functions are actually named
84755     something starting with __ and the normal name is an alias.  */
84756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84757 choke me
84758 #else
84759 char (*f) () = $ac_func;
84760 #endif
84761 #ifdef __cplusplus
84762 }
84763 #endif
84764
84765 int
84766 main ()
84767 {
84768 return f != $ac_func;
84769   ;
84770   return 0;
84771 }
84772 _ACEOF
84773 rm -f conftest.$ac_objext conftest$ac_exeext
84774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84775   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
84796 else
84797   echo "$as_me: failed program was:" >&5
84798 sed 's/^/| /' conftest.$ac_ext >&5
84799
84800 eval "$as_ac_var=no"
84801 fi
84802 rm -f conftest.err conftest.$ac_objext \
84803       conftest$ac_exeext conftest.$ac_ext
84804 fi
84805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84807 if test `eval echo '${'$as_ac_var'}'` = yes; then
84808   cat >>confdefs.h <<_ACEOF
84809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84810 _ACEOF
84811
84812 fi
84813 done
84814
84815     fi
84816   fi
84817
84818
84819
84820
84821
84822
84823   echo "$as_me:$LINENO: checking for hypot declaration" >&5
84824 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
84825   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
84826     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
84827   echo $ECHO_N "(cached) $ECHO_C" >&6
84828 else
84829
84830
84831
84832       ac_ext=cc
84833 ac_cpp='$CXXCPP $CPPFLAGS'
84834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84837
84838       cat >conftest.$ac_ext <<_ACEOF
84839 /* confdefs.h.  */
84840 _ACEOF
84841 cat confdefs.h >>conftest.$ac_ext
84842 cat >>conftest.$ac_ext <<_ACEOF
84843 /* end confdefs.h.  */
84844 #include <math.h>
84845 int
84846 main ()
84847 {
84848  hypot(0, 0);
84849   ;
84850   return 0;
84851 }
84852 _ACEOF
84853 rm -f conftest.$ac_objext
84854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84855   (eval $ac_compile) 2>conftest.er1
84856   ac_status=$?
84857   grep -v '^ *+' conftest.er1 >conftest.err
84858   rm -f conftest.er1
84859   cat conftest.err >&5
84860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84861   (exit $ac_status); } &&
84862          { ac_try='test -z "$ac_cxx_werror_flag"
84863                          || test ! -s conftest.err'
84864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84865   (eval $ac_try) 2>&5
84866   ac_status=$?
84867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84868   (exit $ac_status); }; } &&
84869          { ac_try='test -s conftest.$ac_objext'
84870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84871   (eval $ac_try) 2>&5
84872   ac_status=$?
84873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84874   (exit $ac_status); }; }; then
84875   glibcxx_cv_func_hypot_use=yes
84876 else
84877   echo "$as_me: failed program was:" >&5
84878 sed 's/^/| /' conftest.$ac_ext >&5
84879
84880 glibcxx_cv_func_hypot_use=no
84881 fi
84882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84883       ac_ext=c
84884 ac_cpp='$CPP $CPPFLAGS'
84885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84888
84889
84890 fi
84891
84892   fi
84893   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
84894 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
84895
84896   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
84897
84898 for ac_func in hypot
84899 do
84900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84901 echo "$as_me:$LINENO: checking for $ac_func" >&5
84902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84903 if eval "test \"\${$as_ac_var+set}\" = set"; then
84904   echo $ECHO_N "(cached) $ECHO_C" >&6
84905 else
84906   if test x$gcc_no_link = xyes; then
84907   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84909    { (exit 1); exit 1; }; }
84910 fi
84911 cat >conftest.$ac_ext <<_ACEOF
84912 /* confdefs.h.  */
84913 _ACEOF
84914 cat confdefs.h >>conftest.$ac_ext
84915 cat >>conftest.$ac_ext <<_ACEOF
84916 /* end confdefs.h.  */
84917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84919 #define $ac_func innocuous_$ac_func
84920
84921 /* System header to define __stub macros and hopefully few prototypes,
84922     which can conflict with char $ac_func (); below.
84923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84924     <limits.h> exists even on freestanding compilers.  */
84925
84926 #ifdef __STDC__
84927 # include <limits.h>
84928 #else
84929 # include <assert.h>
84930 #endif
84931
84932 #undef $ac_func
84933
84934 /* Override any gcc2 internal prototype to avoid an error.  */
84935 #ifdef __cplusplus
84936 extern "C"
84937 {
84938 #endif
84939 /* We use char because int might match the return type of a gcc2
84940    builtin and then its argument prototype would still apply.  */
84941 char $ac_func ();
84942 /* The GNU C library defines this for functions which it implements
84943     to always fail with ENOSYS.  Some functions are actually named
84944     something starting with __ and the normal name is an alias.  */
84945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84946 choke me
84947 #else
84948 char (*f) () = $ac_func;
84949 #endif
84950 #ifdef __cplusplus
84951 }
84952 #endif
84953
84954 int
84955 main ()
84956 {
84957 return f != $ac_func;
84958   ;
84959   return 0;
84960 }
84961 _ACEOF
84962 rm -f conftest.$ac_objext conftest$ac_exeext
84963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84964   (eval $ac_link) 2>conftest.er1
84965   ac_status=$?
84966   grep -v '^ *+' conftest.er1 >conftest.err
84967   rm -f conftest.er1
84968   cat conftest.err >&5
84969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84970   (exit $ac_status); } &&
84971          { ac_try='test -z "$ac_c_werror_flag"
84972                          || test ! -s conftest.err'
84973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84974   (eval $ac_try) 2>&5
84975   ac_status=$?
84976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84977   (exit $ac_status); }; } &&
84978          { ac_try='test -s conftest$ac_exeext'
84979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84980   (eval $ac_try) 2>&5
84981   ac_status=$?
84982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84983   (exit $ac_status); }; }; then
84984   eval "$as_ac_var=yes"
84985 else
84986   echo "$as_me: failed program was:" >&5
84987 sed 's/^/| /' conftest.$ac_ext >&5
84988
84989 eval "$as_ac_var=no"
84990 fi
84991 rm -f conftest.err conftest.$ac_objext \
84992       conftest$ac_exeext conftest.$ac_ext
84993 fi
84994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84996 if test `eval echo '${'$as_ac_var'}'` = yes; then
84997   cat >>confdefs.h <<_ACEOF
84998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84999 _ACEOF
85000
85001 fi
85002 done
85003
85004   else
85005
85006   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
85007 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
85008   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
85009     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
85010   echo $ECHO_N "(cached) $ECHO_C" >&6
85011 else
85012
85013
85014
85015       ac_ext=cc
85016 ac_cpp='$CXXCPP $CPPFLAGS'
85017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85020
85021       cat >conftest.$ac_ext <<_ACEOF
85022 /* confdefs.h.  */
85023 _ACEOF
85024 cat confdefs.h >>conftest.$ac_ext
85025 cat >>conftest.$ac_ext <<_ACEOF
85026 /* end confdefs.h.  */
85027 #include <math.h>
85028 int
85029 main ()
85030 {
85031  _hypot(0, 0);
85032   ;
85033   return 0;
85034 }
85035 _ACEOF
85036 rm -f conftest.$ac_objext
85037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85038   (eval $ac_compile) 2>conftest.er1
85039   ac_status=$?
85040   grep -v '^ *+' conftest.er1 >conftest.err
85041   rm -f conftest.er1
85042   cat conftest.err >&5
85043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85044   (exit $ac_status); } &&
85045          { ac_try='test -z "$ac_cxx_werror_flag"
85046                          || test ! -s conftest.err'
85047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85048   (eval $ac_try) 2>&5
85049   ac_status=$?
85050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85051   (exit $ac_status); }; } &&
85052          { ac_try='test -s conftest.$ac_objext'
85053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85054   (eval $ac_try) 2>&5
85055   ac_status=$?
85056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85057   (exit $ac_status); }; }; then
85058   glibcxx_cv_func__hypot_use=yes
85059 else
85060   echo "$as_me: failed program was:" >&5
85061 sed 's/^/| /' conftest.$ac_ext >&5
85062
85063 glibcxx_cv_func__hypot_use=no
85064 fi
85065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85066       ac_ext=c
85067 ac_cpp='$CPP $CPPFLAGS'
85068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85071
85072
85073 fi
85074
85075   fi
85076   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
85077 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
85078
85079     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
85080
85081 for ac_func in _hypot
85082 do
85083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85084 echo "$as_me:$LINENO: checking for $ac_func" >&5
85085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85086 if eval "test \"\${$as_ac_var+set}\" = set"; then
85087   echo $ECHO_N "(cached) $ECHO_C" >&6
85088 else
85089   if test x$gcc_no_link = xyes; then
85090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85092    { (exit 1); exit 1; }; }
85093 fi
85094 cat >conftest.$ac_ext <<_ACEOF
85095 /* confdefs.h.  */
85096 _ACEOF
85097 cat confdefs.h >>conftest.$ac_ext
85098 cat >>conftest.$ac_ext <<_ACEOF
85099 /* end confdefs.h.  */
85100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85102 #define $ac_func innocuous_$ac_func
85103
85104 /* System header to define __stub macros and hopefully few prototypes,
85105     which can conflict with char $ac_func (); below.
85106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85107     <limits.h> exists even on freestanding compilers.  */
85108
85109 #ifdef __STDC__
85110 # include <limits.h>
85111 #else
85112 # include <assert.h>
85113 #endif
85114
85115 #undef $ac_func
85116
85117 /* Override any gcc2 internal prototype to avoid an error.  */
85118 #ifdef __cplusplus
85119 extern "C"
85120 {
85121 #endif
85122 /* We use char because int might match the return type of a gcc2
85123    builtin and then its argument prototype would still apply.  */
85124 char $ac_func ();
85125 /* The GNU C library defines this for functions which it implements
85126     to always fail with ENOSYS.  Some functions are actually named
85127     something starting with __ and the normal name is an alias.  */
85128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85129 choke me
85130 #else
85131 char (*f) () = $ac_func;
85132 #endif
85133 #ifdef __cplusplus
85134 }
85135 #endif
85136
85137 int
85138 main ()
85139 {
85140 return f != $ac_func;
85141   ;
85142   return 0;
85143 }
85144 _ACEOF
85145 rm -f conftest.$ac_objext conftest$ac_exeext
85146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85147   (eval $ac_link) 2>conftest.er1
85148   ac_status=$?
85149   grep -v '^ *+' conftest.er1 >conftest.err
85150   rm -f conftest.er1
85151   cat conftest.err >&5
85152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85153   (exit $ac_status); } &&
85154          { ac_try='test -z "$ac_c_werror_flag"
85155                          || test ! -s conftest.err'
85156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85157   (eval $ac_try) 2>&5
85158   ac_status=$?
85159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85160   (exit $ac_status); }; } &&
85161          { ac_try='test -s conftest$ac_exeext'
85162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85163   (eval $ac_try) 2>&5
85164   ac_status=$?
85165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85166   (exit $ac_status); }; }; then
85167   eval "$as_ac_var=yes"
85168 else
85169   echo "$as_me: failed program was:" >&5
85170 sed 's/^/| /' conftest.$ac_ext >&5
85171
85172 eval "$as_ac_var=no"
85173 fi
85174 rm -f conftest.err conftest.$ac_objext \
85175       conftest$ac_exeext conftest.$ac_ext
85176 fi
85177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85179 if test `eval echo '${'$as_ac_var'}'` = yes; then
85180   cat >>confdefs.h <<_ACEOF
85181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85182 _ACEOF
85183
85184 fi
85185 done
85186
85187     fi
85188   fi
85189
85190
85191
85192
85193
85194
85195     echo "$as_me:$LINENO: checking for float trig functions" >&5
85196 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
85197   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
85198   echo $ECHO_N "(cached) $ECHO_C" >&6
85199 else
85200
85201
85202
85203     ac_ext=cc
85204 ac_cpp='$CXXCPP $CPPFLAGS'
85205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85208
85209     cat >conftest.$ac_ext <<_ACEOF
85210 /* confdefs.h.  */
85211 _ACEOF
85212 cat confdefs.h >>conftest.$ac_ext
85213 cat >>conftest.$ac_ext <<_ACEOF
85214 /* end confdefs.h.  */
85215 #include <math.h>
85216 int
85217 main ()
85218 {
85219 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
85220   ;
85221   return 0;
85222 }
85223 _ACEOF
85224 rm -f conftest.$ac_objext
85225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85226   (eval $ac_compile) 2>conftest.er1
85227   ac_status=$?
85228   grep -v '^ *+' conftest.er1 >conftest.err
85229   rm -f conftest.er1
85230   cat conftest.err >&5
85231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85232   (exit $ac_status); } &&
85233          { ac_try='test -z "$ac_cxx_werror_flag"
85234                          || test ! -s conftest.err'
85235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85236   (eval $ac_try) 2>&5
85237   ac_status=$?
85238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85239   (exit $ac_status); }; } &&
85240          { ac_try='test -s conftest.$ac_objext'
85241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85242   (eval $ac_try) 2>&5
85243   ac_status=$?
85244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85245   (exit $ac_status); }; }; then
85246   glibcxx_cv_func_float_trig_use=yes
85247 else
85248   echo "$as_me: failed program was:" >&5
85249 sed 's/^/| /' conftest.$ac_ext >&5
85250
85251 glibcxx_cv_func_float_trig_use=no
85252 fi
85253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85254     ac_ext=c
85255 ac_cpp='$CPP $CPPFLAGS'
85256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85259
85260 fi
85261
85262   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
85263 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
85264   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
85265
85266
85267
85268
85269
85270
85271
85272
85273
85274 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
85275 do
85276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85277 echo "$as_me:$LINENO: checking for $ac_func" >&5
85278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85279 if eval "test \"\${$as_ac_var+set}\" = set"; then
85280   echo $ECHO_N "(cached) $ECHO_C" >&6
85281 else
85282   if test x$gcc_no_link = xyes; then
85283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85285    { (exit 1); exit 1; }; }
85286 fi
85287 cat >conftest.$ac_ext <<_ACEOF
85288 /* confdefs.h.  */
85289 _ACEOF
85290 cat confdefs.h >>conftest.$ac_ext
85291 cat >>conftest.$ac_ext <<_ACEOF
85292 /* end confdefs.h.  */
85293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85294    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85295 #define $ac_func innocuous_$ac_func
85296
85297 /* System header to define __stub macros and hopefully few prototypes,
85298     which can conflict with char $ac_func (); below.
85299     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85300     <limits.h> exists even on freestanding compilers.  */
85301
85302 #ifdef __STDC__
85303 # include <limits.h>
85304 #else
85305 # include <assert.h>
85306 #endif
85307
85308 #undef $ac_func
85309
85310 /* Override any gcc2 internal prototype to avoid an error.  */
85311 #ifdef __cplusplus
85312 extern "C"
85313 {
85314 #endif
85315 /* We use char because int might match the return type of a gcc2
85316    builtin and then its argument prototype would still apply.  */
85317 char $ac_func ();
85318 /* The GNU C library defines this for functions which it implements
85319     to always fail with ENOSYS.  Some functions are actually named
85320     something starting with __ and the normal name is an alias.  */
85321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85322 choke me
85323 #else
85324 char (*f) () = $ac_func;
85325 #endif
85326 #ifdef __cplusplus
85327 }
85328 #endif
85329
85330 int
85331 main ()
85332 {
85333 return f != $ac_func;
85334   ;
85335   return 0;
85336 }
85337 _ACEOF
85338 rm -f conftest.$ac_objext conftest$ac_exeext
85339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85340   (eval $ac_link) 2>conftest.er1
85341   ac_status=$?
85342   grep -v '^ *+' conftest.er1 >conftest.err
85343   rm -f conftest.er1
85344   cat conftest.err >&5
85345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85346   (exit $ac_status); } &&
85347          { ac_try='test -z "$ac_c_werror_flag"
85348                          || test ! -s conftest.err'
85349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85350   (eval $ac_try) 2>&5
85351   ac_status=$?
85352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85353   (exit $ac_status); }; } &&
85354          { ac_try='test -s conftest$ac_exeext'
85355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85356   (eval $ac_try) 2>&5
85357   ac_status=$?
85358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85359   (exit $ac_status); }; }; then
85360   eval "$as_ac_var=yes"
85361 else
85362   echo "$as_me: failed program was:" >&5
85363 sed 's/^/| /' conftest.$ac_ext >&5
85364
85365 eval "$as_ac_var=no"
85366 fi
85367 rm -f conftest.err conftest.$ac_objext \
85368       conftest$ac_exeext conftest.$ac_ext
85369 fi
85370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85372 if test `eval echo '${'$as_ac_var'}'` = yes; then
85373   cat >>confdefs.h <<_ACEOF
85374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85375 _ACEOF
85376
85377 fi
85378 done
85379
85380   else
85381     echo "$as_me:$LINENO: checking for _float trig functions" >&5
85382 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
85383     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
85384   echo $ECHO_N "(cached) $ECHO_C" >&6
85385 else
85386
85387
85388
85389       ac_ext=cc
85390 ac_cpp='$CXXCPP $CPPFLAGS'
85391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85394
85395       cat >conftest.$ac_ext <<_ACEOF
85396 /* confdefs.h.  */
85397 _ACEOF
85398 cat confdefs.h >>conftest.$ac_ext
85399 cat >>conftest.$ac_ext <<_ACEOF
85400 /* end confdefs.h.  */
85401 #include <math.h>
85402 int
85403 main ()
85404 {
85405 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
85406   ;
85407   return 0;
85408 }
85409 _ACEOF
85410 rm -f conftest.$ac_objext
85411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85412   (eval $ac_compile) 2>conftest.er1
85413   ac_status=$?
85414   grep -v '^ *+' conftest.er1 >conftest.err
85415   rm -f conftest.er1
85416   cat conftest.err >&5
85417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85418   (exit $ac_status); } &&
85419          { ac_try='test -z "$ac_cxx_werror_flag"
85420                          || test ! -s conftest.err'
85421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85422   (eval $ac_try) 2>&5
85423   ac_status=$?
85424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85425   (exit $ac_status); }; } &&
85426          { ac_try='test -s conftest.$ac_objext'
85427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85428   (eval $ac_try) 2>&5
85429   ac_status=$?
85430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85431   (exit $ac_status); }; }; then
85432   glibcxx_cv_func__float_trig_use=yes
85433 else
85434   echo "$as_me: failed program was:" >&5
85435 sed 's/^/| /' conftest.$ac_ext >&5
85436
85437 glibcxx_cv_func__float_trig_use=no
85438 fi
85439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85440       ac_ext=c
85441 ac_cpp='$CPP $CPPFLAGS'
85442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85445
85446 fi
85447
85448     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
85449 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
85450     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
85451
85452
85453
85454
85455
85456
85457
85458
85459
85460 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
85461 do
85462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85463 echo "$as_me:$LINENO: checking for $ac_func" >&5
85464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85465 if eval "test \"\${$as_ac_var+set}\" = set"; then
85466   echo $ECHO_N "(cached) $ECHO_C" >&6
85467 else
85468   if test x$gcc_no_link = xyes; then
85469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85471    { (exit 1); exit 1; }; }
85472 fi
85473 cat >conftest.$ac_ext <<_ACEOF
85474 /* confdefs.h.  */
85475 _ACEOF
85476 cat confdefs.h >>conftest.$ac_ext
85477 cat >>conftest.$ac_ext <<_ACEOF
85478 /* end confdefs.h.  */
85479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85481 #define $ac_func innocuous_$ac_func
85482
85483 /* System header to define __stub macros and hopefully few prototypes,
85484     which can conflict with char $ac_func (); below.
85485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85486     <limits.h> exists even on freestanding compilers.  */
85487
85488 #ifdef __STDC__
85489 # include <limits.h>
85490 #else
85491 # include <assert.h>
85492 #endif
85493
85494 #undef $ac_func
85495
85496 /* Override any gcc2 internal prototype to avoid an error.  */
85497 #ifdef __cplusplus
85498 extern "C"
85499 {
85500 #endif
85501 /* We use char because int might match the return type of a gcc2
85502    builtin and then its argument prototype would still apply.  */
85503 char $ac_func ();
85504 /* The GNU C library defines this for functions which it implements
85505     to always fail with ENOSYS.  Some functions are actually named
85506     something starting with __ and the normal name is an alias.  */
85507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85508 choke me
85509 #else
85510 char (*f) () = $ac_func;
85511 #endif
85512 #ifdef __cplusplus
85513 }
85514 #endif
85515
85516 int
85517 main ()
85518 {
85519 return f != $ac_func;
85520   ;
85521   return 0;
85522 }
85523 _ACEOF
85524 rm -f conftest.$ac_objext conftest$ac_exeext
85525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85526   (eval $ac_link) 2>conftest.er1
85527   ac_status=$?
85528   grep -v '^ *+' conftest.er1 >conftest.err
85529   rm -f conftest.er1
85530   cat conftest.err >&5
85531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85532   (exit $ac_status); } &&
85533          { ac_try='test -z "$ac_c_werror_flag"
85534                          || test ! -s conftest.err'
85535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85536   (eval $ac_try) 2>&5
85537   ac_status=$?
85538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85539   (exit $ac_status); }; } &&
85540          { ac_try='test -s conftest$ac_exeext'
85541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85542   (eval $ac_try) 2>&5
85543   ac_status=$?
85544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85545   (exit $ac_status); }; }; then
85546   eval "$as_ac_var=yes"
85547 else
85548   echo "$as_me: failed program was:" >&5
85549 sed 's/^/| /' conftest.$ac_ext >&5
85550
85551 eval "$as_ac_var=no"
85552 fi
85553 rm -f conftest.err conftest.$ac_objext \
85554       conftest$ac_exeext conftest.$ac_ext
85555 fi
85556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85558 if test `eval echo '${'$as_ac_var'}'` = yes; then
85559   cat >>confdefs.h <<_ACEOF
85560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85561 _ACEOF
85562
85563 fi
85564 done
85565
85566     fi
85567   fi
85568
85569
85570
85571
85572
85573
85574
85575
85576
85577
85578
85579
85580
85581
85582     echo "$as_me:$LINENO: checking for float round functions" >&5
85583 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
85584   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
85585   echo $ECHO_N "(cached) $ECHO_C" >&6
85586 else
85587
85588
85589
85590     ac_ext=cc
85591 ac_cpp='$CXXCPP $CPPFLAGS'
85592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85595
85596     cat >conftest.$ac_ext <<_ACEOF
85597 /* confdefs.h.  */
85598 _ACEOF
85599 cat confdefs.h >>conftest.$ac_ext
85600 cat >>conftest.$ac_ext <<_ACEOF
85601 /* end confdefs.h.  */
85602 #include <math.h>
85603 int
85604 main ()
85605 {
85606 ceilf (0); floorf (0);
85607   ;
85608   return 0;
85609 }
85610 _ACEOF
85611 rm -f conftest.$ac_objext
85612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85613   (eval $ac_compile) 2>conftest.er1
85614   ac_status=$?
85615   grep -v '^ *+' conftest.er1 >conftest.err
85616   rm -f conftest.er1
85617   cat conftest.err >&5
85618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85619   (exit $ac_status); } &&
85620          { ac_try='test -z "$ac_cxx_werror_flag"
85621                          || test ! -s conftest.err'
85622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85623   (eval $ac_try) 2>&5
85624   ac_status=$?
85625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85626   (exit $ac_status); }; } &&
85627          { ac_try='test -s conftest.$ac_objext'
85628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85629   (eval $ac_try) 2>&5
85630   ac_status=$?
85631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85632   (exit $ac_status); }; }; then
85633   glibcxx_cv_func_float_round_use=yes
85634 else
85635   echo "$as_me: failed program was:" >&5
85636 sed 's/^/| /' conftest.$ac_ext >&5
85637
85638 glibcxx_cv_func_float_round_use=no
85639 fi
85640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85641     ac_ext=c
85642 ac_cpp='$CPP $CPPFLAGS'
85643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85646
85647 fi
85648
85649   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
85650 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
85651   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
85652
85653
85654 for ac_func in ceilf floorf
85655 do
85656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85657 echo "$as_me:$LINENO: checking for $ac_func" >&5
85658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85659 if eval "test \"\${$as_ac_var+set}\" = set"; then
85660   echo $ECHO_N "(cached) $ECHO_C" >&6
85661 else
85662   if test x$gcc_no_link = xyes; then
85663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85665    { (exit 1); exit 1; }; }
85666 fi
85667 cat >conftest.$ac_ext <<_ACEOF
85668 /* confdefs.h.  */
85669 _ACEOF
85670 cat confdefs.h >>conftest.$ac_ext
85671 cat >>conftest.$ac_ext <<_ACEOF
85672 /* end confdefs.h.  */
85673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85675 #define $ac_func innocuous_$ac_func
85676
85677 /* System header to define __stub macros and hopefully few prototypes,
85678     which can conflict with char $ac_func (); below.
85679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85680     <limits.h> exists even on freestanding compilers.  */
85681
85682 #ifdef __STDC__
85683 # include <limits.h>
85684 #else
85685 # include <assert.h>
85686 #endif
85687
85688 #undef $ac_func
85689
85690 /* Override any gcc2 internal prototype to avoid an error.  */
85691 #ifdef __cplusplus
85692 extern "C"
85693 {
85694 #endif
85695 /* We use char because int might match the return type of a gcc2
85696    builtin and then its argument prototype would still apply.  */
85697 char $ac_func ();
85698 /* The GNU C library defines this for functions which it implements
85699     to always fail with ENOSYS.  Some functions are actually named
85700     something starting with __ and the normal name is an alias.  */
85701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85702 choke me
85703 #else
85704 char (*f) () = $ac_func;
85705 #endif
85706 #ifdef __cplusplus
85707 }
85708 #endif
85709
85710 int
85711 main ()
85712 {
85713 return f != $ac_func;
85714   ;
85715   return 0;
85716 }
85717 _ACEOF
85718 rm -f conftest.$ac_objext conftest$ac_exeext
85719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85720   (eval $ac_link) 2>conftest.er1
85721   ac_status=$?
85722   grep -v '^ *+' conftest.er1 >conftest.err
85723   rm -f conftest.er1
85724   cat conftest.err >&5
85725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85726   (exit $ac_status); } &&
85727          { ac_try='test -z "$ac_c_werror_flag"
85728                          || test ! -s conftest.err'
85729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85730   (eval $ac_try) 2>&5
85731   ac_status=$?
85732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85733   (exit $ac_status); }; } &&
85734          { ac_try='test -s conftest$ac_exeext'
85735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85736   (eval $ac_try) 2>&5
85737   ac_status=$?
85738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85739   (exit $ac_status); }; }; then
85740   eval "$as_ac_var=yes"
85741 else
85742   echo "$as_me: failed program was:" >&5
85743 sed 's/^/| /' conftest.$ac_ext >&5
85744
85745 eval "$as_ac_var=no"
85746 fi
85747 rm -f conftest.err conftest.$ac_objext \
85748       conftest$ac_exeext conftest.$ac_ext
85749 fi
85750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85752 if test `eval echo '${'$as_ac_var'}'` = yes; then
85753   cat >>confdefs.h <<_ACEOF
85754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85755 _ACEOF
85756
85757 fi
85758 done
85759
85760   else
85761     echo "$as_me:$LINENO: checking for _float round functions" >&5
85762 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
85763     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
85764   echo $ECHO_N "(cached) $ECHO_C" >&6
85765 else
85766
85767
85768
85769       ac_ext=cc
85770 ac_cpp='$CXXCPP $CPPFLAGS'
85771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85774
85775       cat >conftest.$ac_ext <<_ACEOF
85776 /* confdefs.h.  */
85777 _ACEOF
85778 cat confdefs.h >>conftest.$ac_ext
85779 cat >>conftest.$ac_ext <<_ACEOF
85780 /* end confdefs.h.  */
85781 #include <math.h>
85782 int
85783 main ()
85784 {
85785 _ceilf (0); _floorf (0);
85786   ;
85787   return 0;
85788 }
85789 _ACEOF
85790 rm -f conftest.$ac_objext
85791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85792   (eval $ac_compile) 2>conftest.er1
85793   ac_status=$?
85794   grep -v '^ *+' conftest.er1 >conftest.err
85795   rm -f conftest.er1
85796   cat conftest.err >&5
85797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85798   (exit $ac_status); } &&
85799          { ac_try='test -z "$ac_cxx_werror_flag"
85800                          || test ! -s conftest.err'
85801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85802   (eval $ac_try) 2>&5
85803   ac_status=$?
85804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85805   (exit $ac_status); }; } &&
85806          { ac_try='test -s conftest.$ac_objext'
85807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85808   (eval $ac_try) 2>&5
85809   ac_status=$?
85810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85811   (exit $ac_status); }; }; then
85812   glibcxx_cv_func__float_round_use=yes
85813 else
85814   echo "$as_me: failed program was:" >&5
85815 sed 's/^/| /' conftest.$ac_ext >&5
85816
85817 glibcxx_cv_func__float_round_use=no
85818 fi
85819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85820       ac_ext=c
85821 ac_cpp='$CPP $CPPFLAGS'
85822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85825
85826 fi
85827
85828     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
85829 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
85830     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
85831
85832
85833 for ac_func in _ceilf _floorf
85834 do
85835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85836 echo "$as_me:$LINENO: checking for $ac_func" >&5
85837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85838 if eval "test \"\${$as_ac_var+set}\" = set"; then
85839   echo $ECHO_N "(cached) $ECHO_C" >&6
85840 else
85841   if test x$gcc_no_link = xyes; then
85842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85844    { (exit 1); exit 1; }; }
85845 fi
85846 cat >conftest.$ac_ext <<_ACEOF
85847 /* confdefs.h.  */
85848 _ACEOF
85849 cat confdefs.h >>conftest.$ac_ext
85850 cat >>conftest.$ac_ext <<_ACEOF
85851 /* end confdefs.h.  */
85852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85854 #define $ac_func innocuous_$ac_func
85855
85856 /* System header to define __stub macros and hopefully few prototypes,
85857     which can conflict with char $ac_func (); below.
85858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85859     <limits.h> exists even on freestanding compilers.  */
85860
85861 #ifdef __STDC__
85862 # include <limits.h>
85863 #else
85864 # include <assert.h>
85865 #endif
85866
85867 #undef $ac_func
85868
85869 /* Override any gcc2 internal prototype to avoid an error.  */
85870 #ifdef __cplusplus
85871 extern "C"
85872 {
85873 #endif
85874 /* We use char because int might match the return type of a gcc2
85875    builtin and then its argument prototype would still apply.  */
85876 char $ac_func ();
85877 /* The GNU C library defines this for functions which it implements
85878     to always fail with ENOSYS.  Some functions are actually named
85879     something starting with __ and the normal name is an alias.  */
85880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85881 choke me
85882 #else
85883 char (*f) () = $ac_func;
85884 #endif
85885 #ifdef __cplusplus
85886 }
85887 #endif
85888
85889 int
85890 main ()
85891 {
85892 return f != $ac_func;
85893   ;
85894   return 0;
85895 }
85896 _ACEOF
85897 rm -f conftest.$ac_objext conftest$ac_exeext
85898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85899   (eval $ac_link) 2>conftest.er1
85900   ac_status=$?
85901   grep -v '^ *+' conftest.er1 >conftest.err
85902   rm -f conftest.er1
85903   cat conftest.err >&5
85904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905   (exit $ac_status); } &&
85906          { ac_try='test -z "$ac_c_werror_flag"
85907                          || test ! -s conftest.err'
85908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85909   (eval $ac_try) 2>&5
85910   ac_status=$?
85911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85912   (exit $ac_status); }; } &&
85913          { ac_try='test -s conftest$ac_exeext'
85914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85915   (eval $ac_try) 2>&5
85916   ac_status=$?
85917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85918   (exit $ac_status); }; }; then
85919   eval "$as_ac_var=yes"
85920 else
85921   echo "$as_me: failed program was:" >&5
85922 sed 's/^/| /' conftest.$ac_ext >&5
85923
85924 eval "$as_ac_var=no"
85925 fi
85926 rm -f conftest.err conftest.$ac_objext \
85927       conftest$ac_exeext conftest.$ac_ext
85928 fi
85929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85931 if test `eval echo '${'$as_ac_var'}'` = yes; then
85932   cat >>confdefs.h <<_ACEOF
85933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85934 _ACEOF
85935
85936 fi
85937 done
85938
85939     fi
85940   fi
85941
85942
85943
85944
85945
85946
85947
85948
85949   echo "$as_me:$LINENO: checking for expf declaration" >&5
85950 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
85951   if test x${glibcxx_cv_func_expf_use+set} != xset; then
85952     if test "${glibcxx_cv_func_expf_use+set}" = set; then
85953   echo $ECHO_N "(cached) $ECHO_C" >&6
85954 else
85955
85956
85957
85958       ac_ext=cc
85959 ac_cpp='$CXXCPP $CPPFLAGS'
85960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85963
85964       cat >conftest.$ac_ext <<_ACEOF
85965 /* confdefs.h.  */
85966 _ACEOF
85967 cat confdefs.h >>conftest.$ac_ext
85968 cat >>conftest.$ac_ext <<_ACEOF
85969 /* end confdefs.h.  */
85970 #include <math.h>
85971                       #ifdef HAVE_IEEEFP_H
85972                       #include <ieeefp.h>
85973                       #endif
85974
85975 int
85976 main ()
85977 {
85978  expf(0);
85979   ;
85980   return 0;
85981 }
85982 _ACEOF
85983 rm -f conftest.$ac_objext
85984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85985   (eval $ac_compile) 2>conftest.er1
85986   ac_status=$?
85987   grep -v '^ *+' conftest.er1 >conftest.err
85988   rm -f conftest.er1
85989   cat conftest.err >&5
85990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991   (exit $ac_status); } &&
85992          { ac_try='test -z "$ac_cxx_werror_flag"
85993                          || test ! -s conftest.err'
85994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85995   (eval $ac_try) 2>&5
85996   ac_status=$?
85997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85998   (exit $ac_status); }; } &&
85999          { ac_try='test -s conftest.$ac_objext'
86000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86001   (eval $ac_try) 2>&5
86002   ac_status=$?
86003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86004   (exit $ac_status); }; }; then
86005   glibcxx_cv_func_expf_use=yes
86006 else
86007   echo "$as_me: failed program was:" >&5
86008 sed 's/^/| /' conftest.$ac_ext >&5
86009
86010 glibcxx_cv_func_expf_use=no
86011 fi
86012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86013       ac_ext=c
86014 ac_cpp='$CPP $CPPFLAGS'
86015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86018
86019
86020 fi
86021
86022   fi
86023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
86024 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
86025
86026   if test x$glibcxx_cv_func_expf_use = x"yes"; then
86027
86028 for ac_func in expf
86029 do
86030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86031 echo "$as_me:$LINENO: checking for $ac_func" >&5
86032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86033 if eval "test \"\${$as_ac_var+set}\" = set"; then
86034   echo $ECHO_N "(cached) $ECHO_C" >&6
86035 else
86036   if test x$gcc_no_link = xyes; then
86037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86039    { (exit 1); exit 1; }; }
86040 fi
86041 cat >conftest.$ac_ext <<_ACEOF
86042 /* confdefs.h.  */
86043 _ACEOF
86044 cat confdefs.h >>conftest.$ac_ext
86045 cat >>conftest.$ac_ext <<_ACEOF
86046 /* end confdefs.h.  */
86047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86049 #define $ac_func innocuous_$ac_func
86050
86051 /* System header to define __stub macros and hopefully few prototypes,
86052     which can conflict with char $ac_func (); below.
86053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86054     <limits.h> exists even on freestanding compilers.  */
86055
86056 #ifdef __STDC__
86057 # include <limits.h>
86058 #else
86059 # include <assert.h>
86060 #endif
86061
86062 #undef $ac_func
86063
86064 /* Override any gcc2 internal prototype to avoid an error.  */
86065 #ifdef __cplusplus
86066 extern "C"
86067 {
86068 #endif
86069 /* We use char because int might match the return type of a gcc2
86070    builtin and then its argument prototype would still apply.  */
86071 char $ac_func ();
86072 /* The GNU C library defines this for functions which it implements
86073     to always fail with ENOSYS.  Some functions are actually named
86074     something starting with __ and the normal name is an alias.  */
86075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86076 choke me
86077 #else
86078 char (*f) () = $ac_func;
86079 #endif
86080 #ifdef __cplusplus
86081 }
86082 #endif
86083
86084 int
86085 main ()
86086 {
86087 return f != $ac_func;
86088   ;
86089   return 0;
86090 }
86091 _ACEOF
86092 rm -f conftest.$ac_objext conftest$ac_exeext
86093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86094   (eval $ac_link) 2>conftest.er1
86095   ac_status=$?
86096   grep -v '^ *+' conftest.er1 >conftest.err
86097   rm -f conftest.er1
86098   cat conftest.err >&5
86099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86100   (exit $ac_status); } &&
86101          { ac_try='test -z "$ac_c_werror_flag"
86102                          || test ! -s conftest.err'
86103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86104   (eval $ac_try) 2>&5
86105   ac_status=$?
86106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86107   (exit $ac_status); }; } &&
86108          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
86114   eval "$as_ac_var=yes"
86115 else
86116   echo "$as_me: failed program was:" >&5
86117 sed 's/^/| /' conftest.$ac_ext >&5
86118
86119 eval "$as_ac_var=no"
86120 fi
86121 rm -f conftest.err conftest.$ac_objext \
86122       conftest$ac_exeext conftest.$ac_ext
86123 fi
86124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86126 if test `eval echo '${'$as_ac_var'}'` = yes; then
86127   cat >>confdefs.h <<_ACEOF
86128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86129 _ACEOF
86130
86131 fi
86132 done
86133
86134   else
86135
86136   echo "$as_me:$LINENO: checking for _expf declaration" >&5
86137 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
86138   if test x${glibcxx_cv_func__expf_use+set} != xset; then
86139     if test "${glibcxx_cv_func__expf_use+set}" = set; then
86140   echo $ECHO_N "(cached) $ECHO_C" >&6
86141 else
86142
86143
86144
86145       ac_ext=cc
86146 ac_cpp='$CXXCPP $CPPFLAGS'
86147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86150
86151       cat >conftest.$ac_ext <<_ACEOF
86152 /* confdefs.h.  */
86153 _ACEOF
86154 cat confdefs.h >>conftest.$ac_ext
86155 cat >>conftest.$ac_ext <<_ACEOF
86156 /* end confdefs.h.  */
86157 #include <math.h>
86158                       #ifdef HAVE_IEEEFP_H
86159                       #include <ieeefp.h>
86160                       #endif
86161
86162 int
86163 main ()
86164 {
86165  _expf(0);
86166   ;
86167   return 0;
86168 }
86169 _ACEOF
86170 rm -f conftest.$ac_objext
86171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86172   (eval $ac_compile) 2>conftest.er1
86173   ac_status=$?
86174   grep -v '^ *+' conftest.er1 >conftest.err
86175   rm -f conftest.er1
86176   cat conftest.err >&5
86177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86178   (exit $ac_status); } &&
86179          { ac_try='test -z "$ac_cxx_werror_flag"
86180                          || test ! -s conftest.err'
86181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86182   (eval $ac_try) 2>&5
86183   ac_status=$?
86184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86185   (exit $ac_status); }; } &&
86186          { ac_try='test -s conftest.$ac_objext'
86187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86188   (eval $ac_try) 2>&5
86189   ac_status=$?
86190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86191   (exit $ac_status); }; }; then
86192   glibcxx_cv_func__expf_use=yes
86193 else
86194   echo "$as_me: failed program was:" >&5
86195 sed 's/^/| /' conftest.$ac_ext >&5
86196
86197 glibcxx_cv_func__expf_use=no
86198 fi
86199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86200       ac_ext=c
86201 ac_cpp='$CPP $CPPFLAGS'
86202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86205
86206
86207 fi
86208
86209   fi
86210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
86211 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
86212
86213     if test x$glibcxx_cv_func__expf_use = x"yes"; then
86214
86215 for ac_func in _expf
86216 do
86217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86218 echo "$as_me:$LINENO: checking for $ac_func" >&5
86219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86220 if eval "test \"\${$as_ac_var+set}\" = set"; then
86221   echo $ECHO_N "(cached) $ECHO_C" >&6
86222 else
86223   if test x$gcc_no_link = xyes; then
86224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86226    { (exit 1); exit 1; }; }
86227 fi
86228 cat >conftest.$ac_ext <<_ACEOF
86229 /* confdefs.h.  */
86230 _ACEOF
86231 cat confdefs.h >>conftest.$ac_ext
86232 cat >>conftest.$ac_ext <<_ACEOF
86233 /* end confdefs.h.  */
86234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86236 #define $ac_func innocuous_$ac_func
86237
86238 /* System header to define __stub macros and hopefully few prototypes,
86239     which can conflict with char $ac_func (); below.
86240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86241     <limits.h> exists even on freestanding compilers.  */
86242
86243 #ifdef __STDC__
86244 # include <limits.h>
86245 #else
86246 # include <assert.h>
86247 #endif
86248
86249 #undef $ac_func
86250
86251 /* Override any gcc2 internal prototype to avoid an error.  */
86252 #ifdef __cplusplus
86253 extern "C"
86254 {
86255 #endif
86256 /* We use char because int might match the return type of a gcc2
86257    builtin and then its argument prototype would still apply.  */
86258 char $ac_func ();
86259 /* The GNU C library defines this for functions which it implements
86260     to always fail with ENOSYS.  Some functions are actually named
86261     something starting with __ and the normal name is an alias.  */
86262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86263 choke me
86264 #else
86265 char (*f) () = $ac_func;
86266 #endif
86267 #ifdef __cplusplus
86268 }
86269 #endif
86270
86271 int
86272 main ()
86273 {
86274 return f != $ac_func;
86275   ;
86276   return 0;
86277 }
86278 _ACEOF
86279 rm -f conftest.$ac_objext conftest$ac_exeext
86280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86281   (eval $ac_link) 2>conftest.er1
86282   ac_status=$?
86283   grep -v '^ *+' conftest.er1 >conftest.err
86284   rm -f conftest.er1
86285   cat conftest.err >&5
86286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86287   (exit $ac_status); } &&
86288          { ac_try='test -z "$ac_c_werror_flag"
86289                          || test ! -s conftest.err'
86290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86291   (eval $ac_try) 2>&5
86292   ac_status=$?
86293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86294   (exit $ac_status); }; } &&
86295          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
86301   eval "$as_ac_var=yes"
86302 else
86303   echo "$as_me: failed program was:" >&5
86304 sed 's/^/| /' conftest.$ac_ext >&5
86305
86306 eval "$as_ac_var=no"
86307 fi
86308 rm -f conftest.err conftest.$ac_objext \
86309       conftest$ac_exeext conftest.$ac_ext
86310 fi
86311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86313 if test `eval echo '${'$as_ac_var'}'` = yes; then
86314   cat >>confdefs.h <<_ACEOF
86315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86316 _ACEOF
86317
86318 fi
86319 done
86320
86321     fi
86322   fi
86323
86324
86325
86326
86327
86328
86329   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
86330 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
86331   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
86332     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
86333   echo $ECHO_N "(cached) $ECHO_C" >&6
86334 else
86335
86336
86337
86338       ac_ext=cc
86339 ac_cpp='$CXXCPP $CPPFLAGS'
86340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86343
86344       cat >conftest.$ac_ext <<_ACEOF
86345 /* confdefs.h.  */
86346 _ACEOF
86347 cat confdefs.h >>conftest.$ac_ext
86348 cat >>conftest.$ac_ext <<_ACEOF
86349 /* end confdefs.h.  */
86350 #include <math.h>
86351                       #ifdef HAVE_IEEEFP_H
86352                       #include <ieeefp.h>
86353                       #endif
86354
86355 int
86356 main ()
86357 {
86358  isnanf(0);
86359   ;
86360   return 0;
86361 }
86362 _ACEOF
86363 rm -f conftest.$ac_objext
86364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86365   (eval $ac_compile) 2>conftest.er1
86366   ac_status=$?
86367   grep -v '^ *+' conftest.er1 >conftest.err
86368   rm -f conftest.er1
86369   cat conftest.err >&5
86370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86371   (exit $ac_status); } &&
86372          { ac_try='test -z "$ac_cxx_werror_flag"
86373                          || test ! -s conftest.err'
86374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86375   (eval $ac_try) 2>&5
86376   ac_status=$?
86377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86378   (exit $ac_status); }; } &&
86379          { ac_try='test -s conftest.$ac_objext'
86380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86381   (eval $ac_try) 2>&5
86382   ac_status=$?
86383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86384   (exit $ac_status); }; }; then
86385   glibcxx_cv_func_isnanf_use=yes
86386 else
86387   echo "$as_me: failed program was:" >&5
86388 sed 's/^/| /' conftest.$ac_ext >&5
86389
86390 glibcxx_cv_func_isnanf_use=no
86391 fi
86392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86393       ac_ext=c
86394 ac_cpp='$CPP $CPPFLAGS'
86395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86398
86399
86400 fi
86401
86402   fi
86403   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
86404 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
86405
86406   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
86407
86408 for ac_func in isnanf
86409 do
86410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86411 echo "$as_me:$LINENO: checking for $ac_func" >&5
86412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86413 if eval "test \"\${$as_ac_var+set}\" = set"; then
86414   echo $ECHO_N "(cached) $ECHO_C" >&6
86415 else
86416   if test x$gcc_no_link = xyes; then
86417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86419    { (exit 1); exit 1; }; }
86420 fi
86421 cat >conftest.$ac_ext <<_ACEOF
86422 /* confdefs.h.  */
86423 _ACEOF
86424 cat confdefs.h >>conftest.$ac_ext
86425 cat >>conftest.$ac_ext <<_ACEOF
86426 /* end confdefs.h.  */
86427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86429 #define $ac_func innocuous_$ac_func
86430
86431 /* System header to define __stub macros and hopefully few prototypes,
86432     which can conflict with char $ac_func (); below.
86433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86434     <limits.h> exists even on freestanding compilers.  */
86435
86436 #ifdef __STDC__
86437 # include <limits.h>
86438 #else
86439 # include <assert.h>
86440 #endif
86441
86442 #undef $ac_func
86443
86444 /* Override any gcc2 internal prototype to avoid an error.  */
86445 #ifdef __cplusplus
86446 extern "C"
86447 {
86448 #endif
86449 /* We use char because int might match the return type of a gcc2
86450    builtin and then its argument prototype would still apply.  */
86451 char $ac_func ();
86452 /* The GNU C library defines this for functions which it implements
86453     to always fail with ENOSYS.  Some functions are actually named
86454     something starting with __ and the normal name is an alias.  */
86455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86456 choke me
86457 #else
86458 char (*f) () = $ac_func;
86459 #endif
86460 #ifdef __cplusplus
86461 }
86462 #endif
86463
86464 int
86465 main ()
86466 {
86467 return f != $ac_func;
86468   ;
86469   return 0;
86470 }
86471 _ACEOF
86472 rm -f conftest.$ac_objext conftest$ac_exeext
86473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86474   (eval $ac_link) 2>conftest.er1
86475   ac_status=$?
86476   grep -v '^ *+' conftest.er1 >conftest.err
86477   rm -f conftest.er1
86478   cat conftest.err >&5
86479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86480   (exit $ac_status); } &&
86481          { ac_try='test -z "$ac_c_werror_flag"
86482                          || test ! -s conftest.err'
86483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86484   (eval $ac_try) 2>&5
86485   ac_status=$?
86486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86487   (exit $ac_status); }; } &&
86488          { ac_try='test -s conftest$ac_exeext'
86489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86490   (eval $ac_try) 2>&5
86491   ac_status=$?
86492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86493   (exit $ac_status); }; }; then
86494   eval "$as_ac_var=yes"
86495 else
86496   echo "$as_me: failed program was:" >&5
86497 sed 's/^/| /' conftest.$ac_ext >&5
86498
86499 eval "$as_ac_var=no"
86500 fi
86501 rm -f conftest.err conftest.$ac_objext \
86502       conftest$ac_exeext conftest.$ac_ext
86503 fi
86504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86506 if test `eval echo '${'$as_ac_var'}'` = yes; then
86507   cat >>confdefs.h <<_ACEOF
86508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86509 _ACEOF
86510
86511 fi
86512 done
86513
86514   else
86515
86516   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
86517 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
86518   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
86519     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
86520   echo $ECHO_N "(cached) $ECHO_C" >&6
86521 else
86522
86523
86524
86525       ac_ext=cc
86526 ac_cpp='$CXXCPP $CPPFLAGS'
86527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86530
86531       cat >conftest.$ac_ext <<_ACEOF
86532 /* confdefs.h.  */
86533 _ACEOF
86534 cat confdefs.h >>conftest.$ac_ext
86535 cat >>conftest.$ac_ext <<_ACEOF
86536 /* end confdefs.h.  */
86537 #include <math.h>
86538                       #ifdef HAVE_IEEEFP_H
86539                       #include <ieeefp.h>
86540                       #endif
86541
86542 int
86543 main ()
86544 {
86545  _isnanf(0);
86546   ;
86547   return 0;
86548 }
86549 _ACEOF
86550 rm -f conftest.$ac_objext
86551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86552   (eval $ac_compile) 2>conftest.er1
86553   ac_status=$?
86554   grep -v '^ *+' conftest.er1 >conftest.err
86555   rm -f conftest.er1
86556   cat conftest.err >&5
86557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86558   (exit $ac_status); } &&
86559          { ac_try='test -z "$ac_cxx_werror_flag"
86560                          || test ! -s conftest.err'
86561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86562   (eval $ac_try) 2>&5
86563   ac_status=$?
86564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86565   (exit $ac_status); }; } &&
86566          { ac_try='test -s conftest.$ac_objext'
86567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86568   (eval $ac_try) 2>&5
86569   ac_status=$?
86570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571   (exit $ac_status); }; }; then
86572   glibcxx_cv_func__isnanf_use=yes
86573 else
86574   echo "$as_me: failed program was:" >&5
86575 sed 's/^/| /' conftest.$ac_ext >&5
86576
86577 glibcxx_cv_func__isnanf_use=no
86578 fi
86579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86580       ac_ext=c
86581 ac_cpp='$CPP $CPPFLAGS'
86582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86585
86586
86587 fi
86588
86589   fi
86590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
86591 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
86592
86593     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
86594
86595 for ac_func in _isnanf
86596 do
86597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86598 echo "$as_me:$LINENO: checking for $ac_func" >&5
86599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86600 if eval "test \"\${$as_ac_var+set}\" = set"; then
86601   echo $ECHO_N "(cached) $ECHO_C" >&6
86602 else
86603   if test x$gcc_no_link = xyes; then
86604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86606    { (exit 1); exit 1; }; }
86607 fi
86608 cat >conftest.$ac_ext <<_ACEOF
86609 /* confdefs.h.  */
86610 _ACEOF
86611 cat confdefs.h >>conftest.$ac_ext
86612 cat >>conftest.$ac_ext <<_ACEOF
86613 /* end confdefs.h.  */
86614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86616 #define $ac_func innocuous_$ac_func
86617
86618 /* System header to define __stub macros and hopefully few prototypes,
86619     which can conflict with char $ac_func (); below.
86620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86621     <limits.h> exists even on freestanding compilers.  */
86622
86623 #ifdef __STDC__
86624 # include <limits.h>
86625 #else
86626 # include <assert.h>
86627 #endif
86628
86629 #undef $ac_func
86630
86631 /* Override any gcc2 internal prototype to avoid an error.  */
86632 #ifdef __cplusplus
86633 extern "C"
86634 {
86635 #endif
86636 /* We use char because int might match the return type of a gcc2
86637    builtin and then its argument prototype would still apply.  */
86638 char $ac_func ();
86639 /* The GNU C library defines this for functions which it implements
86640     to always fail with ENOSYS.  Some functions are actually named
86641     something starting with __ and the normal name is an alias.  */
86642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86643 choke me
86644 #else
86645 char (*f) () = $ac_func;
86646 #endif
86647 #ifdef __cplusplus
86648 }
86649 #endif
86650
86651 int
86652 main ()
86653 {
86654 return f != $ac_func;
86655   ;
86656   return 0;
86657 }
86658 _ACEOF
86659 rm -f conftest.$ac_objext conftest$ac_exeext
86660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86661   (eval $ac_link) 2>conftest.er1
86662   ac_status=$?
86663   grep -v '^ *+' conftest.er1 >conftest.err
86664   rm -f conftest.er1
86665   cat conftest.err >&5
86666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86667   (exit $ac_status); } &&
86668          { ac_try='test -z "$ac_c_werror_flag"
86669                          || test ! -s conftest.err'
86670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86671   (eval $ac_try) 2>&5
86672   ac_status=$?
86673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86674   (exit $ac_status); }; } &&
86675          { ac_try='test -s conftest$ac_exeext'
86676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86677   (eval $ac_try) 2>&5
86678   ac_status=$?
86679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86680   (exit $ac_status); }; }; then
86681   eval "$as_ac_var=yes"
86682 else
86683   echo "$as_me: failed program was:" >&5
86684 sed 's/^/| /' conftest.$ac_ext >&5
86685
86686 eval "$as_ac_var=no"
86687 fi
86688 rm -f conftest.err conftest.$ac_objext \
86689       conftest$ac_exeext conftest.$ac_ext
86690 fi
86691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86693 if test `eval echo '${'$as_ac_var'}'` = yes; then
86694   cat >>confdefs.h <<_ACEOF
86695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86696 _ACEOF
86697
86698 fi
86699 done
86700
86701     fi
86702   fi
86703
86704
86705
86706
86707
86708
86709   echo "$as_me:$LINENO: checking for isinff declaration" >&5
86710 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
86711   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
86712     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
86713   echo $ECHO_N "(cached) $ECHO_C" >&6
86714 else
86715
86716
86717
86718       ac_ext=cc
86719 ac_cpp='$CXXCPP $CPPFLAGS'
86720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86723
86724       cat >conftest.$ac_ext <<_ACEOF
86725 /* confdefs.h.  */
86726 _ACEOF
86727 cat confdefs.h >>conftest.$ac_ext
86728 cat >>conftest.$ac_ext <<_ACEOF
86729 /* end confdefs.h.  */
86730 #include <math.h>
86731                       #ifdef HAVE_IEEEFP_H
86732                       #include <ieeefp.h>
86733                       #endif
86734
86735 int
86736 main ()
86737 {
86738  isinff(0);
86739   ;
86740   return 0;
86741 }
86742 _ACEOF
86743 rm -f conftest.$ac_objext
86744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86745   (eval $ac_compile) 2>conftest.er1
86746   ac_status=$?
86747   grep -v '^ *+' conftest.er1 >conftest.err
86748   rm -f conftest.er1
86749   cat conftest.err >&5
86750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86751   (exit $ac_status); } &&
86752          { ac_try='test -z "$ac_cxx_werror_flag"
86753                          || test ! -s conftest.err'
86754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86755   (eval $ac_try) 2>&5
86756   ac_status=$?
86757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86758   (exit $ac_status); }; } &&
86759          { ac_try='test -s conftest.$ac_objext'
86760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86761   (eval $ac_try) 2>&5
86762   ac_status=$?
86763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86764   (exit $ac_status); }; }; then
86765   glibcxx_cv_func_isinff_use=yes
86766 else
86767   echo "$as_me: failed program was:" >&5
86768 sed 's/^/| /' conftest.$ac_ext >&5
86769
86770 glibcxx_cv_func_isinff_use=no
86771 fi
86772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86773       ac_ext=c
86774 ac_cpp='$CPP $CPPFLAGS'
86775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86778
86779
86780 fi
86781
86782   fi
86783   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
86784 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
86785
86786   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
86787
86788 for ac_func in isinff
86789 do
86790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86791 echo "$as_me:$LINENO: checking for $ac_func" >&5
86792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86793 if eval "test \"\${$as_ac_var+set}\" = set"; then
86794   echo $ECHO_N "(cached) $ECHO_C" >&6
86795 else
86796   if test x$gcc_no_link = xyes; then
86797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86799    { (exit 1); exit 1; }; }
86800 fi
86801 cat >conftest.$ac_ext <<_ACEOF
86802 /* confdefs.h.  */
86803 _ACEOF
86804 cat confdefs.h >>conftest.$ac_ext
86805 cat >>conftest.$ac_ext <<_ACEOF
86806 /* end confdefs.h.  */
86807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86809 #define $ac_func innocuous_$ac_func
86810
86811 /* System header to define __stub macros and hopefully few prototypes,
86812     which can conflict with char $ac_func (); below.
86813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86814     <limits.h> exists even on freestanding compilers.  */
86815
86816 #ifdef __STDC__
86817 # include <limits.h>
86818 #else
86819 # include <assert.h>
86820 #endif
86821
86822 #undef $ac_func
86823
86824 /* Override any gcc2 internal prototype to avoid an error.  */
86825 #ifdef __cplusplus
86826 extern "C"
86827 {
86828 #endif
86829 /* We use char because int might match the return type of a gcc2
86830    builtin and then its argument prototype would still apply.  */
86831 char $ac_func ();
86832 /* The GNU C library defines this for functions which it implements
86833     to always fail with ENOSYS.  Some functions are actually named
86834     something starting with __ and the normal name is an alias.  */
86835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86836 choke me
86837 #else
86838 char (*f) () = $ac_func;
86839 #endif
86840 #ifdef __cplusplus
86841 }
86842 #endif
86843
86844 int
86845 main ()
86846 {
86847 return f != $ac_func;
86848   ;
86849   return 0;
86850 }
86851 _ACEOF
86852 rm -f conftest.$ac_objext conftest$ac_exeext
86853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86854   (eval $ac_link) 2>conftest.er1
86855   ac_status=$?
86856   grep -v '^ *+' conftest.er1 >conftest.err
86857   rm -f conftest.er1
86858   cat conftest.err >&5
86859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86860   (exit $ac_status); } &&
86861          { ac_try='test -z "$ac_c_werror_flag"
86862                          || test ! -s conftest.err'
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); }; } &&
86868          { ac_try='test -s conftest$ac_exeext'
86869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86870   (eval $ac_try) 2>&5
86871   ac_status=$?
86872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86873   (exit $ac_status); }; }; then
86874   eval "$as_ac_var=yes"
86875 else
86876   echo "$as_me: failed program was:" >&5
86877 sed 's/^/| /' conftest.$ac_ext >&5
86878
86879 eval "$as_ac_var=no"
86880 fi
86881 rm -f conftest.err conftest.$ac_objext \
86882       conftest$ac_exeext conftest.$ac_ext
86883 fi
86884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86886 if test `eval echo '${'$as_ac_var'}'` = yes; then
86887   cat >>confdefs.h <<_ACEOF
86888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86889 _ACEOF
86890
86891 fi
86892 done
86893
86894   else
86895
86896   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
86897 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
86898   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
86899     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
86900   echo $ECHO_N "(cached) $ECHO_C" >&6
86901 else
86902
86903
86904
86905       ac_ext=cc
86906 ac_cpp='$CXXCPP $CPPFLAGS'
86907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86910
86911       cat >conftest.$ac_ext <<_ACEOF
86912 /* confdefs.h.  */
86913 _ACEOF
86914 cat confdefs.h >>conftest.$ac_ext
86915 cat >>conftest.$ac_ext <<_ACEOF
86916 /* end confdefs.h.  */
86917 #include <math.h>
86918                       #ifdef HAVE_IEEEFP_H
86919                       #include <ieeefp.h>
86920                       #endif
86921
86922 int
86923 main ()
86924 {
86925  _isinff(0);
86926   ;
86927   return 0;
86928 }
86929 _ACEOF
86930 rm -f conftest.$ac_objext
86931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86932   (eval $ac_compile) 2>conftest.er1
86933   ac_status=$?
86934   grep -v '^ *+' conftest.er1 >conftest.err
86935   rm -f conftest.er1
86936   cat conftest.err >&5
86937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86938   (exit $ac_status); } &&
86939          { ac_try='test -z "$ac_cxx_werror_flag"
86940                          || test ! -s conftest.err'
86941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86942   (eval $ac_try) 2>&5
86943   ac_status=$?
86944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86945   (exit $ac_status); }; } &&
86946          { ac_try='test -s conftest.$ac_objext'
86947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86948   (eval $ac_try) 2>&5
86949   ac_status=$?
86950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86951   (exit $ac_status); }; }; then
86952   glibcxx_cv_func__isinff_use=yes
86953 else
86954   echo "$as_me: failed program was:" >&5
86955 sed 's/^/| /' conftest.$ac_ext >&5
86956
86957 glibcxx_cv_func__isinff_use=no
86958 fi
86959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86960       ac_ext=c
86961 ac_cpp='$CPP $CPPFLAGS'
86962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86965
86966
86967 fi
86968
86969   fi
86970   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
86971 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
86972
86973     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
86974
86975 for ac_func in _isinff
86976 do
86977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86978 echo "$as_me:$LINENO: checking for $ac_func" >&5
86979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86980 if eval "test \"\${$as_ac_var+set}\" = set"; then
86981   echo $ECHO_N "(cached) $ECHO_C" >&6
86982 else
86983   if test x$gcc_no_link = xyes; then
86984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86986    { (exit 1); exit 1; }; }
86987 fi
86988 cat >conftest.$ac_ext <<_ACEOF
86989 /* confdefs.h.  */
86990 _ACEOF
86991 cat confdefs.h >>conftest.$ac_ext
86992 cat >>conftest.$ac_ext <<_ACEOF
86993 /* end confdefs.h.  */
86994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86996 #define $ac_func innocuous_$ac_func
86997
86998 /* System header to define __stub macros and hopefully few prototypes,
86999     which can conflict with char $ac_func (); below.
87000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87001     <limits.h> exists even on freestanding compilers.  */
87002
87003 #ifdef __STDC__
87004 # include <limits.h>
87005 #else
87006 # include <assert.h>
87007 #endif
87008
87009 #undef $ac_func
87010
87011 /* Override any gcc2 internal prototype to avoid an error.  */
87012 #ifdef __cplusplus
87013 extern "C"
87014 {
87015 #endif
87016 /* We use char because int might match the return type of a gcc2
87017    builtin and then its argument prototype would still apply.  */
87018 char $ac_func ();
87019 /* The GNU C library defines this for functions which it implements
87020     to always fail with ENOSYS.  Some functions are actually named
87021     something starting with __ and the normal name is an alias.  */
87022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87023 choke me
87024 #else
87025 char (*f) () = $ac_func;
87026 #endif
87027 #ifdef __cplusplus
87028 }
87029 #endif
87030
87031 int
87032 main ()
87033 {
87034 return f != $ac_func;
87035   ;
87036   return 0;
87037 }
87038 _ACEOF
87039 rm -f conftest.$ac_objext conftest$ac_exeext
87040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87041   (eval $ac_link) 2>conftest.er1
87042   ac_status=$?
87043   grep -v '^ *+' conftest.er1 >conftest.err
87044   rm -f conftest.er1
87045   cat conftest.err >&5
87046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87047   (exit $ac_status); } &&
87048          { ac_try='test -z "$ac_c_werror_flag"
87049                          || test ! -s conftest.err'
87050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87051   (eval $ac_try) 2>&5
87052   ac_status=$?
87053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87054   (exit $ac_status); }; } &&
87055          { ac_try='test -s conftest$ac_exeext'
87056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87057   (eval $ac_try) 2>&5
87058   ac_status=$?
87059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87060   (exit $ac_status); }; }; then
87061   eval "$as_ac_var=yes"
87062 else
87063   echo "$as_me: failed program was:" >&5
87064 sed 's/^/| /' conftest.$ac_ext >&5
87065
87066 eval "$as_ac_var=no"
87067 fi
87068 rm -f conftest.err conftest.$ac_objext \
87069       conftest$ac_exeext conftest.$ac_ext
87070 fi
87071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87073 if test `eval echo '${'$as_ac_var'}'` = yes; then
87074   cat >>confdefs.h <<_ACEOF
87075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87076 _ACEOF
87077
87078 fi
87079 done
87080
87081     fi
87082   fi
87083
87084
87085
87086
87087
87088
87089   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
87090 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
87091   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
87092     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
87093   echo $ECHO_N "(cached) $ECHO_C" >&6
87094 else
87095
87096
87097
87098       ac_ext=cc
87099 ac_cpp='$CXXCPP $CPPFLAGS'
87100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87103
87104       cat >conftest.$ac_ext <<_ACEOF
87105 /* confdefs.h.  */
87106 _ACEOF
87107 cat confdefs.h >>conftest.$ac_ext
87108 cat >>conftest.$ac_ext <<_ACEOF
87109 /* end confdefs.h.  */
87110 #include <math.h>
87111 int
87112 main ()
87113 {
87114  atan2f(0, 0);
87115   ;
87116   return 0;
87117 }
87118 _ACEOF
87119 rm -f conftest.$ac_objext
87120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87121   (eval $ac_compile) 2>conftest.er1
87122   ac_status=$?
87123   grep -v '^ *+' conftest.er1 >conftest.err
87124   rm -f conftest.er1
87125   cat conftest.err >&5
87126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87127   (exit $ac_status); } &&
87128          { ac_try='test -z "$ac_cxx_werror_flag"
87129                          || test ! -s conftest.err'
87130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87131   (eval $ac_try) 2>&5
87132   ac_status=$?
87133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134   (exit $ac_status); }; } &&
87135          { ac_try='test -s conftest.$ac_objext'
87136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87137   (eval $ac_try) 2>&5
87138   ac_status=$?
87139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140   (exit $ac_status); }; }; then
87141   glibcxx_cv_func_atan2f_use=yes
87142 else
87143   echo "$as_me: failed program was:" >&5
87144 sed 's/^/| /' conftest.$ac_ext >&5
87145
87146 glibcxx_cv_func_atan2f_use=no
87147 fi
87148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87149       ac_ext=c
87150 ac_cpp='$CPP $CPPFLAGS'
87151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87154
87155
87156 fi
87157
87158   fi
87159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
87160 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
87161
87162   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
87163
87164 for ac_func in atan2f
87165 do
87166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87167 echo "$as_me:$LINENO: checking for $ac_func" >&5
87168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87169 if eval "test \"\${$as_ac_var+set}\" = set"; then
87170   echo $ECHO_N "(cached) $ECHO_C" >&6
87171 else
87172   if test x$gcc_no_link = xyes; then
87173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87175    { (exit 1); exit 1; }; }
87176 fi
87177 cat >conftest.$ac_ext <<_ACEOF
87178 /* confdefs.h.  */
87179 _ACEOF
87180 cat confdefs.h >>conftest.$ac_ext
87181 cat >>conftest.$ac_ext <<_ACEOF
87182 /* end confdefs.h.  */
87183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87185 #define $ac_func innocuous_$ac_func
87186
87187 /* System header to define __stub macros and hopefully few prototypes,
87188     which can conflict with char $ac_func (); below.
87189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87190     <limits.h> exists even on freestanding compilers.  */
87191
87192 #ifdef __STDC__
87193 # include <limits.h>
87194 #else
87195 # include <assert.h>
87196 #endif
87197
87198 #undef $ac_func
87199
87200 /* Override any gcc2 internal prototype to avoid an error.  */
87201 #ifdef __cplusplus
87202 extern "C"
87203 {
87204 #endif
87205 /* We use char because int might match the return type of a gcc2
87206    builtin and then its argument prototype would still apply.  */
87207 char $ac_func ();
87208 /* The GNU C library defines this for functions which it implements
87209     to always fail with ENOSYS.  Some functions are actually named
87210     something starting with __ and the normal name is an alias.  */
87211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87212 choke me
87213 #else
87214 char (*f) () = $ac_func;
87215 #endif
87216 #ifdef __cplusplus
87217 }
87218 #endif
87219
87220 int
87221 main ()
87222 {
87223 return f != $ac_func;
87224   ;
87225   return 0;
87226 }
87227 _ACEOF
87228 rm -f conftest.$ac_objext conftest$ac_exeext
87229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87230   (eval $ac_link) 2>conftest.er1
87231   ac_status=$?
87232   grep -v '^ *+' conftest.er1 >conftest.err
87233   rm -f conftest.er1
87234   cat conftest.err >&5
87235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87236   (exit $ac_status); } &&
87237          { ac_try='test -z "$ac_c_werror_flag"
87238                          || test ! -s conftest.err'
87239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87240   (eval $ac_try) 2>&5
87241   ac_status=$?
87242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87243   (exit $ac_status); }; } &&
87244          { ac_try='test -s conftest$ac_exeext'
87245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87246   (eval $ac_try) 2>&5
87247   ac_status=$?
87248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87249   (exit $ac_status); }; }; then
87250   eval "$as_ac_var=yes"
87251 else
87252   echo "$as_me: failed program was:" >&5
87253 sed 's/^/| /' conftest.$ac_ext >&5
87254
87255 eval "$as_ac_var=no"
87256 fi
87257 rm -f conftest.err conftest.$ac_objext \
87258       conftest$ac_exeext conftest.$ac_ext
87259 fi
87260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87262 if test `eval echo '${'$as_ac_var'}'` = yes; then
87263   cat >>confdefs.h <<_ACEOF
87264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87265 _ACEOF
87266
87267 fi
87268 done
87269
87270   else
87271
87272   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
87273 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
87274   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
87275     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
87276   echo $ECHO_N "(cached) $ECHO_C" >&6
87277 else
87278
87279
87280
87281       ac_ext=cc
87282 ac_cpp='$CXXCPP $CPPFLAGS'
87283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87286
87287       cat >conftest.$ac_ext <<_ACEOF
87288 /* confdefs.h.  */
87289 _ACEOF
87290 cat confdefs.h >>conftest.$ac_ext
87291 cat >>conftest.$ac_ext <<_ACEOF
87292 /* end confdefs.h.  */
87293 #include <math.h>
87294 int
87295 main ()
87296 {
87297  _atan2f(0, 0);
87298   ;
87299   return 0;
87300 }
87301 _ACEOF
87302 rm -f conftest.$ac_objext
87303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87304   (eval $ac_compile) 2>conftest.er1
87305   ac_status=$?
87306   grep -v '^ *+' conftest.er1 >conftest.err
87307   rm -f conftest.er1
87308   cat conftest.err >&5
87309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87310   (exit $ac_status); } &&
87311          { ac_try='test -z "$ac_cxx_werror_flag"
87312                          || test ! -s conftest.err'
87313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87314   (eval $ac_try) 2>&5
87315   ac_status=$?
87316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87317   (exit $ac_status); }; } &&
87318          { ac_try='test -s conftest.$ac_objext'
87319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87320   (eval $ac_try) 2>&5
87321   ac_status=$?
87322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87323   (exit $ac_status); }; }; then
87324   glibcxx_cv_func__atan2f_use=yes
87325 else
87326   echo "$as_me: failed program was:" >&5
87327 sed 's/^/| /' conftest.$ac_ext >&5
87328
87329 glibcxx_cv_func__atan2f_use=no
87330 fi
87331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87332       ac_ext=c
87333 ac_cpp='$CPP $CPPFLAGS'
87334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87337
87338
87339 fi
87340
87341   fi
87342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
87343 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
87344
87345     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
87346
87347 for ac_func in _atan2f
87348 do
87349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87350 echo "$as_me:$LINENO: checking for $ac_func" >&5
87351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87352 if eval "test \"\${$as_ac_var+set}\" = set"; then
87353   echo $ECHO_N "(cached) $ECHO_C" >&6
87354 else
87355   if test x$gcc_no_link = xyes; then
87356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87358    { (exit 1); exit 1; }; }
87359 fi
87360 cat >conftest.$ac_ext <<_ACEOF
87361 /* confdefs.h.  */
87362 _ACEOF
87363 cat confdefs.h >>conftest.$ac_ext
87364 cat >>conftest.$ac_ext <<_ACEOF
87365 /* end confdefs.h.  */
87366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87368 #define $ac_func innocuous_$ac_func
87369
87370 /* System header to define __stub macros and hopefully few prototypes,
87371     which can conflict with char $ac_func (); below.
87372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87373     <limits.h> exists even on freestanding compilers.  */
87374
87375 #ifdef __STDC__
87376 # include <limits.h>
87377 #else
87378 # include <assert.h>
87379 #endif
87380
87381 #undef $ac_func
87382
87383 /* Override any gcc2 internal prototype to avoid an error.  */
87384 #ifdef __cplusplus
87385 extern "C"
87386 {
87387 #endif
87388 /* We use char because int might match the return type of a gcc2
87389    builtin and then its argument prototype would still apply.  */
87390 char $ac_func ();
87391 /* The GNU C library defines this for functions which it implements
87392     to always fail with ENOSYS.  Some functions are actually named
87393     something starting with __ and the normal name is an alias.  */
87394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87395 choke me
87396 #else
87397 char (*f) () = $ac_func;
87398 #endif
87399 #ifdef __cplusplus
87400 }
87401 #endif
87402
87403 int
87404 main ()
87405 {
87406 return f != $ac_func;
87407   ;
87408   return 0;
87409 }
87410 _ACEOF
87411 rm -f conftest.$ac_objext conftest$ac_exeext
87412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87413   (eval $ac_link) 2>conftest.er1
87414   ac_status=$?
87415   grep -v '^ *+' conftest.er1 >conftest.err
87416   rm -f conftest.er1
87417   cat conftest.err >&5
87418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87419   (exit $ac_status); } &&
87420          { ac_try='test -z "$ac_c_werror_flag"
87421                          || test ! -s conftest.err'
87422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87423   (eval $ac_try) 2>&5
87424   ac_status=$?
87425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87426   (exit $ac_status); }; } &&
87427          { ac_try='test -s conftest$ac_exeext'
87428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87429   (eval $ac_try) 2>&5
87430   ac_status=$?
87431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87432   (exit $ac_status); }; }; then
87433   eval "$as_ac_var=yes"
87434 else
87435   echo "$as_me: failed program was:" >&5
87436 sed 's/^/| /' conftest.$ac_ext >&5
87437
87438 eval "$as_ac_var=no"
87439 fi
87440 rm -f conftest.err conftest.$ac_objext \
87441       conftest$ac_exeext conftest.$ac_ext
87442 fi
87443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87445 if test `eval echo '${'$as_ac_var'}'` = yes; then
87446   cat >>confdefs.h <<_ACEOF
87447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87448 _ACEOF
87449
87450 fi
87451 done
87452
87453     fi
87454   fi
87455
87456
87457
87458
87459
87460
87461   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
87462 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
87463   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
87464     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
87465   echo $ECHO_N "(cached) $ECHO_C" >&6
87466 else
87467
87468
87469
87470       ac_ext=cc
87471 ac_cpp='$CXXCPP $CPPFLAGS'
87472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87475
87476       cat >conftest.$ac_ext <<_ACEOF
87477 /* confdefs.h.  */
87478 _ACEOF
87479 cat confdefs.h >>conftest.$ac_ext
87480 cat >>conftest.$ac_ext <<_ACEOF
87481 /* end confdefs.h.  */
87482 #include <math.h>
87483                       #ifdef HAVE_IEEEFP_H
87484                       #include <ieeefp.h>
87485                       #endif
87486
87487 int
87488 main ()
87489 {
87490  fabsf(0);
87491   ;
87492   return 0;
87493 }
87494 _ACEOF
87495 rm -f conftest.$ac_objext
87496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87497   (eval $ac_compile) 2>conftest.er1
87498   ac_status=$?
87499   grep -v '^ *+' conftest.er1 >conftest.err
87500   rm -f conftest.er1
87501   cat conftest.err >&5
87502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503   (exit $ac_status); } &&
87504          { ac_try='test -z "$ac_cxx_werror_flag"
87505                          || test ! -s conftest.err'
87506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87507   (eval $ac_try) 2>&5
87508   ac_status=$?
87509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87510   (exit $ac_status); }; } &&
87511          { ac_try='test -s conftest.$ac_objext'
87512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87513   (eval $ac_try) 2>&5
87514   ac_status=$?
87515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87516   (exit $ac_status); }; }; then
87517   glibcxx_cv_func_fabsf_use=yes
87518 else
87519   echo "$as_me: failed program was:" >&5
87520 sed 's/^/| /' conftest.$ac_ext >&5
87521
87522 glibcxx_cv_func_fabsf_use=no
87523 fi
87524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87525       ac_ext=c
87526 ac_cpp='$CPP $CPPFLAGS'
87527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87530
87531
87532 fi
87533
87534   fi
87535   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
87536 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
87537
87538   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
87539
87540 for ac_func in fabsf
87541 do
87542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87543 echo "$as_me:$LINENO: checking for $ac_func" >&5
87544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87545 if eval "test \"\${$as_ac_var+set}\" = set"; then
87546   echo $ECHO_N "(cached) $ECHO_C" >&6
87547 else
87548   if test x$gcc_no_link = xyes; then
87549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87551    { (exit 1); exit 1; }; }
87552 fi
87553 cat >conftest.$ac_ext <<_ACEOF
87554 /* confdefs.h.  */
87555 _ACEOF
87556 cat confdefs.h >>conftest.$ac_ext
87557 cat >>conftest.$ac_ext <<_ACEOF
87558 /* end confdefs.h.  */
87559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87561 #define $ac_func innocuous_$ac_func
87562
87563 /* System header to define __stub macros and hopefully few prototypes,
87564     which can conflict with char $ac_func (); below.
87565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87566     <limits.h> exists even on freestanding compilers.  */
87567
87568 #ifdef __STDC__
87569 # include <limits.h>
87570 #else
87571 # include <assert.h>
87572 #endif
87573
87574 #undef $ac_func
87575
87576 /* Override any gcc2 internal prototype to avoid an error.  */
87577 #ifdef __cplusplus
87578 extern "C"
87579 {
87580 #endif
87581 /* We use char because int might match the return type of a gcc2
87582    builtin and then its argument prototype would still apply.  */
87583 char $ac_func ();
87584 /* The GNU C library defines this for functions which it implements
87585     to always fail with ENOSYS.  Some functions are actually named
87586     something starting with __ and the normal name is an alias.  */
87587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87588 choke me
87589 #else
87590 char (*f) () = $ac_func;
87591 #endif
87592 #ifdef __cplusplus
87593 }
87594 #endif
87595
87596 int
87597 main ()
87598 {
87599 return f != $ac_func;
87600   ;
87601   return 0;
87602 }
87603 _ACEOF
87604 rm -f conftest.$ac_objext conftest$ac_exeext
87605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87606   (eval $ac_link) 2>conftest.er1
87607   ac_status=$?
87608   grep -v '^ *+' conftest.er1 >conftest.err
87609   rm -f conftest.er1
87610   cat conftest.err >&5
87611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87612   (exit $ac_status); } &&
87613          { ac_try='test -z "$ac_c_werror_flag"
87614                          || test ! -s conftest.err'
87615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87616   (eval $ac_try) 2>&5
87617   ac_status=$?
87618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87619   (exit $ac_status); }; } &&
87620          { ac_try='test -s conftest$ac_exeext'
87621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87622   (eval $ac_try) 2>&5
87623   ac_status=$?
87624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87625   (exit $ac_status); }; }; then
87626   eval "$as_ac_var=yes"
87627 else
87628   echo "$as_me: failed program was:" >&5
87629 sed 's/^/| /' conftest.$ac_ext >&5
87630
87631 eval "$as_ac_var=no"
87632 fi
87633 rm -f conftest.err conftest.$ac_objext \
87634       conftest$ac_exeext conftest.$ac_ext
87635 fi
87636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87638 if test `eval echo '${'$as_ac_var'}'` = yes; then
87639   cat >>confdefs.h <<_ACEOF
87640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87641 _ACEOF
87642
87643 fi
87644 done
87645
87646   else
87647
87648   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
87649 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
87650   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
87651     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
87652   echo $ECHO_N "(cached) $ECHO_C" >&6
87653 else
87654
87655
87656
87657       ac_ext=cc
87658 ac_cpp='$CXXCPP $CPPFLAGS'
87659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87662
87663       cat >conftest.$ac_ext <<_ACEOF
87664 /* confdefs.h.  */
87665 _ACEOF
87666 cat confdefs.h >>conftest.$ac_ext
87667 cat >>conftest.$ac_ext <<_ACEOF
87668 /* end confdefs.h.  */
87669 #include <math.h>
87670                       #ifdef HAVE_IEEEFP_H
87671                       #include <ieeefp.h>
87672                       #endif
87673
87674 int
87675 main ()
87676 {
87677  _fabsf(0);
87678   ;
87679   return 0;
87680 }
87681 _ACEOF
87682 rm -f conftest.$ac_objext
87683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87684   (eval $ac_compile) 2>conftest.er1
87685   ac_status=$?
87686   grep -v '^ *+' conftest.er1 >conftest.err
87687   rm -f conftest.er1
87688   cat conftest.err >&5
87689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87690   (exit $ac_status); } &&
87691          { ac_try='test -z "$ac_cxx_werror_flag"
87692                          || test ! -s conftest.err'
87693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87694   (eval $ac_try) 2>&5
87695   ac_status=$?
87696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87697   (exit $ac_status); }; } &&
87698          { ac_try='test -s conftest.$ac_objext'
87699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87700   (eval $ac_try) 2>&5
87701   ac_status=$?
87702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87703   (exit $ac_status); }; }; then
87704   glibcxx_cv_func__fabsf_use=yes
87705 else
87706   echo "$as_me: failed program was:" >&5
87707 sed 's/^/| /' conftest.$ac_ext >&5
87708
87709 glibcxx_cv_func__fabsf_use=no
87710 fi
87711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87712       ac_ext=c
87713 ac_cpp='$CPP $CPPFLAGS'
87714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87717
87718
87719 fi
87720
87721   fi
87722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
87723 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
87724
87725     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
87726
87727 for ac_func in _fabsf
87728 do
87729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87730 echo "$as_me:$LINENO: checking for $ac_func" >&5
87731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87732 if eval "test \"\${$as_ac_var+set}\" = set"; then
87733   echo $ECHO_N "(cached) $ECHO_C" >&6
87734 else
87735   if test x$gcc_no_link = xyes; then
87736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87738    { (exit 1); exit 1; }; }
87739 fi
87740 cat >conftest.$ac_ext <<_ACEOF
87741 /* confdefs.h.  */
87742 _ACEOF
87743 cat confdefs.h >>conftest.$ac_ext
87744 cat >>conftest.$ac_ext <<_ACEOF
87745 /* end confdefs.h.  */
87746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87748 #define $ac_func innocuous_$ac_func
87749
87750 /* System header to define __stub macros and hopefully few prototypes,
87751     which can conflict with char $ac_func (); below.
87752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87753     <limits.h> exists even on freestanding compilers.  */
87754
87755 #ifdef __STDC__
87756 # include <limits.h>
87757 #else
87758 # include <assert.h>
87759 #endif
87760
87761 #undef $ac_func
87762
87763 /* Override any gcc2 internal prototype to avoid an error.  */
87764 #ifdef __cplusplus
87765 extern "C"
87766 {
87767 #endif
87768 /* We use char because int might match the return type of a gcc2
87769    builtin and then its argument prototype would still apply.  */
87770 char $ac_func ();
87771 /* The GNU C library defines this for functions which it implements
87772     to always fail with ENOSYS.  Some functions are actually named
87773     something starting with __ and the normal name is an alias.  */
87774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87775 choke me
87776 #else
87777 char (*f) () = $ac_func;
87778 #endif
87779 #ifdef __cplusplus
87780 }
87781 #endif
87782
87783 int
87784 main ()
87785 {
87786 return f != $ac_func;
87787   ;
87788   return 0;
87789 }
87790 _ACEOF
87791 rm -f conftest.$ac_objext conftest$ac_exeext
87792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87793   (eval $ac_link) 2>conftest.er1
87794   ac_status=$?
87795   grep -v '^ *+' conftest.er1 >conftest.err
87796   rm -f conftest.er1
87797   cat conftest.err >&5
87798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87799   (exit $ac_status); } &&
87800          { ac_try='test -z "$ac_c_werror_flag"
87801                          || test ! -s conftest.err'
87802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87803   (eval $ac_try) 2>&5
87804   ac_status=$?
87805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87806   (exit $ac_status); }; } &&
87807          { ac_try='test -s conftest$ac_exeext'
87808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87809   (eval $ac_try) 2>&5
87810   ac_status=$?
87811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87812   (exit $ac_status); }; }; then
87813   eval "$as_ac_var=yes"
87814 else
87815   echo "$as_me: failed program was:" >&5
87816 sed 's/^/| /' conftest.$ac_ext >&5
87817
87818 eval "$as_ac_var=no"
87819 fi
87820 rm -f conftest.err conftest.$ac_objext \
87821       conftest$ac_exeext conftest.$ac_ext
87822 fi
87823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87825 if test `eval echo '${'$as_ac_var'}'` = yes; then
87826   cat >>confdefs.h <<_ACEOF
87827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87828 _ACEOF
87829
87830 fi
87831 done
87832
87833     fi
87834   fi
87835
87836
87837
87838
87839
87840
87841   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
87842 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
87843   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
87844     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
87845   echo $ECHO_N "(cached) $ECHO_C" >&6
87846 else
87847
87848
87849
87850       ac_ext=cc
87851 ac_cpp='$CXXCPP $CPPFLAGS'
87852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87855
87856       cat >conftest.$ac_ext <<_ACEOF
87857 /* confdefs.h.  */
87858 _ACEOF
87859 cat confdefs.h >>conftest.$ac_ext
87860 cat >>conftest.$ac_ext <<_ACEOF
87861 /* end confdefs.h.  */
87862 #include <math.h>
87863 int
87864 main ()
87865 {
87866  fmodf(0, 0);
87867   ;
87868   return 0;
87869 }
87870 _ACEOF
87871 rm -f conftest.$ac_objext
87872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87873   (eval $ac_compile) 2>conftest.er1
87874   ac_status=$?
87875   grep -v '^ *+' conftest.er1 >conftest.err
87876   rm -f conftest.er1
87877   cat conftest.err >&5
87878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87879   (exit $ac_status); } &&
87880          { ac_try='test -z "$ac_cxx_werror_flag"
87881                          || test ! -s conftest.err'
87882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87883   (eval $ac_try) 2>&5
87884   ac_status=$?
87885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87886   (exit $ac_status); }; } &&
87887          { ac_try='test -s conftest.$ac_objext'
87888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87889   (eval $ac_try) 2>&5
87890   ac_status=$?
87891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87892   (exit $ac_status); }; }; then
87893   glibcxx_cv_func_fmodf_use=yes
87894 else
87895   echo "$as_me: failed program was:" >&5
87896 sed 's/^/| /' conftest.$ac_ext >&5
87897
87898 glibcxx_cv_func_fmodf_use=no
87899 fi
87900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87901       ac_ext=c
87902 ac_cpp='$CPP $CPPFLAGS'
87903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87906
87907
87908 fi
87909
87910   fi
87911   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
87912 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
87913
87914   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
87915
87916 for ac_func in fmodf
87917 do
87918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87919 echo "$as_me:$LINENO: checking for $ac_func" >&5
87920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87921 if eval "test \"\${$as_ac_var+set}\" = set"; then
87922   echo $ECHO_N "(cached) $ECHO_C" >&6
87923 else
87924   if test x$gcc_no_link = xyes; then
87925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87927    { (exit 1); exit 1; }; }
87928 fi
87929 cat >conftest.$ac_ext <<_ACEOF
87930 /* confdefs.h.  */
87931 _ACEOF
87932 cat confdefs.h >>conftest.$ac_ext
87933 cat >>conftest.$ac_ext <<_ACEOF
87934 /* end confdefs.h.  */
87935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87937 #define $ac_func innocuous_$ac_func
87938
87939 /* System header to define __stub macros and hopefully few prototypes,
87940     which can conflict with char $ac_func (); below.
87941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87942     <limits.h> exists even on freestanding compilers.  */
87943
87944 #ifdef __STDC__
87945 # include <limits.h>
87946 #else
87947 # include <assert.h>
87948 #endif
87949
87950 #undef $ac_func
87951
87952 /* Override any gcc2 internal prototype to avoid an error.  */
87953 #ifdef __cplusplus
87954 extern "C"
87955 {
87956 #endif
87957 /* We use char because int might match the return type of a gcc2
87958    builtin and then its argument prototype would still apply.  */
87959 char $ac_func ();
87960 /* The GNU C library defines this for functions which it implements
87961     to always fail with ENOSYS.  Some functions are actually named
87962     something starting with __ and the normal name is an alias.  */
87963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87964 choke me
87965 #else
87966 char (*f) () = $ac_func;
87967 #endif
87968 #ifdef __cplusplus
87969 }
87970 #endif
87971
87972 int
87973 main ()
87974 {
87975 return f != $ac_func;
87976   ;
87977   return 0;
87978 }
87979 _ACEOF
87980 rm -f conftest.$ac_objext conftest$ac_exeext
87981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87982   (eval $ac_link) 2>conftest.er1
87983   ac_status=$?
87984   grep -v '^ *+' conftest.er1 >conftest.err
87985   rm -f conftest.er1
87986   cat conftest.err >&5
87987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87988   (exit $ac_status); } &&
87989          { ac_try='test -z "$ac_c_werror_flag"
87990                          || test ! -s conftest.err'
87991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87992   (eval $ac_try) 2>&5
87993   ac_status=$?
87994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87995   (exit $ac_status); }; } &&
87996          { ac_try='test -s conftest$ac_exeext'
87997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87998   (eval $ac_try) 2>&5
87999   ac_status=$?
88000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88001   (exit $ac_status); }; }; then
88002   eval "$as_ac_var=yes"
88003 else
88004   echo "$as_me: failed program was:" >&5
88005 sed 's/^/| /' conftest.$ac_ext >&5
88006
88007 eval "$as_ac_var=no"
88008 fi
88009 rm -f conftest.err conftest.$ac_objext \
88010       conftest$ac_exeext conftest.$ac_ext
88011 fi
88012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88014 if test `eval echo '${'$as_ac_var'}'` = yes; then
88015   cat >>confdefs.h <<_ACEOF
88016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88017 _ACEOF
88018
88019 fi
88020 done
88021
88022   else
88023
88024   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
88025 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
88026   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
88027     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
88028   echo $ECHO_N "(cached) $ECHO_C" >&6
88029 else
88030
88031
88032
88033       ac_ext=cc
88034 ac_cpp='$CXXCPP $CPPFLAGS'
88035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88038
88039       cat >conftest.$ac_ext <<_ACEOF
88040 /* confdefs.h.  */
88041 _ACEOF
88042 cat confdefs.h >>conftest.$ac_ext
88043 cat >>conftest.$ac_ext <<_ACEOF
88044 /* end confdefs.h.  */
88045 #include <math.h>
88046 int
88047 main ()
88048 {
88049  _fmodf(0, 0);
88050   ;
88051   return 0;
88052 }
88053 _ACEOF
88054 rm -f conftest.$ac_objext
88055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88056   (eval $ac_compile) 2>conftest.er1
88057   ac_status=$?
88058   grep -v '^ *+' conftest.er1 >conftest.err
88059   rm -f conftest.er1
88060   cat conftest.err >&5
88061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88062   (exit $ac_status); } &&
88063          { ac_try='test -z "$ac_cxx_werror_flag"
88064                          || test ! -s conftest.err'
88065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88066   (eval $ac_try) 2>&5
88067   ac_status=$?
88068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88069   (exit $ac_status); }; } &&
88070          { ac_try='test -s conftest.$ac_objext'
88071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88072   (eval $ac_try) 2>&5
88073   ac_status=$?
88074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88075   (exit $ac_status); }; }; then
88076   glibcxx_cv_func__fmodf_use=yes
88077 else
88078   echo "$as_me: failed program was:" >&5
88079 sed 's/^/| /' conftest.$ac_ext >&5
88080
88081 glibcxx_cv_func__fmodf_use=no
88082 fi
88083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88084       ac_ext=c
88085 ac_cpp='$CPP $CPPFLAGS'
88086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88089
88090
88091 fi
88092
88093   fi
88094   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
88095 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
88096
88097     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
88098
88099 for ac_func in _fmodf
88100 do
88101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88102 echo "$as_me:$LINENO: checking for $ac_func" >&5
88103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88104 if eval "test \"\${$as_ac_var+set}\" = set"; then
88105   echo $ECHO_N "(cached) $ECHO_C" >&6
88106 else
88107   if test x$gcc_no_link = xyes; then
88108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88110    { (exit 1); exit 1; }; }
88111 fi
88112 cat >conftest.$ac_ext <<_ACEOF
88113 /* confdefs.h.  */
88114 _ACEOF
88115 cat confdefs.h >>conftest.$ac_ext
88116 cat >>conftest.$ac_ext <<_ACEOF
88117 /* end confdefs.h.  */
88118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88120 #define $ac_func innocuous_$ac_func
88121
88122 /* System header to define __stub macros and hopefully few prototypes,
88123     which can conflict with char $ac_func (); below.
88124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88125     <limits.h> exists even on freestanding compilers.  */
88126
88127 #ifdef __STDC__
88128 # include <limits.h>
88129 #else
88130 # include <assert.h>
88131 #endif
88132
88133 #undef $ac_func
88134
88135 /* Override any gcc2 internal prototype to avoid an error.  */
88136 #ifdef __cplusplus
88137 extern "C"
88138 {
88139 #endif
88140 /* We use char because int might match the return type of a gcc2
88141    builtin and then its argument prototype would still apply.  */
88142 char $ac_func ();
88143 /* The GNU C library defines this for functions which it implements
88144     to always fail with ENOSYS.  Some functions are actually named
88145     something starting with __ and the normal name is an alias.  */
88146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88147 choke me
88148 #else
88149 char (*f) () = $ac_func;
88150 #endif
88151 #ifdef __cplusplus
88152 }
88153 #endif
88154
88155 int
88156 main ()
88157 {
88158 return f != $ac_func;
88159   ;
88160   return 0;
88161 }
88162 _ACEOF
88163 rm -f conftest.$ac_objext conftest$ac_exeext
88164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88165   (eval $ac_link) 2>conftest.er1
88166   ac_status=$?
88167   grep -v '^ *+' conftest.er1 >conftest.err
88168   rm -f conftest.er1
88169   cat conftest.err >&5
88170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88171   (exit $ac_status); } &&
88172          { ac_try='test -z "$ac_c_werror_flag"
88173                          || test ! -s conftest.err'
88174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88175   (eval $ac_try) 2>&5
88176   ac_status=$?
88177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88178   (exit $ac_status); }; } &&
88179          { ac_try='test -s conftest$ac_exeext'
88180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88181   (eval $ac_try) 2>&5
88182   ac_status=$?
88183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184   (exit $ac_status); }; }; then
88185   eval "$as_ac_var=yes"
88186 else
88187   echo "$as_me: failed program was:" >&5
88188 sed 's/^/| /' conftest.$ac_ext >&5
88189
88190 eval "$as_ac_var=no"
88191 fi
88192 rm -f conftest.err conftest.$ac_objext \
88193       conftest$ac_exeext conftest.$ac_ext
88194 fi
88195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88197 if test `eval echo '${'$as_ac_var'}'` = yes; then
88198   cat >>confdefs.h <<_ACEOF
88199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88200 _ACEOF
88201
88202 fi
88203 done
88204
88205     fi
88206   fi
88207
88208
88209
88210
88211
88212
88213   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
88214 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
88215   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
88216     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
88217   echo $ECHO_N "(cached) $ECHO_C" >&6
88218 else
88219
88220
88221
88222       ac_ext=cc
88223 ac_cpp='$CXXCPP $CPPFLAGS'
88224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88227
88228       cat >conftest.$ac_ext <<_ACEOF
88229 /* confdefs.h.  */
88230 _ACEOF
88231 cat confdefs.h >>conftest.$ac_ext
88232 cat >>conftest.$ac_ext <<_ACEOF
88233 /* end confdefs.h.  */
88234 #include <math.h>
88235 int
88236 main ()
88237 {
88238  frexpf(0, 0);
88239   ;
88240   return 0;
88241 }
88242 _ACEOF
88243 rm -f conftest.$ac_objext
88244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88245   (eval $ac_compile) 2>conftest.er1
88246   ac_status=$?
88247   grep -v '^ *+' conftest.er1 >conftest.err
88248   rm -f conftest.er1
88249   cat conftest.err >&5
88250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88251   (exit $ac_status); } &&
88252          { ac_try='test -z "$ac_cxx_werror_flag"
88253                          || test ! -s conftest.err'
88254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88255   (eval $ac_try) 2>&5
88256   ac_status=$?
88257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88258   (exit $ac_status); }; } &&
88259          { ac_try='test -s conftest.$ac_objext'
88260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88261   (eval $ac_try) 2>&5
88262   ac_status=$?
88263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88264   (exit $ac_status); }; }; then
88265   glibcxx_cv_func_frexpf_use=yes
88266 else
88267   echo "$as_me: failed program was:" >&5
88268 sed 's/^/| /' conftest.$ac_ext >&5
88269
88270 glibcxx_cv_func_frexpf_use=no
88271 fi
88272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88273       ac_ext=c
88274 ac_cpp='$CPP $CPPFLAGS'
88275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88278
88279
88280 fi
88281
88282   fi
88283   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
88284 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
88285
88286   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
88287
88288 for ac_func in frexpf
88289 do
88290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88291 echo "$as_me:$LINENO: checking for $ac_func" >&5
88292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88293 if eval "test \"\${$as_ac_var+set}\" = set"; then
88294   echo $ECHO_N "(cached) $ECHO_C" >&6
88295 else
88296   if test x$gcc_no_link = xyes; then
88297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88299    { (exit 1); exit 1; }; }
88300 fi
88301 cat >conftest.$ac_ext <<_ACEOF
88302 /* confdefs.h.  */
88303 _ACEOF
88304 cat confdefs.h >>conftest.$ac_ext
88305 cat >>conftest.$ac_ext <<_ACEOF
88306 /* end confdefs.h.  */
88307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88309 #define $ac_func innocuous_$ac_func
88310
88311 /* System header to define __stub macros and hopefully few prototypes,
88312     which can conflict with char $ac_func (); below.
88313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88314     <limits.h> exists even on freestanding compilers.  */
88315
88316 #ifdef __STDC__
88317 # include <limits.h>
88318 #else
88319 # include <assert.h>
88320 #endif
88321
88322 #undef $ac_func
88323
88324 /* Override any gcc2 internal prototype to avoid an error.  */
88325 #ifdef __cplusplus
88326 extern "C"
88327 {
88328 #endif
88329 /* We use char because int might match the return type of a gcc2
88330    builtin and then its argument prototype would still apply.  */
88331 char $ac_func ();
88332 /* The GNU C library defines this for functions which it implements
88333     to always fail with ENOSYS.  Some functions are actually named
88334     something starting with __ and the normal name is an alias.  */
88335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88336 choke me
88337 #else
88338 char (*f) () = $ac_func;
88339 #endif
88340 #ifdef __cplusplus
88341 }
88342 #endif
88343
88344 int
88345 main ()
88346 {
88347 return f != $ac_func;
88348   ;
88349   return 0;
88350 }
88351 _ACEOF
88352 rm -f conftest.$ac_objext conftest$ac_exeext
88353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88354   (eval $ac_link) 2>conftest.er1
88355   ac_status=$?
88356   grep -v '^ *+' conftest.er1 >conftest.err
88357   rm -f conftest.er1
88358   cat conftest.err >&5
88359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88360   (exit $ac_status); } &&
88361          { ac_try='test -z "$ac_c_werror_flag"
88362                          || test ! -s conftest.err'
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); }; } &&
88368          { ac_try='test -s conftest$ac_exeext'
88369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88370   (eval $ac_try) 2>&5
88371   ac_status=$?
88372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88373   (exit $ac_status); }; }; then
88374   eval "$as_ac_var=yes"
88375 else
88376   echo "$as_me: failed program was:" >&5
88377 sed 's/^/| /' conftest.$ac_ext >&5
88378
88379 eval "$as_ac_var=no"
88380 fi
88381 rm -f conftest.err conftest.$ac_objext \
88382       conftest$ac_exeext conftest.$ac_ext
88383 fi
88384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88386 if test `eval echo '${'$as_ac_var'}'` = yes; then
88387   cat >>confdefs.h <<_ACEOF
88388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88389 _ACEOF
88390
88391 fi
88392 done
88393
88394   else
88395
88396   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
88397 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
88398   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
88399     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
88400   echo $ECHO_N "(cached) $ECHO_C" >&6
88401 else
88402
88403
88404
88405       ac_ext=cc
88406 ac_cpp='$CXXCPP $CPPFLAGS'
88407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88410
88411       cat >conftest.$ac_ext <<_ACEOF
88412 /* confdefs.h.  */
88413 _ACEOF
88414 cat confdefs.h >>conftest.$ac_ext
88415 cat >>conftest.$ac_ext <<_ACEOF
88416 /* end confdefs.h.  */
88417 #include <math.h>
88418 int
88419 main ()
88420 {
88421  _frexpf(0, 0);
88422   ;
88423   return 0;
88424 }
88425 _ACEOF
88426 rm -f conftest.$ac_objext
88427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88428   (eval $ac_compile) 2>conftest.er1
88429   ac_status=$?
88430   grep -v '^ *+' conftest.er1 >conftest.err
88431   rm -f conftest.er1
88432   cat conftest.err >&5
88433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88434   (exit $ac_status); } &&
88435          { ac_try='test -z "$ac_cxx_werror_flag"
88436                          || test ! -s conftest.err'
88437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88438   (eval $ac_try) 2>&5
88439   ac_status=$?
88440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88441   (exit $ac_status); }; } &&
88442          { ac_try='test -s conftest.$ac_objext'
88443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88444   (eval $ac_try) 2>&5
88445   ac_status=$?
88446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88447   (exit $ac_status); }; }; then
88448   glibcxx_cv_func__frexpf_use=yes
88449 else
88450   echo "$as_me: failed program was:" >&5
88451 sed 's/^/| /' conftest.$ac_ext >&5
88452
88453 glibcxx_cv_func__frexpf_use=no
88454 fi
88455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88456       ac_ext=c
88457 ac_cpp='$CPP $CPPFLAGS'
88458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88461
88462
88463 fi
88464
88465   fi
88466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
88467 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
88468
88469     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
88470
88471 for ac_func in _frexpf
88472 do
88473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88474 echo "$as_me:$LINENO: checking for $ac_func" >&5
88475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88476 if eval "test \"\${$as_ac_var+set}\" = set"; then
88477   echo $ECHO_N "(cached) $ECHO_C" >&6
88478 else
88479   if test x$gcc_no_link = xyes; then
88480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88482    { (exit 1); exit 1; }; }
88483 fi
88484 cat >conftest.$ac_ext <<_ACEOF
88485 /* confdefs.h.  */
88486 _ACEOF
88487 cat confdefs.h >>conftest.$ac_ext
88488 cat >>conftest.$ac_ext <<_ACEOF
88489 /* end confdefs.h.  */
88490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88492 #define $ac_func innocuous_$ac_func
88493
88494 /* System header to define __stub macros and hopefully few prototypes,
88495     which can conflict with char $ac_func (); below.
88496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88497     <limits.h> exists even on freestanding compilers.  */
88498
88499 #ifdef __STDC__
88500 # include <limits.h>
88501 #else
88502 # include <assert.h>
88503 #endif
88504
88505 #undef $ac_func
88506
88507 /* Override any gcc2 internal prototype to avoid an error.  */
88508 #ifdef __cplusplus
88509 extern "C"
88510 {
88511 #endif
88512 /* We use char because int might match the return type of a gcc2
88513    builtin and then its argument prototype would still apply.  */
88514 char $ac_func ();
88515 /* The GNU C library defines this for functions which it implements
88516     to always fail with ENOSYS.  Some functions are actually named
88517     something starting with __ and the normal name is an alias.  */
88518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88519 choke me
88520 #else
88521 char (*f) () = $ac_func;
88522 #endif
88523 #ifdef __cplusplus
88524 }
88525 #endif
88526
88527 int
88528 main ()
88529 {
88530 return f != $ac_func;
88531   ;
88532   return 0;
88533 }
88534 _ACEOF
88535 rm -f conftest.$ac_objext conftest$ac_exeext
88536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88537   (eval $ac_link) 2>conftest.er1
88538   ac_status=$?
88539   grep -v '^ *+' conftest.er1 >conftest.err
88540   rm -f conftest.er1
88541   cat conftest.err >&5
88542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88543   (exit $ac_status); } &&
88544          { ac_try='test -z "$ac_c_werror_flag"
88545                          || test ! -s conftest.err'
88546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88547   (eval $ac_try) 2>&5
88548   ac_status=$?
88549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88550   (exit $ac_status); }; } &&
88551          { ac_try='test -s conftest$ac_exeext'
88552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88553   (eval $ac_try) 2>&5
88554   ac_status=$?
88555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88556   (exit $ac_status); }; }; then
88557   eval "$as_ac_var=yes"
88558 else
88559   echo "$as_me: failed program was:" >&5
88560 sed 's/^/| /' conftest.$ac_ext >&5
88561
88562 eval "$as_ac_var=no"
88563 fi
88564 rm -f conftest.err conftest.$ac_objext \
88565       conftest$ac_exeext conftest.$ac_ext
88566 fi
88567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88569 if test `eval echo '${'$as_ac_var'}'` = yes; then
88570   cat >>confdefs.h <<_ACEOF
88571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88572 _ACEOF
88573
88574 fi
88575 done
88576
88577     fi
88578   fi
88579
88580
88581
88582
88583
88584
88585   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
88586 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
88587   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
88588     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
88589   echo $ECHO_N "(cached) $ECHO_C" >&6
88590 else
88591
88592
88593
88594       ac_ext=cc
88595 ac_cpp='$CXXCPP $CPPFLAGS'
88596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88599
88600       cat >conftest.$ac_ext <<_ACEOF
88601 /* confdefs.h.  */
88602 _ACEOF
88603 cat confdefs.h >>conftest.$ac_ext
88604 cat >>conftest.$ac_ext <<_ACEOF
88605 /* end confdefs.h.  */
88606 #include <math.h>
88607 int
88608 main ()
88609 {
88610  hypotf(0, 0);
88611   ;
88612   return 0;
88613 }
88614 _ACEOF
88615 rm -f conftest.$ac_objext
88616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88617   (eval $ac_compile) 2>conftest.er1
88618   ac_status=$?
88619   grep -v '^ *+' conftest.er1 >conftest.err
88620   rm -f conftest.er1
88621   cat conftest.err >&5
88622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88623   (exit $ac_status); } &&
88624          { ac_try='test -z "$ac_cxx_werror_flag"
88625                          || test ! -s conftest.err'
88626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88627   (eval $ac_try) 2>&5
88628   ac_status=$?
88629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88630   (exit $ac_status); }; } &&
88631          { ac_try='test -s conftest.$ac_objext'
88632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88633   (eval $ac_try) 2>&5
88634   ac_status=$?
88635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88636   (exit $ac_status); }; }; then
88637   glibcxx_cv_func_hypotf_use=yes
88638 else
88639   echo "$as_me: failed program was:" >&5
88640 sed 's/^/| /' conftest.$ac_ext >&5
88641
88642 glibcxx_cv_func_hypotf_use=no
88643 fi
88644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88645       ac_ext=c
88646 ac_cpp='$CPP $CPPFLAGS'
88647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88650
88651
88652 fi
88653
88654   fi
88655   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
88656 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
88657
88658   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
88659
88660 for ac_func in hypotf
88661 do
88662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88663 echo "$as_me:$LINENO: checking for $ac_func" >&5
88664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88665 if eval "test \"\${$as_ac_var+set}\" = set"; then
88666   echo $ECHO_N "(cached) $ECHO_C" >&6
88667 else
88668   if test x$gcc_no_link = xyes; then
88669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88671    { (exit 1); exit 1; }; }
88672 fi
88673 cat >conftest.$ac_ext <<_ACEOF
88674 /* confdefs.h.  */
88675 _ACEOF
88676 cat confdefs.h >>conftest.$ac_ext
88677 cat >>conftest.$ac_ext <<_ACEOF
88678 /* end confdefs.h.  */
88679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88681 #define $ac_func innocuous_$ac_func
88682
88683 /* System header to define __stub macros and hopefully few prototypes,
88684     which can conflict with char $ac_func (); below.
88685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88686     <limits.h> exists even on freestanding compilers.  */
88687
88688 #ifdef __STDC__
88689 # include <limits.h>
88690 #else
88691 # include <assert.h>
88692 #endif
88693
88694 #undef $ac_func
88695
88696 /* Override any gcc2 internal prototype to avoid an error.  */
88697 #ifdef __cplusplus
88698 extern "C"
88699 {
88700 #endif
88701 /* We use char because int might match the return type of a gcc2
88702    builtin and then its argument prototype would still apply.  */
88703 char $ac_func ();
88704 /* The GNU C library defines this for functions which it implements
88705     to always fail with ENOSYS.  Some functions are actually named
88706     something starting with __ and the normal name is an alias.  */
88707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88708 choke me
88709 #else
88710 char (*f) () = $ac_func;
88711 #endif
88712 #ifdef __cplusplus
88713 }
88714 #endif
88715
88716 int
88717 main ()
88718 {
88719 return f != $ac_func;
88720   ;
88721   return 0;
88722 }
88723 _ACEOF
88724 rm -f conftest.$ac_objext conftest$ac_exeext
88725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88726   (eval $ac_link) 2>conftest.er1
88727   ac_status=$?
88728   grep -v '^ *+' conftest.er1 >conftest.err
88729   rm -f conftest.er1
88730   cat conftest.err >&5
88731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88732   (exit $ac_status); } &&
88733          { ac_try='test -z "$ac_c_werror_flag"
88734                          || test ! -s conftest.err'
88735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88736   (eval $ac_try) 2>&5
88737   ac_status=$?
88738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88739   (exit $ac_status); }; } &&
88740          { ac_try='test -s conftest$ac_exeext'
88741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88742   (eval $ac_try) 2>&5
88743   ac_status=$?
88744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88745   (exit $ac_status); }; }; then
88746   eval "$as_ac_var=yes"
88747 else
88748   echo "$as_me: failed program was:" >&5
88749 sed 's/^/| /' conftest.$ac_ext >&5
88750
88751 eval "$as_ac_var=no"
88752 fi
88753 rm -f conftest.err conftest.$ac_objext \
88754       conftest$ac_exeext conftest.$ac_ext
88755 fi
88756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88758 if test `eval echo '${'$as_ac_var'}'` = yes; then
88759   cat >>confdefs.h <<_ACEOF
88760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88761 _ACEOF
88762
88763 fi
88764 done
88765
88766   else
88767
88768   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
88769 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
88770   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
88771     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
88772   echo $ECHO_N "(cached) $ECHO_C" >&6
88773 else
88774
88775
88776
88777       ac_ext=cc
88778 ac_cpp='$CXXCPP $CPPFLAGS'
88779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88782
88783       cat >conftest.$ac_ext <<_ACEOF
88784 /* confdefs.h.  */
88785 _ACEOF
88786 cat confdefs.h >>conftest.$ac_ext
88787 cat >>conftest.$ac_ext <<_ACEOF
88788 /* end confdefs.h.  */
88789 #include <math.h>
88790 int
88791 main ()
88792 {
88793  _hypotf(0, 0);
88794   ;
88795   return 0;
88796 }
88797 _ACEOF
88798 rm -f conftest.$ac_objext
88799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88800   (eval $ac_compile) 2>conftest.er1
88801   ac_status=$?
88802   grep -v '^ *+' conftest.er1 >conftest.err
88803   rm -f conftest.er1
88804   cat conftest.err >&5
88805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88806   (exit $ac_status); } &&
88807          { ac_try='test -z "$ac_cxx_werror_flag"
88808                          || test ! -s conftest.err'
88809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88810   (eval $ac_try) 2>&5
88811   ac_status=$?
88812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88813   (exit $ac_status); }; } &&
88814          { ac_try='test -s conftest.$ac_objext'
88815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88816   (eval $ac_try) 2>&5
88817   ac_status=$?
88818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88819   (exit $ac_status); }; }; then
88820   glibcxx_cv_func__hypotf_use=yes
88821 else
88822   echo "$as_me: failed program was:" >&5
88823 sed 's/^/| /' conftest.$ac_ext >&5
88824
88825 glibcxx_cv_func__hypotf_use=no
88826 fi
88827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88828       ac_ext=c
88829 ac_cpp='$CPP $CPPFLAGS'
88830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88833
88834
88835 fi
88836
88837   fi
88838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
88839 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
88840
88841     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
88842
88843 for ac_func in _hypotf
88844 do
88845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88846 echo "$as_me:$LINENO: checking for $ac_func" >&5
88847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88848 if eval "test \"\${$as_ac_var+set}\" = set"; then
88849   echo $ECHO_N "(cached) $ECHO_C" >&6
88850 else
88851   if test x$gcc_no_link = xyes; then
88852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88854    { (exit 1); exit 1; }; }
88855 fi
88856 cat >conftest.$ac_ext <<_ACEOF
88857 /* confdefs.h.  */
88858 _ACEOF
88859 cat confdefs.h >>conftest.$ac_ext
88860 cat >>conftest.$ac_ext <<_ACEOF
88861 /* end confdefs.h.  */
88862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88864 #define $ac_func innocuous_$ac_func
88865
88866 /* System header to define __stub macros and hopefully few prototypes,
88867     which can conflict with char $ac_func (); below.
88868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88869     <limits.h> exists even on freestanding compilers.  */
88870
88871 #ifdef __STDC__
88872 # include <limits.h>
88873 #else
88874 # include <assert.h>
88875 #endif
88876
88877 #undef $ac_func
88878
88879 /* Override any gcc2 internal prototype to avoid an error.  */
88880 #ifdef __cplusplus
88881 extern "C"
88882 {
88883 #endif
88884 /* We use char because int might match the return type of a gcc2
88885    builtin and then its argument prototype would still apply.  */
88886 char $ac_func ();
88887 /* The GNU C library defines this for functions which it implements
88888     to always fail with ENOSYS.  Some functions are actually named
88889     something starting with __ and the normal name is an alias.  */
88890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88891 choke me
88892 #else
88893 char (*f) () = $ac_func;
88894 #endif
88895 #ifdef __cplusplus
88896 }
88897 #endif
88898
88899 int
88900 main ()
88901 {
88902 return f != $ac_func;
88903   ;
88904   return 0;
88905 }
88906 _ACEOF
88907 rm -f conftest.$ac_objext conftest$ac_exeext
88908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88909   (eval $ac_link) 2>conftest.er1
88910   ac_status=$?
88911   grep -v '^ *+' conftest.er1 >conftest.err
88912   rm -f conftest.er1
88913   cat conftest.err >&5
88914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88915   (exit $ac_status); } &&
88916          { ac_try='test -z "$ac_c_werror_flag"
88917                          || test ! -s conftest.err'
88918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88919   (eval $ac_try) 2>&5
88920   ac_status=$?
88921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88922   (exit $ac_status); }; } &&
88923          { ac_try='test -s conftest$ac_exeext'
88924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88925   (eval $ac_try) 2>&5
88926   ac_status=$?
88927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88928   (exit $ac_status); }; }; then
88929   eval "$as_ac_var=yes"
88930 else
88931   echo "$as_me: failed program was:" >&5
88932 sed 's/^/| /' conftest.$ac_ext >&5
88933
88934 eval "$as_ac_var=no"
88935 fi
88936 rm -f conftest.err conftest.$ac_objext \
88937       conftest$ac_exeext conftest.$ac_ext
88938 fi
88939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88941 if test `eval echo '${'$as_ac_var'}'` = yes; then
88942   cat >>confdefs.h <<_ACEOF
88943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88944 _ACEOF
88945
88946 fi
88947 done
88948
88949     fi
88950   fi
88951
88952
88953
88954
88955
88956
88957   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
88958 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
88959   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
88960     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
88961   echo $ECHO_N "(cached) $ECHO_C" >&6
88962 else
88963
88964
88965
88966       ac_ext=cc
88967 ac_cpp='$CXXCPP $CPPFLAGS'
88968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88971
88972       cat >conftest.$ac_ext <<_ACEOF
88973 /* confdefs.h.  */
88974 _ACEOF
88975 cat confdefs.h >>conftest.$ac_ext
88976 cat >>conftest.$ac_ext <<_ACEOF
88977 /* end confdefs.h.  */
88978 #include <math.h>
88979 int
88980 main ()
88981 {
88982  ldexpf(0, 0);
88983   ;
88984   return 0;
88985 }
88986 _ACEOF
88987 rm -f conftest.$ac_objext
88988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88989   (eval $ac_compile) 2>conftest.er1
88990   ac_status=$?
88991   grep -v '^ *+' conftest.er1 >conftest.err
88992   rm -f conftest.er1
88993   cat conftest.err >&5
88994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88995   (exit $ac_status); } &&
88996          { ac_try='test -z "$ac_cxx_werror_flag"
88997                          || test ! -s conftest.err'
88998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88999   (eval $ac_try) 2>&5
89000   ac_status=$?
89001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89002   (exit $ac_status); }; } &&
89003          { ac_try='test -s conftest.$ac_objext'
89004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89005   (eval $ac_try) 2>&5
89006   ac_status=$?
89007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89008   (exit $ac_status); }; }; then
89009   glibcxx_cv_func_ldexpf_use=yes
89010 else
89011   echo "$as_me: failed program was:" >&5
89012 sed 's/^/| /' conftest.$ac_ext >&5
89013
89014 glibcxx_cv_func_ldexpf_use=no
89015 fi
89016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89017       ac_ext=c
89018 ac_cpp='$CPP $CPPFLAGS'
89019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89022
89023
89024 fi
89025
89026   fi
89027   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
89028 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
89029
89030   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
89031
89032 for ac_func in ldexpf
89033 do
89034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89035 echo "$as_me:$LINENO: checking for $ac_func" >&5
89036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89037 if eval "test \"\${$as_ac_var+set}\" = set"; then
89038   echo $ECHO_N "(cached) $ECHO_C" >&6
89039 else
89040   if test x$gcc_no_link = xyes; then
89041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89043    { (exit 1); exit 1; }; }
89044 fi
89045 cat >conftest.$ac_ext <<_ACEOF
89046 /* confdefs.h.  */
89047 _ACEOF
89048 cat confdefs.h >>conftest.$ac_ext
89049 cat >>conftest.$ac_ext <<_ACEOF
89050 /* end confdefs.h.  */
89051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89052    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89053 #define $ac_func innocuous_$ac_func
89054
89055 /* System header to define __stub macros and hopefully few prototypes,
89056     which can conflict with char $ac_func (); below.
89057     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89058     <limits.h> exists even on freestanding compilers.  */
89059
89060 #ifdef __STDC__
89061 # include <limits.h>
89062 #else
89063 # include <assert.h>
89064 #endif
89065
89066 #undef $ac_func
89067
89068 /* Override any gcc2 internal prototype to avoid an error.  */
89069 #ifdef __cplusplus
89070 extern "C"
89071 {
89072 #endif
89073 /* We use char because int might match the return type of a gcc2
89074    builtin and then its argument prototype would still apply.  */
89075 char $ac_func ();
89076 /* The GNU C library defines this for functions which it implements
89077     to always fail with ENOSYS.  Some functions are actually named
89078     something starting with __ and the normal name is an alias.  */
89079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89080 choke me
89081 #else
89082 char (*f) () = $ac_func;
89083 #endif
89084 #ifdef __cplusplus
89085 }
89086 #endif
89087
89088 int
89089 main ()
89090 {
89091 return f != $ac_func;
89092   ;
89093   return 0;
89094 }
89095 _ACEOF
89096 rm -f conftest.$ac_objext conftest$ac_exeext
89097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89098   (eval $ac_link) 2>conftest.er1
89099   ac_status=$?
89100   grep -v '^ *+' conftest.er1 >conftest.err
89101   rm -f conftest.er1
89102   cat conftest.err >&5
89103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89104   (exit $ac_status); } &&
89105          { ac_try='test -z "$ac_c_werror_flag"
89106                          || test ! -s conftest.err'
89107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89108   (eval $ac_try) 2>&5
89109   ac_status=$?
89110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89111   (exit $ac_status); }; } &&
89112          { ac_try='test -s conftest$ac_exeext'
89113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89114   (eval $ac_try) 2>&5
89115   ac_status=$?
89116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89117   (exit $ac_status); }; }; then
89118   eval "$as_ac_var=yes"
89119 else
89120   echo "$as_me: failed program was:" >&5
89121 sed 's/^/| /' conftest.$ac_ext >&5
89122
89123 eval "$as_ac_var=no"
89124 fi
89125 rm -f conftest.err conftest.$ac_objext \
89126       conftest$ac_exeext conftest.$ac_ext
89127 fi
89128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89130 if test `eval echo '${'$as_ac_var'}'` = yes; then
89131   cat >>confdefs.h <<_ACEOF
89132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89133 _ACEOF
89134
89135 fi
89136 done
89137
89138   else
89139
89140   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
89141 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
89142   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
89143     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
89144   echo $ECHO_N "(cached) $ECHO_C" >&6
89145 else
89146
89147
89148
89149       ac_ext=cc
89150 ac_cpp='$CXXCPP $CPPFLAGS'
89151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89154
89155       cat >conftest.$ac_ext <<_ACEOF
89156 /* confdefs.h.  */
89157 _ACEOF
89158 cat confdefs.h >>conftest.$ac_ext
89159 cat >>conftest.$ac_ext <<_ACEOF
89160 /* end confdefs.h.  */
89161 #include <math.h>
89162 int
89163 main ()
89164 {
89165  _ldexpf(0, 0);
89166   ;
89167   return 0;
89168 }
89169 _ACEOF
89170 rm -f conftest.$ac_objext
89171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89172   (eval $ac_compile) 2>conftest.er1
89173   ac_status=$?
89174   grep -v '^ *+' conftest.er1 >conftest.err
89175   rm -f conftest.er1
89176   cat conftest.err >&5
89177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89178   (exit $ac_status); } &&
89179          { ac_try='test -z "$ac_cxx_werror_flag"
89180                          || test ! -s conftest.err'
89181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89182   (eval $ac_try) 2>&5
89183   ac_status=$?
89184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89185   (exit $ac_status); }; } &&
89186          { ac_try='test -s conftest.$ac_objext'
89187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89188   (eval $ac_try) 2>&5
89189   ac_status=$?
89190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89191   (exit $ac_status); }; }; then
89192   glibcxx_cv_func__ldexpf_use=yes
89193 else
89194   echo "$as_me: failed program was:" >&5
89195 sed 's/^/| /' conftest.$ac_ext >&5
89196
89197 glibcxx_cv_func__ldexpf_use=no
89198 fi
89199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89200       ac_ext=c
89201 ac_cpp='$CPP $CPPFLAGS'
89202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89205
89206
89207 fi
89208
89209   fi
89210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
89211 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
89212
89213     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
89214
89215 for ac_func in _ldexpf
89216 do
89217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89218 echo "$as_me:$LINENO: checking for $ac_func" >&5
89219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89220 if eval "test \"\${$as_ac_var+set}\" = set"; then
89221   echo $ECHO_N "(cached) $ECHO_C" >&6
89222 else
89223   if test x$gcc_no_link = xyes; then
89224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89226    { (exit 1); exit 1; }; }
89227 fi
89228 cat >conftest.$ac_ext <<_ACEOF
89229 /* confdefs.h.  */
89230 _ACEOF
89231 cat confdefs.h >>conftest.$ac_ext
89232 cat >>conftest.$ac_ext <<_ACEOF
89233 /* end confdefs.h.  */
89234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89236 #define $ac_func innocuous_$ac_func
89237
89238 /* System header to define __stub macros and hopefully few prototypes,
89239     which can conflict with char $ac_func (); below.
89240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89241     <limits.h> exists even on freestanding compilers.  */
89242
89243 #ifdef __STDC__
89244 # include <limits.h>
89245 #else
89246 # include <assert.h>
89247 #endif
89248
89249 #undef $ac_func
89250
89251 /* Override any gcc2 internal prototype to avoid an error.  */
89252 #ifdef __cplusplus
89253 extern "C"
89254 {
89255 #endif
89256 /* We use char because int might match the return type of a gcc2
89257    builtin and then its argument prototype would still apply.  */
89258 char $ac_func ();
89259 /* The GNU C library defines this for functions which it implements
89260     to always fail with ENOSYS.  Some functions are actually named
89261     something starting with __ and the normal name is an alias.  */
89262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89263 choke me
89264 #else
89265 char (*f) () = $ac_func;
89266 #endif
89267 #ifdef __cplusplus
89268 }
89269 #endif
89270
89271 int
89272 main ()
89273 {
89274 return f != $ac_func;
89275   ;
89276   return 0;
89277 }
89278 _ACEOF
89279 rm -f conftest.$ac_objext conftest$ac_exeext
89280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89281   (eval $ac_link) 2>conftest.er1
89282   ac_status=$?
89283   grep -v '^ *+' conftest.er1 >conftest.err
89284   rm -f conftest.er1
89285   cat conftest.err >&5
89286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89287   (exit $ac_status); } &&
89288          { ac_try='test -z "$ac_c_werror_flag"
89289                          || test ! -s conftest.err'
89290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89291   (eval $ac_try) 2>&5
89292   ac_status=$?
89293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89294   (exit $ac_status); }; } &&
89295          { ac_try='test -s conftest$ac_exeext'
89296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89297   (eval $ac_try) 2>&5
89298   ac_status=$?
89299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89300   (exit $ac_status); }; }; then
89301   eval "$as_ac_var=yes"
89302 else
89303   echo "$as_me: failed program was:" >&5
89304 sed 's/^/| /' conftest.$ac_ext >&5
89305
89306 eval "$as_ac_var=no"
89307 fi
89308 rm -f conftest.err conftest.$ac_objext \
89309       conftest$ac_exeext conftest.$ac_ext
89310 fi
89311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89313 if test `eval echo '${'$as_ac_var'}'` = yes; then
89314   cat >>confdefs.h <<_ACEOF
89315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89316 _ACEOF
89317
89318 fi
89319 done
89320
89321     fi
89322   fi
89323
89324
89325
89326
89327
89328
89329   echo "$as_me:$LINENO: checking for logf declaration" >&5
89330 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
89331   if test x${glibcxx_cv_func_logf_use+set} != xset; then
89332     if test "${glibcxx_cv_func_logf_use+set}" = set; then
89333   echo $ECHO_N "(cached) $ECHO_C" >&6
89334 else
89335
89336
89337
89338       ac_ext=cc
89339 ac_cpp='$CXXCPP $CPPFLAGS'
89340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89343
89344       cat >conftest.$ac_ext <<_ACEOF
89345 /* confdefs.h.  */
89346 _ACEOF
89347 cat confdefs.h >>conftest.$ac_ext
89348 cat >>conftest.$ac_ext <<_ACEOF
89349 /* end confdefs.h.  */
89350 #include <math.h>
89351                       #ifdef HAVE_IEEEFP_H
89352                       #include <ieeefp.h>
89353                       #endif
89354
89355 int
89356 main ()
89357 {
89358  logf(0);
89359   ;
89360   return 0;
89361 }
89362 _ACEOF
89363 rm -f conftest.$ac_objext
89364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89365   (eval $ac_compile) 2>conftest.er1
89366   ac_status=$?
89367   grep -v '^ *+' conftest.er1 >conftest.err
89368   rm -f conftest.er1
89369   cat conftest.err >&5
89370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89371   (exit $ac_status); } &&
89372          { ac_try='test -z "$ac_cxx_werror_flag"
89373                          || test ! -s conftest.err'
89374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89375   (eval $ac_try) 2>&5
89376   ac_status=$?
89377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89378   (exit $ac_status); }; } &&
89379          { ac_try='test -s conftest.$ac_objext'
89380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89381   (eval $ac_try) 2>&5
89382   ac_status=$?
89383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89384   (exit $ac_status); }; }; then
89385   glibcxx_cv_func_logf_use=yes
89386 else
89387   echo "$as_me: failed program was:" >&5
89388 sed 's/^/| /' conftest.$ac_ext >&5
89389
89390 glibcxx_cv_func_logf_use=no
89391 fi
89392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89393       ac_ext=c
89394 ac_cpp='$CPP $CPPFLAGS'
89395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89398
89399
89400 fi
89401
89402   fi
89403   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
89404 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
89405
89406   if test x$glibcxx_cv_func_logf_use = x"yes"; then
89407
89408 for ac_func in logf
89409 do
89410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89411 echo "$as_me:$LINENO: checking for $ac_func" >&5
89412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89413 if eval "test \"\${$as_ac_var+set}\" = set"; then
89414   echo $ECHO_N "(cached) $ECHO_C" >&6
89415 else
89416   if test x$gcc_no_link = xyes; then
89417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89419    { (exit 1); exit 1; }; }
89420 fi
89421 cat >conftest.$ac_ext <<_ACEOF
89422 /* confdefs.h.  */
89423 _ACEOF
89424 cat confdefs.h >>conftest.$ac_ext
89425 cat >>conftest.$ac_ext <<_ACEOF
89426 /* end confdefs.h.  */
89427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89428    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89429 #define $ac_func innocuous_$ac_func
89430
89431 /* System header to define __stub macros and hopefully few prototypes,
89432     which can conflict with char $ac_func (); below.
89433     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89434     <limits.h> exists even on freestanding compilers.  */
89435
89436 #ifdef __STDC__
89437 # include <limits.h>
89438 #else
89439 # include <assert.h>
89440 #endif
89441
89442 #undef $ac_func
89443
89444 /* Override any gcc2 internal prototype to avoid an error.  */
89445 #ifdef __cplusplus
89446 extern "C"
89447 {
89448 #endif
89449 /* We use char because int might match the return type of a gcc2
89450    builtin and then its argument prototype would still apply.  */
89451 char $ac_func ();
89452 /* The GNU C library defines this for functions which it implements
89453     to always fail with ENOSYS.  Some functions are actually named
89454     something starting with __ and the normal name is an alias.  */
89455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89456 choke me
89457 #else
89458 char (*f) () = $ac_func;
89459 #endif
89460 #ifdef __cplusplus
89461 }
89462 #endif
89463
89464 int
89465 main ()
89466 {
89467 return f != $ac_func;
89468   ;
89469   return 0;
89470 }
89471 _ACEOF
89472 rm -f conftest.$ac_objext conftest$ac_exeext
89473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89474   (eval $ac_link) 2>conftest.er1
89475   ac_status=$?
89476   grep -v '^ *+' conftest.er1 >conftest.err
89477   rm -f conftest.er1
89478   cat conftest.err >&5
89479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89480   (exit $ac_status); } &&
89481          { ac_try='test -z "$ac_c_werror_flag"
89482                          || test ! -s conftest.err'
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); }; } &&
89488          { ac_try='test -s conftest$ac_exeext'
89489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89490   (eval $ac_try) 2>&5
89491   ac_status=$?
89492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89493   (exit $ac_status); }; }; then
89494   eval "$as_ac_var=yes"
89495 else
89496   echo "$as_me: failed program was:" >&5
89497 sed 's/^/| /' conftest.$ac_ext >&5
89498
89499 eval "$as_ac_var=no"
89500 fi
89501 rm -f conftest.err conftest.$ac_objext \
89502       conftest$ac_exeext conftest.$ac_ext
89503 fi
89504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89506 if test `eval echo '${'$as_ac_var'}'` = yes; then
89507   cat >>confdefs.h <<_ACEOF
89508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89509 _ACEOF
89510
89511 fi
89512 done
89513
89514   else
89515
89516   echo "$as_me:$LINENO: checking for _logf declaration" >&5
89517 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
89518   if test x${glibcxx_cv_func__logf_use+set} != xset; then
89519     if test "${glibcxx_cv_func__logf_use+set}" = set; then
89520   echo $ECHO_N "(cached) $ECHO_C" >&6
89521 else
89522
89523
89524
89525       ac_ext=cc
89526 ac_cpp='$CXXCPP $CPPFLAGS'
89527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89530
89531       cat >conftest.$ac_ext <<_ACEOF
89532 /* confdefs.h.  */
89533 _ACEOF
89534 cat confdefs.h >>conftest.$ac_ext
89535 cat >>conftest.$ac_ext <<_ACEOF
89536 /* end confdefs.h.  */
89537 #include <math.h>
89538                       #ifdef HAVE_IEEEFP_H
89539                       #include <ieeefp.h>
89540                       #endif
89541
89542 int
89543 main ()
89544 {
89545  _logf(0);
89546   ;
89547   return 0;
89548 }
89549 _ACEOF
89550 rm -f conftest.$ac_objext
89551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89552   (eval $ac_compile) 2>conftest.er1
89553   ac_status=$?
89554   grep -v '^ *+' conftest.er1 >conftest.err
89555   rm -f conftest.er1
89556   cat conftest.err >&5
89557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89558   (exit $ac_status); } &&
89559          { ac_try='test -z "$ac_cxx_werror_flag"
89560                          || test ! -s conftest.err'
89561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89562   (eval $ac_try) 2>&5
89563   ac_status=$?
89564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89565   (exit $ac_status); }; } &&
89566          { ac_try='test -s conftest.$ac_objext'
89567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89568   (eval $ac_try) 2>&5
89569   ac_status=$?
89570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89571   (exit $ac_status); }; }; then
89572   glibcxx_cv_func__logf_use=yes
89573 else
89574   echo "$as_me: failed program was:" >&5
89575 sed 's/^/| /' conftest.$ac_ext >&5
89576
89577 glibcxx_cv_func__logf_use=no
89578 fi
89579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89580       ac_ext=c
89581 ac_cpp='$CPP $CPPFLAGS'
89582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89585
89586
89587 fi
89588
89589   fi
89590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
89591 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
89592
89593     if test x$glibcxx_cv_func__logf_use = x"yes"; then
89594
89595 for ac_func in _logf
89596 do
89597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89598 echo "$as_me:$LINENO: checking for $ac_func" >&5
89599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89600 if eval "test \"\${$as_ac_var+set}\" = set"; then
89601   echo $ECHO_N "(cached) $ECHO_C" >&6
89602 else
89603   if test x$gcc_no_link = xyes; then
89604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89606    { (exit 1); exit 1; }; }
89607 fi
89608 cat >conftest.$ac_ext <<_ACEOF
89609 /* confdefs.h.  */
89610 _ACEOF
89611 cat confdefs.h >>conftest.$ac_ext
89612 cat >>conftest.$ac_ext <<_ACEOF
89613 /* end confdefs.h.  */
89614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89616 #define $ac_func innocuous_$ac_func
89617
89618 /* System header to define __stub macros and hopefully few prototypes,
89619     which can conflict with char $ac_func (); below.
89620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89621     <limits.h> exists even on freestanding compilers.  */
89622
89623 #ifdef __STDC__
89624 # include <limits.h>
89625 #else
89626 # include <assert.h>
89627 #endif
89628
89629 #undef $ac_func
89630
89631 /* Override any gcc2 internal prototype to avoid an error.  */
89632 #ifdef __cplusplus
89633 extern "C"
89634 {
89635 #endif
89636 /* We use char because int might match the return type of a gcc2
89637    builtin and then its argument prototype would still apply.  */
89638 char $ac_func ();
89639 /* The GNU C library defines this for functions which it implements
89640     to always fail with ENOSYS.  Some functions are actually named
89641     something starting with __ and the normal name is an alias.  */
89642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89643 choke me
89644 #else
89645 char (*f) () = $ac_func;
89646 #endif
89647 #ifdef __cplusplus
89648 }
89649 #endif
89650
89651 int
89652 main ()
89653 {
89654 return f != $ac_func;
89655   ;
89656   return 0;
89657 }
89658 _ACEOF
89659 rm -f conftest.$ac_objext conftest$ac_exeext
89660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89661   (eval $ac_link) 2>conftest.er1
89662   ac_status=$?
89663   grep -v '^ *+' conftest.er1 >conftest.err
89664   rm -f conftest.er1
89665   cat conftest.err >&5
89666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89667   (exit $ac_status); } &&
89668          { ac_try='test -z "$ac_c_werror_flag"
89669                          || test ! -s conftest.err'
89670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89671   (eval $ac_try) 2>&5
89672   ac_status=$?
89673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89674   (exit $ac_status); }; } &&
89675          { ac_try='test -s conftest$ac_exeext'
89676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89677   (eval $ac_try) 2>&5
89678   ac_status=$?
89679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89680   (exit $ac_status); }; }; then
89681   eval "$as_ac_var=yes"
89682 else
89683   echo "$as_me: failed program was:" >&5
89684 sed 's/^/| /' conftest.$ac_ext >&5
89685
89686 eval "$as_ac_var=no"
89687 fi
89688 rm -f conftest.err conftest.$ac_objext \
89689       conftest$ac_exeext conftest.$ac_ext
89690 fi
89691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89693 if test `eval echo '${'$as_ac_var'}'` = yes; then
89694   cat >>confdefs.h <<_ACEOF
89695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89696 _ACEOF
89697
89698 fi
89699 done
89700
89701     fi
89702   fi
89703
89704
89705
89706
89707
89708
89709   echo "$as_me:$LINENO: checking for log10f declaration" >&5
89710 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
89711   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
89712     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
89713   echo $ECHO_N "(cached) $ECHO_C" >&6
89714 else
89715
89716
89717
89718       ac_ext=cc
89719 ac_cpp='$CXXCPP $CPPFLAGS'
89720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89723
89724       cat >conftest.$ac_ext <<_ACEOF
89725 /* confdefs.h.  */
89726 _ACEOF
89727 cat confdefs.h >>conftest.$ac_ext
89728 cat >>conftest.$ac_ext <<_ACEOF
89729 /* end confdefs.h.  */
89730 #include <math.h>
89731                       #ifdef HAVE_IEEEFP_H
89732                       #include <ieeefp.h>
89733                       #endif
89734
89735 int
89736 main ()
89737 {
89738  log10f(0);
89739   ;
89740   return 0;
89741 }
89742 _ACEOF
89743 rm -f conftest.$ac_objext
89744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89745   (eval $ac_compile) 2>conftest.er1
89746   ac_status=$?
89747   grep -v '^ *+' conftest.er1 >conftest.err
89748   rm -f conftest.er1
89749   cat conftest.err >&5
89750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89751   (exit $ac_status); } &&
89752          { ac_try='test -z "$ac_cxx_werror_flag"
89753                          || test ! -s conftest.err'
89754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89755   (eval $ac_try) 2>&5
89756   ac_status=$?
89757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89758   (exit $ac_status); }; } &&
89759          { ac_try='test -s conftest.$ac_objext'
89760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89761   (eval $ac_try) 2>&5
89762   ac_status=$?
89763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89764   (exit $ac_status); }; }; then
89765   glibcxx_cv_func_log10f_use=yes
89766 else
89767   echo "$as_me: failed program was:" >&5
89768 sed 's/^/| /' conftest.$ac_ext >&5
89769
89770 glibcxx_cv_func_log10f_use=no
89771 fi
89772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89773       ac_ext=c
89774 ac_cpp='$CPP $CPPFLAGS'
89775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89778
89779
89780 fi
89781
89782   fi
89783   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
89784 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
89785
89786   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
89787
89788 for ac_func in log10f
89789 do
89790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89791 echo "$as_me:$LINENO: checking for $ac_func" >&5
89792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89793 if eval "test \"\${$as_ac_var+set}\" = set"; then
89794   echo $ECHO_N "(cached) $ECHO_C" >&6
89795 else
89796   if test x$gcc_no_link = xyes; then
89797   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89799    { (exit 1); exit 1; }; }
89800 fi
89801 cat >conftest.$ac_ext <<_ACEOF
89802 /* confdefs.h.  */
89803 _ACEOF
89804 cat confdefs.h >>conftest.$ac_ext
89805 cat >>conftest.$ac_ext <<_ACEOF
89806 /* end confdefs.h.  */
89807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89809 #define $ac_func innocuous_$ac_func
89810
89811 /* System header to define __stub macros and hopefully few prototypes,
89812     which can conflict with char $ac_func (); below.
89813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89814     <limits.h> exists even on freestanding compilers.  */
89815
89816 #ifdef __STDC__
89817 # include <limits.h>
89818 #else
89819 # include <assert.h>
89820 #endif
89821
89822 #undef $ac_func
89823
89824 /* Override any gcc2 internal prototype to avoid an error.  */
89825 #ifdef __cplusplus
89826 extern "C"
89827 {
89828 #endif
89829 /* We use char because int might match the return type of a gcc2
89830    builtin and then its argument prototype would still apply.  */
89831 char $ac_func ();
89832 /* The GNU C library defines this for functions which it implements
89833     to always fail with ENOSYS.  Some functions are actually named
89834     something starting with __ and the normal name is an alias.  */
89835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89836 choke me
89837 #else
89838 char (*f) () = $ac_func;
89839 #endif
89840 #ifdef __cplusplus
89841 }
89842 #endif
89843
89844 int
89845 main ()
89846 {
89847 return f != $ac_func;
89848   ;
89849   return 0;
89850 }
89851 _ACEOF
89852 rm -f conftest.$ac_objext conftest$ac_exeext
89853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89854   (eval $ac_link) 2>conftest.er1
89855   ac_status=$?
89856   grep -v '^ *+' conftest.er1 >conftest.err
89857   rm -f conftest.er1
89858   cat conftest.err >&5
89859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89860   (exit $ac_status); } &&
89861          { ac_try='test -z "$ac_c_werror_flag"
89862                          || test ! -s conftest.err'
89863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89864   (eval $ac_try) 2>&5
89865   ac_status=$?
89866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867   (exit $ac_status); }; } &&
89868          { ac_try='test -s conftest$ac_exeext'
89869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89870   (eval $ac_try) 2>&5
89871   ac_status=$?
89872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873   (exit $ac_status); }; }; then
89874   eval "$as_ac_var=yes"
89875 else
89876   echo "$as_me: failed program was:" >&5
89877 sed 's/^/| /' conftest.$ac_ext >&5
89878
89879 eval "$as_ac_var=no"
89880 fi
89881 rm -f conftest.err conftest.$ac_objext \
89882       conftest$ac_exeext conftest.$ac_ext
89883 fi
89884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89886 if test `eval echo '${'$as_ac_var'}'` = yes; then
89887   cat >>confdefs.h <<_ACEOF
89888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89889 _ACEOF
89890
89891 fi
89892 done
89893
89894   else
89895
89896   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
89897 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
89898   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
89899     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
89900   echo $ECHO_N "(cached) $ECHO_C" >&6
89901 else
89902
89903
89904
89905       ac_ext=cc
89906 ac_cpp='$CXXCPP $CPPFLAGS'
89907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89910
89911       cat >conftest.$ac_ext <<_ACEOF
89912 /* confdefs.h.  */
89913 _ACEOF
89914 cat confdefs.h >>conftest.$ac_ext
89915 cat >>conftest.$ac_ext <<_ACEOF
89916 /* end confdefs.h.  */
89917 #include <math.h>
89918                       #ifdef HAVE_IEEEFP_H
89919                       #include <ieeefp.h>
89920                       #endif
89921
89922 int
89923 main ()
89924 {
89925  _log10f(0);
89926   ;
89927   return 0;
89928 }
89929 _ACEOF
89930 rm -f conftest.$ac_objext
89931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89932   (eval $ac_compile) 2>conftest.er1
89933   ac_status=$?
89934   grep -v '^ *+' conftest.er1 >conftest.err
89935   rm -f conftest.er1
89936   cat conftest.err >&5
89937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89938   (exit $ac_status); } &&
89939          { ac_try='test -z "$ac_cxx_werror_flag"
89940                          || test ! -s conftest.err'
89941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89942   (eval $ac_try) 2>&5
89943   ac_status=$?
89944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89945   (exit $ac_status); }; } &&
89946          { ac_try='test -s conftest.$ac_objext'
89947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89948   (eval $ac_try) 2>&5
89949   ac_status=$?
89950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89951   (exit $ac_status); }; }; then
89952   glibcxx_cv_func__log10f_use=yes
89953 else
89954   echo "$as_me: failed program was:" >&5
89955 sed 's/^/| /' conftest.$ac_ext >&5
89956
89957 glibcxx_cv_func__log10f_use=no
89958 fi
89959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89960       ac_ext=c
89961 ac_cpp='$CPP $CPPFLAGS'
89962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89965
89966
89967 fi
89968
89969   fi
89970   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
89971 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
89972
89973     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
89974
89975 for ac_func in _log10f
89976 do
89977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89978 echo "$as_me:$LINENO: checking for $ac_func" >&5
89979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89980 if eval "test \"\${$as_ac_var+set}\" = set"; then
89981   echo $ECHO_N "(cached) $ECHO_C" >&6
89982 else
89983   if test x$gcc_no_link = xyes; then
89984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89986    { (exit 1); exit 1; }; }
89987 fi
89988 cat >conftest.$ac_ext <<_ACEOF
89989 /* confdefs.h.  */
89990 _ACEOF
89991 cat confdefs.h >>conftest.$ac_ext
89992 cat >>conftest.$ac_ext <<_ACEOF
89993 /* end confdefs.h.  */
89994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89996 #define $ac_func innocuous_$ac_func
89997
89998 /* System header to define __stub macros and hopefully few prototypes,
89999     which can conflict with char $ac_func (); below.
90000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90001     <limits.h> exists even on freestanding compilers.  */
90002
90003 #ifdef __STDC__
90004 # include <limits.h>
90005 #else
90006 # include <assert.h>
90007 #endif
90008
90009 #undef $ac_func
90010
90011 /* Override any gcc2 internal prototype to avoid an error.  */
90012 #ifdef __cplusplus
90013 extern "C"
90014 {
90015 #endif
90016 /* We use char because int might match the return type of a gcc2
90017    builtin and then its argument prototype would still apply.  */
90018 char $ac_func ();
90019 /* The GNU C library defines this for functions which it implements
90020     to always fail with ENOSYS.  Some functions are actually named
90021     something starting with __ and the normal name is an alias.  */
90022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90023 choke me
90024 #else
90025 char (*f) () = $ac_func;
90026 #endif
90027 #ifdef __cplusplus
90028 }
90029 #endif
90030
90031 int
90032 main ()
90033 {
90034 return f != $ac_func;
90035   ;
90036   return 0;
90037 }
90038 _ACEOF
90039 rm -f conftest.$ac_objext conftest$ac_exeext
90040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90041   (eval $ac_link) 2>conftest.er1
90042   ac_status=$?
90043   grep -v '^ *+' conftest.er1 >conftest.err
90044   rm -f conftest.er1
90045   cat conftest.err >&5
90046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90047   (exit $ac_status); } &&
90048          { ac_try='test -z "$ac_c_werror_flag"
90049                          || test ! -s conftest.err'
90050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90051   (eval $ac_try) 2>&5
90052   ac_status=$?
90053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90054   (exit $ac_status); }; } &&
90055          { ac_try='test -s conftest$ac_exeext'
90056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90057   (eval $ac_try) 2>&5
90058   ac_status=$?
90059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90060   (exit $ac_status); }; }; then
90061   eval "$as_ac_var=yes"
90062 else
90063   echo "$as_me: failed program was:" >&5
90064 sed 's/^/| /' conftest.$ac_ext >&5
90065
90066 eval "$as_ac_var=no"
90067 fi
90068 rm -f conftest.err conftest.$ac_objext \
90069       conftest$ac_exeext conftest.$ac_ext
90070 fi
90071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90073 if test `eval echo '${'$as_ac_var'}'` = yes; then
90074   cat >>confdefs.h <<_ACEOF
90075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90076 _ACEOF
90077
90078 fi
90079 done
90080
90081     fi
90082   fi
90083
90084
90085
90086
90087
90088
90089   echo "$as_me:$LINENO: checking for modff declaration" >&5
90090 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
90091   if test x${glibcxx_cv_func_modff_use+set} != xset; then
90092     if test "${glibcxx_cv_func_modff_use+set}" = set; then
90093   echo $ECHO_N "(cached) $ECHO_C" >&6
90094 else
90095
90096
90097
90098       ac_ext=cc
90099 ac_cpp='$CXXCPP $CPPFLAGS'
90100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90103
90104       cat >conftest.$ac_ext <<_ACEOF
90105 /* confdefs.h.  */
90106 _ACEOF
90107 cat confdefs.h >>conftest.$ac_ext
90108 cat >>conftest.$ac_ext <<_ACEOF
90109 /* end confdefs.h.  */
90110 #include <math.h>
90111 int
90112 main ()
90113 {
90114  modff(0, 0);
90115   ;
90116   return 0;
90117 }
90118 _ACEOF
90119 rm -f conftest.$ac_objext
90120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90121   (eval $ac_compile) 2>conftest.er1
90122   ac_status=$?
90123   grep -v '^ *+' conftest.er1 >conftest.err
90124   rm -f conftest.er1
90125   cat conftest.err >&5
90126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90127   (exit $ac_status); } &&
90128          { ac_try='test -z "$ac_cxx_werror_flag"
90129                          || test ! -s conftest.err'
90130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90131   (eval $ac_try) 2>&5
90132   ac_status=$?
90133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90134   (exit $ac_status); }; } &&
90135          { ac_try='test -s conftest.$ac_objext'
90136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90137   (eval $ac_try) 2>&5
90138   ac_status=$?
90139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90140   (exit $ac_status); }; }; then
90141   glibcxx_cv_func_modff_use=yes
90142 else
90143   echo "$as_me: failed program was:" >&5
90144 sed 's/^/| /' conftest.$ac_ext >&5
90145
90146 glibcxx_cv_func_modff_use=no
90147 fi
90148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90149       ac_ext=c
90150 ac_cpp='$CPP $CPPFLAGS'
90151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90154
90155
90156 fi
90157
90158   fi
90159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
90160 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
90161
90162   if test x$glibcxx_cv_func_modff_use = x"yes"; then
90163
90164 for ac_func in modff
90165 do
90166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90167 echo "$as_me:$LINENO: checking for $ac_func" >&5
90168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90169 if eval "test \"\${$as_ac_var+set}\" = set"; then
90170   echo $ECHO_N "(cached) $ECHO_C" >&6
90171 else
90172   if test x$gcc_no_link = xyes; then
90173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90175    { (exit 1); exit 1; }; }
90176 fi
90177 cat >conftest.$ac_ext <<_ACEOF
90178 /* confdefs.h.  */
90179 _ACEOF
90180 cat confdefs.h >>conftest.$ac_ext
90181 cat >>conftest.$ac_ext <<_ACEOF
90182 /* end confdefs.h.  */
90183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90185 #define $ac_func innocuous_$ac_func
90186
90187 /* System header to define __stub macros and hopefully few prototypes,
90188     which can conflict with char $ac_func (); below.
90189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90190     <limits.h> exists even on freestanding compilers.  */
90191
90192 #ifdef __STDC__
90193 # include <limits.h>
90194 #else
90195 # include <assert.h>
90196 #endif
90197
90198 #undef $ac_func
90199
90200 /* Override any gcc2 internal prototype to avoid an error.  */
90201 #ifdef __cplusplus
90202 extern "C"
90203 {
90204 #endif
90205 /* We use char because int might match the return type of a gcc2
90206    builtin and then its argument prototype would still apply.  */
90207 char $ac_func ();
90208 /* The GNU C library defines this for functions which it implements
90209     to always fail with ENOSYS.  Some functions are actually named
90210     something starting with __ and the normal name is an alias.  */
90211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90212 choke me
90213 #else
90214 char (*f) () = $ac_func;
90215 #endif
90216 #ifdef __cplusplus
90217 }
90218 #endif
90219
90220 int
90221 main ()
90222 {
90223 return f != $ac_func;
90224   ;
90225   return 0;
90226 }
90227 _ACEOF
90228 rm -f conftest.$ac_objext conftest$ac_exeext
90229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90230   (eval $ac_link) 2>conftest.er1
90231   ac_status=$?
90232   grep -v '^ *+' conftest.er1 >conftest.err
90233   rm -f conftest.er1
90234   cat conftest.err >&5
90235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90236   (exit $ac_status); } &&
90237          { ac_try='test -z "$ac_c_werror_flag"
90238                          || test ! -s conftest.err'
90239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90240   (eval $ac_try) 2>&5
90241   ac_status=$?
90242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90243   (exit $ac_status); }; } &&
90244          { ac_try='test -s conftest$ac_exeext'
90245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90246   (eval $ac_try) 2>&5
90247   ac_status=$?
90248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90249   (exit $ac_status); }; }; then
90250   eval "$as_ac_var=yes"
90251 else
90252   echo "$as_me: failed program was:" >&5
90253 sed 's/^/| /' conftest.$ac_ext >&5
90254
90255 eval "$as_ac_var=no"
90256 fi
90257 rm -f conftest.err conftest.$ac_objext \
90258       conftest$ac_exeext conftest.$ac_ext
90259 fi
90260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90262 if test `eval echo '${'$as_ac_var'}'` = yes; then
90263   cat >>confdefs.h <<_ACEOF
90264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90265 _ACEOF
90266
90267 fi
90268 done
90269
90270   else
90271
90272   echo "$as_me:$LINENO: checking for _modff declaration" >&5
90273 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
90274   if test x${glibcxx_cv_func__modff_use+set} != xset; then
90275     if test "${glibcxx_cv_func__modff_use+set}" = set; then
90276   echo $ECHO_N "(cached) $ECHO_C" >&6
90277 else
90278
90279
90280
90281       ac_ext=cc
90282 ac_cpp='$CXXCPP $CPPFLAGS'
90283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90286
90287       cat >conftest.$ac_ext <<_ACEOF
90288 /* confdefs.h.  */
90289 _ACEOF
90290 cat confdefs.h >>conftest.$ac_ext
90291 cat >>conftest.$ac_ext <<_ACEOF
90292 /* end confdefs.h.  */
90293 #include <math.h>
90294 int
90295 main ()
90296 {
90297  _modff(0, 0);
90298   ;
90299   return 0;
90300 }
90301 _ACEOF
90302 rm -f conftest.$ac_objext
90303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90304   (eval $ac_compile) 2>conftest.er1
90305   ac_status=$?
90306   grep -v '^ *+' conftest.er1 >conftest.err
90307   rm -f conftest.er1
90308   cat conftest.err >&5
90309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90310   (exit $ac_status); } &&
90311          { ac_try='test -z "$ac_cxx_werror_flag"
90312                          || test ! -s conftest.err'
90313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90314   (eval $ac_try) 2>&5
90315   ac_status=$?
90316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90317   (exit $ac_status); }; } &&
90318          { ac_try='test -s conftest.$ac_objext'
90319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90320   (eval $ac_try) 2>&5
90321   ac_status=$?
90322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90323   (exit $ac_status); }; }; then
90324   glibcxx_cv_func__modff_use=yes
90325 else
90326   echo "$as_me: failed program was:" >&5
90327 sed 's/^/| /' conftest.$ac_ext >&5
90328
90329 glibcxx_cv_func__modff_use=no
90330 fi
90331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90332       ac_ext=c
90333 ac_cpp='$CPP $CPPFLAGS'
90334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90337
90338
90339 fi
90340
90341   fi
90342   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
90343 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
90344
90345     if test x$glibcxx_cv_func__modff_use = x"yes"; then
90346
90347 for ac_func in _modff
90348 do
90349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90350 echo "$as_me:$LINENO: checking for $ac_func" >&5
90351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90352 if eval "test \"\${$as_ac_var+set}\" = set"; then
90353   echo $ECHO_N "(cached) $ECHO_C" >&6
90354 else
90355   if test x$gcc_no_link = xyes; then
90356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90358    { (exit 1); exit 1; }; }
90359 fi
90360 cat >conftest.$ac_ext <<_ACEOF
90361 /* confdefs.h.  */
90362 _ACEOF
90363 cat confdefs.h >>conftest.$ac_ext
90364 cat >>conftest.$ac_ext <<_ACEOF
90365 /* end confdefs.h.  */
90366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90368 #define $ac_func innocuous_$ac_func
90369
90370 /* System header to define __stub macros and hopefully few prototypes,
90371     which can conflict with char $ac_func (); below.
90372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90373     <limits.h> exists even on freestanding compilers.  */
90374
90375 #ifdef __STDC__
90376 # include <limits.h>
90377 #else
90378 # include <assert.h>
90379 #endif
90380
90381 #undef $ac_func
90382
90383 /* Override any gcc2 internal prototype to avoid an error.  */
90384 #ifdef __cplusplus
90385 extern "C"
90386 {
90387 #endif
90388 /* We use char because int might match the return type of a gcc2
90389    builtin and then its argument prototype would still apply.  */
90390 char $ac_func ();
90391 /* The GNU C library defines this for functions which it implements
90392     to always fail with ENOSYS.  Some functions are actually named
90393     something starting with __ and the normal name is an alias.  */
90394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90395 choke me
90396 #else
90397 char (*f) () = $ac_func;
90398 #endif
90399 #ifdef __cplusplus
90400 }
90401 #endif
90402
90403 int
90404 main ()
90405 {
90406 return f != $ac_func;
90407   ;
90408   return 0;
90409 }
90410 _ACEOF
90411 rm -f conftest.$ac_objext conftest$ac_exeext
90412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90413   (eval $ac_link) 2>conftest.er1
90414   ac_status=$?
90415   grep -v '^ *+' conftest.er1 >conftest.err
90416   rm -f conftest.er1
90417   cat conftest.err >&5
90418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90419   (exit $ac_status); } &&
90420          { ac_try='test -z "$ac_c_werror_flag"
90421                          || test ! -s conftest.err'
90422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90423   (eval $ac_try) 2>&5
90424   ac_status=$?
90425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90426   (exit $ac_status); }; } &&
90427          { ac_try='test -s conftest$ac_exeext'
90428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90429   (eval $ac_try) 2>&5
90430   ac_status=$?
90431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90432   (exit $ac_status); }; }; then
90433   eval "$as_ac_var=yes"
90434 else
90435   echo "$as_me: failed program was:" >&5
90436 sed 's/^/| /' conftest.$ac_ext >&5
90437
90438 eval "$as_ac_var=no"
90439 fi
90440 rm -f conftest.err conftest.$ac_objext \
90441       conftest$ac_exeext conftest.$ac_ext
90442 fi
90443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90445 if test `eval echo '${'$as_ac_var'}'` = yes; then
90446   cat >>confdefs.h <<_ACEOF
90447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90448 _ACEOF
90449
90450 fi
90451 done
90452
90453     fi
90454   fi
90455
90456
90457
90458
90459
90460
90461   echo "$as_me:$LINENO: checking for modf declaration" >&5
90462 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
90463   if test x${glibcxx_cv_func_modf_use+set} != xset; then
90464     if test "${glibcxx_cv_func_modf_use+set}" = set; then
90465   echo $ECHO_N "(cached) $ECHO_C" >&6
90466 else
90467
90468
90469
90470       ac_ext=cc
90471 ac_cpp='$CXXCPP $CPPFLAGS'
90472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90475
90476       cat >conftest.$ac_ext <<_ACEOF
90477 /* confdefs.h.  */
90478 _ACEOF
90479 cat confdefs.h >>conftest.$ac_ext
90480 cat >>conftest.$ac_ext <<_ACEOF
90481 /* end confdefs.h.  */
90482 #include <math.h>
90483 int
90484 main ()
90485 {
90486  modf(0, 0);
90487   ;
90488   return 0;
90489 }
90490 _ACEOF
90491 rm -f conftest.$ac_objext
90492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90493   (eval $ac_compile) 2>conftest.er1
90494   ac_status=$?
90495   grep -v '^ *+' conftest.er1 >conftest.err
90496   rm -f conftest.er1
90497   cat conftest.err >&5
90498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90499   (exit $ac_status); } &&
90500          { ac_try='test -z "$ac_cxx_werror_flag"
90501                          || test ! -s conftest.err'
90502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90503   (eval $ac_try) 2>&5
90504   ac_status=$?
90505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90506   (exit $ac_status); }; } &&
90507          { ac_try='test -s conftest.$ac_objext'
90508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90509   (eval $ac_try) 2>&5
90510   ac_status=$?
90511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90512   (exit $ac_status); }; }; then
90513   glibcxx_cv_func_modf_use=yes
90514 else
90515   echo "$as_me: failed program was:" >&5
90516 sed 's/^/| /' conftest.$ac_ext >&5
90517
90518 glibcxx_cv_func_modf_use=no
90519 fi
90520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90521       ac_ext=c
90522 ac_cpp='$CPP $CPPFLAGS'
90523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90526
90527
90528 fi
90529
90530   fi
90531   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
90532 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
90533
90534   if test x$glibcxx_cv_func_modf_use = x"yes"; then
90535
90536 for ac_func in modf
90537 do
90538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90539 echo "$as_me:$LINENO: checking for $ac_func" >&5
90540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90541 if eval "test \"\${$as_ac_var+set}\" = set"; then
90542   echo $ECHO_N "(cached) $ECHO_C" >&6
90543 else
90544   if test x$gcc_no_link = xyes; then
90545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90547    { (exit 1); exit 1; }; }
90548 fi
90549 cat >conftest.$ac_ext <<_ACEOF
90550 /* confdefs.h.  */
90551 _ACEOF
90552 cat confdefs.h >>conftest.$ac_ext
90553 cat >>conftest.$ac_ext <<_ACEOF
90554 /* end confdefs.h.  */
90555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90557 #define $ac_func innocuous_$ac_func
90558
90559 /* System header to define __stub macros and hopefully few prototypes,
90560     which can conflict with char $ac_func (); below.
90561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90562     <limits.h> exists even on freestanding compilers.  */
90563
90564 #ifdef __STDC__
90565 # include <limits.h>
90566 #else
90567 # include <assert.h>
90568 #endif
90569
90570 #undef $ac_func
90571
90572 /* Override any gcc2 internal prototype to avoid an error.  */
90573 #ifdef __cplusplus
90574 extern "C"
90575 {
90576 #endif
90577 /* We use char because int might match the return type of a gcc2
90578    builtin and then its argument prototype would still apply.  */
90579 char $ac_func ();
90580 /* The GNU C library defines this for functions which it implements
90581     to always fail with ENOSYS.  Some functions are actually named
90582     something starting with __ and the normal name is an alias.  */
90583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90584 choke me
90585 #else
90586 char (*f) () = $ac_func;
90587 #endif
90588 #ifdef __cplusplus
90589 }
90590 #endif
90591
90592 int
90593 main ()
90594 {
90595 return f != $ac_func;
90596   ;
90597   return 0;
90598 }
90599 _ACEOF
90600 rm -f conftest.$ac_objext conftest$ac_exeext
90601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90602   (eval $ac_link) 2>conftest.er1
90603   ac_status=$?
90604   grep -v '^ *+' conftest.er1 >conftest.err
90605   rm -f conftest.er1
90606   cat conftest.err >&5
90607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90608   (exit $ac_status); } &&
90609          { ac_try='test -z "$ac_c_werror_flag"
90610                          || test ! -s conftest.err'
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); }; } &&
90616          { ac_try='test -s conftest$ac_exeext'
90617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90618   (eval $ac_try) 2>&5
90619   ac_status=$?
90620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90621   (exit $ac_status); }; }; then
90622   eval "$as_ac_var=yes"
90623 else
90624   echo "$as_me: failed program was:" >&5
90625 sed 's/^/| /' conftest.$ac_ext >&5
90626
90627 eval "$as_ac_var=no"
90628 fi
90629 rm -f conftest.err conftest.$ac_objext \
90630       conftest$ac_exeext conftest.$ac_ext
90631 fi
90632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90634 if test `eval echo '${'$as_ac_var'}'` = yes; then
90635   cat >>confdefs.h <<_ACEOF
90636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90637 _ACEOF
90638
90639 fi
90640 done
90641
90642   else
90643
90644   echo "$as_me:$LINENO: checking for _modf declaration" >&5
90645 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
90646   if test x${glibcxx_cv_func__modf_use+set} != xset; then
90647     if test "${glibcxx_cv_func__modf_use+set}" = set; then
90648   echo $ECHO_N "(cached) $ECHO_C" >&6
90649 else
90650
90651
90652
90653       ac_ext=cc
90654 ac_cpp='$CXXCPP $CPPFLAGS'
90655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90658
90659       cat >conftest.$ac_ext <<_ACEOF
90660 /* confdefs.h.  */
90661 _ACEOF
90662 cat confdefs.h >>conftest.$ac_ext
90663 cat >>conftest.$ac_ext <<_ACEOF
90664 /* end confdefs.h.  */
90665 #include <math.h>
90666 int
90667 main ()
90668 {
90669  _modf(0, 0);
90670   ;
90671   return 0;
90672 }
90673 _ACEOF
90674 rm -f conftest.$ac_objext
90675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90676   (eval $ac_compile) 2>conftest.er1
90677   ac_status=$?
90678   grep -v '^ *+' conftest.er1 >conftest.err
90679   rm -f conftest.er1
90680   cat conftest.err >&5
90681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90682   (exit $ac_status); } &&
90683          { ac_try='test -z "$ac_cxx_werror_flag"
90684                          || test ! -s conftest.err'
90685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90686   (eval $ac_try) 2>&5
90687   ac_status=$?
90688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90689   (exit $ac_status); }; } &&
90690          { ac_try='test -s conftest.$ac_objext'
90691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90692   (eval $ac_try) 2>&5
90693   ac_status=$?
90694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90695   (exit $ac_status); }; }; then
90696   glibcxx_cv_func__modf_use=yes
90697 else
90698   echo "$as_me: failed program was:" >&5
90699 sed 's/^/| /' conftest.$ac_ext >&5
90700
90701 glibcxx_cv_func__modf_use=no
90702 fi
90703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90704       ac_ext=c
90705 ac_cpp='$CPP $CPPFLAGS'
90706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90709
90710
90711 fi
90712
90713   fi
90714   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
90715 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
90716
90717     if test x$glibcxx_cv_func__modf_use = x"yes"; then
90718
90719 for ac_func in _modf
90720 do
90721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90722 echo "$as_me:$LINENO: checking for $ac_func" >&5
90723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90724 if eval "test \"\${$as_ac_var+set}\" = set"; then
90725   echo $ECHO_N "(cached) $ECHO_C" >&6
90726 else
90727   if test x$gcc_no_link = xyes; then
90728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90730    { (exit 1); exit 1; }; }
90731 fi
90732 cat >conftest.$ac_ext <<_ACEOF
90733 /* confdefs.h.  */
90734 _ACEOF
90735 cat confdefs.h >>conftest.$ac_ext
90736 cat >>conftest.$ac_ext <<_ACEOF
90737 /* end confdefs.h.  */
90738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90740 #define $ac_func innocuous_$ac_func
90741
90742 /* System header to define __stub macros and hopefully few prototypes,
90743     which can conflict with char $ac_func (); below.
90744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90745     <limits.h> exists even on freestanding compilers.  */
90746
90747 #ifdef __STDC__
90748 # include <limits.h>
90749 #else
90750 # include <assert.h>
90751 #endif
90752
90753 #undef $ac_func
90754
90755 /* Override any gcc2 internal prototype to avoid an error.  */
90756 #ifdef __cplusplus
90757 extern "C"
90758 {
90759 #endif
90760 /* We use char because int might match the return type of a gcc2
90761    builtin and then its argument prototype would still apply.  */
90762 char $ac_func ();
90763 /* The GNU C library defines this for functions which it implements
90764     to always fail with ENOSYS.  Some functions are actually named
90765     something starting with __ and the normal name is an alias.  */
90766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90767 choke me
90768 #else
90769 char (*f) () = $ac_func;
90770 #endif
90771 #ifdef __cplusplus
90772 }
90773 #endif
90774
90775 int
90776 main ()
90777 {
90778 return f != $ac_func;
90779   ;
90780   return 0;
90781 }
90782 _ACEOF
90783 rm -f conftest.$ac_objext conftest$ac_exeext
90784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90785   (eval $ac_link) 2>conftest.er1
90786   ac_status=$?
90787   grep -v '^ *+' conftest.er1 >conftest.err
90788   rm -f conftest.er1
90789   cat conftest.err >&5
90790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90791   (exit $ac_status); } &&
90792          { ac_try='test -z "$ac_c_werror_flag"
90793                          || test ! -s conftest.err'
90794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90795   (eval $ac_try) 2>&5
90796   ac_status=$?
90797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90798   (exit $ac_status); }; } &&
90799          { ac_try='test -s conftest$ac_exeext'
90800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90801   (eval $ac_try) 2>&5
90802   ac_status=$?
90803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90804   (exit $ac_status); }; }; then
90805   eval "$as_ac_var=yes"
90806 else
90807   echo "$as_me: failed program was:" >&5
90808 sed 's/^/| /' conftest.$ac_ext >&5
90809
90810 eval "$as_ac_var=no"
90811 fi
90812 rm -f conftest.err conftest.$ac_objext \
90813       conftest$ac_exeext conftest.$ac_ext
90814 fi
90815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90817 if test `eval echo '${'$as_ac_var'}'` = yes; then
90818   cat >>confdefs.h <<_ACEOF
90819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90820 _ACEOF
90821
90822 fi
90823 done
90824
90825     fi
90826   fi
90827
90828
90829
90830
90831
90832
90833   echo "$as_me:$LINENO: checking for powf declaration" >&5
90834 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
90835   if test x${glibcxx_cv_func_powf_use+set} != xset; then
90836     if test "${glibcxx_cv_func_powf_use+set}" = set; then
90837   echo $ECHO_N "(cached) $ECHO_C" >&6
90838 else
90839
90840
90841
90842       ac_ext=cc
90843 ac_cpp='$CXXCPP $CPPFLAGS'
90844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90847
90848       cat >conftest.$ac_ext <<_ACEOF
90849 /* confdefs.h.  */
90850 _ACEOF
90851 cat confdefs.h >>conftest.$ac_ext
90852 cat >>conftest.$ac_ext <<_ACEOF
90853 /* end confdefs.h.  */
90854 #include <math.h>
90855 int
90856 main ()
90857 {
90858  powf(0, 0);
90859   ;
90860   return 0;
90861 }
90862 _ACEOF
90863 rm -f conftest.$ac_objext
90864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90865   (eval $ac_compile) 2>conftest.er1
90866   ac_status=$?
90867   grep -v '^ *+' conftest.er1 >conftest.err
90868   rm -f conftest.er1
90869   cat conftest.err >&5
90870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90871   (exit $ac_status); } &&
90872          { ac_try='test -z "$ac_cxx_werror_flag"
90873                          || test ! -s conftest.err'
90874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90875   (eval $ac_try) 2>&5
90876   ac_status=$?
90877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90878   (exit $ac_status); }; } &&
90879          { ac_try='test -s conftest.$ac_objext'
90880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90881   (eval $ac_try) 2>&5
90882   ac_status=$?
90883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90884   (exit $ac_status); }; }; then
90885   glibcxx_cv_func_powf_use=yes
90886 else
90887   echo "$as_me: failed program was:" >&5
90888 sed 's/^/| /' conftest.$ac_ext >&5
90889
90890 glibcxx_cv_func_powf_use=no
90891 fi
90892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90893       ac_ext=c
90894 ac_cpp='$CPP $CPPFLAGS'
90895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90898
90899
90900 fi
90901
90902   fi
90903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
90904 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
90905
90906   if test x$glibcxx_cv_func_powf_use = x"yes"; then
90907
90908 for ac_func in powf
90909 do
90910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90911 echo "$as_me:$LINENO: checking for $ac_func" >&5
90912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90913 if eval "test \"\${$as_ac_var+set}\" = set"; then
90914   echo $ECHO_N "(cached) $ECHO_C" >&6
90915 else
90916   if test x$gcc_no_link = xyes; then
90917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90919    { (exit 1); exit 1; }; }
90920 fi
90921 cat >conftest.$ac_ext <<_ACEOF
90922 /* confdefs.h.  */
90923 _ACEOF
90924 cat confdefs.h >>conftest.$ac_ext
90925 cat >>conftest.$ac_ext <<_ACEOF
90926 /* end confdefs.h.  */
90927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90929 #define $ac_func innocuous_$ac_func
90930
90931 /* System header to define __stub macros and hopefully few prototypes,
90932     which can conflict with char $ac_func (); below.
90933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90934     <limits.h> exists even on freestanding compilers.  */
90935
90936 #ifdef __STDC__
90937 # include <limits.h>
90938 #else
90939 # include <assert.h>
90940 #endif
90941
90942 #undef $ac_func
90943
90944 /* Override any gcc2 internal prototype to avoid an error.  */
90945 #ifdef __cplusplus
90946 extern "C"
90947 {
90948 #endif
90949 /* We use char because int might match the return type of a gcc2
90950    builtin and then its argument prototype would still apply.  */
90951 char $ac_func ();
90952 /* The GNU C library defines this for functions which it implements
90953     to always fail with ENOSYS.  Some functions are actually named
90954     something starting with __ and the normal name is an alias.  */
90955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90956 choke me
90957 #else
90958 char (*f) () = $ac_func;
90959 #endif
90960 #ifdef __cplusplus
90961 }
90962 #endif
90963
90964 int
90965 main ()
90966 {
90967 return f != $ac_func;
90968   ;
90969   return 0;
90970 }
90971 _ACEOF
90972 rm -f conftest.$ac_objext conftest$ac_exeext
90973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90974   (eval $ac_link) 2>conftest.er1
90975   ac_status=$?
90976   grep -v '^ *+' conftest.er1 >conftest.err
90977   rm -f conftest.er1
90978   cat conftest.err >&5
90979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90980   (exit $ac_status); } &&
90981          { ac_try='test -z "$ac_c_werror_flag"
90982                          || test ! -s conftest.err'
90983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90984   (eval $ac_try) 2>&5
90985   ac_status=$?
90986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987   (exit $ac_status); }; } &&
90988          { ac_try='test -s conftest$ac_exeext'
90989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90990   (eval $ac_try) 2>&5
90991   ac_status=$?
90992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90993   (exit $ac_status); }; }; then
90994   eval "$as_ac_var=yes"
90995 else
90996   echo "$as_me: failed program was:" >&5
90997 sed 's/^/| /' conftest.$ac_ext >&5
90998
90999 eval "$as_ac_var=no"
91000 fi
91001 rm -f conftest.err conftest.$ac_objext \
91002       conftest$ac_exeext conftest.$ac_ext
91003 fi
91004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91006 if test `eval echo '${'$as_ac_var'}'` = yes; then
91007   cat >>confdefs.h <<_ACEOF
91008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91009 _ACEOF
91010
91011 fi
91012 done
91013
91014   else
91015
91016   echo "$as_me:$LINENO: checking for _powf declaration" >&5
91017 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
91018   if test x${glibcxx_cv_func__powf_use+set} != xset; then
91019     if test "${glibcxx_cv_func__powf_use+set}" = set; then
91020   echo $ECHO_N "(cached) $ECHO_C" >&6
91021 else
91022
91023
91024
91025       ac_ext=cc
91026 ac_cpp='$CXXCPP $CPPFLAGS'
91027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91030
91031       cat >conftest.$ac_ext <<_ACEOF
91032 /* confdefs.h.  */
91033 _ACEOF
91034 cat confdefs.h >>conftest.$ac_ext
91035 cat >>conftest.$ac_ext <<_ACEOF
91036 /* end confdefs.h.  */
91037 #include <math.h>
91038 int
91039 main ()
91040 {
91041  _powf(0, 0);
91042   ;
91043   return 0;
91044 }
91045 _ACEOF
91046 rm -f conftest.$ac_objext
91047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91048   (eval $ac_compile) 2>conftest.er1
91049   ac_status=$?
91050   grep -v '^ *+' conftest.er1 >conftest.err
91051   rm -f conftest.er1
91052   cat conftest.err >&5
91053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91054   (exit $ac_status); } &&
91055          { ac_try='test -z "$ac_cxx_werror_flag"
91056                          || test ! -s conftest.err'
91057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91058   (eval $ac_try) 2>&5
91059   ac_status=$?
91060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91061   (exit $ac_status); }; } &&
91062          { ac_try='test -s conftest.$ac_objext'
91063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91064   (eval $ac_try) 2>&5
91065   ac_status=$?
91066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91067   (exit $ac_status); }; }; then
91068   glibcxx_cv_func__powf_use=yes
91069 else
91070   echo "$as_me: failed program was:" >&5
91071 sed 's/^/| /' conftest.$ac_ext >&5
91072
91073 glibcxx_cv_func__powf_use=no
91074 fi
91075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91076       ac_ext=c
91077 ac_cpp='$CPP $CPPFLAGS'
91078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91081
91082
91083 fi
91084
91085   fi
91086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
91087 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
91088
91089     if test x$glibcxx_cv_func__powf_use = x"yes"; then
91090
91091 for ac_func in _powf
91092 do
91093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91094 echo "$as_me:$LINENO: checking for $ac_func" >&5
91095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91096 if eval "test \"\${$as_ac_var+set}\" = set"; then
91097   echo $ECHO_N "(cached) $ECHO_C" >&6
91098 else
91099   if test x$gcc_no_link = xyes; then
91100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91102    { (exit 1); exit 1; }; }
91103 fi
91104 cat >conftest.$ac_ext <<_ACEOF
91105 /* confdefs.h.  */
91106 _ACEOF
91107 cat confdefs.h >>conftest.$ac_ext
91108 cat >>conftest.$ac_ext <<_ACEOF
91109 /* end confdefs.h.  */
91110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91112 #define $ac_func innocuous_$ac_func
91113
91114 /* System header to define __stub macros and hopefully few prototypes,
91115     which can conflict with char $ac_func (); below.
91116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91117     <limits.h> exists even on freestanding compilers.  */
91118
91119 #ifdef __STDC__
91120 # include <limits.h>
91121 #else
91122 # include <assert.h>
91123 #endif
91124
91125 #undef $ac_func
91126
91127 /* Override any gcc2 internal prototype to avoid an error.  */
91128 #ifdef __cplusplus
91129 extern "C"
91130 {
91131 #endif
91132 /* We use char because int might match the return type of a gcc2
91133    builtin and then its argument prototype would still apply.  */
91134 char $ac_func ();
91135 /* The GNU C library defines this for functions which it implements
91136     to always fail with ENOSYS.  Some functions are actually named
91137     something starting with __ and the normal name is an alias.  */
91138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91139 choke me
91140 #else
91141 char (*f) () = $ac_func;
91142 #endif
91143 #ifdef __cplusplus
91144 }
91145 #endif
91146
91147 int
91148 main ()
91149 {
91150 return f != $ac_func;
91151   ;
91152   return 0;
91153 }
91154 _ACEOF
91155 rm -f conftest.$ac_objext conftest$ac_exeext
91156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91157   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
91178 else
91179   echo "$as_me: failed program was:" >&5
91180 sed 's/^/| /' conftest.$ac_ext >&5
91181
91182 eval "$as_ac_var=no"
91183 fi
91184 rm -f conftest.err conftest.$ac_objext \
91185       conftest$ac_exeext conftest.$ac_ext
91186 fi
91187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91189 if test `eval echo '${'$as_ac_var'}'` = yes; then
91190   cat >>confdefs.h <<_ACEOF
91191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91192 _ACEOF
91193
91194 fi
91195 done
91196
91197     fi
91198   fi
91199
91200
91201
91202
91203
91204
91205   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
91206 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
91207   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
91208     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
91209   echo $ECHO_N "(cached) $ECHO_C" >&6
91210 else
91211
91212
91213
91214       ac_ext=cc
91215 ac_cpp='$CXXCPP $CPPFLAGS'
91216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91219
91220       cat >conftest.$ac_ext <<_ACEOF
91221 /* confdefs.h.  */
91222 _ACEOF
91223 cat confdefs.h >>conftest.$ac_ext
91224 cat >>conftest.$ac_ext <<_ACEOF
91225 /* end confdefs.h.  */
91226 #include <math.h>
91227                       #ifdef HAVE_IEEEFP_H
91228                       #include <ieeefp.h>
91229                       #endif
91230
91231 int
91232 main ()
91233 {
91234  sqrtf(0);
91235   ;
91236   return 0;
91237 }
91238 _ACEOF
91239 rm -f conftest.$ac_objext
91240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91241   (eval $ac_compile) 2>conftest.er1
91242   ac_status=$?
91243   grep -v '^ *+' conftest.er1 >conftest.err
91244   rm -f conftest.er1
91245   cat conftest.err >&5
91246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91247   (exit $ac_status); } &&
91248          { ac_try='test -z "$ac_cxx_werror_flag"
91249                          || test ! -s conftest.err'
91250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91251   (eval $ac_try) 2>&5
91252   ac_status=$?
91253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91254   (exit $ac_status); }; } &&
91255          { ac_try='test -s conftest.$ac_objext'
91256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91257   (eval $ac_try) 2>&5
91258   ac_status=$?
91259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91260   (exit $ac_status); }; }; then
91261   glibcxx_cv_func_sqrtf_use=yes
91262 else
91263   echo "$as_me: failed program was:" >&5
91264 sed 's/^/| /' conftest.$ac_ext >&5
91265
91266 glibcxx_cv_func_sqrtf_use=no
91267 fi
91268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91269       ac_ext=c
91270 ac_cpp='$CPP $CPPFLAGS'
91271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91274
91275
91276 fi
91277
91278   fi
91279   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
91280 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
91281
91282   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
91283
91284 for ac_func in sqrtf
91285 do
91286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91287 echo "$as_me:$LINENO: checking for $ac_func" >&5
91288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91289 if eval "test \"\${$as_ac_var+set}\" = set"; then
91290   echo $ECHO_N "(cached) $ECHO_C" >&6
91291 else
91292   if test x$gcc_no_link = xyes; then
91293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91295    { (exit 1); exit 1; }; }
91296 fi
91297 cat >conftest.$ac_ext <<_ACEOF
91298 /* confdefs.h.  */
91299 _ACEOF
91300 cat confdefs.h >>conftest.$ac_ext
91301 cat >>conftest.$ac_ext <<_ACEOF
91302 /* end confdefs.h.  */
91303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91305 #define $ac_func innocuous_$ac_func
91306
91307 /* System header to define __stub macros and hopefully few prototypes,
91308     which can conflict with char $ac_func (); below.
91309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91310     <limits.h> exists even on freestanding compilers.  */
91311
91312 #ifdef __STDC__
91313 # include <limits.h>
91314 #else
91315 # include <assert.h>
91316 #endif
91317
91318 #undef $ac_func
91319
91320 /* Override any gcc2 internal prototype to avoid an error.  */
91321 #ifdef __cplusplus
91322 extern "C"
91323 {
91324 #endif
91325 /* We use char because int might match the return type of a gcc2
91326    builtin and then its argument prototype would still apply.  */
91327 char $ac_func ();
91328 /* The GNU C library defines this for functions which it implements
91329     to always fail with ENOSYS.  Some functions are actually named
91330     something starting with __ and the normal name is an alias.  */
91331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91332 choke me
91333 #else
91334 char (*f) () = $ac_func;
91335 #endif
91336 #ifdef __cplusplus
91337 }
91338 #endif
91339
91340 int
91341 main ()
91342 {
91343 return f != $ac_func;
91344   ;
91345   return 0;
91346 }
91347 _ACEOF
91348 rm -f conftest.$ac_objext conftest$ac_exeext
91349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91350   (eval $ac_link) 2>conftest.er1
91351   ac_status=$?
91352   grep -v '^ *+' conftest.er1 >conftest.err
91353   rm -f conftest.er1
91354   cat conftest.err >&5
91355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91356   (exit $ac_status); } &&
91357          { ac_try='test -z "$ac_c_werror_flag"
91358                          || test ! -s conftest.err'
91359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91360   (eval $ac_try) 2>&5
91361   ac_status=$?
91362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91363   (exit $ac_status); }; } &&
91364          { ac_try='test -s conftest$ac_exeext'
91365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91366   (eval $ac_try) 2>&5
91367   ac_status=$?
91368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91369   (exit $ac_status); }; }; then
91370   eval "$as_ac_var=yes"
91371 else
91372   echo "$as_me: failed program was:" >&5
91373 sed 's/^/| /' conftest.$ac_ext >&5
91374
91375 eval "$as_ac_var=no"
91376 fi
91377 rm -f conftest.err conftest.$ac_objext \
91378       conftest$ac_exeext conftest.$ac_ext
91379 fi
91380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91382 if test `eval echo '${'$as_ac_var'}'` = yes; then
91383   cat >>confdefs.h <<_ACEOF
91384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91385 _ACEOF
91386
91387 fi
91388 done
91389
91390   else
91391
91392   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
91393 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
91394   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
91395     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
91396   echo $ECHO_N "(cached) $ECHO_C" >&6
91397 else
91398
91399
91400
91401       ac_ext=cc
91402 ac_cpp='$CXXCPP $CPPFLAGS'
91403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91406
91407       cat >conftest.$ac_ext <<_ACEOF
91408 /* confdefs.h.  */
91409 _ACEOF
91410 cat confdefs.h >>conftest.$ac_ext
91411 cat >>conftest.$ac_ext <<_ACEOF
91412 /* end confdefs.h.  */
91413 #include <math.h>
91414                       #ifdef HAVE_IEEEFP_H
91415                       #include <ieeefp.h>
91416                       #endif
91417
91418 int
91419 main ()
91420 {
91421  _sqrtf(0);
91422   ;
91423   return 0;
91424 }
91425 _ACEOF
91426 rm -f conftest.$ac_objext
91427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91428   (eval $ac_compile) 2>conftest.er1
91429   ac_status=$?
91430   grep -v '^ *+' conftest.er1 >conftest.err
91431   rm -f conftest.er1
91432   cat conftest.err >&5
91433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91434   (exit $ac_status); } &&
91435          { ac_try='test -z "$ac_cxx_werror_flag"
91436                          || test ! -s conftest.err'
91437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91438   (eval $ac_try) 2>&5
91439   ac_status=$?
91440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91441   (exit $ac_status); }; } &&
91442          { ac_try='test -s conftest.$ac_objext'
91443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91444   (eval $ac_try) 2>&5
91445   ac_status=$?
91446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91447   (exit $ac_status); }; }; then
91448   glibcxx_cv_func__sqrtf_use=yes
91449 else
91450   echo "$as_me: failed program was:" >&5
91451 sed 's/^/| /' conftest.$ac_ext >&5
91452
91453 glibcxx_cv_func__sqrtf_use=no
91454 fi
91455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91456       ac_ext=c
91457 ac_cpp='$CPP $CPPFLAGS'
91458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91461
91462
91463 fi
91464
91465   fi
91466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
91467 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
91468
91469     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
91470
91471 for ac_func in _sqrtf
91472 do
91473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91474 echo "$as_me:$LINENO: checking for $ac_func" >&5
91475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91476 if eval "test \"\${$as_ac_var+set}\" = set"; then
91477   echo $ECHO_N "(cached) $ECHO_C" >&6
91478 else
91479   if test x$gcc_no_link = xyes; then
91480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91482    { (exit 1); exit 1; }; }
91483 fi
91484 cat >conftest.$ac_ext <<_ACEOF
91485 /* confdefs.h.  */
91486 _ACEOF
91487 cat confdefs.h >>conftest.$ac_ext
91488 cat >>conftest.$ac_ext <<_ACEOF
91489 /* end confdefs.h.  */
91490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91492 #define $ac_func innocuous_$ac_func
91493
91494 /* System header to define __stub macros and hopefully few prototypes,
91495     which can conflict with char $ac_func (); below.
91496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91497     <limits.h> exists even on freestanding compilers.  */
91498
91499 #ifdef __STDC__
91500 # include <limits.h>
91501 #else
91502 # include <assert.h>
91503 #endif
91504
91505 #undef $ac_func
91506
91507 /* Override any gcc2 internal prototype to avoid an error.  */
91508 #ifdef __cplusplus
91509 extern "C"
91510 {
91511 #endif
91512 /* We use char because int might match the return type of a gcc2
91513    builtin and then its argument prototype would still apply.  */
91514 char $ac_func ();
91515 /* The GNU C library defines this for functions which it implements
91516     to always fail with ENOSYS.  Some functions are actually named
91517     something starting with __ and the normal name is an alias.  */
91518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91519 choke me
91520 #else
91521 char (*f) () = $ac_func;
91522 #endif
91523 #ifdef __cplusplus
91524 }
91525 #endif
91526
91527 int
91528 main ()
91529 {
91530 return f != $ac_func;
91531   ;
91532   return 0;
91533 }
91534 _ACEOF
91535 rm -f conftest.$ac_objext conftest$ac_exeext
91536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91537   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
91558 else
91559   echo "$as_me: failed program was:" >&5
91560 sed 's/^/| /' conftest.$ac_ext >&5
91561
91562 eval "$as_ac_var=no"
91563 fi
91564 rm -f conftest.err conftest.$ac_objext \
91565       conftest$ac_exeext conftest.$ac_ext
91566 fi
91567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91569 if test `eval echo '${'$as_ac_var'}'` = yes; then
91570   cat >>confdefs.h <<_ACEOF
91571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91572 _ACEOF
91573
91574 fi
91575 done
91576
91577     fi
91578   fi
91579
91580
91581
91582
91583
91584
91585   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
91586 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
91587   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
91588     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
91589   echo $ECHO_N "(cached) $ECHO_C" >&6
91590 else
91591
91592
91593
91594       ac_ext=cc
91595 ac_cpp='$CXXCPP $CPPFLAGS'
91596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91599
91600       cat >conftest.$ac_ext <<_ACEOF
91601 /* confdefs.h.  */
91602 _ACEOF
91603 cat confdefs.h >>conftest.$ac_ext
91604 cat >>conftest.$ac_ext <<_ACEOF
91605 /* end confdefs.h.  */
91606 #include <math.h>
91607 int
91608 main ()
91609 {
91610  sincosf(0, 0, 0);
91611   ;
91612   return 0;
91613 }
91614 _ACEOF
91615 rm -f conftest.$ac_objext
91616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91617   (eval $ac_compile) 2>conftest.er1
91618   ac_status=$?
91619   grep -v '^ *+' conftest.er1 >conftest.err
91620   rm -f conftest.er1
91621   cat conftest.err >&5
91622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91623   (exit $ac_status); } &&
91624          { ac_try='test -z "$ac_cxx_werror_flag"
91625                          || test ! -s conftest.err'
91626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91627   (eval $ac_try) 2>&5
91628   ac_status=$?
91629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91630   (exit $ac_status); }; } &&
91631          { ac_try='test -s conftest.$ac_objext'
91632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91633   (eval $ac_try) 2>&5
91634   ac_status=$?
91635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91636   (exit $ac_status); }; }; then
91637   glibcxx_cv_func_sincosf_use=yes
91638 else
91639   echo "$as_me: failed program was:" >&5
91640 sed 's/^/| /' conftest.$ac_ext >&5
91641
91642 glibcxx_cv_func_sincosf_use=no
91643 fi
91644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91645       ac_ext=c
91646 ac_cpp='$CPP $CPPFLAGS'
91647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91650
91651
91652 fi
91653
91654   fi
91655   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
91656 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
91657
91658   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
91659
91660 for ac_func in sincosf
91661 do
91662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91663 echo "$as_me:$LINENO: checking for $ac_func" >&5
91664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91665 if eval "test \"\${$as_ac_var+set}\" = set"; then
91666   echo $ECHO_N "(cached) $ECHO_C" >&6
91667 else
91668   if test x$gcc_no_link = xyes; then
91669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91671    { (exit 1); exit 1; }; }
91672 fi
91673 cat >conftest.$ac_ext <<_ACEOF
91674 /* confdefs.h.  */
91675 _ACEOF
91676 cat confdefs.h >>conftest.$ac_ext
91677 cat >>conftest.$ac_ext <<_ACEOF
91678 /* end confdefs.h.  */
91679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91681 #define $ac_func innocuous_$ac_func
91682
91683 /* System header to define __stub macros and hopefully few prototypes,
91684     which can conflict with char $ac_func (); below.
91685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91686     <limits.h> exists even on freestanding compilers.  */
91687
91688 #ifdef __STDC__
91689 # include <limits.h>
91690 #else
91691 # include <assert.h>
91692 #endif
91693
91694 #undef $ac_func
91695
91696 /* Override any gcc2 internal prototype to avoid an error.  */
91697 #ifdef __cplusplus
91698 extern "C"
91699 {
91700 #endif
91701 /* We use char because int might match the return type of a gcc2
91702    builtin and then its argument prototype would still apply.  */
91703 char $ac_func ();
91704 /* The GNU C library defines this for functions which it implements
91705     to always fail with ENOSYS.  Some functions are actually named
91706     something starting with __ and the normal name is an alias.  */
91707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91708 choke me
91709 #else
91710 char (*f) () = $ac_func;
91711 #endif
91712 #ifdef __cplusplus
91713 }
91714 #endif
91715
91716 int
91717 main ()
91718 {
91719 return f != $ac_func;
91720   ;
91721   return 0;
91722 }
91723 _ACEOF
91724 rm -f conftest.$ac_objext conftest$ac_exeext
91725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91726   (eval $ac_link) 2>conftest.er1
91727   ac_status=$?
91728   grep -v '^ *+' conftest.er1 >conftest.err
91729   rm -f conftest.er1
91730   cat conftest.err >&5
91731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91732   (exit $ac_status); } &&
91733          { ac_try='test -z "$ac_c_werror_flag"
91734                          || test ! -s conftest.err'
91735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91736   (eval $ac_try) 2>&5
91737   ac_status=$?
91738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91739   (exit $ac_status); }; } &&
91740          { ac_try='test -s conftest$ac_exeext'
91741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91742   (eval $ac_try) 2>&5
91743   ac_status=$?
91744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91745   (exit $ac_status); }; }; then
91746   eval "$as_ac_var=yes"
91747 else
91748   echo "$as_me: failed program was:" >&5
91749 sed 's/^/| /' conftest.$ac_ext >&5
91750
91751 eval "$as_ac_var=no"
91752 fi
91753 rm -f conftest.err conftest.$ac_objext \
91754       conftest$ac_exeext conftest.$ac_ext
91755 fi
91756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91758 if test `eval echo '${'$as_ac_var'}'` = yes; then
91759   cat >>confdefs.h <<_ACEOF
91760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91761 _ACEOF
91762
91763 fi
91764 done
91765
91766   else
91767
91768   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
91769 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
91770   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
91771     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
91772   echo $ECHO_N "(cached) $ECHO_C" >&6
91773 else
91774
91775
91776
91777       ac_ext=cc
91778 ac_cpp='$CXXCPP $CPPFLAGS'
91779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91782
91783       cat >conftest.$ac_ext <<_ACEOF
91784 /* confdefs.h.  */
91785 _ACEOF
91786 cat confdefs.h >>conftest.$ac_ext
91787 cat >>conftest.$ac_ext <<_ACEOF
91788 /* end confdefs.h.  */
91789 #include <math.h>
91790 int
91791 main ()
91792 {
91793  _sincosf(0, 0, 0);
91794   ;
91795   return 0;
91796 }
91797 _ACEOF
91798 rm -f conftest.$ac_objext
91799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91800   (eval $ac_compile) 2>conftest.er1
91801   ac_status=$?
91802   grep -v '^ *+' conftest.er1 >conftest.err
91803   rm -f conftest.er1
91804   cat conftest.err >&5
91805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91806   (exit $ac_status); } &&
91807          { ac_try='test -z "$ac_cxx_werror_flag"
91808                          || test ! -s conftest.err'
91809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91810   (eval $ac_try) 2>&5
91811   ac_status=$?
91812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91813   (exit $ac_status); }; } &&
91814          { ac_try='test -s conftest.$ac_objext'
91815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91816   (eval $ac_try) 2>&5
91817   ac_status=$?
91818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91819   (exit $ac_status); }; }; then
91820   glibcxx_cv_func__sincosf_use=yes
91821 else
91822   echo "$as_me: failed program was:" >&5
91823 sed 's/^/| /' conftest.$ac_ext >&5
91824
91825 glibcxx_cv_func__sincosf_use=no
91826 fi
91827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91828       ac_ext=c
91829 ac_cpp='$CPP $CPPFLAGS'
91830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91833
91834
91835 fi
91836
91837   fi
91838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
91839 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
91840
91841     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
91842
91843 for ac_func in _sincosf
91844 do
91845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91846 echo "$as_me:$LINENO: checking for $ac_func" >&5
91847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91848 if eval "test \"\${$as_ac_var+set}\" = set"; then
91849   echo $ECHO_N "(cached) $ECHO_C" >&6
91850 else
91851   if test x$gcc_no_link = xyes; then
91852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91854    { (exit 1); exit 1; }; }
91855 fi
91856 cat >conftest.$ac_ext <<_ACEOF
91857 /* confdefs.h.  */
91858 _ACEOF
91859 cat confdefs.h >>conftest.$ac_ext
91860 cat >>conftest.$ac_ext <<_ACEOF
91861 /* end confdefs.h.  */
91862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91864 #define $ac_func innocuous_$ac_func
91865
91866 /* System header to define __stub macros and hopefully few prototypes,
91867     which can conflict with char $ac_func (); below.
91868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91869     <limits.h> exists even on freestanding compilers.  */
91870
91871 #ifdef __STDC__
91872 # include <limits.h>
91873 #else
91874 # include <assert.h>
91875 #endif
91876
91877 #undef $ac_func
91878
91879 /* Override any gcc2 internal prototype to avoid an error.  */
91880 #ifdef __cplusplus
91881 extern "C"
91882 {
91883 #endif
91884 /* We use char because int might match the return type of a gcc2
91885    builtin and then its argument prototype would still apply.  */
91886 char $ac_func ();
91887 /* The GNU C library defines this for functions which it implements
91888     to always fail with ENOSYS.  Some functions are actually named
91889     something starting with __ and the normal name is an alias.  */
91890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91891 choke me
91892 #else
91893 char (*f) () = $ac_func;
91894 #endif
91895 #ifdef __cplusplus
91896 }
91897 #endif
91898
91899 int
91900 main ()
91901 {
91902 return f != $ac_func;
91903   ;
91904   return 0;
91905 }
91906 _ACEOF
91907 rm -f conftest.$ac_objext conftest$ac_exeext
91908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91909   (eval $ac_link) 2>conftest.er1
91910   ac_status=$?
91911   grep -v '^ *+' conftest.er1 >conftest.err
91912   rm -f conftest.er1
91913   cat conftest.err >&5
91914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91915   (exit $ac_status); } &&
91916          { ac_try='test -z "$ac_c_werror_flag"
91917                          || test ! -s conftest.err'
91918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91919   (eval $ac_try) 2>&5
91920   ac_status=$?
91921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91922   (exit $ac_status); }; } &&
91923          { ac_try='test -s conftest$ac_exeext'
91924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91925   (eval $ac_try) 2>&5
91926   ac_status=$?
91927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91928   (exit $ac_status); }; }; then
91929   eval "$as_ac_var=yes"
91930 else
91931   echo "$as_me: failed program was:" >&5
91932 sed 's/^/| /' conftest.$ac_ext >&5
91933
91934 eval "$as_ac_var=no"
91935 fi
91936 rm -f conftest.err conftest.$ac_objext \
91937       conftest$ac_exeext conftest.$ac_ext
91938 fi
91939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91941 if test `eval echo '${'$as_ac_var'}'` = yes; then
91942   cat >>confdefs.h <<_ACEOF
91943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91944 _ACEOF
91945
91946 fi
91947 done
91948
91949     fi
91950   fi
91951
91952
91953
91954
91955
91956
91957   echo "$as_me:$LINENO: checking for finitef declaration" >&5
91958 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
91959   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
91960     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
91961   echo $ECHO_N "(cached) $ECHO_C" >&6
91962 else
91963
91964
91965
91966       ac_ext=cc
91967 ac_cpp='$CXXCPP $CPPFLAGS'
91968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91971
91972       cat >conftest.$ac_ext <<_ACEOF
91973 /* confdefs.h.  */
91974 _ACEOF
91975 cat confdefs.h >>conftest.$ac_ext
91976 cat >>conftest.$ac_ext <<_ACEOF
91977 /* end confdefs.h.  */
91978 #include <math.h>
91979                       #ifdef HAVE_IEEEFP_H
91980                       #include <ieeefp.h>
91981                       #endif
91982
91983 int
91984 main ()
91985 {
91986  finitef(0);
91987   ;
91988   return 0;
91989 }
91990 _ACEOF
91991 rm -f conftest.$ac_objext
91992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91993   (eval $ac_compile) 2>conftest.er1
91994   ac_status=$?
91995   grep -v '^ *+' conftest.er1 >conftest.err
91996   rm -f conftest.er1
91997   cat conftest.err >&5
91998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91999   (exit $ac_status); } &&
92000          { ac_try='test -z "$ac_cxx_werror_flag"
92001                          || test ! -s conftest.err'
92002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92003   (eval $ac_try) 2>&5
92004   ac_status=$?
92005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92006   (exit $ac_status); }; } &&
92007          { ac_try='test -s conftest.$ac_objext'
92008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92009   (eval $ac_try) 2>&5
92010   ac_status=$?
92011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92012   (exit $ac_status); }; }; then
92013   glibcxx_cv_func_finitef_use=yes
92014 else
92015   echo "$as_me: failed program was:" >&5
92016 sed 's/^/| /' conftest.$ac_ext >&5
92017
92018 glibcxx_cv_func_finitef_use=no
92019 fi
92020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92021       ac_ext=c
92022 ac_cpp='$CPP $CPPFLAGS'
92023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92026
92027
92028 fi
92029
92030   fi
92031   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
92032 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
92033
92034   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
92035
92036 for ac_func in finitef
92037 do
92038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92039 echo "$as_me:$LINENO: checking for $ac_func" >&5
92040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92041 if eval "test \"\${$as_ac_var+set}\" = set"; then
92042   echo $ECHO_N "(cached) $ECHO_C" >&6
92043 else
92044   if test x$gcc_no_link = xyes; then
92045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92047    { (exit 1); exit 1; }; }
92048 fi
92049 cat >conftest.$ac_ext <<_ACEOF
92050 /* confdefs.h.  */
92051 _ACEOF
92052 cat confdefs.h >>conftest.$ac_ext
92053 cat >>conftest.$ac_ext <<_ACEOF
92054 /* end confdefs.h.  */
92055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92057 #define $ac_func innocuous_$ac_func
92058
92059 /* System header to define __stub macros and hopefully few prototypes,
92060     which can conflict with char $ac_func (); below.
92061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92062     <limits.h> exists even on freestanding compilers.  */
92063
92064 #ifdef __STDC__
92065 # include <limits.h>
92066 #else
92067 # include <assert.h>
92068 #endif
92069
92070 #undef $ac_func
92071
92072 /* Override any gcc2 internal prototype to avoid an error.  */
92073 #ifdef __cplusplus
92074 extern "C"
92075 {
92076 #endif
92077 /* We use char because int might match the return type of a gcc2
92078    builtin and then its argument prototype would still apply.  */
92079 char $ac_func ();
92080 /* The GNU C library defines this for functions which it implements
92081     to always fail with ENOSYS.  Some functions are actually named
92082     something starting with __ and the normal name is an alias.  */
92083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92084 choke me
92085 #else
92086 char (*f) () = $ac_func;
92087 #endif
92088 #ifdef __cplusplus
92089 }
92090 #endif
92091
92092 int
92093 main ()
92094 {
92095 return f != $ac_func;
92096   ;
92097   return 0;
92098 }
92099 _ACEOF
92100 rm -f conftest.$ac_objext conftest$ac_exeext
92101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92102   (eval $ac_link) 2>conftest.er1
92103   ac_status=$?
92104   grep -v '^ *+' conftest.er1 >conftest.err
92105   rm -f conftest.er1
92106   cat conftest.err >&5
92107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92108   (exit $ac_status); } &&
92109          { ac_try='test -z "$ac_c_werror_flag"
92110                          || test ! -s conftest.err'
92111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92112   (eval $ac_try) 2>&5
92113   ac_status=$?
92114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92115   (exit $ac_status); }; } &&
92116          { ac_try='test -s conftest$ac_exeext'
92117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92118   (eval $ac_try) 2>&5
92119   ac_status=$?
92120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92121   (exit $ac_status); }; }; then
92122   eval "$as_ac_var=yes"
92123 else
92124   echo "$as_me: failed program was:" >&5
92125 sed 's/^/| /' conftest.$ac_ext >&5
92126
92127 eval "$as_ac_var=no"
92128 fi
92129 rm -f conftest.err conftest.$ac_objext \
92130       conftest$ac_exeext conftest.$ac_ext
92131 fi
92132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92134 if test `eval echo '${'$as_ac_var'}'` = yes; then
92135   cat >>confdefs.h <<_ACEOF
92136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92137 _ACEOF
92138
92139 fi
92140 done
92141
92142   else
92143
92144   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
92145 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
92146   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
92147     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
92148   echo $ECHO_N "(cached) $ECHO_C" >&6
92149 else
92150
92151
92152
92153       ac_ext=cc
92154 ac_cpp='$CXXCPP $CPPFLAGS'
92155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92158
92159       cat >conftest.$ac_ext <<_ACEOF
92160 /* confdefs.h.  */
92161 _ACEOF
92162 cat confdefs.h >>conftest.$ac_ext
92163 cat >>conftest.$ac_ext <<_ACEOF
92164 /* end confdefs.h.  */
92165 #include <math.h>
92166                       #ifdef HAVE_IEEEFP_H
92167                       #include <ieeefp.h>
92168                       #endif
92169
92170 int
92171 main ()
92172 {
92173  _finitef(0);
92174   ;
92175   return 0;
92176 }
92177 _ACEOF
92178 rm -f conftest.$ac_objext
92179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92180   (eval $ac_compile) 2>conftest.er1
92181   ac_status=$?
92182   grep -v '^ *+' conftest.er1 >conftest.err
92183   rm -f conftest.er1
92184   cat conftest.err >&5
92185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92186   (exit $ac_status); } &&
92187          { ac_try='test -z "$ac_cxx_werror_flag"
92188                          || test ! -s conftest.err'
92189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92190   (eval $ac_try) 2>&5
92191   ac_status=$?
92192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92193   (exit $ac_status); }; } &&
92194          { ac_try='test -s conftest.$ac_objext'
92195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92196   (eval $ac_try) 2>&5
92197   ac_status=$?
92198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92199   (exit $ac_status); }; }; then
92200   glibcxx_cv_func__finitef_use=yes
92201 else
92202   echo "$as_me: failed program was:" >&5
92203 sed 's/^/| /' conftest.$ac_ext >&5
92204
92205 glibcxx_cv_func__finitef_use=no
92206 fi
92207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92208       ac_ext=c
92209 ac_cpp='$CPP $CPPFLAGS'
92210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92213
92214
92215 fi
92216
92217   fi
92218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
92219 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
92220
92221     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
92222
92223 for ac_func in _finitef
92224 do
92225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92226 echo "$as_me:$LINENO: checking for $ac_func" >&5
92227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92228 if eval "test \"\${$as_ac_var+set}\" = set"; then
92229   echo $ECHO_N "(cached) $ECHO_C" >&6
92230 else
92231   if test x$gcc_no_link = xyes; then
92232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92234    { (exit 1); exit 1; }; }
92235 fi
92236 cat >conftest.$ac_ext <<_ACEOF
92237 /* confdefs.h.  */
92238 _ACEOF
92239 cat confdefs.h >>conftest.$ac_ext
92240 cat >>conftest.$ac_ext <<_ACEOF
92241 /* end confdefs.h.  */
92242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92244 #define $ac_func innocuous_$ac_func
92245
92246 /* System header to define __stub macros and hopefully few prototypes,
92247     which can conflict with char $ac_func (); below.
92248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92249     <limits.h> exists even on freestanding compilers.  */
92250
92251 #ifdef __STDC__
92252 # include <limits.h>
92253 #else
92254 # include <assert.h>
92255 #endif
92256
92257 #undef $ac_func
92258
92259 /* Override any gcc2 internal prototype to avoid an error.  */
92260 #ifdef __cplusplus
92261 extern "C"
92262 {
92263 #endif
92264 /* We use char because int might match the return type of a gcc2
92265    builtin and then its argument prototype would still apply.  */
92266 char $ac_func ();
92267 /* The GNU C library defines this for functions which it implements
92268     to always fail with ENOSYS.  Some functions are actually named
92269     something starting with __ and the normal name is an alias.  */
92270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92271 choke me
92272 #else
92273 char (*f) () = $ac_func;
92274 #endif
92275 #ifdef __cplusplus
92276 }
92277 #endif
92278
92279 int
92280 main ()
92281 {
92282 return f != $ac_func;
92283   ;
92284   return 0;
92285 }
92286 _ACEOF
92287 rm -f conftest.$ac_objext conftest$ac_exeext
92288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92289   (eval $ac_link) 2>conftest.er1
92290   ac_status=$?
92291   grep -v '^ *+' conftest.er1 >conftest.err
92292   rm -f conftest.er1
92293   cat conftest.err >&5
92294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92295   (exit $ac_status); } &&
92296          { ac_try='test -z "$ac_c_werror_flag"
92297                          || test ! -s conftest.err'
92298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92299   (eval $ac_try) 2>&5
92300   ac_status=$?
92301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92302   (exit $ac_status); }; } &&
92303          { ac_try='test -s conftest$ac_exeext'
92304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92305   (eval $ac_try) 2>&5
92306   ac_status=$?
92307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92308   (exit $ac_status); }; }; then
92309   eval "$as_ac_var=yes"
92310 else
92311   echo "$as_me: failed program was:" >&5
92312 sed 's/^/| /' conftest.$ac_ext >&5
92313
92314 eval "$as_ac_var=no"
92315 fi
92316 rm -f conftest.err conftest.$ac_objext \
92317       conftest$ac_exeext conftest.$ac_ext
92318 fi
92319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92321 if test `eval echo '${'$as_ac_var'}'` = yes; then
92322   cat >>confdefs.h <<_ACEOF
92323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92324 _ACEOF
92325
92326 fi
92327 done
92328
92329     fi
92330   fi
92331
92332
92333
92334
92335
92336
92337     echo "$as_me:$LINENO: checking for long double trig functions" >&5
92338 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
92339   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
92340   echo $ECHO_N "(cached) $ECHO_C" >&6
92341 else
92342
92343
92344
92345     ac_ext=cc
92346 ac_cpp='$CXXCPP $CPPFLAGS'
92347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92350
92351     cat >conftest.$ac_ext <<_ACEOF
92352 /* confdefs.h.  */
92353 _ACEOF
92354 cat confdefs.h >>conftest.$ac_ext
92355 cat >>conftest.$ac_ext <<_ACEOF
92356 /* end confdefs.h.  */
92357 #include <math.h>
92358 int
92359 main ()
92360 {
92361 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
92362   ;
92363   return 0;
92364 }
92365 _ACEOF
92366 rm -f conftest.$ac_objext
92367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92368   (eval $ac_compile) 2>conftest.er1
92369   ac_status=$?
92370   grep -v '^ *+' conftest.er1 >conftest.err
92371   rm -f conftest.er1
92372   cat conftest.err >&5
92373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92374   (exit $ac_status); } &&
92375          { ac_try='test -z "$ac_cxx_werror_flag"
92376                          || test ! -s conftest.err'
92377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92378   (eval $ac_try) 2>&5
92379   ac_status=$?
92380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92381   (exit $ac_status); }; } &&
92382          { ac_try='test -s conftest.$ac_objext'
92383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92384   (eval $ac_try) 2>&5
92385   ac_status=$?
92386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92387   (exit $ac_status); }; }; then
92388   glibcxx_cv_func_long_double_trig_use=yes
92389 else
92390   echo "$as_me: failed program was:" >&5
92391 sed 's/^/| /' conftest.$ac_ext >&5
92392
92393 glibcxx_cv_func_long_double_trig_use=no
92394 fi
92395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92396     ac_ext=c
92397 ac_cpp='$CPP $CPPFLAGS'
92398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92401
92402 fi
92403
92404   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
92405 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
92406   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
92407
92408
92409
92410
92411
92412
92413
92414
92415
92416 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
92417 do
92418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92419 echo "$as_me:$LINENO: checking for $ac_func" >&5
92420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92421 if eval "test \"\${$as_ac_var+set}\" = set"; then
92422   echo $ECHO_N "(cached) $ECHO_C" >&6
92423 else
92424   if test x$gcc_no_link = xyes; then
92425   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92427    { (exit 1); exit 1; }; }
92428 fi
92429 cat >conftest.$ac_ext <<_ACEOF
92430 /* confdefs.h.  */
92431 _ACEOF
92432 cat confdefs.h >>conftest.$ac_ext
92433 cat >>conftest.$ac_ext <<_ACEOF
92434 /* end confdefs.h.  */
92435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92437 #define $ac_func innocuous_$ac_func
92438
92439 /* System header to define __stub macros and hopefully few prototypes,
92440     which can conflict with char $ac_func (); below.
92441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92442     <limits.h> exists even on freestanding compilers.  */
92443
92444 #ifdef __STDC__
92445 # include <limits.h>
92446 #else
92447 # include <assert.h>
92448 #endif
92449
92450 #undef $ac_func
92451
92452 /* Override any gcc2 internal prototype to avoid an error.  */
92453 #ifdef __cplusplus
92454 extern "C"
92455 {
92456 #endif
92457 /* We use char because int might match the return type of a gcc2
92458    builtin and then its argument prototype would still apply.  */
92459 char $ac_func ();
92460 /* The GNU C library defines this for functions which it implements
92461     to always fail with ENOSYS.  Some functions are actually named
92462     something starting with __ and the normal name is an alias.  */
92463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92464 choke me
92465 #else
92466 char (*f) () = $ac_func;
92467 #endif
92468 #ifdef __cplusplus
92469 }
92470 #endif
92471
92472 int
92473 main ()
92474 {
92475 return f != $ac_func;
92476   ;
92477   return 0;
92478 }
92479 _ACEOF
92480 rm -f conftest.$ac_objext conftest$ac_exeext
92481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92482   (eval $ac_link) 2>conftest.er1
92483   ac_status=$?
92484   grep -v '^ *+' conftest.er1 >conftest.err
92485   rm -f conftest.er1
92486   cat conftest.err >&5
92487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92488   (exit $ac_status); } &&
92489          { ac_try='test -z "$ac_c_werror_flag"
92490                          || test ! -s conftest.err'
92491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92492   (eval $ac_try) 2>&5
92493   ac_status=$?
92494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92495   (exit $ac_status); }; } &&
92496          { ac_try='test -s conftest$ac_exeext'
92497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92498   (eval $ac_try) 2>&5
92499   ac_status=$?
92500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92501   (exit $ac_status); }; }; then
92502   eval "$as_ac_var=yes"
92503 else
92504   echo "$as_me: failed program was:" >&5
92505 sed 's/^/| /' conftest.$ac_ext >&5
92506
92507 eval "$as_ac_var=no"
92508 fi
92509 rm -f conftest.err conftest.$ac_objext \
92510       conftest$ac_exeext conftest.$ac_ext
92511 fi
92512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92514 if test `eval echo '${'$as_ac_var'}'` = yes; then
92515   cat >>confdefs.h <<_ACEOF
92516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92517 _ACEOF
92518
92519 fi
92520 done
92521
92522   else
92523     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
92524 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
92525     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
92526   echo $ECHO_N "(cached) $ECHO_C" >&6
92527 else
92528
92529
92530
92531       ac_ext=cc
92532 ac_cpp='$CXXCPP $CPPFLAGS'
92533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92536
92537       cat >conftest.$ac_ext <<_ACEOF
92538 /* confdefs.h.  */
92539 _ACEOF
92540 cat confdefs.h >>conftest.$ac_ext
92541 cat >>conftest.$ac_ext <<_ACEOF
92542 /* end confdefs.h.  */
92543 #include <math.h>
92544 int
92545 main ()
92546 {
92547 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
92548   ;
92549   return 0;
92550 }
92551 _ACEOF
92552 rm -f conftest.$ac_objext
92553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92554   (eval $ac_compile) 2>conftest.er1
92555   ac_status=$?
92556   grep -v '^ *+' conftest.er1 >conftest.err
92557   rm -f conftest.er1
92558   cat conftest.err >&5
92559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92560   (exit $ac_status); } &&
92561          { ac_try='test -z "$ac_cxx_werror_flag"
92562                          || test ! -s conftest.err'
92563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92564   (eval $ac_try) 2>&5
92565   ac_status=$?
92566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92567   (exit $ac_status); }; } &&
92568          { ac_try='test -s conftest.$ac_objext'
92569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92570   (eval $ac_try) 2>&5
92571   ac_status=$?
92572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92573   (exit $ac_status); }; }; then
92574   glibcxx_cv_func__long_double_trig_use=yes
92575 else
92576   echo "$as_me: failed program was:" >&5
92577 sed 's/^/| /' conftest.$ac_ext >&5
92578
92579 glibcxx_cv_func__long_double_trig_use=no
92580 fi
92581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92582       ac_ext=c
92583 ac_cpp='$CPP $CPPFLAGS'
92584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92587
92588 fi
92589
92590     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
92591 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
92592     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
92593
92594
92595
92596
92597
92598
92599
92600
92601
92602 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
92603 do
92604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92605 echo "$as_me:$LINENO: checking for $ac_func" >&5
92606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92607 if eval "test \"\${$as_ac_var+set}\" = set"; then
92608   echo $ECHO_N "(cached) $ECHO_C" >&6
92609 else
92610   if test x$gcc_no_link = xyes; then
92611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92613    { (exit 1); exit 1; }; }
92614 fi
92615 cat >conftest.$ac_ext <<_ACEOF
92616 /* confdefs.h.  */
92617 _ACEOF
92618 cat confdefs.h >>conftest.$ac_ext
92619 cat >>conftest.$ac_ext <<_ACEOF
92620 /* end confdefs.h.  */
92621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92623 #define $ac_func innocuous_$ac_func
92624
92625 /* System header to define __stub macros and hopefully few prototypes,
92626     which can conflict with char $ac_func (); below.
92627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92628     <limits.h> exists even on freestanding compilers.  */
92629
92630 #ifdef __STDC__
92631 # include <limits.h>
92632 #else
92633 # include <assert.h>
92634 #endif
92635
92636 #undef $ac_func
92637
92638 /* Override any gcc2 internal prototype to avoid an error.  */
92639 #ifdef __cplusplus
92640 extern "C"
92641 {
92642 #endif
92643 /* We use char because int might match the return type of a gcc2
92644    builtin and then its argument prototype would still apply.  */
92645 char $ac_func ();
92646 /* The GNU C library defines this for functions which it implements
92647     to always fail with ENOSYS.  Some functions are actually named
92648     something starting with __ and the normal name is an alias.  */
92649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92650 choke me
92651 #else
92652 char (*f) () = $ac_func;
92653 #endif
92654 #ifdef __cplusplus
92655 }
92656 #endif
92657
92658 int
92659 main ()
92660 {
92661 return f != $ac_func;
92662   ;
92663   return 0;
92664 }
92665 _ACEOF
92666 rm -f conftest.$ac_objext conftest$ac_exeext
92667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92668   (eval $ac_link) 2>conftest.er1
92669   ac_status=$?
92670   grep -v '^ *+' conftest.er1 >conftest.err
92671   rm -f conftest.er1
92672   cat conftest.err >&5
92673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92674   (exit $ac_status); } &&
92675          { ac_try='test -z "$ac_c_werror_flag"
92676                          || test ! -s conftest.err'
92677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92678   (eval $ac_try) 2>&5
92679   ac_status=$?
92680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92681   (exit $ac_status); }; } &&
92682          { ac_try='test -s conftest$ac_exeext'
92683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92684   (eval $ac_try) 2>&5
92685   ac_status=$?
92686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92687   (exit $ac_status); }; }; then
92688   eval "$as_ac_var=yes"
92689 else
92690   echo "$as_me: failed program was:" >&5
92691 sed 's/^/| /' conftest.$ac_ext >&5
92692
92693 eval "$as_ac_var=no"
92694 fi
92695 rm -f conftest.err conftest.$ac_objext \
92696       conftest$ac_exeext conftest.$ac_ext
92697 fi
92698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92700 if test `eval echo '${'$as_ac_var'}'` = yes; then
92701   cat >>confdefs.h <<_ACEOF
92702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92703 _ACEOF
92704
92705 fi
92706 done
92707
92708     fi
92709   fi
92710
92711
92712
92713
92714
92715
92716
92717
92718
92719
92720
92721
92722
92723
92724     echo "$as_me:$LINENO: checking for long double round functions" >&5
92725 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
92726   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
92727   echo $ECHO_N "(cached) $ECHO_C" >&6
92728 else
92729
92730
92731
92732     ac_ext=cc
92733 ac_cpp='$CXXCPP $CPPFLAGS'
92734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92737
92738     cat >conftest.$ac_ext <<_ACEOF
92739 /* confdefs.h.  */
92740 _ACEOF
92741 cat confdefs.h >>conftest.$ac_ext
92742 cat >>conftest.$ac_ext <<_ACEOF
92743 /* end confdefs.h.  */
92744 #include <math.h>
92745 int
92746 main ()
92747 {
92748 ceill (0); floorl (0);
92749   ;
92750   return 0;
92751 }
92752 _ACEOF
92753 rm -f conftest.$ac_objext
92754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92755   (eval $ac_compile) 2>conftest.er1
92756   ac_status=$?
92757   grep -v '^ *+' conftest.er1 >conftest.err
92758   rm -f conftest.er1
92759   cat conftest.err >&5
92760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92761   (exit $ac_status); } &&
92762          { ac_try='test -z "$ac_cxx_werror_flag"
92763                          || test ! -s conftest.err'
92764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92765   (eval $ac_try) 2>&5
92766   ac_status=$?
92767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92768   (exit $ac_status); }; } &&
92769          { ac_try='test -s conftest.$ac_objext'
92770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92771   (eval $ac_try) 2>&5
92772   ac_status=$?
92773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92774   (exit $ac_status); }; }; then
92775   glibcxx_cv_func_long_double_round_use=yes
92776 else
92777   echo "$as_me: failed program was:" >&5
92778 sed 's/^/| /' conftest.$ac_ext >&5
92779
92780 glibcxx_cv_func_long_double_round_use=no
92781 fi
92782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92783     ac_ext=c
92784 ac_cpp='$CPP $CPPFLAGS'
92785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92788
92789 fi
92790
92791   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
92792 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
92793   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
92794
92795
92796 for ac_func in ceill floorl
92797 do
92798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92799 echo "$as_me:$LINENO: checking for $ac_func" >&5
92800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92801 if eval "test \"\${$as_ac_var+set}\" = set"; then
92802   echo $ECHO_N "(cached) $ECHO_C" >&6
92803 else
92804   if test x$gcc_no_link = xyes; then
92805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92807    { (exit 1); exit 1; }; }
92808 fi
92809 cat >conftest.$ac_ext <<_ACEOF
92810 /* confdefs.h.  */
92811 _ACEOF
92812 cat confdefs.h >>conftest.$ac_ext
92813 cat >>conftest.$ac_ext <<_ACEOF
92814 /* end confdefs.h.  */
92815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92817 #define $ac_func innocuous_$ac_func
92818
92819 /* System header to define __stub macros and hopefully few prototypes,
92820     which can conflict with char $ac_func (); below.
92821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92822     <limits.h> exists even on freestanding compilers.  */
92823
92824 #ifdef __STDC__
92825 # include <limits.h>
92826 #else
92827 # include <assert.h>
92828 #endif
92829
92830 #undef $ac_func
92831
92832 /* Override any gcc2 internal prototype to avoid an error.  */
92833 #ifdef __cplusplus
92834 extern "C"
92835 {
92836 #endif
92837 /* We use char because int might match the return type of a gcc2
92838    builtin and then its argument prototype would still apply.  */
92839 char $ac_func ();
92840 /* The GNU C library defines this for functions which it implements
92841     to always fail with ENOSYS.  Some functions are actually named
92842     something starting with __ and the normal name is an alias.  */
92843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92844 choke me
92845 #else
92846 char (*f) () = $ac_func;
92847 #endif
92848 #ifdef __cplusplus
92849 }
92850 #endif
92851
92852 int
92853 main ()
92854 {
92855 return f != $ac_func;
92856   ;
92857   return 0;
92858 }
92859 _ACEOF
92860 rm -f conftest.$ac_objext conftest$ac_exeext
92861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92862   (eval $ac_link) 2>conftest.er1
92863   ac_status=$?
92864   grep -v '^ *+' conftest.er1 >conftest.err
92865   rm -f conftest.er1
92866   cat conftest.err >&5
92867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92868   (exit $ac_status); } &&
92869          { ac_try='test -z "$ac_c_werror_flag"
92870                          || test ! -s conftest.err'
92871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92872   (eval $ac_try) 2>&5
92873   ac_status=$?
92874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92875   (exit $ac_status); }; } &&
92876          { ac_try='test -s conftest$ac_exeext'
92877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92878   (eval $ac_try) 2>&5
92879   ac_status=$?
92880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92881   (exit $ac_status); }; }; then
92882   eval "$as_ac_var=yes"
92883 else
92884   echo "$as_me: failed program was:" >&5
92885 sed 's/^/| /' conftest.$ac_ext >&5
92886
92887 eval "$as_ac_var=no"
92888 fi
92889 rm -f conftest.err conftest.$ac_objext \
92890       conftest$ac_exeext conftest.$ac_ext
92891 fi
92892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92894 if test `eval echo '${'$as_ac_var'}'` = yes; then
92895   cat >>confdefs.h <<_ACEOF
92896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92897 _ACEOF
92898
92899 fi
92900 done
92901
92902   else
92903     echo "$as_me:$LINENO: checking for _long double round functions" >&5
92904 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
92905     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
92906   echo $ECHO_N "(cached) $ECHO_C" >&6
92907 else
92908
92909
92910
92911       ac_ext=cc
92912 ac_cpp='$CXXCPP $CPPFLAGS'
92913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92916
92917       cat >conftest.$ac_ext <<_ACEOF
92918 /* confdefs.h.  */
92919 _ACEOF
92920 cat confdefs.h >>conftest.$ac_ext
92921 cat >>conftest.$ac_ext <<_ACEOF
92922 /* end confdefs.h.  */
92923 #include <math.h>
92924 int
92925 main ()
92926 {
92927 _ceill (0); _floorl (0);
92928   ;
92929   return 0;
92930 }
92931 _ACEOF
92932 rm -f conftest.$ac_objext
92933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92934   (eval $ac_compile) 2>conftest.er1
92935   ac_status=$?
92936   grep -v '^ *+' conftest.er1 >conftest.err
92937   rm -f conftest.er1
92938   cat conftest.err >&5
92939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92940   (exit $ac_status); } &&
92941          { ac_try='test -z "$ac_cxx_werror_flag"
92942                          || test ! -s conftest.err'
92943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92944   (eval $ac_try) 2>&5
92945   ac_status=$?
92946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92947   (exit $ac_status); }; } &&
92948          { ac_try='test -s conftest.$ac_objext'
92949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92950   (eval $ac_try) 2>&5
92951   ac_status=$?
92952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92953   (exit $ac_status); }; }; then
92954   glibcxx_cv_func__long_double_round_use=yes
92955 else
92956   echo "$as_me: failed program was:" >&5
92957 sed 's/^/| /' conftest.$ac_ext >&5
92958
92959 glibcxx_cv_func__long_double_round_use=no
92960 fi
92961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92962       ac_ext=c
92963 ac_cpp='$CPP $CPPFLAGS'
92964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92967
92968 fi
92969
92970     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
92971 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
92972     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
92973
92974
92975 for ac_func in _ceill _floorl
92976 do
92977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92978 echo "$as_me:$LINENO: checking for $ac_func" >&5
92979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92980 if eval "test \"\${$as_ac_var+set}\" = set"; then
92981   echo $ECHO_N "(cached) $ECHO_C" >&6
92982 else
92983   if test x$gcc_no_link = xyes; then
92984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92986    { (exit 1); exit 1; }; }
92987 fi
92988 cat >conftest.$ac_ext <<_ACEOF
92989 /* confdefs.h.  */
92990 _ACEOF
92991 cat confdefs.h >>conftest.$ac_ext
92992 cat >>conftest.$ac_ext <<_ACEOF
92993 /* end confdefs.h.  */
92994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92996 #define $ac_func innocuous_$ac_func
92997
92998 /* System header to define __stub macros and hopefully few prototypes,
92999     which can conflict with char $ac_func (); below.
93000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93001     <limits.h> exists even on freestanding compilers.  */
93002
93003 #ifdef __STDC__
93004 # include <limits.h>
93005 #else
93006 # include <assert.h>
93007 #endif
93008
93009 #undef $ac_func
93010
93011 /* Override any gcc2 internal prototype to avoid an error.  */
93012 #ifdef __cplusplus
93013 extern "C"
93014 {
93015 #endif
93016 /* We use char because int might match the return type of a gcc2
93017    builtin and then its argument prototype would still apply.  */
93018 char $ac_func ();
93019 /* The GNU C library defines this for functions which it implements
93020     to always fail with ENOSYS.  Some functions are actually named
93021     something starting with __ and the normal name is an alias.  */
93022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93023 choke me
93024 #else
93025 char (*f) () = $ac_func;
93026 #endif
93027 #ifdef __cplusplus
93028 }
93029 #endif
93030
93031 int
93032 main ()
93033 {
93034 return f != $ac_func;
93035   ;
93036   return 0;
93037 }
93038 _ACEOF
93039 rm -f conftest.$ac_objext conftest$ac_exeext
93040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93041   (eval $ac_link) 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_c_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_exeext'
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   eval "$as_ac_var=yes"
93062 else
93063   echo "$as_me: failed program was:" >&5
93064 sed 's/^/| /' conftest.$ac_ext >&5
93065
93066 eval "$as_ac_var=no"
93067 fi
93068 rm -f conftest.err conftest.$ac_objext \
93069       conftest$ac_exeext conftest.$ac_ext
93070 fi
93071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93073 if test `eval echo '${'$as_ac_var'}'` = yes; then
93074   cat >>confdefs.h <<_ACEOF
93075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93076 _ACEOF
93077
93078 fi
93079 done
93080
93081     fi
93082   fi
93083
93084
93085
93086
93087
93088
93089
93090
93091   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
93092 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
93093   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
93094     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
93095   echo $ECHO_N "(cached) $ECHO_C" >&6
93096 else
93097
93098
93099
93100       ac_ext=cc
93101 ac_cpp='$CXXCPP $CPPFLAGS'
93102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93105
93106       cat >conftest.$ac_ext <<_ACEOF
93107 /* confdefs.h.  */
93108 _ACEOF
93109 cat confdefs.h >>conftest.$ac_ext
93110 cat >>conftest.$ac_ext <<_ACEOF
93111 /* end confdefs.h.  */
93112 #include <math.h>
93113                       #ifdef HAVE_IEEEFP_H
93114                       #include <ieeefp.h>
93115                       #endif
93116
93117 int
93118 main ()
93119 {
93120  isnanl(0);
93121   ;
93122   return 0;
93123 }
93124 _ACEOF
93125 rm -f conftest.$ac_objext
93126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93127   (eval $ac_compile) 2>conftest.er1
93128   ac_status=$?
93129   grep -v '^ *+' conftest.er1 >conftest.err
93130   rm -f conftest.er1
93131   cat conftest.err >&5
93132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93133   (exit $ac_status); } &&
93134          { ac_try='test -z "$ac_cxx_werror_flag"
93135                          || test ! -s conftest.err'
93136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93137   (eval $ac_try) 2>&5
93138   ac_status=$?
93139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93140   (exit $ac_status); }; } &&
93141          { ac_try='test -s conftest.$ac_objext'
93142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93143   (eval $ac_try) 2>&5
93144   ac_status=$?
93145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93146   (exit $ac_status); }; }; then
93147   glibcxx_cv_func_isnanl_use=yes
93148 else
93149   echo "$as_me: failed program was:" >&5
93150 sed 's/^/| /' conftest.$ac_ext >&5
93151
93152 glibcxx_cv_func_isnanl_use=no
93153 fi
93154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93155       ac_ext=c
93156 ac_cpp='$CPP $CPPFLAGS'
93157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93160
93161
93162 fi
93163
93164   fi
93165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
93166 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
93167
93168   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
93169
93170 for ac_func in isnanl
93171 do
93172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93173 echo "$as_me:$LINENO: checking for $ac_func" >&5
93174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93175 if eval "test \"\${$as_ac_var+set}\" = set"; then
93176   echo $ECHO_N "(cached) $ECHO_C" >&6
93177 else
93178   if test x$gcc_no_link = xyes; then
93179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93181    { (exit 1); exit 1; }; }
93182 fi
93183 cat >conftest.$ac_ext <<_ACEOF
93184 /* confdefs.h.  */
93185 _ACEOF
93186 cat confdefs.h >>conftest.$ac_ext
93187 cat >>conftest.$ac_ext <<_ACEOF
93188 /* end confdefs.h.  */
93189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93191 #define $ac_func innocuous_$ac_func
93192
93193 /* System header to define __stub macros and hopefully few prototypes,
93194     which can conflict with char $ac_func (); below.
93195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93196     <limits.h> exists even on freestanding compilers.  */
93197
93198 #ifdef __STDC__
93199 # include <limits.h>
93200 #else
93201 # include <assert.h>
93202 #endif
93203
93204 #undef $ac_func
93205
93206 /* Override any gcc2 internal prototype to avoid an error.  */
93207 #ifdef __cplusplus
93208 extern "C"
93209 {
93210 #endif
93211 /* We use char because int might match the return type of a gcc2
93212    builtin and then its argument prototype would still apply.  */
93213 char $ac_func ();
93214 /* The GNU C library defines this for functions which it implements
93215     to always fail with ENOSYS.  Some functions are actually named
93216     something starting with __ and the normal name is an alias.  */
93217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93218 choke me
93219 #else
93220 char (*f) () = $ac_func;
93221 #endif
93222 #ifdef __cplusplus
93223 }
93224 #endif
93225
93226 int
93227 main ()
93228 {
93229 return f != $ac_func;
93230   ;
93231   return 0;
93232 }
93233 _ACEOF
93234 rm -f conftest.$ac_objext conftest$ac_exeext
93235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93236   (eval $ac_link) 2>conftest.er1
93237   ac_status=$?
93238   grep -v '^ *+' conftest.er1 >conftest.err
93239   rm -f conftest.er1
93240   cat conftest.err >&5
93241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93242   (exit $ac_status); } &&
93243          { ac_try='test -z "$ac_c_werror_flag"
93244                          || test ! -s conftest.err'
93245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93246   (eval $ac_try) 2>&5
93247   ac_status=$?
93248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93249   (exit $ac_status); }; } &&
93250          { ac_try='test -s conftest$ac_exeext'
93251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93252   (eval $ac_try) 2>&5
93253   ac_status=$?
93254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93255   (exit $ac_status); }; }; then
93256   eval "$as_ac_var=yes"
93257 else
93258   echo "$as_me: failed program was:" >&5
93259 sed 's/^/| /' conftest.$ac_ext >&5
93260
93261 eval "$as_ac_var=no"
93262 fi
93263 rm -f conftest.err conftest.$ac_objext \
93264       conftest$ac_exeext conftest.$ac_ext
93265 fi
93266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93268 if test `eval echo '${'$as_ac_var'}'` = yes; then
93269   cat >>confdefs.h <<_ACEOF
93270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93271 _ACEOF
93272
93273 fi
93274 done
93275
93276   else
93277
93278   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
93279 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
93280   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
93281     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
93282   echo $ECHO_N "(cached) $ECHO_C" >&6
93283 else
93284
93285
93286
93287       ac_ext=cc
93288 ac_cpp='$CXXCPP $CPPFLAGS'
93289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93292
93293       cat >conftest.$ac_ext <<_ACEOF
93294 /* confdefs.h.  */
93295 _ACEOF
93296 cat confdefs.h >>conftest.$ac_ext
93297 cat >>conftest.$ac_ext <<_ACEOF
93298 /* end confdefs.h.  */
93299 #include <math.h>
93300                       #ifdef HAVE_IEEEFP_H
93301                       #include <ieeefp.h>
93302                       #endif
93303
93304 int
93305 main ()
93306 {
93307  _isnanl(0);
93308   ;
93309   return 0;
93310 }
93311 _ACEOF
93312 rm -f conftest.$ac_objext
93313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93314   (eval $ac_compile) 2>conftest.er1
93315   ac_status=$?
93316   grep -v '^ *+' conftest.er1 >conftest.err
93317   rm -f conftest.er1
93318   cat conftest.err >&5
93319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93320   (exit $ac_status); } &&
93321          { ac_try='test -z "$ac_cxx_werror_flag"
93322                          || test ! -s conftest.err'
93323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93324   (eval $ac_try) 2>&5
93325   ac_status=$?
93326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93327   (exit $ac_status); }; } &&
93328          { ac_try='test -s conftest.$ac_objext'
93329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93330   (eval $ac_try) 2>&5
93331   ac_status=$?
93332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93333   (exit $ac_status); }; }; then
93334   glibcxx_cv_func__isnanl_use=yes
93335 else
93336   echo "$as_me: failed program was:" >&5
93337 sed 's/^/| /' conftest.$ac_ext >&5
93338
93339 glibcxx_cv_func__isnanl_use=no
93340 fi
93341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93342       ac_ext=c
93343 ac_cpp='$CPP $CPPFLAGS'
93344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93347
93348
93349 fi
93350
93351   fi
93352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
93353 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
93354
93355     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
93356
93357 for ac_func in _isnanl
93358 do
93359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93360 echo "$as_me:$LINENO: checking for $ac_func" >&5
93361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93362 if eval "test \"\${$as_ac_var+set}\" = set"; then
93363   echo $ECHO_N "(cached) $ECHO_C" >&6
93364 else
93365   if test x$gcc_no_link = xyes; then
93366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93368    { (exit 1); exit 1; }; }
93369 fi
93370 cat >conftest.$ac_ext <<_ACEOF
93371 /* confdefs.h.  */
93372 _ACEOF
93373 cat confdefs.h >>conftest.$ac_ext
93374 cat >>conftest.$ac_ext <<_ACEOF
93375 /* end confdefs.h.  */
93376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93378 #define $ac_func innocuous_$ac_func
93379
93380 /* System header to define __stub macros and hopefully few prototypes,
93381     which can conflict with char $ac_func (); below.
93382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93383     <limits.h> exists even on freestanding compilers.  */
93384
93385 #ifdef __STDC__
93386 # include <limits.h>
93387 #else
93388 # include <assert.h>
93389 #endif
93390
93391 #undef $ac_func
93392
93393 /* Override any gcc2 internal prototype to avoid an error.  */
93394 #ifdef __cplusplus
93395 extern "C"
93396 {
93397 #endif
93398 /* We use char because int might match the return type of a gcc2
93399    builtin and then its argument prototype would still apply.  */
93400 char $ac_func ();
93401 /* The GNU C library defines this for functions which it implements
93402     to always fail with ENOSYS.  Some functions are actually named
93403     something starting with __ and the normal name is an alias.  */
93404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93405 choke me
93406 #else
93407 char (*f) () = $ac_func;
93408 #endif
93409 #ifdef __cplusplus
93410 }
93411 #endif
93412
93413 int
93414 main ()
93415 {
93416 return f != $ac_func;
93417   ;
93418   return 0;
93419 }
93420 _ACEOF
93421 rm -f conftest.$ac_objext conftest$ac_exeext
93422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93423   (eval $ac_link) 2>conftest.er1
93424   ac_status=$?
93425   grep -v '^ *+' conftest.er1 >conftest.err
93426   rm -f conftest.er1
93427   cat conftest.err >&5
93428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93429   (exit $ac_status); } &&
93430          { ac_try='test -z "$ac_c_werror_flag"
93431                          || test ! -s conftest.err'
93432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93433   (eval $ac_try) 2>&5
93434   ac_status=$?
93435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93436   (exit $ac_status); }; } &&
93437          { ac_try='test -s conftest$ac_exeext'
93438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93439   (eval $ac_try) 2>&5
93440   ac_status=$?
93441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93442   (exit $ac_status); }; }; then
93443   eval "$as_ac_var=yes"
93444 else
93445   echo "$as_me: failed program was:" >&5
93446 sed 's/^/| /' conftest.$ac_ext >&5
93447
93448 eval "$as_ac_var=no"
93449 fi
93450 rm -f conftest.err conftest.$ac_objext \
93451       conftest$ac_exeext conftest.$ac_ext
93452 fi
93453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93455 if test `eval echo '${'$as_ac_var'}'` = yes; then
93456   cat >>confdefs.h <<_ACEOF
93457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93458 _ACEOF
93459
93460 fi
93461 done
93462
93463     fi
93464   fi
93465
93466
93467
93468
93469
93470
93471   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
93472 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
93473   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
93474     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
93475   echo $ECHO_N "(cached) $ECHO_C" >&6
93476 else
93477
93478
93479
93480       ac_ext=cc
93481 ac_cpp='$CXXCPP $CPPFLAGS'
93482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93485
93486       cat >conftest.$ac_ext <<_ACEOF
93487 /* confdefs.h.  */
93488 _ACEOF
93489 cat confdefs.h >>conftest.$ac_ext
93490 cat >>conftest.$ac_ext <<_ACEOF
93491 /* end confdefs.h.  */
93492 #include <math.h>
93493                       #ifdef HAVE_IEEEFP_H
93494                       #include <ieeefp.h>
93495                       #endif
93496
93497 int
93498 main ()
93499 {
93500  isinfl(0);
93501   ;
93502   return 0;
93503 }
93504 _ACEOF
93505 rm -f conftest.$ac_objext
93506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93507   (eval $ac_compile) 2>conftest.er1
93508   ac_status=$?
93509   grep -v '^ *+' conftest.er1 >conftest.err
93510   rm -f conftest.er1
93511   cat conftest.err >&5
93512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93513   (exit $ac_status); } &&
93514          { ac_try='test -z "$ac_cxx_werror_flag"
93515                          || test ! -s conftest.err'
93516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93517   (eval $ac_try) 2>&5
93518   ac_status=$?
93519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93520   (exit $ac_status); }; } &&
93521          { ac_try='test -s conftest.$ac_objext'
93522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93523   (eval $ac_try) 2>&5
93524   ac_status=$?
93525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93526   (exit $ac_status); }; }; then
93527   glibcxx_cv_func_isinfl_use=yes
93528 else
93529   echo "$as_me: failed program was:" >&5
93530 sed 's/^/| /' conftest.$ac_ext >&5
93531
93532 glibcxx_cv_func_isinfl_use=no
93533 fi
93534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93535       ac_ext=c
93536 ac_cpp='$CPP $CPPFLAGS'
93537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93540
93541
93542 fi
93543
93544   fi
93545   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
93546 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
93547
93548   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
93549
93550 for ac_func in isinfl
93551 do
93552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93553 echo "$as_me:$LINENO: checking for $ac_func" >&5
93554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93555 if eval "test \"\${$as_ac_var+set}\" = set"; then
93556   echo $ECHO_N "(cached) $ECHO_C" >&6
93557 else
93558   if test x$gcc_no_link = xyes; then
93559   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93561    { (exit 1); exit 1; }; }
93562 fi
93563 cat >conftest.$ac_ext <<_ACEOF
93564 /* confdefs.h.  */
93565 _ACEOF
93566 cat confdefs.h >>conftest.$ac_ext
93567 cat >>conftest.$ac_ext <<_ACEOF
93568 /* end confdefs.h.  */
93569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93570    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93571 #define $ac_func innocuous_$ac_func
93572
93573 /* System header to define __stub macros and hopefully few prototypes,
93574     which can conflict with char $ac_func (); below.
93575     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93576     <limits.h> exists even on freestanding compilers.  */
93577
93578 #ifdef __STDC__
93579 # include <limits.h>
93580 #else
93581 # include <assert.h>
93582 #endif
93583
93584 #undef $ac_func
93585
93586 /* Override any gcc2 internal prototype to avoid an error.  */
93587 #ifdef __cplusplus
93588 extern "C"
93589 {
93590 #endif
93591 /* We use char because int might match the return type of a gcc2
93592    builtin and then its argument prototype would still apply.  */
93593 char $ac_func ();
93594 /* The GNU C library defines this for functions which it implements
93595     to always fail with ENOSYS.  Some functions are actually named
93596     something starting with __ and the normal name is an alias.  */
93597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93598 choke me
93599 #else
93600 char (*f) () = $ac_func;
93601 #endif
93602 #ifdef __cplusplus
93603 }
93604 #endif
93605
93606 int
93607 main ()
93608 {
93609 return f != $ac_func;
93610   ;
93611   return 0;
93612 }
93613 _ACEOF
93614 rm -f conftest.$ac_objext conftest$ac_exeext
93615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93616   (eval $ac_link) 2>conftest.er1
93617   ac_status=$?
93618   grep -v '^ *+' conftest.er1 >conftest.err
93619   rm -f conftest.er1
93620   cat conftest.err >&5
93621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93622   (exit $ac_status); } &&
93623          { ac_try='test -z "$ac_c_werror_flag"
93624                          || test ! -s conftest.err'
93625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93626   (eval $ac_try) 2>&5
93627   ac_status=$?
93628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93629   (exit $ac_status); }; } &&
93630          { ac_try='test -s conftest$ac_exeext'
93631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93632   (eval $ac_try) 2>&5
93633   ac_status=$?
93634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93635   (exit $ac_status); }; }; then
93636   eval "$as_ac_var=yes"
93637 else
93638   echo "$as_me: failed program was:" >&5
93639 sed 's/^/| /' conftest.$ac_ext >&5
93640
93641 eval "$as_ac_var=no"
93642 fi
93643 rm -f conftest.err conftest.$ac_objext \
93644       conftest$ac_exeext conftest.$ac_ext
93645 fi
93646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93648 if test `eval echo '${'$as_ac_var'}'` = yes; then
93649   cat >>confdefs.h <<_ACEOF
93650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93651 _ACEOF
93652
93653 fi
93654 done
93655
93656   else
93657
93658   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
93659 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
93660   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
93661     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
93662   echo $ECHO_N "(cached) $ECHO_C" >&6
93663 else
93664
93665
93666
93667       ac_ext=cc
93668 ac_cpp='$CXXCPP $CPPFLAGS'
93669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93672
93673       cat >conftest.$ac_ext <<_ACEOF
93674 /* confdefs.h.  */
93675 _ACEOF
93676 cat confdefs.h >>conftest.$ac_ext
93677 cat >>conftest.$ac_ext <<_ACEOF
93678 /* end confdefs.h.  */
93679 #include <math.h>
93680                       #ifdef HAVE_IEEEFP_H
93681                       #include <ieeefp.h>
93682                       #endif
93683
93684 int
93685 main ()
93686 {
93687  _isinfl(0);
93688   ;
93689   return 0;
93690 }
93691 _ACEOF
93692 rm -f conftest.$ac_objext
93693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93694   (eval $ac_compile) 2>conftest.er1
93695   ac_status=$?
93696   grep -v '^ *+' conftest.er1 >conftest.err
93697   rm -f conftest.er1
93698   cat conftest.err >&5
93699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93700   (exit $ac_status); } &&
93701          { ac_try='test -z "$ac_cxx_werror_flag"
93702                          || test ! -s conftest.err'
93703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93704   (eval $ac_try) 2>&5
93705   ac_status=$?
93706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93707   (exit $ac_status); }; } &&
93708          { ac_try='test -s conftest.$ac_objext'
93709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93710   (eval $ac_try) 2>&5
93711   ac_status=$?
93712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93713   (exit $ac_status); }; }; then
93714   glibcxx_cv_func__isinfl_use=yes
93715 else
93716   echo "$as_me: failed program was:" >&5
93717 sed 's/^/| /' conftest.$ac_ext >&5
93718
93719 glibcxx_cv_func__isinfl_use=no
93720 fi
93721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93722       ac_ext=c
93723 ac_cpp='$CPP $CPPFLAGS'
93724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93727
93728
93729 fi
93730
93731   fi
93732   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
93733 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
93734
93735     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
93736
93737 for ac_func in _isinfl
93738 do
93739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93740 echo "$as_me:$LINENO: checking for $ac_func" >&5
93741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93742 if eval "test \"\${$as_ac_var+set}\" = set"; then
93743   echo $ECHO_N "(cached) $ECHO_C" >&6
93744 else
93745   if test x$gcc_no_link = xyes; then
93746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93748    { (exit 1); exit 1; }; }
93749 fi
93750 cat >conftest.$ac_ext <<_ACEOF
93751 /* confdefs.h.  */
93752 _ACEOF
93753 cat confdefs.h >>conftest.$ac_ext
93754 cat >>conftest.$ac_ext <<_ACEOF
93755 /* end confdefs.h.  */
93756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93757    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93758 #define $ac_func innocuous_$ac_func
93759
93760 /* System header to define __stub macros and hopefully few prototypes,
93761     which can conflict with char $ac_func (); below.
93762     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93763     <limits.h> exists even on freestanding compilers.  */
93764
93765 #ifdef __STDC__
93766 # include <limits.h>
93767 #else
93768 # include <assert.h>
93769 #endif
93770
93771 #undef $ac_func
93772
93773 /* Override any gcc2 internal prototype to avoid an error.  */
93774 #ifdef __cplusplus
93775 extern "C"
93776 {
93777 #endif
93778 /* We use char because int might match the return type of a gcc2
93779    builtin and then its argument prototype would still apply.  */
93780 char $ac_func ();
93781 /* The GNU C library defines this for functions which it implements
93782     to always fail with ENOSYS.  Some functions are actually named
93783     something starting with __ and the normal name is an alias.  */
93784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93785 choke me
93786 #else
93787 char (*f) () = $ac_func;
93788 #endif
93789 #ifdef __cplusplus
93790 }
93791 #endif
93792
93793 int
93794 main ()
93795 {
93796 return f != $ac_func;
93797   ;
93798   return 0;
93799 }
93800 _ACEOF
93801 rm -f conftest.$ac_objext conftest$ac_exeext
93802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93803   (eval $ac_link) 2>conftest.er1
93804   ac_status=$?
93805   grep -v '^ *+' conftest.er1 >conftest.err
93806   rm -f conftest.er1
93807   cat conftest.err >&5
93808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93809   (exit $ac_status); } &&
93810          { ac_try='test -z "$ac_c_werror_flag"
93811                          || test ! -s conftest.err'
93812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93813   (eval $ac_try) 2>&5
93814   ac_status=$?
93815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93816   (exit $ac_status); }; } &&
93817          { ac_try='test -s conftest$ac_exeext'
93818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93819   (eval $ac_try) 2>&5
93820   ac_status=$?
93821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93822   (exit $ac_status); }; }; then
93823   eval "$as_ac_var=yes"
93824 else
93825   echo "$as_me: failed program was:" >&5
93826 sed 's/^/| /' conftest.$ac_ext >&5
93827
93828 eval "$as_ac_var=no"
93829 fi
93830 rm -f conftest.err conftest.$ac_objext \
93831       conftest$ac_exeext conftest.$ac_ext
93832 fi
93833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93835 if test `eval echo '${'$as_ac_var'}'` = yes; then
93836   cat >>confdefs.h <<_ACEOF
93837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93838 _ACEOF
93839
93840 fi
93841 done
93842
93843     fi
93844   fi
93845
93846
93847
93848
93849
93850
93851   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
93852 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
93853   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
93854     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
93855   echo $ECHO_N "(cached) $ECHO_C" >&6
93856 else
93857
93858
93859
93860       ac_ext=cc
93861 ac_cpp='$CXXCPP $CPPFLAGS'
93862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93865
93866       cat >conftest.$ac_ext <<_ACEOF
93867 /* confdefs.h.  */
93868 _ACEOF
93869 cat confdefs.h >>conftest.$ac_ext
93870 cat >>conftest.$ac_ext <<_ACEOF
93871 /* end confdefs.h.  */
93872 #include <math.h>
93873 int
93874 main ()
93875 {
93876  copysignl(0, 0);
93877   ;
93878   return 0;
93879 }
93880 _ACEOF
93881 rm -f conftest.$ac_objext
93882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93883   (eval $ac_compile) 2>conftest.er1
93884   ac_status=$?
93885   grep -v '^ *+' conftest.er1 >conftest.err
93886   rm -f conftest.er1
93887   cat conftest.err >&5
93888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93889   (exit $ac_status); } &&
93890          { ac_try='test -z "$ac_cxx_werror_flag"
93891                          || test ! -s conftest.err'
93892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93893   (eval $ac_try) 2>&5
93894   ac_status=$?
93895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93896   (exit $ac_status); }; } &&
93897          { ac_try='test -s conftest.$ac_objext'
93898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93899   (eval $ac_try) 2>&5
93900   ac_status=$?
93901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93902   (exit $ac_status); }; }; then
93903   glibcxx_cv_func_copysignl_use=yes
93904 else
93905   echo "$as_me: failed program was:" >&5
93906 sed 's/^/| /' conftest.$ac_ext >&5
93907
93908 glibcxx_cv_func_copysignl_use=no
93909 fi
93910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93911       ac_ext=c
93912 ac_cpp='$CPP $CPPFLAGS'
93913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93916
93917
93918 fi
93919
93920   fi
93921   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
93922 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
93923
93924   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
93925
93926 for ac_func in copysignl
93927 do
93928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93929 echo "$as_me:$LINENO: checking for $ac_func" >&5
93930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93931 if eval "test \"\${$as_ac_var+set}\" = set"; then
93932   echo $ECHO_N "(cached) $ECHO_C" >&6
93933 else
93934   if test x$gcc_no_link = xyes; then
93935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93937    { (exit 1); exit 1; }; }
93938 fi
93939 cat >conftest.$ac_ext <<_ACEOF
93940 /* confdefs.h.  */
93941 _ACEOF
93942 cat confdefs.h >>conftest.$ac_ext
93943 cat >>conftest.$ac_ext <<_ACEOF
93944 /* end confdefs.h.  */
93945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93947 #define $ac_func innocuous_$ac_func
93948
93949 /* System header to define __stub macros and hopefully few prototypes,
93950     which can conflict with char $ac_func (); below.
93951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93952     <limits.h> exists even on freestanding compilers.  */
93953
93954 #ifdef __STDC__
93955 # include <limits.h>
93956 #else
93957 # include <assert.h>
93958 #endif
93959
93960 #undef $ac_func
93961
93962 /* Override any gcc2 internal prototype to avoid an error.  */
93963 #ifdef __cplusplus
93964 extern "C"
93965 {
93966 #endif
93967 /* We use char because int might match the return type of a gcc2
93968    builtin and then its argument prototype would still apply.  */
93969 char $ac_func ();
93970 /* The GNU C library defines this for functions which it implements
93971     to always fail with ENOSYS.  Some functions are actually named
93972     something starting with __ and the normal name is an alias.  */
93973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93974 choke me
93975 #else
93976 char (*f) () = $ac_func;
93977 #endif
93978 #ifdef __cplusplus
93979 }
93980 #endif
93981
93982 int
93983 main ()
93984 {
93985 return f != $ac_func;
93986   ;
93987   return 0;
93988 }
93989 _ACEOF
93990 rm -f conftest.$ac_objext conftest$ac_exeext
93991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93992   (eval $ac_link) 2>conftest.er1
93993   ac_status=$?
93994   grep -v '^ *+' conftest.er1 >conftest.err
93995   rm -f conftest.er1
93996   cat conftest.err >&5
93997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93998   (exit $ac_status); } &&
93999          { ac_try='test -z "$ac_c_werror_flag"
94000                          || test ! -s conftest.err'
94001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94002   (eval $ac_try) 2>&5
94003   ac_status=$?
94004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94005   (exit $ac_status); }; } &&
94006          { ac_try='test -s conftest$ac_exeext'
94007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94008   (eval $ac_try) 2>&5
94009   ac_status=$?
94010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94011   (exit $ac_status); }; }; then
94012   eval "$as_ac_var=yes"
94013 else
94014   echo "$as_me: failed program was:" >&5
94015 sed 's/^/| /' conftest.$ac_ext >&5
94016
94017 eval "$as_ac_var=no"
94018 fi
94019 rm -f conftest.err conftest.$ac_objext \
94020       conftest$ac_exeext conftest.$ac_ext
94021 fi
94022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94024 if test `eval echo '${'$as_ac_var'}'` = yes; then
94025   cat >>confdefs.h <<_ACEOF
94026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94027 _ACEOF
94028
94029 fi
94030 done
94031
94032   else
94033
94034   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
94035 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
94036   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
94037     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
94038   echo $ECHO_N "(cached) $ECHO_C" >&6
94039 else
94040
94041
94042
94043       ac_ext=cc
94044 ac_cpp='$CXXCPP $CPPFLAGS'
94045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94048
94049       cat >conftest.$ac_ext <<_ACEOF
94050 /* confdefs.h.  */
94051 _ACEOF
94052 cat confdefs.h >>conftest.$ac_ext
94053 cat >>conftest.$ac_ext <<_ACEOF
94054 /* end confdefs.h.  */
94055 #include <math.h>
94056 int
94057 main ()
94058 {
94059  _copysignl(0, 0);
94060   ;
94061   return 0;
94062 }
94063 _ACEOF
94064 rm -f conftest.$ac_objext
94065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94066   (eval $ac_compile) 2>conftest.er1
94067   ac_status=$?
94068   grep -v '^ *+' conftest.er1 >conftest.err
94069   rm -f conftest.er1
94070   cat conftest.err >&5
94071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94072   (exit $ac_status); } &&
94073          { ac_try='test -z "$ac_cxx_werror_flag"
94074                          || test ! -s conftest.err'
94075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94076   (eval $ac_try) 2>&5
94077   ac_status=$?
94078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94079   (exit $ac_status); }; } &&
94080          { ac_try='test -s conftest.$ac_objext'
94081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94082   (eval $ac_try) 2>&5
94083   ac_status=$?
94084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94085   (exit $ac_status); }; }; then
94086   glibcxx_cv_func__copysignl_use=yes
94087 else
94088   echo "$as_me: failed program was:" >&5
94089 sed 's/^/| /' conftest.$ac_ext >&5
94090
94091 glibcxx_cv_func__copysignl_use=no
94092 fi
94093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94094       ac_ext=c
94095 ac_cpp='$CPP $CPPFLAGS'
94096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94099
94100
94101 fi
94102
94103   fi
94104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
94105 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
94106
94107     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
94108
94109 for ac_func in _copysignl
94110 do
94111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94112 echo "$as_me:$LINENO: checking for $ac_func" >&5
94113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94114 if eval "test \"\${$as_ac_var+set}\" = set"; then
94115   echo $ECHO_N "(cached) $ECHO_C" >&6
94116 else
94117   if test x$gcc_no_link = xyes; then
94118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94120    { (exit 1); exit 1; }; }
94121 fi
94122 cat >conftest.$ac_ext <<_ACEOF
94123 /* confdefs.h.  */
94124 _ACEOF
94125 cat confdefs.h >>conftest.$ac_ext
94126 cat >>conftest.$ac_ext <<_ACEOF
94127 /* end confdefs.h.  */
94128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94130 #define $ac_func innocuous_$ac_func
94131
94132 /* System header to define __stub macros and hopefully few prototypes,
94133     which can conflict with char $ac_func (); below.
94134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94135     <limits.h> exists even on freestanding compilers.  */
94136
94137 #ifdef __STDC__
94138 # include <limits.h>
94139 #else
94140 # include <assert.h>
94141 #endif
94142
94143 #undef $ac_func
94144
94145 /* Override any gcc2 internal prototype to avoid an error.  */
94146 #ifdef __cplusplus
94147 extern "C"
94148 {
94149 #endif
94150 /* We use char because int might match the return type of a gcc2
94151    builtin and then its argument prototype would still apply.  */
94152 char $ac_func ();
94153 /* The GNU C library defines this for functions which it implements
94154     to always fail with ENOSYS.  Some functions are actually named
94155     something starting with __ and the normal name is an alias.  */
94156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94157 choke me
94158 #else
94159 char (*f) () = $ac_func;
94160 #endif
94161 #ifdef __cplusplus
94162 }
94163 #endif
94164
94165 int
94166 main ()
94167 {
94168 return f != $ac_func;
94169   ;
94170   return 0;
94171 }
94172 _ACEOF
94173 rm -f conftest.$ac_objext conftest$ac_exeext
94174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94175   (eval $ac_link) 2>conftest.er1
94176   ac_status=$?
94177   grep -v '^ *+' conftest.er1 >conftest.err
94178   rm -f conftest.er1
94179   cat conftest.err >&5
94180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94181   (exit $ac_status); } &&
94182          { ac_try='test -z "$ac_c_werror_flag"
94183                          || test ! -s conftest.err'
94184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94185   (eval $ac_try) 2>&5
94186   ac_status=$?
94187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94188   (exit $ac_status); }; } &&
94189          { ac_try='test -s conftest$ac_exeext'
94190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94191   (eval $ac_try) 2>&5
94192   ac_status=$?
94193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94194   (exit $ac_status); }; }; then
94195   eval "$as_ac_var=yes"
94196 else
94197   echo "$as_me: failed program was:" >&5
94198 sed 's/^/| /' conftest.$ac_ext >&5
94199
94200 eval "$as_ac_var=no"
94201 fi
94202 rm -f conftest.err conftest.$ac_objext \
94203       conftest$ac_exeext conftest.$ac_ext
94204 fi
94205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94207 if test `eval echo '${'$as_ac_var'}'` = yes; then
94208   cat >>confdefs.h <<_ACEOF
94209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94210 _ACEOF
94211
94212 fi
94213 done
94214
94215     fi
94216   fi
94217
94218
94219
94220
94221
94222
94223   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
94224 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
94225   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
94226     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
94227   echo $ECHO_N "(cached) $ECHO_C" >&6
94228 else
94229
94230
94231
94232       ac_ext=cc
94233 ac_cpp='$CXXCPP $CPPFLAGS'
94234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94237
94238       cat >conftest.$ac_ext <<_ACEOF
94239 /* confdefs.h.  */
94240 _ACEOF
94241 cat confdefs.h >>conftest.$ac_ext
94242 cat >>conftest.$ac_ext <<_ACEOF
94243 /* end confdefs.h.  */
94244 #include <math.h>
94245 int
94246 main ()
94247 {
94248  atan2l(0, 0);
94249   ;
94250   return 0;
94251 }
94252 _ACEOF
94253 rm -f conftest.$ac_objext
94254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94255   (eval $ac_compile) 2>conftest.er1
94256   ac_status=$?
94257   grep -v '^ *+' conftest.er1 >conftest.err
94258   rm -f conftest.er1
94259   cat conftest.err >&5
94260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94261   (exit $ac_status); } &&
94262          { ac_try='test -z "$ac_cxx_werror_flag"
94263                          || test ! -s conftest.err'
94264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94265   (eval $ac_try) 2>&5
94266   ac_status=$?
94267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94268   (exit $ac_status); }; } &&
94269          { ac_try='test -s conftest.$ac_objext'
94270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94271   (eval $ac_try) 2>&5
94272   ac_status=$?
94273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94274   (exit $ac_status); }; }; then
94275   glibcxx_cv_func_atan2l_use=yes
94276 else
94277   echo "$as_me: failed program was:" >&5
94278 sed 's/^/| /' conftest.$ac_ext >&5
94279
94280 glibcxx_cv_func_atan2l_use=no
94281 fi
94282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94283       ac_ext=c
94284 ac_cpp='$CPP $CPPFLAGS'
94285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94288
94289
94290 fi
94291
94292   fi
94293   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
94294 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
94295
94296   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
94297
94298 for ac_func in atan2l
94299 do
94300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94301 echo "$as_me:$LINENO: checking for $ac_func" >&5
94302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94303 if eval "test \"\${$as_ac_var+set}\" = set"; then
94304   echo $ECHO_N "(cached) $ECHO_C" >&6
94305 else
94306   if test x$gcc_no_link = xyes; then
94307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94309    { (exit 1); exit 1; }; }
94310 fi
94311 cat >conftest.$ac_ext <<_ACEOF
94312 /* confdefs.h.  */
94313 _ACEOF
94314 cat confdefs.h >>conftest.$ac_ext
94315 cat >>conftest.$ac_ext <<_ACEOF
94316 /* end confdefs.h.  */
94317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94319 #define $ac_func innocuous_$ac_func
94320
94321 /* System header to define __stub macros and hopefully few prototypes,
94322     which can conflict with char $ac_func (); below.
94323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94324     <limits.h> exists even on freestanding compilers.  */
94325
94326 #ifdef __STDC__
94327 # include <limits.h>
94328 #else
94329 # include <assert.h>
94330 #endif
94331
94332 #undef $ac_func
94333
94334 /* Override any gcc2 internal prototype to avoid an error.  */
94335 #ifdef __cplusplus
94336 extern "C"
94337 {
94338 #endif
94339 /* We use char because int might match the return type of a gcc2
94340    builtin and then its argument prototype would still apply.  */
94341 char $ac_func ();
94342 /* The GNU C library defines this for functions which it implements
94343     to always fail with ENOSYS.  Some functions are actually named
94344     something starting with __ and the normal name is an alias.  */
94345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94346 choke me
94347 #else
94348 char (*f) () = $ac_func;
94349 #endif
94350 #ifdef __cplusplus
94351 }
94352 #endif
94353
94354 int
94355 main ()
94356 {
94357 return f != $ac_func;
94358   ;
94359   return 0;
94360 }
94361 _ACEOF
94362 rm -f conftest.$ac_objext conftest$ac_exeext
94363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94364   (eval $ac_link) 2>conftest.er1
94365   ac_status=$?
94366   grep -v '^ *+' conftest.er1 >conftest.err
94367   rm -f conftest.er1
94368   cat conftest.err >&5
94369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94370   (exit $ac_status); } &&
94371          { ac_try='test -z "$ac_c_werror_flag"
94372                          || test ! -s conftest.err'
94373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94374   (eval $ac_try) 2>&5
94375   ac_status=$?
94376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94377   (exit $ac_status); }; } &&
94378          { ac_try='test -s conftest$ac_exeext'
94379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94380   (eval $ac_try) 2>&5
94381   ac_status=$?
94382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94383   (exit $ac_status); }; }; then
94384   eval "$as_ac_var=yes"
94385 else
94386   echo "$as_me: failed program was:" >&5
94387 sed 's/^/| /' conftest.$ac_ext >&5
94388
94389 eval "$as_ac_var=no"
94390 fi
94391 rm -f conftest.err conftest.$ac_objext \
94392       conftest$ac_exeext conftest.$ac_ext
94393 fi
94394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94396 if test `eval echo '${'$as_ac_var'}'` = yes; then
94397   cat >>confdefs.h <<_ACEOF
94398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94399 _ACEOF
94400
94401 fi
94402 done
94403
94404   else
94405
94406   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
94407 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
94408   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
94409     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
94410   echo $ECHO_N "(cached) $ECHO_C" >&6
94411 else
94412
94413
94414
94415       ac_ext=cc
94416 ac_cpp='$CXXCPP $CPPFLAGS'
94417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94420
94421       cat >conftest.$ac_ext <<_ACEOF
94422 /* confdefs.h.  */
94423 _ACEOF
94424 cat confdefs.h >>conftest.$ac_ext
94425 cat >>conftest.$ac_ext <<_ACEOF
94426 /* end confdefs.h.  */
94427 #include <math.h>
94428 int
94429 main ()
94430 {
94431  _atan2l(0, 0);
94432   ;
94433   return 0;
94434 }
94435 _ACEOF
94436 rm -f conftest.$ac_objext
94437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94438   (eval $ac_compile) 2>conftest.er1
94439   ac_status=$?
94440   grep -v '^ *+' conftest.er1 >conftest.err
94441   rm -f conftest.er1
94442   cat conftest.err >&5
94443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94444   (exit $ac_status); } &&
94445          { ac_try='test -z "$ac_cxx_werror_flag"
94446                          || test ! -s conftest.err'
94447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94448   (eval $ac_try) 2>&5
94449   ac_status=$?
94450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94451   (exit $ac_status); }; } &&
94452          { ac_try='test -s conftest.$ac_objext'
94453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94454   (eval $ac_try) 2>&5
94455   ac_status=$?
94456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94457   (exit $ac_status); }; }; then
94458   glibcxx_cv_func__atan2l_use=yes
94459 else
94460   echo "$as_me: failed program was:" >&5
94461 sed 's/^/| /' conftest.$ac_ext >&5
94462
94463 glibcxx_cv_func__atan2l_use=no
94464 fi
94465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94466       ac_ext=c
94467 ac_cpp='$CPP $CPPFLAGS'
94468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94471
94472
94473 fi
94474
94475   fi
94476   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
94477 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
94478
94479     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
94480
94481 for ac_func in _atan2l
94482 do
94483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94484 echo "$as_me:$LINENO: checking for $ac_func" >&5
94485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94486 if eval "test \"\${$as_ac_var+set}\" = set"; then
94487   echo $ECHO_N "(cached) $ECHO_C" >&6
94488 else
94489   if test x$gcc_no_link = xyes; then
94490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94492    { (exit 1); exit 1; }; }
94493 fi
94494 cat >conftest.$ac_ext <<_ACEOF
94495 /* confdefs.h.  */
94496 _ACEOF
94497 cat confdefs.h >>conftest.$ac_ext
94498 cat >>conftest.$ac_ext <<_ACEOF
94499 /* end confdefs.h.  */
94500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94502 #define $ac_func innocuous_$ac_func
94503
94504 /* System header to define __stub macros and hopefully few prototypes,
94505     which can conflict with char $ac_func (); below.
94506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94507     <limits.h> exists even on freestanding compilers.  */
94508
94509 #ifdef __STDC__
94510 # include <limits.h>
94511 #else
94512 # include <assert.h>
94513 #endif
94514
94515 #undef $ac_func
94516
94517 /* Override any gcc2 internal prototype to avoid an error.  */
94518 #ifdef __cplusplus
94519 extern "C"
94520 {
94521 #endif
94522 /* We use char because int might match the return type of a gcc2
94523    builtin and then its argument prototype would still apply.  */
94524 char $ac_func ();
94525 /* The GNU C library defines this for functions which it implements
94526     to always fail with ENOSYS.  Some functions are actually named
94527     something starting with __ and the normal name is an alias.  */
94528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94529 choke me
94530 #else
94531 char (*f) () = $ac_func;
94532 #endif
94533 #ifdef __cplusplus
94534 }
94535 #endif
94536
94537 int
94538 main ()
94539 {
94540 return f != $ac_func;
94541   ;
94542   return 0;
94543 }
94544 _ACEOF
94545 rm -f conftest.$ac_objext conftest$ac_exeext
94546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94547   (eval $ac_link) 2>conftest.er1
94548   ac_status=$?
94549   grep -v '^ *+' conftest.er1 >conftest.err
94550   rm -f conftest.er1
94551   cat conftest.err >&5
94552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94553   (exit $ac_status); } &&
94554          { ac_try='test -z "$ac_c_werror_flag"
94555                          || test ! -s conftest.err'
94556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94557   (eval $ac_try) 2>&5
94558   ac_status=$?
94559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94560   (exit $ac_status); }; } &&
94561          { ac_try='test -s conftest$ac_exeext'
94562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94563   (eval $ac_try) 2>&5
94564   ac_status=$?
94565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94566   (exit $ac_status); }; }; then
94567   eval "$as_ac_var=yes"
94568 else
94569   echo "$as_me: failed program was:" >&5
94570 sed 's/^/| /' conftest.$ac_ext >&5
94571
94572 eval "$as_ac_var=no"
94573 fi
94574 rm -f conftest.err conftest.$ac_objext \
94575       conftest$ac_exeext conftest.$ac_ext
94576 fi
94577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94579 if test `eval echo '${'$as_ac_var'}'` = yes; then
94580   cat >>confdefs.h <<_ACEOF
94581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94582 _ACEOF
94583
94584 fi
94585 done
94586
94587     fi
94588   fi
94589
94590
94591
94592
94593
94594
94595   echo "$as_me:$LINENO: checking for expl declaration" >&5
94596 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
94597   if test x${glibcxx_cv_func_expl_use+set} != xset; then
94598     if test "${glibcxx_cv_func_expl_use+set}" = set; then
94599   echo $ECHO_N "(cached) $ECHO_C" >&6
94600 else
94601
94602
94603
94604       ac_ext=cc
94605 ac_cpp='$CXXCPP $CPPFLAGS'
94606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94609
94610       cat >conftest.$ac_ext <<_ACEOF
94611 /* confdefs.h.  */
94612 _ACEOF
94613 cat confdefs.h >>conftest.$ac_ext
94614 cat >>conftest.$ac_ext <<_ACEOF
94615 /* end confdefs.h.  */
94616 #include <math.h>
94617                       #ifdef HAVE_IEEEFP_H
94618                       #include <ieeefp.h>
94619                       #endif
94620
94621 int
94622 main ()
94623 {
94624  expl(0);
94625   ;
94626   return 0;
94627 }
94628 _ACEOF
94629 rm -f conftest.$ac_objext
94630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94631   (eval $ac_compile) 2>conftest.er1
94632   ac_status=$?
94633   grep -v '^ *+' conftest.er1 >conftest.err
94634   rm -f conftest.er1
94635   cat conftest.err >&5
94636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94637   (exit $ac_status); } &&
94638          { ac_try='test -z "$ac_cxx_werror_flag"
94639                          || test ! -s conftest.err'
94640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94641   (eval $ac_try) 2>&5
94642   ac_status=$?
94643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94644   (exit $ac_status); }; } &&
94645          { ac_try='test -s conftest.$ac_objext'
94646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94647   (eval $ac_try) 2>&5
94648   ac_status=$?
94649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94650   (exit $ac_status); }; }; then
94651   glibcxx_cv_func_expl_use=yes
94652 else
94653   echo "$as_me: failed program was:" >&5
94654 sed 's/^/| /' conftest.$ac_ext >&5
94655
94656 glibcxx_cv_func_expl_use=no
94657 fi
94658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94659       ac_ext=c
94660 ac_cpp='$CPP $CPPFLAGS'
94661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94664
94665
94666 fi
94667
94668   fi
94669   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
94670 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
94671
94672   if test x$glibcxx_cv_func_expl_use = x"yes"; then
94673
94674 for ac_func in expl
94675 do
94676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94677 echo "$as_me:$LINENO: checking for $ac_func" >&5
94678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94679 if eval "test \"\${$as_ac_var+set}\" = set"; then
94680   echo $ECHO_N "(cached) $ECHO_C" >&6
94681 else
94682   if test x$gcc_no_link = xyes; then
94683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94685    { (exit 1); exit 1; }; }
94686 fi
94687 cat >conftest.$ac_ext <<_ACEOF
94688 /* confdefs.h.  */
94689 _ACEOF
94690 cat confdefs.h >>conftest.$ac_ext
94691 cat >>conftest.$ac_ext <<_ACEOF
94692 /* end confdefs.h.  */
94693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94695 #define $ac_func innocuous_$ac_func
94696
94697 /* System header to define __stub macros and hopefully few prototypes,
94698     which can conflict with char $ac_func (); below.
94699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94700     <limits.h> exists even on freestanding compilers.  */
94701
94702 #ifdef __STDC__
94703 # include <limits.h>
94704 #else
94705 # include <assert.h>
94706 #endif
94707
94708 #undef $ac_func
94709
94710 /* Override any gcc2 internal prototype to avoid an error.  */
94711 #ifdef __cplusplus
94712 extern "C"
94713 {
94714 #endif
94715 /* We use char because int might match the return type of a gcc2
94716    builtin and then its argument prototype would still apply.  */
94717 char $ac_func ();
94718 /* The GNU C library defines this for functions which it implements
94719     to always fail with ENOSYS.  Some functions are actually named
94720     something starting with __ and the normal name is an alias.  */
94721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94722 choke me
94723 #else
94724 char (*f) () = $ac_func;
94725 #endif
94726 #ifdef __cplusplus
94727 }
94728 #endif
94729
94730 int
94731 main ()
94732 {
94733 return f != $ac_func;
94734   ;
94735   return 0;
94736 }
94737 _ACEOF
94738 rm -f conftest.$ac_objext conftest$ac_exeext
94739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94740   (eval $ac_link) 2>conftest.er1
94741   ac_status=$?
94742   grep -v '^ *+' conftest.er1 >conftest.err
94743   rm -f conftest.er1
94744   cat conftest.err >&5
94745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94746   (exit $ac_status); } &&
94747          { ac_try='test -z "$ac_c_werror_flag"
94748                          || test ! -s conftest.err'
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); }; } &&
94754          { ac_try='test -s conftest$ac_exeext'
94755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94756   (eval $ac_try) 2>&5
94757   ac_status=$?
94758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94759   (exit $ac_status); }; }; then
94760   eval "$as_ac_var=yes"
94761 else
94762   echo "$as_me: failed program was:" >&5
94763 sed 's/^/| /' conftest.$ac_ext >&5
94764
94765 eval "$as_ac_var=no"
94766 fi
94767 rm -f conftest.err conftest.$ac_objext \
94768       conftest$ac_exeext conftest.$ac_ext
94769 fi
94770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94772 if test `eval echo '${'$as_ac_var'}'` = yes; then
94773   cat >>confdefs.h <<_ACEOF
94774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94775 _ACEOF
94776
94777 fi
94778 done
94779
94780   else
94781
94782   echo "$as_me:$LINENO: checking for _expl declaration" >&5
94783 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
94784   if test x${glibcxx_cv_func__expl_use+set} != xset; then
94785     if test "${glibcxx_cv_func__expl_use+set}" = set; then
94786   echo $ECHO_N "(cached) $ECHO_C" >&6
94787 else
94788
94789
94790
94791       ac_ext=cc
94792 ac_cpp='$CXXCPP $CPPFLAGS'
94793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94796
94797       cat >conftest.$ac_ext <<_ACEOF
94798 /* confdefs.h.  */
94799 _ACEOF
94800 cat confdefs.h >>conftest.$ac_ext
94801 cat >>conftest.$ac_ext <<_ACEOF
94802 /* end confdefs.h.  */
94803 #include <math.h>
94804                       #ifdef HAVE_IEEEFP_H
94805                       #include <ieeefp.h>
94806                       #endif
94807
94808 int
94809 main ()
94810 {
94811  _expl(0);
94812   ;
94813   return 0;
94814 }
94815 _ACEOF
94816 rm -f conftest.$ac_objext
94817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94818   (eval $ac_compile) 2>conftest.er1
94819   ac_status=$?
94820   grep -v '^ *+' conftest.er1 >conftest.err
94821   rm -f conftest.er1
94822   cat conftest.err >&5
94823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94824   (exit $ac_status); } &&
94825          { ac_try='test -z "$ac_cxx_werror_flag"
94826                          || test ! -s conftest.err'
94827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94828   (eval $ac_try) 2>&5
94829   ac_status=$?
94830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94831   (exit $ac_status); }; } &&
94832          { ac_try='test -s conftest.$ac_objext'
94833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94834   (eval $ac_try) 2>&5
94835   ac_status=$?
94836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94837   (exit $ac_status); }; }; then
94838   glibcxx_cv_func__expl_use=yes
94839 else
94840   echo "$as_me: failed program was:" >&5
94841 sed 's/^/| /' conftest.$ac_ext >&5
94842
94843 glibcxx_cv_func__expl_use=no
94844 fi
94845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94846       ac_ext=c
94847 ac_cpp='$CPP $CPPFLAGS'
94848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94851
94852
94853 fi
94854
94855   fi
94856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
94857 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
94858
94859     if test x$glibcxx_cv_func__expl_use = x"yes"; then
94860
94861 for ac_func in _expl
94862 do
94863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94864 echo "$as_me:$LINENO: checking for $ac_func" >&5
94865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94866 if eval "test \"\${$as_ac_var+set}\" = set"; then
94867   echo $ECHO_N "(cached) $ECHO_C" >&6
94868 else
94869   if test x$gcc_no_link = xyes; then
94870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94872    { (exit 1); exit 1; }; }
94873 fi
94874 cat >conftest.$ac_ext <<_ACEOF
94875 /* confdefs.h.  */
94876 _ACEOF
94877 cat confdefs.h >>conftest.$ac_ext
94878 cat >>conftest.$ac_ext <<_ACEOF
94879 /* end confdefs.h.  */
94880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94882 #define $ac_func innocuous_$ac_func
94883
94884 /* System header to define __stub macros and hopefully few prototypes,
94885     which can conflict with char $ac_func (); below.
94886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94887     <limits.h> exists even on freestanding compilers.  */
94888
94889 #ifdef __STDC__
94890 # include <limits.h>
94891 #else
94892 # include <assert.h>
94893 #endif
94894
94895 #undef $ac_func
94896
94897 /* Override any gcc2 internal prototype to avoid an error.  */
94898 #ifdef __cplusplus
94899 extern "C"
94900 {
94901 #endif
94902 /* We use char because int might match the return type of a gcc2
94903    builtin and then its argument prototype would still apply.  */
94904 char $ac_func ();
94905 /* The GNU C library defines this for functions which it implements
94906     to always fail with ENOSYS.  Some functions are actually named
94907     something starting with __ and the normal name is an alias.  */
94908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94909 choke me
94910 #else
94911 char (*f) () = $ac_func;
94912 #endif
94913 #ifdef __cplusplus
94914 }
94915 #endif
94916
94917 int
94918 main ()
94919 {
94920 return f != $ac_func;
94921   ;
94922   return 0;
94923 }
94924 _ACEOF
94925 rm -f conftest.$ac_objext conftest$ac_exeext
94926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94927   (eval $ac_link) 2>conftest.er1
94928   ac_status=$?
94929   grep -v '^ *+' conftest.er1 >conftest.err
94930   rm -f conftest.er1
94931   cat conftest.err >&5
94932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94933   (exit $ac_status); } &&
94934          { ac_try='test -z "$ac_c_werror_flag"
94935                          || test ! -s conftest.err'
94936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94937   (eval $ac_try) 2>&5
94938   ac_status=$?
94939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94940   (exit $ac_status); }; } &&
94941          { ac_try='test -s conftest$ac_exeext'
94942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94943   (eval $ac_try) 2>&5
94944   ac_status=$?
94945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94946   (exit $ac_status); }; }; then
94947   eval "$as_ac_var=yes"
94948 else
94949   echo "$as_me: failed program was:" >&5
94950 sed 's/^/| /' conftest.$ac_ext >&5
94951
94952 eval "$as_ac_var=no"
94953 fi
94954 rm -f conftest.err conftest.$ac_objext \
94955       conftest$ac_exeext conftest.$ac_ext
94956 fi
94957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94959 if test `eval echo '${'$as_ac_var'}'` = yes; then
94960   cat >>confdefs.h <<_ACEOF
94961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94962 _ACEOF
94963
94964 fi
94965 done
94966
94967     fi
94968   fi
94969
94970
94971
94972
94973
94974
94975   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
94976 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
94977   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
94978     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
94979   echo $ECHO_N "(cached) $ECHO_C" >&6
94980 else
94981
94982
94983
94984       ac_ext=cc
94985 ac_cpp='$CXXCPP $CPPFLAGS'
94986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94989
94990       cat >conftest.$ac_ext <<_ACEOF
94991 /* confdefs.h.  */
94992 _ACEOF
94993 cat confdefs.h >>conftest.$ac_ext
94994 cat >>conftest.$ac_ext <<_ACEOF
94995 /* end confdefs.h.  */
94996 #include <math.h>
94997                       #ifdef HAVE_IEEEFP_H
94998                       #include <ieeefp.h>
94999                       #endif
95000
95001 int
95002 main ()
95003 {
95004  fabsl(0);
95005   ;
95006   return 0;
95007 }
95008 _ACEOF
95009 rm -f conftest.$ac_objext
95010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95011   (eval $ac_compile) 2>conftest.er1
95012   ac_status=$?
95013   grep -v '^ *+' conftest.er1 >conftest.err
95014   rm -f conftest.er1
95015   cat conftest.err >&5
95016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95017   (exit $ac_status); } &&
95018          { ac_try='test -z "$ac_cxx_werror_flag"
95019                          || test ! -s conftest.err'
95020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95021   (eval $ac_try) 2>&5
95022   ac_status=$?
95023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95024   (exit $ac_status); }; } &&
95025          { ac_try='test -s conftest.$ac_objext'
95026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95027   (eval $ac_try) 2>&5
95028   ac_status=$?
95029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95030   (exit $ac_status); }; }; then
95031   glibcxx_cv_func_fabsl_use=yes
95032 else
95033   echo "$as_me: failed program was:" >&5
95034 sed 's/^/| /' conftest.$ac_ext >&5
95035
95036 glibcxx_cv_func_fabsl_use=no
95037 fi
95038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95039       ac_ext=c
95040 ac_cpp='$CPP $CPPFLAGS'
95041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95044
95045
95046 fi
95047
95048   fi
95049   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
95050 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
95051
95052   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
95053
95054 for ac_func in fabsl
95055 do
95056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95057 echo "$as_me:$LINENO: checking for $ac_func" >&5
95058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95059 if eval "test \"\${$as_ac_var+set}\" = set"; then
95060   echo $ECHO_N "(cached) $ECHO_C" >&6
95061 else
95062   if test x$gcc_no_link = xyes; then
95063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95065    { (exit 1); exit 1; }; }
95066 fi
95067 cat >conftest.$ac_ext <<_ACEOF
95068 /* confdefs.h.  */
95069 _ACEOF
95070 cat confdefs.h >>conftest.$ac_ext
95071 cat >>conftest.$ac_ext <<_ACEOF
95072 /* end confdefs.h.  */
95073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95075 #define $ac_func innocuous_$ac_func
95076
95077 /* System header to define __stub macros and hopefully few prototypes,
95078     which can conflict with char $ac_func (); below.
95079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95080     <limits.h> exists even on freestanding compilers.  */
95081
95082 #ifdef __STDC__
95083 # include <limits.h>
95084 #else
95085 # include <assert.h>
95086 #endif
95087
95088 #undef $ac_func
95089
95090 /* Override any gcc2 internal prototype to avoid an error.  */
95091 #ifdef __cplusplus
95092 extern "C"
95093 {
95094 #endif
95095 /* We use char because int might match the return type of a gcc2
95096    builtin and then its argument prototype would still apply.  */
95097 char $ac_func ();
95098 /* The GNU C library defines this for functions which it implements
95099     to always fail with ENOSYS.  Some functions are actually named
95100     something starting with __ and the normal name is an alias.  */
95101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95102 choke me
95103 #else
95104 char (*f) () = $ac_func;
95105 #endif
95106 #ifdef __cplusplus
95107 }
95108 #endif
95109
95110 int
95111 main ()
95112 {
95113 return f != $ac_func;
95114   ;
95115   return 0;
95116 }
95117 _ACEOF
95118 rm -f conftest.$ac_objext conftest$ac_exeext
95119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95120   (eval $ac_link) 2>conftest.er1
95121   ac_status=$?
95122   grep -v '^ *+' conftest.er1 >conftest.err
95123   rm -f conftest.er1
95124   cat conftest.err >&5
95125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95126   (exit $ac_status); } &&
95127          { ac_try='test -z "$ac_c_werror_flag"
95128                          || test ! -s conftest.err'
95129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95130   (eval $ac_try) 2>&5
95131   ac_status=$?
95132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95133   (exit $ac_status); }; } &&
95134          { ac_try='test -s conftest$ac_exeext'
95135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95136   (eval $ac_try) 2>&5
95137   ac_status=$?
95138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95139   (exit $ac_status); }; }; then
95140   eval "$as_ac_var=yes"
95141 else
95142   echo "$as_me: failed program was:" >&5
95143 sed 's/^/| /' conftest.$ac_ext >&5
95144
95145 eval "$as_ac_var=no"
95146 fi
95147 rm -f conftest.err conftest.$ac_objext \
95148       conftest$ac_exeext conftest.$ac_ext
95149 fi
95150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95152 if test `eval echo '${'$as_ac_var'}'` = yes; then
95153   cat >>confdefs.h <<_ACEOF
95154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95155 _ACEOF
95156
95157 fi
95158 done
95159
95160   else
95161
95162   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
95163 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
95164   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
95165     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
95166   echo $ECHO_N "(cached) $ECHO_C" >&6
95167 else
95168
95169
95170
95171       ac_ext=cc
95172 ac_cpp='$CXXCPP $CPPFLAGS'
95173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95176
95177       cat >conftest.$ac_ext <<_ACEOF
95178 /* confdefs.h.  */
95179 _ACEOF
95180 cat confdefs.h >>conftest.$ac_ext
95181 cat >>conftest.$ac_ext <<_ACEOF
95182 /* end confdefs.h.  */
95183 #include <math.h>
95184                       #ifdef HAVE_IEEEFP_H
95185                       #include <ieeefp.h>
95186                       #endif
95187
95188 int
95189 main ()
95190 {
95191  _fabsl(0);
95192   ;
95193   return 0;
95194 }
95195 _ACEOF
95196 rm -f conftest.$ac_objext
95197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95198   (eval $ac_compile) 2>conftest.er1
95199   ac_status=$?
95200   grep -v '^ *+' conftest.er1 >conftest.err
95201   rm -f conftest.er1
95202   cat conftest.err >&5
95203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95204   (exit $ac_status); } &&
95205          { ac_try='test -z "$ac_cxx_werror_flag"
95206                          || test ! -s conftest.err'
95207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95208   (eval $ac_try) 2>&5
95209   ac_status=$?
95210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95211   (exit $ac_status); }; } &&
95212          { ac_try='test -s conftest.$ac_objext'
95213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95214   (eval $ac_try) 2>&5
95215   ac_status=$?
95216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95217   (exit $ac_status); }; }; then
95218   glibcxx_cv_func__fabsl_use=yes
95219 else
95220   echo "$as_me: failed program was:" >&5
95221 sed 's/^/| /' conftest.$ac_ext >&5
95222
95223 glibcxx_cv_func__fabsl_use=no
95224 fi
95225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95226       ac_ext=c
95227 ac_cpp='$CPP $CPPFLAGS'
95228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95231
95232
95233 fi
95234
95235   fi
95236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
95237 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
95238
95239     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
95240
95241 for ac_func in _fabsl
95242 do
95243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95244 echo "$as_me:$LINENO: checking for $ac_func" >&5
95245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95246 if eval "test \"\${$as_ac_var+set}\" = set"; then
95247   echo $ECHO_N "(cached) $ECHO_C" >&6
95248 else
95249   if test x$gcc_no_link = xyes; then
95250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95252    { (exit 1); exit 1; }; }
95253 fi
95254 cat >conftest.$ac_ext <<_ACEOF
95255 /* confdefs.h.  */
95256 _ACEOF
95257 cat confdefs.h >>conftest.$ac_ext
95258 cat >>conftest.$ac_ext <<_ACEOF
95259 /* end confdefs.h.  */
95260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95262 #define $ac_func innocuous_$ac_func
95263
95264 /* System header to define __stub macros and hopefully few prototypes,
95265     which can conflict with char $ac_func (); below.
95266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95267     <limits.h> exists even on freestanding compilers.  */
95268
95269 #ifdef __STDC__
95270 # include <limits.h>
95271 #else
95272 # include <assert.h>
95273 #endif
95274
95275 #undef $ac_func
95276
95277 /* Override any gcc2 internal prototype to avoid an error.  */
95278 #ifdef __cplusplus
95279 extern "C"
95280 {
95281 #endif
95282 /* We use char because int might match the return type of a gcc2
95283    builtin and then its argument prototype would still apply.  */
95284 char $ac_func ();
95285 /* The GNU C library defines this for functions which it implements
95286     to always fail with ENOSYS.  Some functions are actually named
95287     something starting with __ and the normal name is an alias.  */
95288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95289 choke me
95290 #else
95291 char (*f) () = $ac_func;
95292 #endif
95293 #ifdef __cplusplus
95294 }
95295 #endif
95296
95297 int
95298 main ()
95299 {
95300 return f != $ac_func;
95301   ;
95302   return 0;
95303 }
95304 _ACEOF
95305 rm -f conftest.$ac_objext conftest$ac_exeext
95306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95307   (eval $ac_link) 2>conftest.er1
95308   ac_status=$?
95309   grep -v '^ *+' conftest.er1 >conftest.err
95310   rm -f conftest.er1
95311   cat conftest.err >&5
95312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95313   (exit $ac_status); } &&
95314          { ac_try='test -z "$ac_c_werror_flag"
95315                          || test ! -s conftest.err'
95316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95317   (eval $ac_try) 2>&5
95318   ac_status=$?
95319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95320   (exit $ac_status); }; } &&
95321          { ac_try='test -s conftest$ac_exeext'
95322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95323   (eval $ac_try) 2>&5
95324   ac_status=$?
95325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95326   (exit $ac_status); }; }; then
95327   eval "$as_ac_var=yes"
95328 else
95329   echo "$as_me: failed program was:" >&5
95330 sed 's/^/| /' conftest.$ac_ext >&5
95331
95332 eval "$as_ac_var=no"
95333 fi
95334 rm -f conftest.err conftest.$ac_objext \
95335       conftest$ac_exeext conftest.$ac_ext
95336 fi
95337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95339 if test `eval echo '${'$as_ac_var'}'` = yes; then
95340   cat >>confdefs.h <<_ACEOF
95341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95342 _ACEOF
95343
95344 fi
95345 done
95346
95347     fi
95348   fi
95349
95350
95351
95352
95353
95354
95355   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
95356 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
95357   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
95358     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
95359   echo $ECHO_N "(cached) $ECHO_C" >&6
95360 else
95361
95362
95363
95364       ac_ext=cc
95365 ac_cpp='$CXXCPP $CPPFLAGS'
95366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95369
95370       cat >conftest.$ac_ext <<_ACEOF
95371 /* confdefs.h.  */
95372 _ACEOF
95373 cat confdefs.h >>conftest.$ac_ext
95374 cat >>conftest.$ac_ext <<_ACEOF
95375 /* end confdefs.h.  */
95376 #include <math.h>
95377 int
95378 main ()
95379 {
95380  fmodl(0, 0);
95381   ;
95382   return 0;
95383 }
95384 _ACEOF
95385 rm -f conftest.$ac_objext
95386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95387   (eval $ac_compile) 2>conftest.er1
95388   ac_status=$?
95389   grep -v '^ *+' conftest.er1 >conftest.err
95390   rm -f conftest.er1
95391   cat conftest.err >&5
95392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95393   (exit $ac_status); } &&
95394          { ac_try='test -z "$ac_cxx_werror_flag"
95395                          || test ! -s conftest.err'
95396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95397   (eval $ac_try) 2>&5
95398   ac_status=$?
95399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95400   (exit $ac_status); }; } &&
95401          { ac_try='test -s conftest.$ac_objext'
95402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95403   (eval $ac_try) 2>&5
95404   ac_status=$?
95405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95406   (exit $ac_status); }; }; then
95407   glibcxx_cv_func_fmodl_use=yes
95408 else
95409   echo "$as_me: failed program was:" >&5
95410 sed 's/^/| /' conftest.$ac_ext >&5
95411
95412 glibcxx_cv_func_fmodl_use=no
95413 fi
95414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95415       ac_ext=c
95416 ac_cpp='$CPP $CPPFLAGS'
95417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95420
95421
95422 fi
95423
95424   fi
95425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
95426 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
95427
95428   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
95429
95430 for ac_func in fmodl
95431 do
95432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95433 echo "$as_me:$LINENO: checking for $ac_func" >&5
95434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95435 if eval "test \"\${$as_ac_var+set}\" = set"; then
95436   echo $ECHO_N "(cached) $ECHO_C" >&6
95437 else
95438   if test x$gcc_no_link = xyes; then
95439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95441    { (exit 1); exit 1; }; }
95442 fi
95443 cat >conftest.$ac_ext <<_ACEOF
95444 /* confdefs.h.  */
95445 _ACEOF
95446 cat confdefs.h >>conftest.$ac_ext
95447 cat >>conftest.$ac_ext <<_ACEOF
95448 /* end confdefs.h.  */
95449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95451 #define $ac_func innocuous_$ac_func
95452
95453 /* System header to define __stub macros and hopefully few prototypes,
95454     which can conflict with char $ac_func (); below.
95455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95456     <limits.h> exists even on freestanding compilers.  */
95457
95458 #ifdef __STDC__
95459 # include <limits.h>
95460 #else
95461 # include <assert.h>
95462 #endif
95463
95464 #undef $ac_func
95465
95466 /* Override any gcc2 internal prototype to avoid an error.  */
95467 #ifdef __cplusplus
95468 extern "C"
95469 {
95470 #endif
95471 /* We use char because int might match the return type of a gcc2
95472    builtin and then its argument prototype would still apply.  */
95473 char $ac_func ();
95474 /* The GNU C library defines this for functions which it implements
95475     to always fail with ENOSYS.  Some functions are actually named
95476     something starting with __ and the normal name is an alias.  */
95477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95478 choke me
95479 #else
95480 char (*f) () = $ac_func;
95481 #endif
95482 #ifdef __cplusplus
95483 }
95484 #endif
95485
95486 int
95487 main ()
95488 {
95489 return f != $ac_func;
95490   ;
95491   return 0;
95492 }
95493 _ACEOF
95494 rm -f conftest.$ac_objext conftest$ac_exeext
95495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95496   (eval $ac_link) 2>conftest.er1
95497   ac_status=$?
95498   grep -v '^ *+' conftest.er1 >conftest.err
95499   rm -f conftest.er1
95500   cat conftest.err >&5
95501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95502   (exit $ac_status); } &&
95503          { ac_try='test -z "$ac_c_werror_flag"
95504                          || test ! -s conftest.err'
95505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95506   (eval $ac_try) 2>&5
95507   ac_status=$?
95508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95509   (exit $ac_status); }; } &&
95510          { ac_try='test -s conftest$ac_exeext'
95511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95512   (eval $ac_try) 2>&5
95513   ac_status=$?
95514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95515   (exit $ac_status); }; }; then
95516   eval "$as_ac_var=yes"
95517 else
95518   echo "$as_me: failed program was:" >&5
95519 sed 's/^/| /' conftest.$ac_ext >&5
95520
95521 eval "$as_ac_var=no"
95522 fi
95523 rm -f conftest.err conftest.$ac_objext \
95524       conftest$ac_exeext conftest.$ac_ext
95525 fi
95526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95528 if test `eval echo '${'$as_ac_var'}'` = yes; then
95529   cat >>confdefs.h <<_ACEOF
95530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95531 _ACEOF
95532
95533 fi
95534 done
95535
95536   else
95537
95538   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
95539 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
95540   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
95541     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
95542   echo $ECHO_N "(cached) $ECHO_C" >&6
95543 else
95544
95545
95546
95547       ac_ext=cc
95548 ac_cpp='$CXXCPP $CPPFLAGS'
95549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95552
95553       cat >conftest.$ac_ext <<_ACEOF
95554 /* confdefs.h.  */
95555 _ACEOF
95556 cat confdefs.h >>conftest.$ac_ext
95557 cat >>conftest.$ac_ext <<_ACEOF
95558 /* end confdefs.h.  */
95559 #include <math.h>
95560 int
95561 main ()
95562 {
95563  _fmodl(0, 0);
95564   ;
95565   return 0;
95566 }
95567 _ACEOF
95568 rm -f conftest.$ac_objext
95569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95570   (eval $ac_compile) 2>conftest.er1
95571   ac_status=$?
95572   grep -v '^ *+' conftest.er1 >conftest.err
95573   rm -f conftest.er1
95574   cat conftest.err >&5
95575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95576   (exit $ac_status); } &&
95577          { ac_try='test -z "$ac_cxx_werror_flag"
95578                          || test ! -s conftest.err'
95579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95580   (eval $ac_try) 2>&5
95581   ac_status=$?
95582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95583   (exit $ac_status); }; } &&
95584          { ac_try='test -s conftest.$ac_objext'
95585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95586   (eval $ac_try) 2>&5
95587   ac_status=$?
95588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95589   (exit $ac_status); }; }; then
95590   glibcxx_cv_func__fmodl_use=yes
95591 else
95592   echo "$as_me: failed program was:" >&5
95593 sed 's/^/| /' conftest.$ac_ext >&5
95594
95595 glibcxx_cv_func__fmodl_use=no
95596 fi
95597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95598       ac_ext=c
95599 ac_cpp='$CPP $CPPFLAGS'
95600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95603
95604
95605 fi
95606
95607   fi
95608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
95609 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
95610
95611     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
95612
95613 for ac_func in _fmodl
95614 do
95615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95616 echo "$as_me:$LINENO: checking for $ac_func" >&5
95617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95618 if eval "test \"\${$as_ac_var+set}\" = set"; then
95619   echo $ECHO_N "(cached) $ECHO_C" >&6
95620 else
95621   if test x$gcc_no_link = xyes; then
95622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95624    { (exit 1); exit 1; }; }
95625 fi
95626 cat >conftest.$ac_ext <<_ACEOF
95627 /* confdefs.h.  */
95628 _ACEOF
95629 cat confdefs.h >>conftest.$ac_ext
95630 cat >>conftest.$ac_ext <<_ACEOF
95631 /* end confdefs.h.  */
95632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95634 #define $ac_func innocuous_$ac_func
95635
95636 /* System header to define __stub macros and hopefully few prototypes,
95637     which can conflict with char $ac_func (); below.
95638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95639     <limits.h> exists even on freestanding compilers.  */
95640
95641 #ifdef __STDC__
95642 # include <limits.h>
95643 #else
95644 # include <assert.h>
95645 #endif
95646
95647 #undef $ac_func
95648
95649 /* Override any gcc2 internal prototype to avoid an error.  */
95650 #ifdef __cplusplus
95651 extern "C"
95652 {
95653 #endif
95654 /* We use char because int might match the return type of a gcc2
95655    builtin and then its argument prototype would still apply.  */
95656 char $ac_func ();
95657 /* The GNU C library defines this for functions which it implements
95658     to always fail with ENOSYS.  Some functions are actually named
95659     something starting with __ and the normal name is an alias.  */
95660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95661 choke me
95662 #else
95663 char (*f) () = $ac_func;
95664 #endif
95665 #ifdef __cplusplus
95666 }
95667 #endif
95668
95669 int
95670 main ()
95671 {
95672 return f != $ac_func;
95673   ;
95674   return 0;
95675 }
95676 _ACEOF
95677 rm -f conftest.$ac_objext conftest$ac_exeext
95678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95679   (eval $ac_link) 2>conftest.er1
95680   ac_status=$?
95681   grep -v '^ *+' conftest.er1 >conftest.err
95682   rm -f conftest.er1
95683   cat conftest.err >&5
95684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95685   (exit $ac_status); } &&
95686          { ac_try='test -z "$ac_c_werror_flag"
95687                          || test ! -s conftest.err'
95688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95689   (eval $ac_try) 2>&5
95690   ac_status=$?
95691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95692   (exit $ac_status); }; } &&
95693          { ac_try='test -s conftest$ac_exeext'
95694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95695   (eval $ac_try) 2>&5
95696   ac_status=$?
95697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95698   (exit $ac_status); }; }; then
95699   eval "$as_ac_var=yes"
95700 else
95701   echo "$as_me: failed program was:" >&5
95702 sed 's/^/| /' conftest.$ac_ext >&5
95703
95704 eval "$as_ac_var=no"
95705 fi
95706 rm -f conftest.err conftest.$ac_objext \
95707       conftest$ac_exeext conftest.$ac_ext
95708 fi
95709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95711 if test `eval echo '${'$as_ac_var'}'` = yes; then
95712   cat >>confdefs.h <<_ACEOF
95713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95714 _ACEOF
95715
95716 fi
95717 done
95718
95719     fi
95720   fi
95721
95722
95723
95724
95725
95726
95727   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
95728 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
95729   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
95730     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
95731   echo $ECHO_N "(cached) $ECHO_C" >&6
95732 else
95733
95734
95735
95736       ac_ext=cc
95737 ac_cpp='$CXXCPP $CPPFLAGS'
95738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95741
95742       cat >conftest.$ac_ext <<_ACEOF
95743 /* confdefs.h.  */
95744 _ACEOF
95745 cat confdefs.h >>conftest.$ac_ext
95746 cat >>conftest.$ac_ext <<_ACEOF
95747 /* end confdefs.h.  */
95748 #include <math.h>
95749 int
95750 main ()
95751 {
95752  frexpl(0, 0);
95753   ;
95754   return 0;
95755 }
95756 _ACEOF
95757 rm -f conftest.$ac_objext
95758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95759   (eval $ac_compile) 2>conftest.er1
95760   ac_status=$?
95761   grep -v '^ *+' conftest.er1 >conftest.err
95762   rm -f conftest.er1
95763   cat conftest.err >&5
95764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95765   (exit $ac_status); } &&
95766          { ac_try='test -z "$ac_cxx_werror_flag"
95767                          || test ! -s conftest.err'
95768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95769   (eval $ac_try) 2>&5
95770   ac_status=$?
95771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95772   (exit $ac_status); }; } &&
95773          { ac_try='test -s conftest.$ac_objext'
95774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95775   (eval $ac_try) 2>&5
95776   ac_status=$?
95777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95778   (exit $ac_status); }; }; then
95779   glibcxx_cv_func_frexpl_use=yes
95780 else
95781   echo "$as_me: failed program was:" >&5
95782 sed 's/^/| /' conftest.$ac_ext >&5
95783
95784 glibcxx_cv_func_frexpl_use=no
95785 fi
95786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95787       ac_ext=c
95788 ac_cpp='$CPP $CPPFLAGS'
95789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95792
95793
95794 fi
95795
95796   fi
95797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
95798 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
95799
95800   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
95801
95802 for ac_func in frexpl
95803 do
95804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95805 echo "$as_me:$LINENO: checking for $ac_func" >&5
95806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95807 if eval "test \"\${$as_ac_var+set}\" = set"; then
95808   echo $ECHO_N "(cached) $ECHO_C" >&6
95809 else
95810   if test x$gcc_no_link = xyes; then
95811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95813    { (exit 1); exit 1; }; }
95814 fi
95815 cat >conftest.$ac_ext <<_ACEOF
95816 /* confdefs.h.  */
95817 _ACEOF
95818 cat confdefs.h >>conftest.$ac_ext
95819 cat >>conftest.$ac_ext <<_ACEOF
95820 /* end confdefs.h.  */
95821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95823 #define $ac_func innocuous_$ac_func
95824
95825 /* System header to define __stub macros and hopefully few prototypes,
95826     which can conflict with char $ac_func (); below.
95827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95828     <limits.h> exists even on freestanding compilers.  */
95829
95830 #ifdef __STDC__
95831 # include <limits.h>
95832 #else
95833 # include <assert.h>
95834 #endif
95835
95836 #undef $ac_func
95837
95838 /* Override any gcc2 internal prototype to avoid an error.  */
95839 #ifdef __cplusplus
95840 extern "C"
95841 {
95842 #endif
95843 /* We use char because int might match the return type of a gcc2
95844    builtin and then its argument prototype would still apply.  */
95845 char $ac_func ();
95846 /* The GNU C library defines this for functions which it implements
95847     to always fail with ENOSYS.  Some functions are actually named
95848     something starting with __ and the normal name is an alias.  */
95849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95850 choke me
95851 #else
95852 char (*f) () = $ac_func;
95853 #endif
95854 #ifdef __cplusplus
95855 }
95856 #endif
95857
95858 int
95859 main ()
95860 {
95861 return f != $ac_func;
95862   ;
95863   return 0;
95864 }
95865 _ACEOF
95866 rm -f conftest.$ac_objext conftest$ac_exeext
95867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95868   (eval $ac_link) 2>conftest.er1
95869   ac_status=$?
95870   grep -v '^ *+' conftest.er1 >conftest.err
95871   rm -f conftest.er1
95872   cat conftest.err >&5
95873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95874   (exit $ac_status); } &&
95875          { ac_try='test -z "$ac_c_werror_flag"
95876                          || test ! -s conftest.err'
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); }; } &&
95882          { ac_try='test -s conftest$ac_exeext'
95883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95884   (eval $ac_try) 2>&5
95885   ac_status=$?
95886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95887   (exit $ac_status); }; }; then
95888   eval "$as_ac_var=yes"
95889 else
95890   echo "$as_me: failed program was:" >&5
95891 sed 's/^/| /' conftest.$ac_ext >&5
95892
95893 eval "$as_ac_var=no"
95894 fi
95895 rm -f conftest.err conftest.$ac_objext \
95896       conftest$ac_exeext conftest.$ac_ext
95897 fi
95898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95900 if test `eval echo '${'$as_ac_var'}'` = yes; then
95901   cat >>confdefs.h <<_ACEOF
95902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95903 _ACEOF
95904
95905 fi
95906 done
95907
95908   else
95909
95910   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
95911 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
95912   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
95913     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
95914   echo $ECHO_N "(cached) $ECHO_C" >&6
95915 else
95916
95917
95918
95919       ac_ext=cc
95920 ac_cpp='$CXXCPP $CPPFLAGS'
95921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95924
95925       cat >conftest.$ac_ext <<_ACEOF
95926 /* confdefs.h.  */
95927 _ACEOF
95928 cat confdefs.h >>conftest.$ac_ext
95929 cat >>conftest.$ac_ext <<_ACEOF
95930 /* end confdefs.h.  */
95931 #include <math.h>
95932 int
95933 main ()
95934 {
95935  _frexpl(0, 0);
95936   ;
95937   return 0;
95938 }
95939 _ACEOF
95940 rm -f conftest.$ac_objext
95941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95942   (eval $ac_compile) 2>conftest.er1
95943   ac_status=$?
95944   grep -v '^ *+' conftest.er1 >conftest.err
95945   rm -f conftest.er1
95946   cat conftest.err >&5
95947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95948   (exit $ac_status); } &&
95949          { ac_try='test -z "$ac_cxx_werror_flag"
95950                          || test ! -s conftest.err'
95951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95952   (eval $ac_try) 2>&5
95953   ac_status=$?
95954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95955   (exit $ac_status); }; } &&
95956          { ac_try='test -s conftest.$ac_objext'
95957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95958   (eval $ac_try) 2>&5
95959   ac_status=$?
95960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95961   (exit $ac_status); }; }; then
95962   glibcxx_cv_func__frexpl_use=yes
95963 else
95964   echo "$as_me: failed program was:" >&5
95965 sed 's/^/| /' conftest.$ac_ext >&5
95966
95967 glibcxx_cv_func__frexpl_use=no
95968 fi
95969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95970       ac_ext=c
95971 ac_cpp='$CPP $CPPFLAGS'
95972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95975
95976
95977 fi
95978
95979   fi
95980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
95981 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
95982
95983     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
95984
95985 for ac_func in _frexpl
95986 do
95987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95988 echo "$as_me:$LINENO: checking for $ac_func" >&5
95989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95990 if eval "test \"\${$as_ac_var+set}\" = set"; then
95991   echo $ECHO_N "(cached) $ECHO_C" >&6
95992 else
95993   if test x$gcc_no_link = xyes; then
95994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95996    { (exit 1); exit 1; }; }
95997 fi
95998 cat >conftest.$ac_ext <<_ACEOF
95999 /* confdefs.h.  */
96000 _ACEOF
96001 cat confdefs.h >>conftest.$ac_ext
96002 cat >>conftest.$ac_ext <<_ACEOF
96003 /* end confdefs.h.  */
96004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96006 #define $ac_func innocuous_$ac_func
96007
96008 /* System header to define __stub macros and hopefully few prototypes,
96009     which can conflict with char $ac_func (); below.
96010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96011     <limits.h> exists even on freestanding compilers.  */
96012
96013 #ifdef __STDC__
96014 # include <limits.h>
96015 #else
96016 # include <assert.h>
96017 #endif
96018
96019 #undef $ac_func
96020
96021 /* Override any gcc2 internal prototype to avoid an error.  */
96022 #ifdef __cplusplus
96023 extern "C"
96024 {
96025 #endif
96026 /* We use char because int might match the return type of a gcc2
96027    builtin and then its argument prototype would still apply.  */
96028 char $ac_func ();
96029 /* The GNU C library defines this for functions which it implements
96030     to always fail with ENOSYS.  Some functions are actually named
96031     something starting with __ and the normal name is an alias.  */
96032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96033 choke me
96034 #else
96035 char (*f) () = $ac_func;
96036 #endif
96037 #ifdef __cplusplus
96038 }
96039 #endif
96040
96041 int
96042 main ()
96043 {
96044 return f != $ac_func;
96045   ;
96046   return 0;
96047 }
96048 _ACEOF
96049 rm -f conftest.$ac_objext conftest$ac_exeext
96050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96051   (eval $ac_link) 2>conftest.er1
96052   ac_status=$?
96053   grep -v '^ *+' conftest.er1 >conftest.err
96054   rm -f conftest.er1
96055   cat conftest.err >&5
96056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96057   (exit $ac_status); } &&
96058          { ac_try='test -z "$ac_c_werror_flag"
96059                          || test ! -s conftest.err'
96060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96061   (eval $ac_try) 2>&5
96062   ac_status=$?
96063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96064   (exit $ac_status); }; } &&
96065          { ac_try='test -s conftest$ac_exeext'
96066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96067   (eval $ac_try) 2>&5
96068   ac_status=$?
96069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96070   (exit $ac_status); }; }; then
96071   eval "$as_ac_var=yes"
96072 else
96073   echo "$as_me: failed program was:" >&5
96074 sed 's/^/| /' conftest.$ac_ext >&5
96075
96076 eval "$as_ac_var=no"
96077 fi
96078 rm -f conftest.err conftest.$ac_objext \
96079       conftest$ac_exeext conftest.$ac_ext
96080 fi
96081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96083 if test `eval echo '${'$as_ac_var'}'` = yes; then
96084   cat >>confdefs.h <<_ACEOF
96085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96086 _ACEOF
96087
96088 fi
96089 done
96090
96091     fi
96092   fi
96093
96094
96095
96096
96097
96098
96099   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
96100 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
96101   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
96102     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
96103   echo $ECHO_N "(cached) $ECHO_C" >&6
96104 else
96105
96106
96107
96108       ac_ext=cc
96109 ac_cpp='$CXXCPP $CPPFLAGS'
96110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96113
96114       cat >conftest.$ac_ext <<_ACEOF
96115 /* confdefs.h.  */
96116 _ACEOF
96117 cat confdefs.h >>conftest.$ac_ext
96118 cat >>conftest.$ac_ext <<_ACEOF
96119 /* end confdefs.h.  */
96120 #include <math.h>
96121 int
96122 main ()
96123 {
96124  hypotl(0, 0);
96125   ;
96126   return 0;
96127 }
96128 _ACEOF
96129 rm -f conftest.$ac_objext
96130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96131   (eval $ac_compile) 2>conftest.er1
96132   ac_status=$?
96133   grep -v '^ *+' conftest.er1 >conftest.err
96134   rm -f conftest.er1
96135   cat conftest.err >&5
96136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96137   (exit $ac_status); } &&
96138          { ac_try='test -z "$ac_cxx_werror_flag"
96139                          || test ! -s conftest.err'
96140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96141   (eval $ac_try) 2>&5
96142   ac_status=$?
96143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96144   (exit $ac_status); }; } &&
96145          { ac_try='test -s conftest.$ac_objext'
96146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96147   (eval $ac_try) 2>&5
96148   ac_status=$?
96149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96150   (exit $ac_status); }; }; then
96151   glibcxx_cv_func_hypotl_use=yes
96152 else
96153   echo "$as_me: failed program was:" >&5
96154 sed 's/^/| /' conftest.$ac_ext >&5
96155
96156 glibcxx_cv_func_hypotl_use=no
96157 fi
96158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96159       ac_ext=c
96160 ac_cpp='$CPP $CPPFLAGS'
96161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96164
96165
96166 fi
96167
96168   fi
96169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
96170 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
96171
96172   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
96173
96174 for ac_func in hypotl
96175 do
96176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96177 echo "$as_me:$LINENO: checking for $ac_func" >&5
96178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96179 if eval "test \"\${$as_ac_var+set}\" = set"; then
96180   echo $ECHO_N "(cached) $ECHO_C" >&6
96181 else
96182   if test x$gcc_no_link = xyes; then
96183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96185    { (exit 1); exit 1; }; }
96186 fi
96187 cat >conftest.$ac_ext <<_ACEOF
96188 /* confdefs.h.  */
96189 _ACEOF
96190 cat confdefs.h >>conftest.$ac_ext
96191 cat >>conftest.$ac_ext <<_ACEOF
96192 /* end confdefs.h.  */
96193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96195 #define $ac_func innocuous_$ac_func
96196
96197 /* System header to define __stub macros and hopefully few prototypes,
96198     which can conflict with char $ac_func (); below.
96199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96200     <limits.h> exists even on freestanding compilers.  */
96201
96202 #ifdef __STDC__
96203 # include <limits.h>
96204 #else
96205 # include <assert.h>
96206 #endif
96207
96208 #undef $ac_func
96209
96210 /* Override any gcc2 internal prototype to avoid an error.  */
96211 #ifdef __cplusplus
96212 extern "C"
96213 {
96214 #endif
96215 /* We use char because int might match the return type of a gcc2
96216    builtin and then its argument prototype would still apply.  */
96217 char $ac_func ();
96218 /* The GNU C library defines this for functions which it implements
96219     to always fail with ENOSYS.  Some functions are actually named
96220     something starting with __ and the normal name is an alias.  */
96221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96222 choke me
96223 #else
96224 char (*f) () = $ac_func;
96225 #endif
96226 #ifdef __cplusplus
96227 }
96228 #endif
96229
96230 int
96231 main ()
96232 {
96233 return f != $ac_func;
96234   ;
96235   return 0;
96236 }
96237 _ACEOF
96238 rm -f conftest.$ac_objext conftest$ac_exeext
96239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96240   (eval $ac_link) 2>conftest.er1
96241   ac_status=$?
96242   grep -v '^ *+' conftest.er1 >conftest.err
96243   rm -f conftest.er1
96244   cat conftest.err >&5
96245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96246   (exit $ac_status); } &&
96247          { ac_try='test -z "$ac_c_werror_flag"
96248                          || test ! -s conftest.err'
96249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96250   (eval $ac_try) 2>&5
96251   ac_status=$?
96252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96253   (exit $ac_status); }; } &&
96254          { ac_try='test -s conftest$ac_exeext'
96255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96256   (eval $ac_try) 2>&5
96257   ac_status=$?
96258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96259   (exit $ac_status); }; }; then
96260   eval "$as_ac_var=yes"
96261 else
96262   echo "$as_me: failed program was:" >&5
96263 sed 's/^/| /' conftest.$ac_ext >&5
96264
96265 eval "$as_ac_var=no"
96266 fi
96267 rm -f conftest.err conftest.$ac_objext \
96268       conftest$ac_exeext conftest.$ac_ext
96269 fi
96270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96272 if test `eval echo '${'$as_ac_var'}'` = yes; then
96273   cat >>confdefs.h <<_ACEOF
96274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96275 _ACEOF
96276
96277 fi
96278 done
96279
96280   else
96281
96282   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
96283 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
96284   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
96285     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
96286   echo $ECHO_N "(cached) $ECHO_C" >&6
96287 else
96288
96289
96290
96291       ac_ext=cc
96292 ac_cpp='$CXXCPP $CPPFLAGS'
96293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96296
96297       cat >conftest.$ac_ext <<_ACEOF
96298 /* confdefs.h.  */
96299 _ACEOF
96300 cat confdefs.h >>conftest.$ac_ext
96301 cat >>conftest.$ac_ext <<_ACEOF
96302 /* end confdefs.h.  */
96303 #include <math.h>
96304 int
96305 main ()
96306 {
96307  _hypotl(0, 0);
96308   ;
96309   return 0;
96310 }
96311 _ACEOF
96312 rm -f conftest.$ac_objext
96313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96314   (eval $ac_compile) 2>conftest.er1
96315   ac_status=$?
96316   grep -v '^ *+' conftest.er1 >conftest.err
96317   rm -f conftest.er1
96318   cat conftest.err >&5
96319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96320   (exit $ac_status); } &&
96321          { ac_try='test -z "$ac_cxx_werror_flag"
96322                          || test ! -s conftest.err'
96323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96324   (eval $ac_try) 2>&5
96325   ac_status=$?
96326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96327   (exit $ac_status); }; } &&
96328          { ac_try='test -s conftest.$ac_objext'
96329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96330   (eval $ac_try) 2>&5
96331   ac_status=$?
96332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96333   (exit $ac_status); }; }; then
96334   glibcxx_cv_func__hypotl_use=yes
96335 else
96336   echo "$as_me: failed program was:" >&5
96337 sed 's/^/| /' conftest.$ac_ext >&5
96338
96339 glibcxx_cv_func__hypotl_use=no
96340 fi
96341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96342       ac_ext=c
96343 ac_cpp='$CPP $CPPFLAGS'
96344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96347
96348
96349 fi
96350
96351   fi
96352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
96353 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
96354
96355     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
96356
96357 for ac_func in _hypotl
96358 do
96359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96360 echo "$as_me:$LINENO: checking for $ac_func" >&5
96361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96362 if eval "test \"\${$as_ac_var+set}\" = set"; then
96363   echo $ECHO_N "(cached) $ECHO_C" >&6
96364 else
96365   if test x$gcc_no_link = xyes; then
96366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96368    { (exit 1); exit 1; }; }
96369 fi
96370 cat >conftest.$ac_ext <<_ACEOF
96371 /* confdefs.h.  */
96372 _ACEOF
96373 cat confdefs.h >>conftest.$ac_ext
96374 cat >>conftest.$ac_ext <<_ACEOF
96375 /* end confdefs.h.  */
96376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96378 #define $ac_func innocuous_$ac_func
96379
96380 /* System header to define __stub macros and hopefully few prototypes,
96381     which can conflict with char $ac_func (); below.
96382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96383     <limits.h> exists even on freestanding compilers.  */
96384
96385 #ifdef __STDC__
96386 # include <limits.h>
96387 #else
96388 # include <assert.h>
96389 #endif
96390
96391 #undef $ac_func
96392
96393 /* Override any gcc2 internal prototype to avoid an error.  */
96394 #ifdef __cplusplus
96395 extern "C"
96396 {
96397 #endif
96398 /* We use char because int might match the return type of a gcc2
96399    builtin and then its argument prototype would still apply.  */
96400 char $ac_func ();
96401 /* The GNU C library defines this for functions which it implements
96402     to always fail with ENOSYS.  Some functions are actually named
96403     something starting with __ and the normal name is an alias.  */
96404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96405 choke me
96406 #else
96407 char (*f) () = $ac_func;
96408 #endif
96409 #ifdef __cplusplus
96410 }
96411 #endif
96412
96413 int
96414 main ()
96415 {
96416 return f != $ac_func;
96417   ;
96418   return 0;
96419 }
96420 _ACEOF
96421 rm -f conftest.$ac_objext conftest$ac_exeext
96422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96423   (eval $ac_link) 2>conftest.er1
96424   ac_status=$?
96425   grep -v '^ *+' conftest.er1 >conftest.err
96426   rm -f conftest.er1
96427   cat conftest.err >&5
96428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96429   (exit $ac_status); } &&
96430          { ac_try='test -z "$ac_c_werror_flag"
96431                          || test ! -s conftest.err'
96432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96433   (eval $ac_try) 2>&5
96434   ac_status=$?
96435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96436   (exit $ac_status); }; } &&
96437          { ac_try='test -s conftest$ac_exeext'
96438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96439   (eval $ac_try) 2>&5
96440   ac_status=$?
96441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96442   (exit $ac_status); }; }; then
96443   eval "$as_ac_var=yes"
96444 else
96445   echo "$as_me: failed program was:" >&5
96446 sed 's/^/| /' conftest.$ac_ext >&5
96447
96448 eval "$as_ac_var=no"
96449 fi
96450 rm -f conftest.err conftest.$ac_objext \
96451       conftest$ac_exeext conftest.$ac_ext
96452 fi
96453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96455 if test `eval echo '${'$as_ac_var'}'` = yes; then
96456   cat >>confdefs.h <<_ACEOF
96457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96458 _ACEOF
96459
96460 fi
96461 done
96462
96463     fi
96464   fi
96465
96466
96467
96468
96469
96470
96471   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
96472 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
96473   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
96474     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
96475   echo $ECHO_N "(cached) $ECHO_C" >&6
96476 else
96477
96478
96479
96480       ac_ext=cc
96481 ac_cpp='$CXXCPP $CPPFLAGS'
96482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96485
96486       cat >conftest.$ac_ext <<_ACEOF
96487 /* confdefs.h.  */
96488 _ACEOF
96489 cat confdefs.h >>conftest.$ac_ext
96490 cat >>conftest.$ac_ext <<_ACEOF
96491 /* end confdefs.h.  */
96492 #include <math.h>
96493 int
96494 main ()
96495 {
96496  ldexpl(0, 0);
96497   ;
96498   return 0;
96499 }
96500 _ACEOF
96501 rm -f conftest.$ac_objext
96502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96503   (eval $ac_compile) 2>conftest.er1
96504   ac_status=$?
96505   grep -v '^ *+' conftest.er1 >conftest.err
96506   rm -f conftest.er1
96507   cat conftest.err >&5
96508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96509   (exit $ac_status); } &&
96510          { ac_try='test -z "$ac_cxx_werror_flag"
96511                          || test ! -s conftest.err'
96512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96513   (eval $ac_try) 2>&5
96514   ac_status=$?
96515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516   (exit $ac_status); }; } &&
96517          { ac_try='test -s conftest.$ac_objext'
96518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96519   (eval $ac_try) 2>&5
96520   ac_status=$?
96521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96522   (exit $ac_status); }; }; then
96523   glibcxx_cv_func_ldexpl_use=yes
96524 else
96525   echo "$as_me: failed program was:" >&5
96526 sed 's/^/| /' conftest.$ac_ext >&5
96527
96528 glibcxx_cv_func_ldexpl_use=no
96529 fi
96530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96531       ac_ext=c
96532 ac_cpp='$CPP $CPPFLAGS'
96533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96536
96537
96538 fi
96539
96540   fi
96541   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
96542 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
96543
96544   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
96545
96546 for ac_func in ldexpl
96547 do
96548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96549 echo "$as_me:$LINENO: checking for $ac_func" >&5
96550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96551 if eval "test \"\${$as_ac_var+set}\" = set"; then
96552   echo $ECHO_N "(cached) $ECHO_C" >&6
96553 else
96554   if test x$gcc_no_link = xyes; then
96555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96557    { (exit 1); exit 1; }; }
96558 fi
96559 cat >conftest.$ac_ext <<_ACEOF
96560 /* confdefs.h.  */
96561 _ACEOF
96562 cat confdefs.h >>conftest.$ac_ext
96563 cat >>conftest.$ac_ext <<_ACEOF
96564 /* end confdefs.h.  */
96565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96567 #define $ac_func innocuous_$ac_func
96568
96569 /* System header to define __stub macros and hopefully few prototypes,
96570     which can conflict with char $ac_func (); below.
96571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96572     <limits.h> exists even on freestanding compilers.  */
96573
96574 #ifdef __STDC__
96575 # include <limits.h>
96576 #else
96577 # include <assert.h>
96578 #endif
96579
96580 #undef $ac_func
96581
96582 /* Override any gcc2 internal prototype to avoid an error.  */
96583 #ifdef __cplusplus
96584 extern "C"
96585 {
96586 #endif
96587 /* We use char because int might match the return type of a gcc2
96588    builtin and then its argument prototype would still apply.  */
96589 char $ac_func ();
96590 /* The GNU C library defines this for functions which it implements
96591     to always fail with ENOSYS.  Some functions are actually named
96592     something starting with __ and the normal name is an alias.  */
96593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96594 choke me
96595 #else
96596 char (*f) () = $ac_func;
96597 #endif
96598 #ifdef __cplusplus
96599 }
96600 #endif
96601
96602 int
96603 main ()
96604 {
96605 return f != $ac_func;
96606   ;
96607   return 0;
96608 }
96609 _ACEOF
96610 rm -f conftest.$ac_objext conftest$ac_exeext
96611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96612   (eval $ac_link) 2>conftest.er1
96613   ac_status=$?
96614   grep -v '^ *+' conftest.er1 >conftest.err
96615   rm -f conftest.er1
96616   cat conftest.err >&5
96617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96618   (exit $ac_status); } &&
96619          { ac_try='test -z "$ac_c_werror_flag"
96620                          || test ! -s conftest.err'
96621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96622   (eval $ac_try) 2>&5
96623   ac_status=$?
96624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96625   (exit $ac_status); }; } &&
96626          { ac_try='test -s conftest$ac_exeext'
96627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96628   (eval $ac_try) 2>&5
96629   ac_status=$?
96630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96631   (exit $ac_status); }; }; then
96632   eval "$as_ac_var=yes"
96633 else
96634   echo "$as_me: failed program was:" >&5
96635 sed 's/^/| /' conftest.$ac_ext >&5
96636
96637 eval "$as_ac_var=no"
96638 fi
96639 rm -f conftest.err conftest.$ac_objext \
96640       conftest$ac_exeext conftest.$ac_ext
96641 fi
96642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96644 if test `eval echo '${'$as_ac_var'}'` = yes; then
96645   cat >>confdefs.h <<_ACEOF
96646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96647 _ACEOF
96648
96649 fi
96650 done
96651
96652   else
96653
96654   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
96655 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
96656   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
96657     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
96658   echo $ECHO_N "(cached) $ECHO_C" >&6
96659 else
96660
96661
96662
96663       ac_ext=cc
96664 ac_cpp='$CXXCPP $CPPFLAGS'
96665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96668
96669       cat >conftest.$ac_ext <<_ACEOF
96670 /* confdefs.h.  */
96671 _ACEOF
96672 cat confdefs.h >>conftest.$ac_ext
96673 cat >>conftest.$ac_ext <<_ACEOF
96674 /* end confdefs.h.  */
96675 #include <math.h>
96676 int
96677 main ()
96678 {
96679  _ldexpl(0, 0);
96680   ;
96681   return 0;
96682 }
96683 _ACEOF
96684 rm -f conftest.$ac_objext
96685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96686   (eval $ac_compile) 2>conftest.er1
96687   ac_status=$?
96688   grep -v '^ *+' conftest.er1 >conftest.err
96689   rm -f conftest.er1
96690   cat conftest.err >&5
96691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96692   (exit $ac_status); } &&
96693          { ac_try='test -z "$ac_cxx_werror_flag"
96694                          || test ! -s conftest.err'
96695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96696   (eval $ac_try) 2>&5
96697   ac_status=$?
96698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96699   (exit $ac_status); }; } &&
96700          { ac_try='test -s conftest.$ac_objext'
96701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96702   (eval $ac_try) 2>&5
96703   ac_status=$?
96704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96705   (exit $ac_status); }; }; then
96706   glibcxx_cv_func__ldexpl_use=yes
96707 else
96708   echo "$as_me: failed program was:" >&5
96709 sed 's/^/| /' conftest.$ac_ext >&5
96710
96711 glibcxx_cv_func__ldexpl_use=no
96712 fi
96713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96714       ac_ext=c
96715 ac_cpp='$CPP $CPPFLAGS'
96716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96719
96720
96721 fi
96722
96723   fi
96724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
96725 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
96726
96727     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
96728
96729 for ac_func in _ldexpl
96730 do
96731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96732 echo "$as_me:$LINENO: checking for $ac_func" >&5
96733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96734 if eval "test \"\${$as_ac_var+set}\" = set"; then
96735   echo $ECHO_N "(cached) $ECHO_C" >&6
96736 else
96737   if test x$gcc_no_link = xyes; then
96738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96740    { (exit 1); exit 1; }; }
96741 fi
96742 cat >conftest.$ac_ext <<_ACEOF
96743 /* confdefs.h.  */
96744 _ACEOF
96745 cat confdefs.h >>conftest.$ac_ext
96746 cat >>conftest.$ac_ext <<_ACEOF
96747 /* end confdefs.h.  */
96748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96750 #define $ac_func innocuous_$ac_func
96751
96752 /* System header to define __stub macros and hopefully few prototypes,
96753     which can conflict with char $ac_func (); below.
96754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96755     <limits.h> exists even on freestanding compilers.  */
96756
96757 #ifdef __STDC__
96758 # include <limits.h>
96759 #else
96760 # include <assert.h>
96761 #endif
96762
96763 #undef $ac_func
96764
96765 /* Override any gcc2 internal prototype to avoid an error.  */
96766 #ifdef __cplusplus
96767 extern "C"
96768 {
96769 #endif
96770 /* We use char because int might match the return type of a gcc2
96771    builtin and then its argument prototype would still apply.  */
96772 char $ac_func ();
96773 /* The GNU C library defines this for functions which it implements
96774     to always fail with ENOSYS.  Some functions are actually named
96775     something starting with __ and the normal name is an alias.  */
96776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96777 choke me
96778 #else
96779 char (*f) () = $ac_func;
96780 #endif
96781 #ifdef __cplusplus
96782 }
96783 #endif
96784
96785 int
96786 main ()
96787 {
96788 return f != $ac_func;
96789   ;
96790   return 0;
96791 }
96792 _ACEOF
96793 rm -f conftest.$ac_objext conftest$ac_exeext
96794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96795   (eval $ac_link) 2>conftest.er1
96796   ac_status=$?
96797   grep -v '^ *+' conftest.er1 >conftest.err
96798   rm -f conftest.er1
96799   cat conftest.err >&5
96800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96801   (exit $ac_status); } &&
96802          { ac_try='test -z "$ac_c_werror_flag"
96803                          || test ! -s conftest.err'
96804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96805   (eval $ac_try) 2>&5
96806   ac_status=$?
96807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96808   (exit $ac_status); }; } &&
96809          { ac_try='test -s conftest$ac_exeext'
96810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96811   (eval $ac_try) 2>&5
96812   ac_status=$?
96813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96814   (exit $ac_status); }; }; then
96815   eval "$as_ac_var=yes"
96816 else
96817   echo "$as_me: failed program was:" >&5
96818 sed 's/^/| /' conftest.$ac_ext >&5
96819
96820 eval "$as_ac_var=no"
96821 fi
96822 rm -f conftest.err conftest.$ac_objext \
96823       conftest$ac_exeext conftest.$ac_ext
96824 fi
96825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96827 if test `eval echo '${'$as_ac_var'}'` = yes; then
96828   cat >>confdefs.h <<_ACEOF
96829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96830 _ACEOF
96831
96832 fi
96833 done
96834
96835     fi
96836   fi
96837
96838
96839
96840
96841
96842
96843   echo "$as_me:$LINENO: checking for logl declaration" >&5
96844 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
96845   if test x${glibcxx_cv_func_logl_use+set} != xset; then
96846     if test "${glibcxx_cv_func_logl_use+set}" = set; then
96847   echo $ECHO_N "(cached) $ECHO_C" >&6
96848 else
96849
96850
96851
96852       ac_ext=cc
96853 ac_cpp='$CXXCPP $CPPFLAGS'
96854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96857
96858       cat >conftest.$ac_ext <<_ACEOF
96859 /* confdefs.h.  */
96860 _ACEOF
96861 cat confdefs.h >>conftest.$ac_ext
96862 cat >>conftest.$ac_ext <<_ACEOF
96863 /* end confdefs.h.  */
96864 #include <math.h>
96865                       #ifdef HAVE_IEEEFP_H
96866                       #include <ieeefp.h>
96867                       #endif
96868
96869 int
96870 main ()
96871 {
96872  logl(0);
96873   ;
96874   return 0;
96875 }
96876 _ACEOF
96877 rm -f conftest.$ac_objext
96878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96879   (eval $ac_compile) 2>conftest.er1
96880   ac_status=$?
96881   grep -v '^ *+' conftest.er1 >conftest.err
96882   rm -f conftest.er1
96883   cat conftest.err >&5
96884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96885   (exit $ac_status); } &&
96886          { ac_try='test -z "$ac_cxx_werror_flag"
96887                          || test ! -s conftest.err'
96888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96889   (eval $ac_try) 2>&5
96890   ac_status=$?
96891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96892   (exit $ac_status); }; } &&
96893          { ac_try='test -s conftest.$ac_objext'
96894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96895   (eval $ac_try) 2>&5
96896   ac_status=$?
96897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96898   (exit $ac_status); }; }; then
96899   glibcxx_cv_func_logl_use=yes
96900 else
96901   echo "$as_me: failed program was:" >&5
96902 sed 's/^/| /' conftest.$ac_ext >&5
96903
96904 glibcxx_cv_func_logl_use=no
96905 fi
96906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96907       ac_ext=c
96908 ac_cpp='$CPP $CPPFLAGS'
96909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96912
96913
96914 fi
96915
96916   fi
96917   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
96918 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
96919
96920   if test x$glibcxx_cv_func_logl_use = x"yes"; then
96921
96922 for ac_func in logl
96923 do
96924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96925 echo "$as_me:$LINENO: checking for $ac_func" >&5
96926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96927 if eval "test \"\${$as_ac_var+set}\" = set"; then
96928   echo $ECHO_N "(cached) $ECHO_C" >&6
96929 else
96930   if test x$gcc_no_link = xyes; then
96931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96933    { (exit 1); exit 1; }; }
96934 fi
96935 cat >conftest.$ac_ext <<_ACEOF
96936 /* confdefs.h.  */
96937 _ACEOF
96938 cat confdefs.h >>conftest.$ac_ext
96939 cat >>conftest.$ac_ext <<_ACEOF
96940 /* end confdefs.h.  */
96941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96943 #define $ac_func innocuous_$ac_func
96944
96945 /* System header to define __stub macros and hopefully few prototypes,
96946     which can conflict with char $ac_func (); below.
96947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96948     <limits.h> exists even on freestanding compilers.  */
96949
96950 #ifdef __STDC__
96951 # include <limits.h>
96952 #else
96953 # include <assert.h>
96954 #endif
96955
96956 #undef $ac_func
96957
96958 /* Override any gcc2 internal prototype to avoid an error.  */
96959 #ifdef __cplusplus
96960 extern "C"
96961 {
96962 #endif
96963 /* We use char because int might match the return type of a gcc2
96964    builtin and then its argument prototype would still apply.  */
96965 char $ac_func ();
96966 /* The GNU C library defines this for functions which it implements
96967     to always fail with ENOSYS.  Some functions are actually named
96968     something starting with __ and the normal name is an alias.  */
96969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96970 choke me
96971 #else
96972 char (*f) () = $ac_func;
96973 #endif
96974 #ifdef __cplusplus
96975 }
96976 #endif
96977
96978 int
96979 main ()
96980 {
96981 return f != $ac_func;
96982   ;
96983   return 0;
96984 }
96985 _ACEOF
96986 rm -f conftest.$ac_objext conftest$ac_exeext
96987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96988   (eval $ac_link) 2>conftest.er1
96989   ac_status=$?
96990   grep -v '^ *+' conftest.er1 >conftest.err
96991   rm -f conftest.er1
96992   cat conftest.err >&5
96993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96994   (exit $ac_status); } &&
96995          { ac_try='test -z "$ac_c_werror_flag"
96996                          || test ! -s conftest.err'
96997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96998   (eval $ac_try) 2>&5
96999   ac_status=$?
97000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97001   (exit $ac_status); }; } &&
97002          { ac_try='test -s conftest$ac_exeext'
97003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97004   (eval $ac_try) 2>&5
97005   ac_status=$?
97006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97007   (exit $ac_status); }; }; then
97008   eval "$as_ac_var=yes"
97009 else
97010   echo "$as_me: failed program was:" >&5
97011 sed 's/^/| /' conftest.$ac_ext >&5
97012
97013 eval "$as_ac_var=no"
97014 fi
97015 rm -f conftest.err conftest.$ac_objext \
97016       conftest$ac_exeext conftest.$ac_ext
97017 fi
97018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97020 if test `eval echo '${'$as_ac_var'}'` = yes; then
97021   cat >>confdefs.h <<_ACEOF
97022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97023 _ACEOF
97024
97025 fi
97026 done
97027
97028   else
97029
97030   echo "$as_me:$LINENO: checking for _logl declaration" >&5
97031 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
97032   if test x${glibcxx_cv_func__logl_use+set} != xset; then
97033     if test "${glibcxx_cv_func__logl_use+set}" = set; then
97034   echo $ECHO_N "(cached) $ECHO_C" >&6
97035 else
97036
97037
97038
97039       ac_ext=cc
97040 ac_cpp='$CXXCPP $CPPFLAGS'
97041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97044
97045       cat >conftest.$ac_ext <<_ACEOF
97046 /* confdefs.h.  */
97047 _ACEOF
97048 cat confdefs.h >>conftest.$ac_ext
97049 cat >>conftest.$ac_ext <<_ACEOF
97050 /* end confdefs.h.  */
97051 #include <math.h>
97052                       #ifdef HAVE_IEEEFP_H
97053                       #include <ieeefp.h>
97054                       #endif
97055
97056 int
97057 main ()
97058 {
97059  _logl(0);
97060   ;
97061   return 0;
97062 }
97063 _ACEOF
97064 rm -f conftest.$ac_objext
97065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97066   (eval $ac_compile) 2>conftest.er1
97067   ac_status=$?
97068   grep -v '^ *+' conftest.er1 >conftest.err
97069   rm -f conftest.er1
97070   cat conftest.err >&5
97071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072   (exit $ac_status); } &&
97073          { ac_try='test -z "$ac_cxx_werror_flag"
97074                          || test ! -s conftest.err'
97075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97076   (eval $ac_try) 2>&5
97077   ac_status=$?
97078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97079   (exit $ac_status); }; } &&
97080          { ac_try='test -s conftest.$ac_objext'
97081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97082   (eval $ac_try) 2>&5
97083   ac_status=$?
97084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97085   (exit $ac_status); }; }; then
97086   glibcxx_cv_func__logl_use=yes
97087 else
97088   echo "$as_me: failed program was:" >&5
97089 sed 's/^/| /' conftest.$ac_ext >&5
97090
97091 glibcxx_cv_func__logl_use=no
97092 fi
97093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97094       ac_ext=c
97095 ac_cpp='$CPP $CPPFLAGS'
97096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97099
97100
97101 fi
97102
97103   fi
97104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
97105 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
97106
97107     if test x$glibcxx_cv_func__logl_use = x"yes"; then
97108
97109 for ac_func in _logl
97110 do
97111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97112 echo "$as_me:$LINENO: checking for $ac_func" >&5
97113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97114 if eval "test \"\${$as_ac_var+set}\" = set"; then
97115   echo $ECHO_N "(cached) $ECHO_C" >&6
97116 else
97117   if test x$gcc_no_link = xyes; then
97118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97120    { (exit 1); exit 1; }; }
97121 fi
97122 cat >conftest.$ac_ext <<_ACEOF
97123 /* confdefs.h.  */
97124 _ACEOF
97125 cat confdefs.h >>conftest.$ac_ext
97126 cat >>conftest.$ac_ext <<_ACEOF
97127 /* end confdefs.h.  */
97128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97130 #define $ac_func innocuous_$ac_func
97131
97132 /* System header to define __stub macros and hopefully few prototypes,
97133     which can conflict with char $ac_func (); below.
97134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97135     <limits.h> exists even on freestanding compilers.  */
97136
97137 #ifdef __STDC__
97138 # include <limits.h>
97139 #else
97140 # include <assert.h>
97141 #endif
97142
97143 #undef $ac_func
97144
97145 /* Override any gcc2 internal prototype to avoid an error.  */
97146 #ifdef __cplusplus
97147 extern "C"
97148 {
97149 #endif
97150 /* We use char because int might match the return type of a gcc2
97151    builtin and then its argument prototype would still apply.  */
97152 char $ac_func ();
97153 /* The GNU C library defines this for functions which it implements
97154     to always fail with ENOSYS.  Some functions are actually named
97155     something starting with __ and the normal name is an alias.  */
97156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97157 choke me
97158 #else
97159 char (*f) () = $ac_func;
97160 #endif
97161 #ifdef __cplusplus
97162 }
97163 #endif
97164
97165 int
97166 main ()
97167 {
97168 return f != $ac_func;
97169   ;
97170   return 0;
97171 }
97172 _ACEOF
97173 rm -f conftest.$ac_objext conftest$ac_exeext
97174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97175   (eval $ac_link) 2>conftest.er1
97176   ac_status=$?
97177   grep -v '^ *+' conftest.er1 >conftest.err
97178   rm -f conftest.er1
97179   cat conftest.err >&5
97180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97181   (exit $ac_status); } &&
97182          { ac_try='test -z "$ac_c_werror_flag"
97183                          || test ! -s conftest.err'
97184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97185   (eval $ac_try) 2>&5
97186   ac_status=$?
97187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97188   (exit $ac_status); }; } &&
97189          { ac_try='test -s conftest$ac_exeext'
97190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97191   (eval $ac_try) 2>&5
97192   ac_status=$?
97193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97194   (exit $ac_status); }; }; then
97195   eval "$as_ac_var=yes"
97196 else
97197   echo "$as_me: failed program was:" >&5
97198 sed 's/^/| /' conftest.$ac_ext >&5
97199
97200 eval "$as_ac_var=no"
97201 fi
97202 rm -f conftest.err conftest.$ac_objext \
97203       conftest$ac_exeext conftest.$ac_ext
97204 fi
97205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97207 if test `eval echo '${'$as_ac_var'}'` = yes; then
97208   cat >>confdefs.h <<_ACEOF
97209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97210 _ACEOF
97211
97212 fi
97213 done
97214
97215     fi
97216   fi
97217
97218
97219
97220
97221
97222
97223   echo "$as_me:$LINENO: checking for log10l declaration" >&5
97224 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
97225   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
97226     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
97227   echo $ECHO_N "(cached) $ECHO_C" >&6
97228 else
97229
97230
97231
97232       ac_ext=cc
97233 ac_cpp='$CXXCPP $CPPFLAGS'
97234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97237
97238       cat >conftest.$ac_ext <<_ACEOF
97239 /* confdefs.h.  */
97240 _ACEOF
97241 cat confdefs.h >>conftest.$ac_ext
97242 cat >>conftest.$ac_ext <<_ACEOF
97243 /* end confdefs.h.  */
97244 #include <math.h>
97245                       #ifdef HAVE_IEEEFP_H
97246                       #include <ieeefp.h>
97247                       #endif
97248
97249 int
97250 main ()
97251 {
97252  log10l(0);
97253   ;
97254   return 0;
97255 }
97256 _ACEOF
97257 rm -f conftest.$ac_objext
97258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97259   (eval $ac_compile) 2>conftest.er1
97260   ac_status=$?
97261   grep -v '^ *+' conftest.er1 >conftest.err
97262   rm -f conftest.er1
97263   cat conftest.err >&5
97264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97265   (exit $ac_status); } &&
97266          { ac_try='test -z "$ac_cxx_werror_flag"
97267                          || test ! -s conftest.err'
97268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97269   (eval $ac_try) 2>&5
97270   ac_status=$?
97271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97272   (exit $ac_status); }; } &&
97273          { ac_try='test -s conftest.$ac_objext'
97274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97275   (eval $ac_try) 2>&5
97276   ac_status=$?
97277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97278   (exit $ac_status); }; }; then
97279   glibcxx_cv_func_log10l_use=yes
97280 else
97281   echo "$as_me: failed program was:" >&5
97282 sed 's/^/| /' conftest.$ac_ext >&5
97283
97284 glibcxx_cv_func_log10l_use=no
97285 fi
97286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97287       ac_ext=c
97288 ac_cpp='$CPP $CPPFLAGS'
97289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97292
97293
97294 fi
97295
97296   fi
97297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
97298 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
97299
97300   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
97301
97302 for ac_func in log10l
97303 do
97304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97305 echo "$as_me:$LINENO: checking for $ac_func" >&5
97306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97307 if eval "test \"\${$as_ac_var+set}\" = set"; then
97308   echo $ECHO_N "(cached) $ECHO_C" >&6
97309 else
97310   if test x$gcc_no_link = xyes; then
97311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97313    { (exit 1); exit 1; }; }
97314 fi
97315 cat >conftest.$ac_ext <<_ACEOF
97316 /* confdefs.h.  */
97317 _ACEOF
97318 cat confdefs.h >>conftest.$ac_ext
97319 cat >>conftest.$ac_ext <<_ACEOF
97320 /* end confdefs.h.  */
97321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97323 #define $ac_func innocuous_$ac_func
97324
97325 /* System header to define __stub macros and hopefully few prototypes,
97326     which can conflict with char $ac_func (); below.
97327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97328     <limits.h> exists even on freestanding compilers.  */
97329
97330 #ifdef __STDC__
97331 # include <limits.h>
97332 #else
97333 # include <assert.h>
97334 #endif
97335
97336 #undef $ac_func
97337
97338 /* Override any gcc2 internal prototype to avoid an error.  */
97339 #ifdef __cplusplus
97340 extern "C"
97341 {
97342 #endif
97343 /* We use char because int might match the return type of a gcc2
97344    builtin and then its argument prototype would still apply.  */
97345 char $ac_func ();
97346 /* The GNU C library defines this for functions which it implements
97347     to always fail with ENOSYS.  Some functions are actually named
97348     something starting with __ and the normal name is an alias.  */
97349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97350 choke me
97351 #else
97352 char (*f) () = $ac_func;
97353 #endif
97354 #ifdef __cplusplus
97355 }
97356 #endif
97357
97358 int
97359 main ()
97360 {
97361 return f != $ac_func;
97362   ;
97363   return 0;
97364 }
97365 _ACEOF
97366 rm -f conftest.$ac_objext conftest$ac_exeext
97367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97368   (eval $ac_link) 2>conftest.er1
97369   ac_status=$?
97370   grep -v '^ *+' conftest.er1 >conftest.err
97371   rm -f conftest.er1
97372   cat conftest.err >&5
97373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97374   (exit $ac_status); } &&
97375          { ac_try='test -z "$ac_c_werror_flag"
97376                          || test ! -s conftest.err'
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); }; } &&
97382          { ac_try='test -s conftest$ac_exeext'
97383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97384   (eval $ac_try) 2>&5
97385   ac_status=$?
97386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97387   (exit $ac_status); }; }; then
97388   eval "$as_ac_var=yes"
97389 else
97390   echo "$as_me: failed program was:" >&5
97391 sed 's/^/| /' conftest.$ac_ext >&5
97392
97393 eval "$as_ac_var=no"
97394 fi
97395 rm -f conftest.err conftest.$ac_objext \
97396       conftest$ac_exeext conftest.$ac_ext
97397 fi
97398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97400 if test `eval echo '${'$as_ac_var'}'` = yes; then
97401   cat >>confdefs.h <<_ACEOF
97402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97403 _ACEOF
97404
97405 fi
97406 done
97407
97408   else
97409
97410   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
97411 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
97412   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
97413     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
97414   echo $ECHO_N "(cached) $ECHO_C" >&6
97415 else
97416
97417
97418
97419       ac_ext=cc
97420 ac_cpp='$CXXCPP $CPPFLAGS'
97421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97424
97425       cat >conftest.$ac_ext <<_ACEOF
97426 /* confdefs.h.  */
97427 _ACEOF
97428 cat confdefs.h >>conftest.$ac_ext
97429 cat >>conftest.$ac_ext <<_ACEOF
97430 /* end confdefs.h.  */
97431 #include <math.h>
97432                       #ifdef HAVE_IEEEFP_H
97433                       #include <ieeefp.h>
97434                       #endif
97435
97436 int
97437 main ()
97438 {
97439  _log10l(0);
97440   ;
97441   return 0;
97442 }
97443 _ACEOF
97444 rm -f conftest.$ac_objext
97445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97446   (eval $ac_compile) 2>conftest.er1
97447   ac_status=$?
97448   grep -v '^ *+' conftest.er1 >conftest.err
97449   rm -f conftest.er1
97450   cat conftest.err >&5
97451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97452   (exit $ac_status); } &&
97453          { ac_try='test -z "$ac_cxx_werror_flag"
97454                          || test ! -s conftest.err'
97455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97456   (eval $ac_try) 2>&5
97457   ac_status=$?
97458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97459   (exit $ac_status); }; } &&
97460          { ac_try='test -s conftest.$ac_objext'
97461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97462   (eval $ac_try) 2>&5
97463   ac_status=$?
97464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97465   (exit $ac_status); }; }; then
97466   glibcxx_cv_func__log10l_use=yes
97467 else
97468   echo "$as_me: failed program was:" >&5
97469 sed 's/^/| /' conftest.$ac_ext >&5
97470
97471 glibcxx_cv_func__log10l_use=no
97472 fi
97473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97474       ac_ext=c
97475 ac_cpp='$CPP $CPPFLAGS'
97476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97479
97480
97481 fi
97482
97483   fi
97484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
97485 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
97486
97487     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
97488
97489 for ac_func in _log10l
97490 do
97491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97492 echo "$as_me:$LINENO: checking for $ac_func" >&5
97493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97494 if eval "test \"\${$as_ac_var+set}\" = set"; then
97495   echo $ECHO_N "(cached) $ECHO_C" >&6
97496 else
97497   if test x$gcc_no_link = xyes; then
97498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97500    { (exit 1); exit 1; }; }
97501 fi
97502 cat >conftest.$ac_ext <<_ACEOF
97503 /* confdefs.h.  */
97504 _ACEOF
97505 cat confdefs.h >>conftest.$ac_ext
97506 cat >>conftest.$ac_ext <<_ACEOF
97507 /* end confdefs.h.  */
97508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97510 #define $ac_func innocuous_$ac_func
97511
97512 /* System header to define __stub macros and hopefully few prototypes,
97513     which can conflict with char $ac_func (); below.
97514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97515     <limits.h> exists even on freestanding compilers.  */
97516
97517 #ifdef __STDC__
97518 # include <limits.h>
97519 #else
97520 # include <assert.h>
97521 #endif
97522
97523 #undef $ac_func
97524
97525 /* Override any gcc2 internal prototype to avoid an error.  */
97526 #ifdef __cplusplus
97527 extern "C"
97528 {
97529 #endif
97530 /* We use char because int might match the return type of a gcc2
97531    builtin and then its argument prototype would still apply.  */
97532 char $ac_func ();
97533 /* The GNU C library defines this for functions which it implements
97534     to always fail with ENOSYS.  Some functions are actually named
97535     something starting with __ and the normal name is an alias.  */
97536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97537 choke me
97538 #else
97539 char (*f) () = $ac_func;
97540 #endif
97541 #ifdef __cplusplus
97542 }
97543 #endif
97544
97545 int
97546 main ()
97547 {
97548 return f != $ac_func;
97549   ;
97550   return 0;
97551 }
97552 _ACEOF
97553 rm -f conftest.$ac_objext conftest$ac_exeext
97554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97555   (eval $ac_link) 2>conftest.er1
97556   ac_status=$?
97557   grep -v '^ *+' conftest.er1 >conftest.err
97558   rm -f conftest.er1
97559   cat conftest.err >&5
97560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97561   (exit $ac_status); } &&
97562          { ac_try='test -z "$ac_c_werror_flag"
97563                          || test ! -s conftest.err'
97564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97565   (eval $ac_try) 2>&5
97566   ac_status=$?
97567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97568   (exit $ac_status); }; } &&
97569          { ac_try='test -s conftest$ac_exeext'
97570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97571   (eval $ac_try) 2>&5
97572   ac_status=$?
97573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97574   (exit $ac_status); }; }; then
97575   eval "$as_ac_var=yes"
97576 else
97577   echo "$as_me: failed program was:" >&5
97578 sed 's/^/| /' conftest.$ac_ext >&5
97579
97580 eval "$as_ac_var=no"
97581 fi
97582 rm -f conftest.err conftest.$ac_objext \
97583       conftest$ac_exeext conftest.$ac_ext
97584 fi
97585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97587 if test `eval echo '${'$as_ac_var'}'` = yes; then
97588   cat >>confdefs.h <<_ACEOF
97589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97590 _ACEOF
97591
97592 fi
97593 done
97594
97595     fi
97596   fi
97597
97598
97599
97600
97601
97602
97603   echo "$as_me:$LINENO: checking for modfl declaration" >&5
97604 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
97605   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
97606     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
97607   echo $ECHO_N "(cached) $ECHO_C" >&6
97608 else
97609
97610
97611
97612       ac_ext=cc
97613 ac_cpp='$CXXCPP $CPPFLAGS'
97614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97617
97618       cat >conftest.$ac_ext <<_ACEOF
97619 /* confdefs.h.  */
97620 _ACEOF
97621 cat confdefs.h >>conftest.$ac_ext
97622 cat >>conftest.$ac_ext <<_ACEOF
97623 /* end confdefs.h.  */
97624 #include <math.h>
97625 int
97626 main ()
97627 {
97628  modfl(0, 0);
97629   ;
97630   return 0;
97631 }
97632 _ACEOF
97633 rm -f conftest.$ac_objext
97634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97635   (eval $ac_compile) 2>conftest.er1
97636   ac_status=$?
97637   grep -v '^ *+' conftest.er1 >conftest.err
97638   rm -f conftest.er1
97639   cat conftest.err >&5
97640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97641   (exit $ac_status); } &&
97642          { ac_try='test -z "$ac_cxx_werror_flag"
97643                          || test ! -s conftest.err'
97644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97645   (eval $ac_try) 2>&5
97646   ac_status=$?
97647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97648   (exit $ac_status); }; } &&
97649          { ac_try='test -s conftest.$ac_objext'
97650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97651   (eval $ac_try) 2>&5
97652   ac_status=$?
97653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97654   (exit $ac_status); }; }; then
97655   glibcxx_cv_func_modfl_use=yes
97656 else
97657   echo "$as_me: failed program was:" >&5
97658 sed 's/^/| /' conftest.$ac_ext >&5
97659
97660 glibcxx_cv_func_modfl_use=no
97661 fi
97662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97663       ac_ext=c
97664 ac_cpp='$CPP $CPPFLAGS'
97665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97668
97669
97670 fi
97671
97672   fi
97673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
97674 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
97675
97676   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
97677
97678 for ac_func in modfl
97679 do
97680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97681 echo "$as_me:$LINENO: checking for $ac_func" >&5
97682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97683 if eval "test \"\${$as_ac_var+set}\" = set"; then
97684   echo $ECHO_N "(cached) $ECHO_C" >&6
97685 else
97686   if test x$gcc_no_link = xyes; then
97687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97689    { (exit 1); exit 1; }; }
97690 fi
97691 cat >conftest.$ac_ext <<_ACEOF
97692 /* confdefs.h.  */
97693 _ACEOF
97694 cat confdefs.h >>conftest.$ac_ext
97695 cat >>conftest.$ac_ext <<_ACEOF
97696 /* end confdefs.h.  */
97697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97699 #define $ac_func innocuous_$ac_func
97700
97701 /* System header to define __stub macros and hopefully few prototypes,
97702     which can conflict with char $ac_func (); below.
97703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97704     <limits.h> exists even on freestanding compilers.  */
97705
97706 #ifdef __STDC__
97707 # include <limits.h>
97708 #else
97709 # include <assert.h>
97710 #endif
97711
97712 #undef $ac_func
97713
97714 /* Override any gcc2 internal prototype to avoid an error.  */
97715 #ifdef __cplusplus
97716 extern "C"
97717 {
97718 #endif
97719 /* We use char because int might match the return type of a gcc2
97720    builtin and then its argument prototype would still apply.  */
97721 char $ac_func ();
97722 /* The GNU C library defines this for functions which it implements
97723     to always fail with ENOSYS.  Some functions are actually named
97724     something starting with __ and the normal name is an alias.  */
97725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97726 choke me
97727 #else
97728 char (*f) () = $ac_func;
97729 #endif
97730 #ifdef __cplusplus
97731 }
97732 #endif
97733
97734 int
97735 main ()
97736 {
97737 return f != $ac_func;
97738   ;
97739   return 0;
97740 }
97741 _ACEOF
97742 rm -f conftest.$ac_objext conftest$ac_exeext
97743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97744   (eval $ac_link) 2>conftest.er1
97745   ac_status=$?
97746   grep -v '^ *+' conftest.er1 >conftest.err
97747   rm -f conftest.er1
97748   cat conftest.err >&5
97749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97750   (exit $ac_status); } &&
97751          { ac_try='test -z "$ac_c_werror_flag"
97752                          || test ! -s conftest.err'
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); }; } &&
97758          { ac_try='test -s conftest$ac_exeext'
97759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97760   (eval $ac_try) 2>&5
97761   ac_status=$?
97762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97763   (exit $ac_status); }; }; then
97764   eval "$as_ac_var=yes"
97765 else
97766   echo "$as_me: failed program was:" >&5
97767 sed 's/^/| /' conftest.$ac_ext >&5
97768
97769 eval "$as_ac_var=no"
97770 fi
97771 rm -f conftest.err conftest.$ac_objext \
97772       conftest$ac_exeext conftest.$ac_ext
97773 fi
97774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97776 if test `eval echo '${'$as_ac_var'}'` = yes; then
97777   cat >>confdefs.h <<_ACEOF
97778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97779 _ACEOF
97780
97781 fi
97782 done
97783
97784   else
97785
97786   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
97787 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
97788   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
97789     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
97790   echo $ECHO_N "(cached) $ECHO_C" >&6
97791 else
97792
97793
97794
97795       ac_ext=cc
97796 ac_cpp='$CXXCPP $CPPFLAGS'
97797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97800
97801       cat >conftest.$ac_ext <<_ACEOF
97802 /* confdefs.h.  */
97803 _ACEOF
97804 cat confdefs.h >>conftest.$ac_ext
97805 cat >>conftest.$ac_ext <<_ACEOF
97806 /* end confdefs.h.  */
97807 #include <math.h>
97808 int
97809 main ()
97810 {
97811  _modfl(0, 0);
97812   ;
97813   return 0;
97814 }
97815 _ACEOF
97816 rm -f conftest.$ac_objext
97817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97818   (eval $ac_compile) 2>conftest.er1
97819   ac_status=$?
97820   grep -v '^ *+' conftest.er1 >conftest.err
97821   rm -f conftest.er1
97822   cat conftest.err >&5
97823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97824   (exit $ac_status); } &&
97825          { ac_try='test -z "$ac_cxx_werror_flag"
97826                          || test ! -s conftest.err'
97827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97828   (eval $ac_try) 2>&5
97829   ac_status=$?
97830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97831   (exit $ac_status); }; } &&
97832          { ac_try='test -s conftest.$ac_objext'
97833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97834   (eval $ac_try) 2>&5
97835   ac_status=$?
97836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97837   (exit $ac_status); }; }; then
97838   glibcxx_cv_func__modfl_use=yes
97839 else
97840   echo "$as_me: failed program was:" >&5
97841 sed 's/^/| /' conftest.$ac_ext >&5
97842
97843 glibcxx_cv_func__modfl_use=no
97844 fi
97845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97846       ac_ext=c
97847 ac_cpp='$CPP $CPPFLAGS'
97848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97851
97852
97853 fi
97854
97855   fi
97856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
97857 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
97858
97859     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
97860
97861 for ac_func in _modfl
97862 do
97863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97864 echo "$as_me:$LINENO: checking for $ac_func" >&5
97865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97866 if eval "test \"\${$as_ac_var+set}\" = set"; then
97867   echo $ECHO_N "(cached) $ECHO_C" >&6
97868 else
97869   if test x$gcc_no_link = xyes; then
97870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97872    { (exit 1); exit 1; }; }
97873 fi
97874 cat >conftest.$ac_ext <<_ACEOF
97875 /* confdefs.h.  */
97876 _ACEOF
97877 cat confdefs.h >>conftest.$ac_ext
97878 cat >>conftest.$ac_ext <<_ACEOF
97879 /* end confdefs.h.  */
97880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97882 #define $ac_func innocuous_$ac_func
97883
97884 /* System header to define __stub macros and hopefully few prototypes,
97885     which can conflict with char $ac_func (); below.
97886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97887     <limits.h> exists even on freestanding compilers.  */
97888
97889 #ifdef __STDC__
97890 # include <limits.h>
97891 #else
97892 # include <assert.h>
97893 #endif
97894
97895 #undef $ac_func
97896
97897 /* Override any gcc2 internal prototype to avoid an error.  */
97898 #ifdef __cplusplus
97899 extern "C"
97900 {
97901 #endif
97902 /* We use char because int might match the return type of a gcc2
97903    builtin and then its argument prototype would still apply.  */
97904 char $ac_func ();
97905 /* The GNU C library defines this for functions which it implements
97906     to always fail with ENOSYS.  Some functions are actually named
97907     something starting with __ and the normal name is an alias.  */
97908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97909 choke me
97910 #else
97911 char (*f) () = $ac_func;
97912 #endif
97913 #ifdef __cplusplus
97914 }
97915 #endif
97916
97917 int
97918 main ()
97919 {
97920 return f != $ac_func;
97921   ;
97922   return 0;
97923 }
97924 _ACEOF
97925 rm -f conftest.$ac_objext conftest$ac_exeext
97926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97927   (eval $ac_link) 2>conftest.er1
97928   ac_status=$?
97929   grep -v '^ *+' conftest.er1 >conftest.err
97930   rm -f conftest.er1
97931   cat conftest.err >&5
97932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97933   (exit $ac_status); } &&
97934          { ac_try='test -z "$ac_c_werror_flag"
97935                          || test ! -s conftest.err'
97936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97937   (eval $ac_try) 2>&5
97938   ac_status=$?
97939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97940   (exit $ac_status); }; } &&
97941          { ac_try='test -s conftest$ac_exeext'
97942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97943   (eval $ac_try) 2>&5
97944   ac_status=$?
97945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97946   (exit $ac_status); }; }; then
97947   eval "$as_ac_var=yes"
97948 else
97949   echo "$as_me: failed program was:" >&5
97950 sed 's/^/| /' conftest.$ac_ext >&5
97951
97952 eval "$as_ac_var=no"
97953 fi
97954 rm -f conftest.err conftest.$ac_objext \
97955       conftest$ac_exeext conftest.$ac_ext
97956 fi
97957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97959 if test `eval echo '${'$as_ac_var'}'` = yes; then
97960   cat >>confdefs.h <<_ACEOF
97961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97962 _ACEOF
97963
97964 fi
97965 done
97966
97967     fi
97968   fi
97969
97970
97971
97972
97973
97974
97975   echo "$as_me:$LINENO: checking for powl declaration" >&5
97976 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
97977   if test x${glibcxx_cv_func_powl_use+set} != xset; then
97978     if test "${glibcxx_cv_func_powl_use+set}" = set; then
97979   echo $ECHO_N "(cached) $ECHO_C" >&6
97980 else
97981
97982
97983
97984       ac_ext=cc
97985 ac_cpp='$CXXCPP $CPPFLAGS'
97986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97989
97990       cat >conftest.$ac_ext <<_ACEOF
97991 /* confdefs.h.  */
97992 _ACEOF
97993 cat confdefs.h >>conftest.$ac_ext
97994 cat >>conftest.$ac_ext <<_ACEOF
97995 /* end confdefs.h.  */
97996 #include <math.h>
97997 int
97998 main ()
97999 {
98000  powl(0, 0);
98001   ;
98002   return 0;
98003 }
98004 _ACEOF
98005 rm -f conftest.$ac_objext
98006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98007   (eval $ac_compile) 2>conftest.er1
98008   ac_status=$?
98009   grep -v '^ *+' conftest.er1 >conftest.err
98010   rm -f conftest.er1
98011   cat conftest.err >&5
98012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98013   (exit $ac_status); } &&
98014          { ac_try='test -z "$ac_cxx_werror_flag"
98015                          || test ! -s conftest.err'
98016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98017   (eval $ac_try) 2>&5
98018   ac_status=$?
98019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98020   (exit $ac_status); }; } &&
98021          { ac_try='test -s conftest.$ac_objext'
98022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98023   (eval $ac_try) 2>&5
98024   ac_status=$?
98025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98026   (exit $ac_status); }; }; then
98027   glibcxx_cv_func_powl_use=yes
98028 else
98029   echo "$as_me: failed program was:" >&5
98030 sed 's/^/| /' conftest.$ac_ext >&5
98031
98032 glibcxx_cv_func_powl_use=no
98033 fi
98034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98035       ac_ext=c
98036 ac_cpp='$CPP $CPPFLAGS'
98037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98040
98041
98042 fi
98043
98044   fi
98045   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
98046 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
98047
98048   if test x$glibcxx_cv_func_powl_use = x"yes"; then
98049
98050 for ac_func in powl
98051 do
98052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98053 echo "$as_me:$LINENO: checking for $ac_func" >&5
98054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98055 if eval "test \"\${$as_ac_var+set}\" = set"; then
98056   echo $ECHO_N "(cached) $ECHO_C" >&6
98057 else
98058   if test x$gcc_no_link = xyes; then
98059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98061    { (exit 1); exit 1; }; }
98062 fi
98063 cat >conftest.$ac_ext <<_ACEOF
98064 /* confdefs.h.  */
98065 _ACEOF
98066 cat confdefs.h >>conftest.$ac_ext
98067 cat >>conftest.$ac_ext <<_ACEOF
98068 /* end confdefs.h.  */
98069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98071 #define $ac_func innocuous_$ac_func
98072
98073 /* System header to define __stub macros and hopefully few prototypes,
98074     which can conflict with char $ac_func (); below.
98075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98076     <limits.h> exists even on freestanding compilers.  */
98077
98078 #ifdef __STDC__
98079 # include <limits.h>
98080 #else
98081 # include <assert.h>
98082 #endif
98083
98084 #undef $ac_func
98085
98086 /* Override any gcc2 internal prototype to avoid an error.  */
98087 #ifdef __cplusplus
98088 extern "C"
98089 {
98090 #endif
98091 /* We use char because int might match the return type of a gcc2
98092    builtin and then its argument prototype would still apply.  */
98093 char $ac_func ();
98094 /* The GNU C library defines this for functions which it implements
98095     to always fail with ENOSYS.  Some functions are actually named
98096     something starting with __ and the normal name is an alias.  */
98097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98098 choke me
98099 #else
98100 char (*f) () = $ac_func;
98101 #endif
98102 #ifdef __cplusplus
98103 }
98104 #endif
98105
98106 int
98107 main ()
98108 {
98109 return f != $ac_func;
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   eval "$as_ac_var=yes"
98137 else
98138   echo "$as_me: failed program was:" >&5
98139 sed 's/^/| /' conftest.$ac_ext >&5
98140
98141 eval "$as_ac_var=no"
98142 fi
98143 rm -f conftest.err conftest.$ac_objext \
98144       conftest$ac_exeext conftest.$ac_ext
98145 fi
98146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98148 if test `eval echo '${'$as_ac_var'}'` = yes; then
98149   cat >>confdefs.h <<_ACEOF
98150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98151 _ACEOF
98152
98153 fi
98154 done
98155
98156   else
98157
98158   echo "$as_me:$LINENO: checking for _powl declaration" >&5
98159 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
98160   if test x${glibcxx_cv_func__powl_use+set} != xset; then
98161     if test "${glibcxx_cv_func__powl_use+set}" = set; then
98162   echo $ECHO_N "(cached) $ECHO_C" >&6
98163 else
98164
98165
98166
98167       ac_ext=cc
98168 ac_cpp='$CXXCPP $CPPFLAGS'
98169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98172
98173       cat >conftest.$ac_ext <<_ACEOF
98174 /* confdefs.h.  */
98175 _ACEOF
98176 cat confdefs.h >>conftest.$ac_ext
98177 cat >>conftest.$ac_ext <<_ACEOF
98178 /* end confdefs.h.  */
98179 #include <math.h>
98180 int
98181 main ()
98182 {
98183  _powl(0, 0);
98184   ;
98185   return 0;
98186 }
98187 _ACEOF
98188 rm -f conftest.$ac_objext
98189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98190   (eval $ac_compile) 2>conftest.er1
98191   ac_status=$?
98192   grep -v '^ *+' conftest.er1 >conftest.err
98193   rm -f conftest.er1
98194   cat conftest.err >&5
98195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98196   (exit $ac_status); } &&
98197          { ac_try='test -z "$ac_cxx_werror_flag"
98198                          || test ! -s conftest.err'
98199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98200   (eval $ac_try) 2>&5
98201   ac_status=$?
98202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98203   (exit $ac_status); }; } &&
98204          { ac_try='test -s conftest.$ac_objext'
98205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98206   (eval $ac_try) 2>&5
98207   ac_status=$?
98208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98209   (exit $ac_status); }; }; then
98210   glibcxx_cv_func__powl_use=yes
98211 else
98212   echo "$as_me: failed program was:" >&5
98213 sed 's/^/| /' conftest.$ac_ext >&5
98214
98215 glibcxx_cv_func__powl_use=no
98216 fi
98217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98218       ac_ext=c
98219 ac_cpp='$CPP $CPPFLAGS'
98220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98223
98224
98225 fi
98226
98227   fi
98228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
98229 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
98230
98231     if test x$glibcxx_cv_func__powl_use = x"yes"; then
98232
98233 for ac_func in _powl
98234 do
98235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98236 echo "$as_me:$LINENO: checking for $ac_func" >&5
98237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98238 if eval "test \"\${$as_ac_var+set}\" = set"; then
98239   echo $ECHO_N "(cached) $ECHO_C" >&6
98240 else
98241   if test x$gcc_no_link = xyes; then
98242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98244    { (exit 1); exit 1; }; }
98245 fi
98246 cat >conftest.$ac_ext <<_ACEOF
98247 /* confdefs.h.  */
98248 _ACEOF
98249 cat confdefs.h >>conftest.$ac_ext
98250 cat >>conftest.$ac_ext <<_ACEOF
98251 /* end confdefs.h.  */
98252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98254 #define $ac_func innocuous_$ac_func
98255
98256 /* System header to define __stub macros and hopefully few prototypes,
98257     which can conflict with char $ac_func (); below.
98258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98259     <limits.h> exists even on freestanding compilers.  */
98260
98261 #ifdef __STDC__
98262 # include <limits.h>
98263 #else
98264 # include <assert.h>
98265 #endif
98266
98267 #undef $ac_func
98268
98269 /* Override any gcc2 internal prototype to avoid an error.  */
98270 #ifdef __cplusplus
98271 extern "C"
98272 {
98273 #endif
98274 /* We use char because int might match the return type of a gcc2
98275    builtin and then its argument prototype would still apply.  */
98276 char $ac_func ();
98277 /* The GNU C library defines this for functions which it implements
98278     to always fail with ENOSYS.  Some functions are actually named
98279     something starting with __ and the normal name is an alias.  */
98280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98281 choke me
98282 #else
98283 char (*f) () = $ac_func;
98284 #endif
98285 #ifdef __cplusplus
98286 }
98287 #endif
98288
98289 int
98290 main ()
98291 {
98292 return f != $ac_func;
98293   ;
98294   return 0;
98295 }
98296 _ACEOF
98297 rm -f conftest.$ac_objext conftest$ac_exeext
98298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98299   (eval $ac_link) 2>conftest.er1
98300   ac_status=$?
98301   grep -v '^ *+' conftest.er1 >conftest.err
98302   rm -f conftest.er1
98303   cat conftest.err >&5
98304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98305   (exit $ac_status); } &&
98306          { ac_try='test -z "$ac_c_werror_flag"
98307                          || test ! -s conftest.err'
98308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98309   (eval $ac_try) 2>&5
98310   ac_status=$?
98311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98312   (exit $ac_status); }; } &&
98313          { ac_try='test -s conftest$ac_exeext'
98314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98315   (eval $ac_try) 2>&5
98316   ac_status=$?
98317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98318   (exit $ac_status); }; }; then
98319   eval "$as_ac_var=yes"
98320 else
98321   echo "$as_me: failed program was:" >&5
98322 sed 's/^/| /' conftest.$ac_ext >&5
98323
98324 eval "$as_ac_var=no"
98325 fi
98326 rm -f conftest.err conftest.$ac_objext \
98327       conftest$ac_exeext conftest.$ac_ext
98328 fi
98329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98331 if test `eval echo '${'$as_ac_var'}'` = yes; then
98332   cat >>confdefs.h <<_ACEOF
98333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98334 _ACEOF
98335
98336 fi
98337 done
98338
98339     fi
98340   fi
98341
98342
98343
98344
98345
98346
98347   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
98348 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
98349   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
98350     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
98351   echo $ECHO_N "(cached) $ECHO_C" >&6
98352 else
98353
98354
98355
98356       ac_ext=cc
98357 ac_cpp='$CXXCPP $CPPFLAGS'
98358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98361
98362       cat >conftest.$ac_ext <<_ACEOF
98363 /* confdefs.h.  */
98364 _ACEOF
98365 cat confdefs.h >>conftest.$ac_ext
98366 cat >>conftest.$ac_ext <<_ACEOF
98367 /* end confdefs.h.  */
98368 #include <math.h>
98369                       #ifdef HAVE_IEEEFP_H
98370                       #include <ieeefp.h>
98371                       #endif
98372
98373 int
98374 main ()
98375 {
98376  sqrtl(0);
98377   ;
98378   return 0;
98379 }
98380 _ACEOF
98381 rm -f conftest.$ac_objext
98382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98383   (eval $ac_compile) 2>conftest.er1
98384   ac_status=$?
98385   grep -v '^ *+' conftest.er1 >conftest.err
98386   rm -f conftest.er1
98387   cat conftest.err >&5
98388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389   (exit $ac_status); } &&
98390          { ac_try='test -z "$ac_cxx_werror_flag"
98391                          || test ! -s conftest.err'
98392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98393   (eval $ac_try) 2>&5
98394   ac_status=$?
98395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98396   (exit $ac_status); }; } &&
98397          { ac_try='test -s conftest.$ac_objext'
98398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98399   (eval $ac_try) 2>&5
98400   ac_status=$?
98401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98402   (exit $ac_status); }; }; then
98403   glibcxx_cv_func_sqrtl_use=yes
98404 else
98405   echo "$as_me: failed program was:" >&5
98406 sed 's/^/| /' conftest.$ac_ext >&5
98407
98408 glibcxx_cv_func_sqrtl_use=no
98409 fi
98410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98411       ac_ext=c
98412 ac_cpp='$CPP $CPPFLAGS'
98413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98416
98417
98418 fi
98419
98420   fi
98421   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
98422 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
98423
98424   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
98425
98426 for ac_func in sqrtl
98427 do
98428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98429 echo "$as_me:$LINENO: checking for $ac_func" >&5
98430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98431 if eval "test \"\${$as_ac_var+set}\" = set"; then
98432   echo $ECHO_N "(cached) $ECHO_C" >&6
98433 else
98434   if test x$gcc_no_link = xyes; then
98435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98437    { (exit 1); exit 1; }; }
98438 fi
98439 cat >conftest.$ac_ext <<_ACEOF
98440 /* confdefs.h.  */
98441 _ACEOF
98442 cat confdefs.h >>conftest.$ac_ext
98443 cat >>conftest.$ac_ext <<_ACEOF
98444 /* end confdefs.h.  */
98445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98447 #define $ac_func innocuous_$ac_func
98448
98449 /* System header to define __stub macros and hopefully few prototypes,
98450     which can conflict with char $ac_func (); below.
98451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98452     <limits.h> exists even on freestanding compilers.  */
98453
98454 #ifdef __STDC__
98455 # include <limits.h>
98456 #else
98457 # include <assert.h>
98458 #endif
98459
98460 #undef $ac_func
98461
98462 /* Override any gcc2 internal prototype to avoid an error.  */
98463 #ifdef __cplusplus
98464 extern "C"
98465 {
98466 #endif
98467 /* We use char because int might match the return type of a gcc2
98468    builtin and then its argument prototype would still apply.  */
98469 char $ac_func ();
98470 /* The GNU C library defines this for functions which it implements
98471     to always fail with ENOSYS.  Some functions are actually named
98472     something starting with __ and the normal name is an alias.  */
98473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98474 choke me
98475 #else
98476 char (*f) () = $ac_func;
98477 #endif
98478 #ifdef __cplusplus
98479 }
98480 #endif
98481
98482 int
98483 main ()
98484 {
98485 return f != $ac_func;
98486   ;
98487   return 0;
98488 }
98489 _ACEOF
98490 rm -f conftest.$ac_objext conftest$ac_exeext
98491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98492   (eval $ac_link) 2>conftest.er1
98493   ac_status=$?
98494   grep -v '^ *+' conftest.er1 >conftest.err
98495   rm -f conftest.er1
98496   cat conftest.err >&5
98497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98498   (exit $ac_status); } &&
98499          { ac_try='test -z "$ac_c_werror_flag"
98500                          || test ! -s conftest.err'
98501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98502   (eval $ac_try) 2>&5
98503   ac_status=$?
98504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98505   (exit $ac_status); }; } &&
98506          { ac_try='test -s conftest$ac_exeext'
98507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98508   (eval $ac_try) 2>&5
98509   ac_status=$?
98510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98511   (exit $ac_status); }; }; then
98512   eval "$as_ac_var=yes"
98513 else
98514   echo "$as_me: failed program was:" >&5
98515 sed 's/^/| /' conftest.$ac_ext >&5
98516
98517 eval "$as_ac_var=no"
98518 fi
98519 rm -f conftest.err conftest.$ac_objext \
98520       conftest$ac_exeext conftest.$ac_ext
98521 fi
98522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98524 if test `eval echo '${'$as_ac_var'}'` = yes; then
98525   cat >>confdefs.h <<_ACEOF
98526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98527 _ACEOF
98528
98529 fi
98530 done
98531
98532   else
98533
98534   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
98535 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
98536   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
98537     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
98538   echo $ECHO_N "(cached) $ECHO_C" >&6
98539 else
98540
98541
98542
98543       ac_ext=cc
98544 ac_cpp='$CXXCPP $CPPFLAGS'
98545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98548
98549       cat >conftest.$ac_ext <<_ACEOF
98550 /* confdefs.h.  */
98551 _ACEOF
98552 cat confdefs.h >>conftest.$ac_ext
98553 cat >>conftest.$ac_ext <<_ACEOF
98554 /* end confdefs.h.  */
98555 #include <math.h>
98556                       #ifdef HAVE_IEEEFP_H
98557                       #include <ieeefp.h>
98558                       #endif
98559
98560 int
98561 main ()
98562 {
98563  _sqrtl(0);
98564   ;
98565   return 0;
98566 }
98567 _ACEOF
98568 rm -f conftest.$ac_objext
98569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98570   (eval $ac_compile) 2>conftest.er1
98571   ac_status=$?
98572   grep -v '^ *+' conftest.er1 >conftest.err
98573   rm -f conftest.er1
98574   cat conftest.err >&5
98575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98576   (exit $ac_status); } &&
98577          { ac_try='test -z "$ac_cxx_werror_flag"
98578                          || test ! -s conftest.err'
98579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98580   (eval $ac_try) 2>&5
98581   ac_status=$?
98582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98583   (exit $ac_status); }; } &&
98584          { ac_try='test -s conftest.$ac_objext'
98585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98586   (eval $ac_try) 2>&5
98587   ac_status=$?
98588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98589   (exit $ac_status); }; }; then
98590   glibcxx_cv_func__sqrtl_use=yes
98591 else
98592   echo "$as_me: failed program was:" >&5
98593 sed 's/^/| /' conftest.$ac_ext >&5
98594
98595 glibcxx_cv_func__sqrtl_use=no
98596 fi
98597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98598       ac_ext=c
98599 ac_cpp='$CPP $CPPFLAGS'
98600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98603
98604
98605 fi
98606
98607   fi
98608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
98609 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
98610
98611     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
98612
98613 for ac_func in _sqrtl
98614 do
98615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98616 echo "$as_me:$LINENO: checking for $ac_func" >&5
98617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98618 if eval "test \"\${$as_ac_var+set}\" = set"; then
98619   echo $ECHO_N "(cached) $ECHO_C" >&6
98620 else
98621   if test x$gcc_no_link = xyes; then
98622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98624    { (exit 1); exit 1; }; }
98625 fi
98626 cat >conftest.$ac_ext <<_ACEOF
98627 /* confdefs.h.  */
98628 _ACEOF
98629 cat confdefs.h >>conftest.$ac_ext
98630 cat >>conftest.$ac_ext <<_ACEOF
98631 /* end confdefs.h.  */
98632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98634 #define $ac_func innocuous_$ac_func
98635
98636 /* System header to define __stub macros and hopefully few prototypes,
98637     which can conflict with char $ac_func (); below.
98638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98639     <limits.h> exists even on freestanding compilers.  */
98640
98641 #ifdef __STDC__
98642 # include <limits.h>
98643 #else
98644 # include <assert.h>
98645 #endif
98646
98647 #undef $ac_func
98648
98649 /* Override any gcc2 internal prototype to avoid an error.  */
98650 #ifdef __cplusplus
98651 extern "C"
98652 {
98653 #endif
98654 /* We use char because int might match the return type of a gcc2
98655    builtin and then its argument prototype would still apply.  */
98656 char $ac_func ();
98657 /* The GNU C library defines this for functions which it implements
98658     to always fail with ENOSYS.  Some functions are actually named
98659     something starting with __ and the normal name is an alias.  */
98660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98661 choke me
98662 #else
98663 char (*f) () = $ac_func;
98664 #endif
98665 #ifdef __cplusplus
98666 }
98667 #endif
98668
98669 int
98670 main ()
98671 {
98672 return f != $ac_func;
98673   ;
98674   return 0;
98675 }
98676 _ACEOF
98677 rm -f conftest.$ac_objext conftest$ac_exeext
98678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98679   (eval $ac_link) 2>conftest.er1
98680   ac_status=$?
98681   grep -v '^ *+' conftest.er1 >conftest.err
98682   rm -f conftest.er1
98683   cat conftest.err >&5
98684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98685   (exit $ac_status); } &&
98686          { ac_try='test -z "$ac_c_werror_flag"
98687                          || test ! -s conftest.err'
98688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98689   (eval $ac_try) 2>&5
98690   ac_status=$?
98691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98692   (exit $ac_status); }; } &&
98693          { ac_try='test -s conftest$ac_exeext'
98694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98695   (eval $ac_try) 2>&5
98696   ac_status=$?
98697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98698   (exit $ac_status); }; }; then
98699   eval "$as_ac_var=yes"
98700 else
98701   echo "$as_me: failed program was:" >&5
98702 sed 's/^/| /' conftest.$ac_ext >&5
98703
98704 eval "$as_ac_var=no"
98705 fi
98706 rm -f conftest.err conftest.$ac_objext \
98707       conftest$ac_exeext conftest.$ac_ext
98708 fi
98709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98711 if test `eval echo '${'$as_ac_var'}'` = yes; then
98712   cat >>confdefs.h <<_ACEOF
98713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98714 _ACEOF
98715
98716 fi
98717 done
98718
98719     fi
98720   fi
98721
98722
98723
98724
98725
98726
98727   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
98728 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
98729   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
98730     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
98731   echo $ECHO_N "(cached) $ECHO_C" >&6
98732 else
98733
98734
98735
98736       ac_ext=cc
98737 ac_cpp='$CXXCPP $CPPFLAGS'
98738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98741
98742       cat >conftest.$ac_ext <<_ACEOF
98743 /* confdefs.h.  */
98744 _ACEOF
98745 cat confdefs.h >>conftest.$ac_ext
98746 cat >>conftest.$ac_ext <<_ACEOF
98747 /* end confdefs.h.  */
98748 #include <math.h>
98749 int
98750 main ()
98751 {
98752  sincosl(0, 0, 0);
98753   ;
98754   return 0;
98755 }
98756 _ACEOF
98757 rm -f conftest.$ac_objext
98758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98759   (eval $ac_compile) 2>conftest.er1
98760   ac_status=$?
98761   grep -v '^ *+' conftest.er1 >conftest.err
98762   rm -f conftest.er1
98763   cat conftest.err >&5
98764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98765   (exit $ac_status); } &&
98766          { ac_try='test -z "$ac_cxx_werror_flag"
98767                          || test ! -s conftest.err'
98768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98769   (eval $ac_try) 2>&5
98770   ac_status=$?
98771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98772   (exit $ac_status); }; } &&
98773          { ac_try='test -s conftest.$ac_objext'
98774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98775   (eval $ac_try) 2>&5
98776   ac_status=$?
98777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98778   (exit $ac_status); }; }; then
98779   glibcxx_cv_func_sincosl_use=yes
98780 else
98781   echo "$as_me: failed program was:" >&5
98782 sed 's/^/| /' conftest.$ac_ext >&5
98783
98784 glibcxx_cv_func_sincosl_use=no
98785 fi
98786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98787       ac_ext=c
98788 ac_cpp='$CPP $CPPFLAGS'
98789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98792
98793
98794 fi
98795
98796   fi
98797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
98798 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
98799
98800   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
98801
98802 for ac_func in sincosl
98803 do
98804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98805 echo "$as_me:$LINENO: checking for $ac_func" >&5
98806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98807 if eval "test \"\${$as_ac_var+set}\" = set"; then
98808   echo $ECHO_N "(cached) $ECHO_C" >&6
98809 else
98810   if test x$gcc_no_link = xyes; then
98811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98813    { (exit 1); exit 1; }; }
98814 fi
98815 cat >conftest.$ac_ext <<_ACEOF
98816 /* confdefs.h.  */
98817 _ACEOF
98818 cat confdefs.h >>conftest.$ac_ext
98819 cat >>conftest.$ac_ext <<_ACEOF
98820 /* end confdefs.h.  */
98821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98823 #define $ac_func innocuous_$ac_func
98824
98825 /* System header to define __stub macros and hopefully few prototypes,
98826     which can conflict with char $ac_func (); below.
98827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98828     <limits.h> exists even on freestanding compilers.  */
98829
98830 #ifdef __STDC__
98831 # include <limits.h>
98832 #else
98833 # include <assert.h>
98834 #endif
98835
98836 #undef $ac_func
98837
98838 /* Override any gcc2 internal prototype to avoid an error.  */
98839 #ifdef __cplusplus
98840 extern "C"
98841 {
98842 #endif
98843 /* We use char because int might match the return type of a gcc2
98844    builtin and then its argument prototype would still apply.  */
98845 char $ac_func ();
98846 /* The GNU C library defines this for functions which it implements
98847     to always fail with ENOSYS.  Some functions are actually named
98848     something starting with __ and the normal name is an alias.  */
98849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98850 choke me
98851 #else
98852 char (*f) () = $ac_func;
98853 #endif
98854 #ifdef __cplusplus
98855 }
98856 #endif
98857
98858 int
98859 main ()
98860 {
98861 return f != $ac_func;
98862   ;
98863   return 0;
98864 }
98865 _ACEOF
98866 rm -f conftest.$ac_objext conftest$ac_exeext
98867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98868   (eval $ac_link) 2>conftest.er1
98869   ac_status=$?
98870   grep -v '^ *+' conftest.er1 >conftest.err
98871   rm -f conftest.er1
98872   cat conftest.err >&5
98873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98874   (exit $ac_status); } &&
98875          { ac_try='test -z "$ac_c_werror_flag"
98876                          || test ! -s conftest.err'
98877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98878   (eval $ac_try) 2>&5
98879   ac_status=$?
98880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98881   (exit $ac_status); }; } &&
98882          { ac_try='test -s conftest$ac_exeext'
98883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98884   (eval $ac_try) 2>&5
98885   ac_status=$?
98886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98887   (exit $ac_status); }; }; then
98888   eval "$as_ac_var=yes"
98889 else
98890   echo "$as_me: failed program was:" >&5
98891 sed 's/^/| /' conftest.$ac_ext >&5
98892
98893 eval "$as_ac_var=no"
98894 fi
98895 rm -f conftest.err conftest.$ac_objext \
98896       conftest$ac_exeext conftest.$ac_ext
98897 fi
98898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98900 if test `eval echo '${'$as_ac_var'}'` = yes; then
98901   cat >>confdefs.h <<_ACEOF
98902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98903 _ACEOF
98904
98905 fi
98906 done
98907
98908   else
98909
98910   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
98911 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
98912   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
98913     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
98914   echo $ECHO_N "(cached) $ECHO_C" >&6
98915 else
98916
98917
98918
98919       ac_ext=cc
98920 ac_cpp='$CXXCPP $CPPFLAGS'
98921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98924
98925       cat >conftest.$ac_ext <<_ACEOF
98926 /* confdefs.h.  */
98927 _ACEOF
98928 cat confdefs.h >>conftest.$ac_ext
98929 cat >>conftest.$ac_ext <<_ACEOF
98930 /* end confdefs.h.  */
98931 #include <math.h>
98932 int
98933 main ()
98934 {
98935  _sincosl(0, 0, 0);
98936   ;
98937   return 0;
98938 }
98939 _ACEOF
98940 rm -f conftest.$ac_objext
98941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98942   (eval $ac_compile) 2>conftest.er1
98943   ac_status=$?
98944   grep -v '^ *+' conftest.er1 >conftest.err
98945   rm -f conftest.er1
98946   cat conftest.err >&5
98947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98948   (exit $ac_status); } &&
98949          { ac_try='test -z "$ac_cxx_werror_flag"
98950                          || test ! -s conftest.err'
98951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98952   (eval $ac_try) 2>&5
98953   ac_status=$?
98954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98955   (exit $ac_status); }; } &&
98956          { ac_try='test -s conftest.$ac_objext'
98957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98958   (eval $ac_try) 2>&5
98959   ac_status=$?
98960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98961   (exit $ac_status); }; }; then
98962   glibcxx_cv_func__sincosl_use=yes
98963 else
98964   echo "$as_me: failed program was:" >&5
98965 sed 's/^/| /' conftest.$ac_ext >&5
98966
98967 glibcxx_cv_func__sincosl_use=no
98968 fi
98969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98970       ac_ext=c
98971 ac_cpp='$CPP $CPPFLAGS'
98972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98975
98976
98977 fi
98978
98979   fi
98980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
98981 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
98982
98983     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
98984
98985 for ac_func in _sincosl
98986 do
98987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98988 echo "$as_me:$LINENO: checking for $ac_func" >&5
98989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98990 if eval "test \"\${$as_ac_var+set}\" = set"; then
98991   echo $ECHO_N "(cached) $ECHO_C" >&6
98992 else
98993   if test x$gcc_no_link = xyes; then
98994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98996    { (exit 1); exit 1; }; }
98997 fi
98998 cat >conftest.$ac_ext <<_ACEOF
98999 /* confdefs.h.  */
99000 _ACEOF
99001 cat confdefs.h >>conftest.$ac_ext
99002 cat >>conftest.$ac_ext <<_ACEOF
99003 /* end confdefs.h.  */
99004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99006 #define $ac_func innocuous_$ac_func
99007
99008 /* System header to define __stub macros and hopefully few prototypes,
99009     which can conflict with char $ac_func (); below.
99010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99011     <limits.h> exists even on freestanding compilers.  */
99012
99013 #ifdef __STDC__
99014 # include <limits.h>
99015 #else
99016 # include <assert.h>
99017 #endif
99018
99019 #undef $ac_func
99020
99021 /* Override any gcc2 internal prototype to avoid an error.  */
99022 #ifdef __cplusplus
99023 extern "C"
99024 {
99025 #endif
99026 /* We use char because int might match the return type of a gcc2
99027    builtin and then its argument prototype would still apply.  */
99028 char $ac_func ();
99029 /* The GNU C library defines this for functions which it implements
99030     to always fail with ENOSYS.  Some functions are actually named
99031     something starting with __ and the normal name is an alias.  */
99032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99033 choke me
99034 #else
99035 char (*f) () = $ac_func;
99036 #endif
99037 #ifdef __cplusplus
99038 }
99039 #endif
99040
99041 int
99042 main ()
99043 {
99044 return f != $ac_func;
99045   ;
99046   return 0;
99047 }
99048 _ACEOF
99049 rm -f conftest.$ac_objext conftest$ac_exeext
99050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99051   (eval $ac_link) 2>conftest.er1
99052   ac_status=$?
99053   grep -v '^ *+' conftest.er1 >conftest.err
99054   rm -f conftest.er1
99055   cat conftest.err >&5
99056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99057   (exit $ac_status); } &&
99058          { ac_try='test -z "$ac_c_werror_flag"
99059                          || test ! -s conftest.err'
99060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99061   (eval $ac_try) 2>&5
99062   ac_status=$?
99063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99064   (exit $ac_status); }; } &&
99065          { ac_try='test -s conftest$ac_exeext'
99066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99067   (eval $ac_try) 2>&5
99068   ac_status=$?
99069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99070   (exit $ac_status); }; }; then
99071   eval "$as_ac_var=yes"
99072 else
99073   echo "$as_me: failed program was:" >&5
99074 sed 's/^/| /' conftest.$ac_ext >&5
99075
99076 eval "$as_ac_var=no"
99077 fi
99078 rm -f conftest.err conftest.$ac_objext \
99079       conftest$ac_exeext conftest.$ac_ext
99080 fi
99081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99083 if test `eval echo '${'$as_ac_var'}'` = yes; then
99084   cat >>confdefs.h <<_ACEOF
99085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99086 _ACEOF
99087
99088 fi
99089 done
99090
99091     fi
99092   fi
99093
99094
99095
99096
99097
99098
99099   echo "$as_me:$LINENO: checking for finitel declaration" >&5
99100 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
99101   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
99102     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
99103   echo $ECHO_N "(cached) $ECHO_C" >&6
99104 else
99105
99106
99107
99108       ac_ext=cc
99109 ac_cpp='$CXXCPP $CPPFLAGS'
99110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99113
99114       cat >conftest.$ac_ext <<_ACEOF
99115 /* confdefs.h.  */
99116 _ACEOF
99117 cat confdefs.h >>conftest.$ac_ext
99118 cat >>conftest.$ac_ext <<_ACEOF
99119 /* end confdefs.h.  */
99120 #include <math.h>
99121                       #ifdef HAVE_IEEEFP_H
99122                       #include <ieeefp.h>
99123                       #endif
99124
99125 int
99126 main ()
99127 {
99128  finitel(0);
99129   ;
99130   return 0;
99131 }
99132 _ACEOF
99133 rm -f conftest.$ac_objext
99134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99135   (eval $ac_compile) 2>conftest.er1
99136   ac_status=$?
99137   grep -v '^ *+' conftest.er1 >conftest.err
99138   rm -f conftest.er1
99139   cat conftest.err >&5
99140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99141   (exit $ac_status); } &&
99142          { ac_try='test -z "$ac_cxx_werror_flag"
99143                          || test ! -s conftest.err'
99144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99145   (eval $ac_try) 2>&5
99146   ac_status=$?
99147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99148   (exit $ac_status); }; } &&
99149          { ac_try='test -s conftest.$ac_objext'
99150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99151   (eval $ac_try) 2>&5
99152   ac_status=$?
99153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99154   (exit $ac_status); }; }; then
99155   glibcxx_cv_func_finitel_use=yes
99156 else
99157   echo "$as_me: failed program was:" >&5
99158 sed 's/^/| /' conftest.$ac_ext >&5
99159
99160 glibcxx_cv_func_finitel_use=no
99161 fi
99162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99163       ac_ext=c
99164 ac_cpp='$CPP $CPPFLAGS'
99165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99168
99169
99170 fi
99171
99172   fi
99173   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
99174 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
99175
99176   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
99177
99178 for ac_func in finitel
99179 do
99180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99181 echo "$as_me:$LINENO: checking for $ac_func" >&5
99182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99183 if eval "test \"\${$as_ac_var+set}\" = set"; then
99184   echo $ECHO_N "(cached) $ECHO_C" >&6
99185 else
99186   if test x$gcc_no_link = xyes; then
99187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99189    { (exit 1); exit 1; }; }
99190 fi
99191 cat >conftest.$ac_ext <<_ACEOF
99192 /* confdefs.h.  */
99193 _ACEOF
99194 cat confdefs.h >>conftest.$ac_ext
99195 cat >>conftest.$ac_ext <<_ACEOF
99196 /* end confdefs.h.  */
99197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99199 #define $ac_func innocuous_$ac_func
99200
99201 /* System header to define __stub macros and hopefully few prototypes,
99202     which can conflict with char $ac_func (); below.
99203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99204     <limits.h> exists even on freestanding compilers.  */
99205
99206 #ifdef __STDC__
99207 # include <limits.h>
99208 #else
99209 # include <assert.h>
99210 #endif
99211
99212 #undef $ac_func
99213
99214 /* Override any gcc2 internal prototype to avoid an error.  */
99215 #ifdef __cplusplus
99216 extern "C"
99217 {
99218 #endif
99219 /* We use char because int might match the return type of a gcc2
99220    builtin and then its argument prototype would still apply.  */
99221 char $ac_func ();
99222 /* The GNU C library defines this for functions which it implements
99223     to always fail with ENOSYS.  Some functions are actually named
99224     something starting with __ and the normal name is an alias.  */
99225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99226 choke me
99227 #else
99228 char (*f) () = $ac_func;
99229 #endif
99230 #ifdef __cplusplus
99231 }
99232 #endif
99233
99234 int
99235 main ()
99236 {
99237 return f != $ac_func;
99238   ;
99239   return 0;
99240 }
99241 _ACEOF
99242 rm -f conftest.$ac_objext conftest$ac_exeext
99243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99244   (eval $ac_link) 2>conftest.er1
99245   ac_status=$?
99246   grep -v '^ *+' conftest.er1 >conftest.err
99247   rm -f conftest.er1
99248   cat conftest.err >&5
99249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99250   (exit $ac_status); } &&
99251          { ac_try='test -z "$ac_c_werror_flag"
99252                          || test ! -s conftest.err'
99253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99254   (eval $ac_try) 2>&5
99255   ac_status=$?
99256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99257   (exit $ac_status); }; } &&
99258          { ac_try='test -s conftest$ac_exeext'
99259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99260   (eval $ac_try) 2>&5
99261   ac_status=$?
99262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99263   (exit $ac_status); }; }; then
99264   eval "$as_ac_var=yes"
99265 else
99266   echo "$as_me: failed program was:" >&5
99267 sed 's/^/| /' conftest.$ac_ext >&5
99268
99269 eval "$as_ac_var=no"
99270 fi
99271 rm -f conftest.err conftest.$ac_objext \
99272       conftest$ac_exeext conftest.$ac_ext
99273 fi
99274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99276 if test `eval echo '${'$as_ac_var'}'` = yes; then
99277   cat >>confdefs.h <<_ACEOF
99278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99279 _ACEOF
99280
99281 fi
99282 done
99283
99284   else
99285
99286   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
99287 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
99288   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
99289     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
99290   echo $ECHO_N "(cached) $ECHO_C" >&6
99291 else
99292
99293
99294
99295       ac_ext=cc
99296 ac_cpp='$CXXCPP $CPPFLAGS'
99297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99300
99301       cat >conftest.$ac_ext <<_ACEOF
99302 /* confdefs.h.  */
99303 _ACEOF
99304 cat confdefs.h >>conftest.$ac_ext
99305 cat >>conftest.$ac_ext <<_ACEOF
99306 /* end confdefs.h.  */
99307 #include <math.h>
99308                       #ifdef HAVE_IEEEFP_H
99309                       #include <ieeefp.h>
99310                       #endif
99311
99312 int
99313 main ()
99314 {
99315  _finitel(0);
99316   ;
99317   return 0;
99318 }
99319 _ACEOF
99320 rm -f conftest.$ac_objext
99321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99322   (eval $ac_compile) 2>conftest.er1
99323   ac_status=$?
99324   grep -v '^ *+' conftest.er1 >conftest.err
99325   rm -f conftest.er1
99326   cat conftest.err >&5
99327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99328   (exit $ac_status); } &&
99329          { ac_try='test -z "$ac_cxx_werror_flag"
99330                          || test ! -s conftest.err'
99331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99332   (eval $ac_try) 2>&5
99333   ac_status=$?
99334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99335   (exit $ac_status); }; } &&
99336          { ac_try='test -s conftest.$ac_objext'
99337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99338   (eval $ac_try) 2>&5
99339   ac_status=$?
99340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99341   (exit $ac_status); }; }; then
99342   glibcxx_cv_func__finitel_use=yes
99343 else
99344   echo "$as_me: failed program was:" >&5
99345 sed 's/^/| /' conftest.$ac_ext >&5
99346
99347 glibcxx_cv_func__finitel_use=no
99348 fi
99349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99350       ac_ext=c
99351 ac_cpp='$CPP $CPPFLAGS'
99352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99355
99356
99357 fi
99358
99359   fi
99360   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
99361 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
99362
99363     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
99364
99365 for ac_func in _finitel
99366 do
99367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99368 echo "$as_me:$LINENO: checking for $ac_func" >&5
99369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99370 if eval "test \"\${$as_ac_var+set}\" = set"; then
99371   echo $ECHO_N "(cached) $ECHO_C" >&6
99372 else
99373   if test x$gcc_no_link = xyes; then
99374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99376    { (exit 1); exit 1; }; }
99377 fi
99378 cat >conftest.$ac_ext <<_ACEOF
99379 /* confdefs.h.  */
99380 _ACEOF
99381 cat confdefs.h >>conftest.$ac_ext
99382 cat >>conftest.$ac_ext <<_ACEOF
99383 /* end confdefs.h.  */
99384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99386 #define $ac_func innocuous_$ac_func
99387
99388 /* System header to define __stub macros and hopefully few prototypes,
99389     which can conflict with char $ac_func (); below.
99390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99391     <limits.h> exists even on freestanding compilers.  */
99392
99393 #ifdef __STDC__
99394 # include <limits.h>
99395 #else
99396 # include <assert.h>
99397 #endif
99398
99399 #undef $ac_func
99400
99401 /* Override any gcc2 internal prototype to avoid an error.  */
99402 #ifdef __cplusplus
99403 extern "C"
99404 {
99405 #endif
99406 /* We use char because int might match the return type of a gcc2
99407    builtin and then its argument prototype would still apply.  */
99408 char $ac_func ();
99409 /* The GNU C library defines this for functions which it implements
99410     to always fail with ENOSYS.  Some functions are actually named
99411     something starting with __ and the normal name is an alias.  */
99412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99413 choke me
99414 #else
99415 char (*f) () = $ac_func;
99416 #endif
99417 #ifdef __cplusplus
99418 }
99419 #endif
99420
99421 int
99422 main ()
99423 {
99424 return f != $ac_func;
99425   ;
99426   return 0;
99427 }
99428 _ACEOF
99429 rm -f conftest.$ac_objext conftest$ac_exeext
99430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99431   (eval $ac_link) 2>conftest.er1
99432   ac_status=$?
99433   grep -v '^ *+' conftest.er1 >conftest.err
99434   rm -f conftest.er1
99435   cat conftest.err >&5
99436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99437   (exit $ac_status); } &&
99438          { ac_try='test -z "$ac_c_werror_flag"
99439                          || test ! -s conftest.err'
99440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99441   (eval $ac_try) 2>&5
99442   ac_status=$?
99443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99444   (exit $ac_status); }; } &&
99445          { ac_try='test -s conftest$ac_exeext'
99446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99447   (eval $ac_try) 2>&5
99448   ac_status=$?
99449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99450   (exit $ac_status); }; }; then
99451   eval "$as_ac_var=yes"
99452 else
99453   echo "$as_me: failed program was:" >&5
99454 sed 's/^/| /' conftest.$ac_ext >&5
99455
99456 eval "$as_ac_var=no"
99457 fi
99458 rm -f conftest.err conftest.$ac_objext \
99459       conftest$ac_exeext conftest.$ac_ext
99460 fi
99461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99463 if test `eval echo '${'$as_ac_var'}'` = yes; then
99464   cat >>confdefs.h <<_ACEOF
99465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99466 _ACEOF
99467
99468 fi
99469 done
99470
99471     fi
99472   fi
99473
99474
99475
99476
99477
99478   LIBS="$ac_save_LIBS"
99479   CXXFLAGS="$ac_save_CXXFLAGS"
99480
99481
99482
99483 echo "$as_me:$LINENO: checking for main in -lm" >&5
99484 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
99485 if test "${ac_cv_lib_m_main+set}" = set; then
99486   echo $ECHO_N "(cached) $ECHO_C" >&6
99487 else
99488   ac_check_lib_save_LIBS=$LIBS
99489 LIBS="-lm  $LIBS"
99490 if test x$gcc_no_link = xyes; then
99491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99493    { (exit 1); exit 1; }; }
99494 fi
99495 cat >conftest.$ac_ext <<_ACEOF
99496 /* confdefs.h.  */
99497 _ACEOF
99498 cat confdefs.h >>conftest.$ac_ext
99499 cat >>conftest.$ac_ext <<_ACEOF
99500 /* end confdefs.h.  */
99501
99502
99503 int
99504 main ()
99505 {
99506 main ();
99507   ;
99508   return 0;
99509 }
99510 _ACEOF
99511 rm -f conftest.$ac_objext conftest$ac_exeext
99512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99513   (eval $ac_link) 2>conftest.er1
99514   ac_status=$?
99515   grep -v '^ *+' conftest.er1 >conftest.err
99516   rm -f conftest.er1
99517   cat conftest.err >&5
99518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99519   (exit $ac_status); } &&
99520          { ac_try='test -z "$ac_c_werror_flag"
99521                          || test ! -s conftest.err'
99522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99523   (eval $ac_try) 2>&5
99524   ac_status=$?
99525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99526   (exit $ac_status); }; } &&
99527          { ac_try='test -s conftest$ac_exeext'
99528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99529   (eval $ac_try) 2>&5
99530   ac_status=$?
99531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99532   (exit $ac_status); }; }; then
99533   ac_cv_lib_m_main=yes
99534 else
99535   echo "$as_me: failed program was:" >&5
99536 sed 's/^/| /' conftest.$ac_ext >&5
99537
99538 ac_cv_lib_m_main=no
99539 fi
99540 rm -f conftest.err conftest.$ac_objext \
99541       conftest$ac_exeext conftest.$ac_ext
99542 LIBS=$ac_check_lib_save_LIBS
99543 fi
99544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
99545 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
99546 if test $ac_cv_lib_m_main = yes; then
99547   cat >>confdefs.h <<_ACEOF
99548 #define HAVE_LIBM 1
99549 _ACEOF
99550
99551   LIBS="-lm $LIBS"
99552
99553 fi
99554
99555
99556 for ac_func in copysignf
99557 do
99558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99559 echo "$as_me:$LINENO: checking for $ac_func" >&5
99560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99561 if eval "test \"\${$as_ac_var+set}\" = set"; then
99562   echo $ECHO_N "(cached) $ECHO_C" >&6
99563 else
99564   if test x$gcc_no_link = xyes; then
99565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99567    { (exit 1); exit 1; }; }
99568 fi
99569 cat >conftest.$ac_ext <<_ACEOF
99570 /* confdefs.h.  */
99571 _ACEOF
99572 cat confdefs.h >>conftest.$ac_ext
99573 cat >>conftest.$ac_ext <<_ACEOF
99574 /* end confdefs.h.  */
99575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99577 #define $ac_func innocuous_$ac_func
99578
99579 /* System header to define __stub macros and hopefully few prototypes,
99580     which can conflict with char $ac_func (); below.
99581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99582     <limits.h> exists even on freestanding compilers.  */
99583
99584 #ifdef __STDC__
99585 # include <limits.h>
99586 #else
99587 # include <assert.h>
99588 #endif
99589
99590 #undef $ac_func
99591
99592 /* Override any gcc2 internal prototype to avoid an error.  */
99593 #ifdef __cplusplus
99594 extern "C"
99595 {
99596 #endif
99597 /* We use char because int might match the return type of a gcc2
99598    builtin and then its argument prototype would still apply.  */
99599 char $ac_func ();
99600 /* The GNU C library defines this for functions which it implements
99601     to always fail with ENOSYS.  Some functions are actually named
99602     something starting with __ and the normal name is an alias.  */
99603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99604 choke me
99605 #else
99606 char (*f) () = $ac_func;
99607 #endif
99608 #ifdef __cplusplus
99609 }
99610 #endif
99611
99612 int
99613 main ()
99614 {
99615 return f != $ac_func;
99616   ;
99617   return 0;
99618 }
99619 _ACEOF
99620 rm -f conftest.$ac_objext conftest$ac_exeext
99621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99622   (eval $ac_link) 2>conftest.er1
99623   ac_status=$?
99624   grep -v '^ *+' conftest.er1 >conftest.err
99625   rm -f conftest.er1
99626   cat conftest.err >&5
99627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99628   (exit $ac_status); } &&
99629          { ac_try='test -z "$ac_c_werror_flag"
99630                          || test ! -s conftest.err'
99631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99632   (eval $ac_try) 2>&5
99633   ac_status=$?
99634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99635   (exit $ac_status); }; } &&
99636          { ac_try='test -s conftest$ac_exeext'
99637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99638   (eval $ac_try) 2>&5
99639   ac_status=$?
99640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99641   (exit $ac_status); }; }; then
99642   eval "$as_ac_var=yes"
99643 else
99644   echo "$as_me: failed program was:" >&5
99645 sed 's/^/| /' conftest.$ac_ext >&5
99646
99647 eval "$as_ac_var=no"
99648 fi
99649 rm -f conftest.err conftest.$ac_objext \
99650       conftest$ac_exeext conftest.$ac_ext
99651 fi
99652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99654 if test `eval echo '${'$as_ac_var'}'` = yes; then
99655   cat >>confdefs.h <<_ACEOF
99656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99657 _ACEOF
99658
99659 else
99660   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
99661 fi
99662 done
99663
99664
99665
99666 for ac_func in __signbit
99667 do
99668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99669 echo "$as_me:$LINENO: checking for $ac_func" >&5
99670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99671 if eval "test \"\${$as_ac_var+set}\" = set"; then
99672   echo $ECHO_N "(cached) $ECHO_C" >&6
99673 else
99674   if test x$gcc_no_link = xyes; then
99675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99677    { (exit 1); exit 1; }; }
99678 fi
99679 cat >conftest.$ac_ext <<_ACEOF
99680 /* confdefs.h.  */
99681 _ACEOF
99682 cat confdefs.h >>conftest.$ac_ext
99683 cat >>conftest.$ac_ext <<_ACEOF
99684 /* end confdefs.h.  */
99685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99687 #define $ac_func innocuous_$ac_func
99688
99689 /* System header to define __stub macros and hopefully few prototypes,
99690     which can conflict with char $ac_func (); below.
99691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99692     <limits.h> exists even on freestanding compilers.  */
99693
99694 #ifdef __STDC__
99695 # include <limits.h>
99696 #else
99697 # include <assert.h>
99698 #endif
99699
99700 #undef $ac_func
99701
99702 /* Override any gcc2 internal prototype to avoid an error.  */
99703 #ifdef __cplusplus
99704 extern "C"
99705 {
99706 #endif
99707 /* We use char because int might match the return type of a gcc2
99708    builtin and then its argument prototype would still apply.  */
99709 char $ac_func ();
99710 /* The GNU C library defines this for functions which it implements
99711     to always fail with ENOSYS.  Some functions are actually named
99712     something starting with __ and the normal name is an alias.  */
99713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99714 choke me
99715 #else
99716 char (*f) () = $ac_func;
99717 #endif
99718 #ifdef __cplusplus
99719 }
99720 #endif
99721
99722 int
99723 main ()
99724 {
99725 return f != $ac_func;
99726   ;
99727   return 0;
99728 }
99729 _ACEOF
99730 rm -f conftest.$ac_objext conftest$ac_exeext
99731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99732   (eval $ac_link) 2>conftest.er1
99733   ac_status=$?
99734   grep -v '^ *+' conftest.er1 >conftest.err
99735   rm -f conftest.er1
99736   cat conftest.err >&5
99737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99738   (exit $ac_status); } &&
99739          { ac_try='test -z "$ac_c_werror_flag"
99740                          || test ! -s conftest.err'
99741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99742   (eval $ac_try) 2>&5
99743   ac_status=$?
99744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99745   (exit $ac_status); }; } &&
99746          { ac_try='test -s conftest$ac_exeext'
99747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99748   (eval $ac_try) 2>&5
99749   ac_status=$?
99750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99751   (exit $ac_status); }; }; then
99752   eval "$as_ac_var=yes"
99753 else
99754   echo "$as_me: failed program was:" >&5
99755 sed 's/^/| /' conftest.$ac_ext >&5
99756
99757 eval "$as_ac_var=no"
99758 fi
99759 rm -f conftest.err conftest.$ac_objext \
99760       conftest$ac_exeext conftest.$ac_ext
99761 fi
99762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99764 if test `eval echo '${'$as_ac_var'}'` = yes; then
99765   cat >>confdefs.h <<_ACEOF
99766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99767 _ACEOF
99768
99769 else
99770   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
99771 fi
99772 done
99773
99774
99775
99776 for ac_func in __signbitf
99777 do
99778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99779 echo "$as_me:$LINENO: checking for $ac_func" >&5
99780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99781 if eval "test \"\${$as_ac_var+set}\" = set"; then
99782   echo $ECHO_N "(cached) $ECHO_C" >&6
99783 else
99784   if test x$gcc_no_link = xyes; then
99785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99787    { (exit 1); exit 1; }; }
99788 fi
99789 cat >conftest.$ac_ext <<_ACEOF
99790 /* confdefs.h.  */
99791 _ACEOF
99792 cat confdefs.h >>conftest.$ac_ext
99793 cat >>conftest.$ac_ext <<_ACEOF
99794 /* end confdefs.h.  */
99795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99797 #define $ac_func innocuous_$ac_func
99798
99799 /* System header to define __stub macros and hopefully few prototypes,
99800     which can conflict with char $ac_func (); below.
99801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99802     <limits.h> exists even on freestanding compilers.  */
99803
99804 #ifdef __STDC__
99805 # include <limits.h>
99806 #else
99807 # include <assert.h>
99808 #endif
99809
99810 #undef $ac_func
99811
99812 /* Override any gcc2 internal prototype to avoid an error.  */
99813 #ifdef __cplusplus
99814 extern "C"
99815 {
99816 #endif
99817 /* We use char because int might match the return type of a gcc2
99818    builtin and then its argument prototype would still apply.  */
99819 char $ac_func ();
99820 /* The GNU C library defines this for functions which it implements
99821     to always fail with ENOSYS.  Some functions are actually named
99822     something starting with __ and the normal name is an alias.  */
99823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99824 choke me
99825 #else
99826 char (*f) () = $ac_func;
99827 #endif
99828 #ifdef __cplusplus
99829 }
99830 #endif
99831
99832 int
99833 main ()
99834 {
99835 return f != $ac_func;
99836   ;
99837   return 0;
99838 }
99839 _ACEOF
99840 rm -f conftest.$ac_objext conftest$ac_exeext
99841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99842   (eval $ac_link) 2>conftest.er1
99843   ac_status=$?
99844   grep -v '^ *+' conftest.er1 >conftest.err
99845   rm -f conftest.er1
99846   cat conftest.err >&5
99847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99848   (exit $ac_status); } &&
99849          { ac_try='test -z "$ac_c_werror_flag"
99850                          || test ! -s conftest.err'
99851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99852   (eval $ac_try) 2>&5
99853   ac_status=$?
99854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99855   (exit $ac_status); }; } &&
99856          { ac_try='test -s conftest$ac_exeext'
99857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99858   (eval $ac_try) 2>&5
99859   ac_status=$?
99860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99861   (exit $ac_status); }; }; then
99862   eval "$as_ac_var=yes"
99863 else
99864   echo "$as_me: failed program was:" >&5
99865 sed 's/^/| /' conftest.$ac_ext >&5
99866
99867 eval "$as_ac_var=no"
99868 fi
99869 rm -f conftest.err conftest.$ac_objext \
99870       conftest$ac_exeext conftest.$ac_ext
99871 fi
99872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99874 if test `eval echo '${'$as_ac_var'}'` = yes; then
99875   cat >>confdefs.h <<_ACEOF
99876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99877 _ACEOF
99878
99879 else
99880   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
99881 fi
99882 done
99883
99884
99885           if test x$ac_cv_func_copysignl = x"yes"; then
99886
99887 for ac_func in __signbitl
99888 do
99889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99890 echo "$as_me:$LINENO: checking for $ac_func" >&5
99891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99892 if eval "test \"\${$as_ac_var+set}\" = set"; then
99893   echo $ECHO_N "(cached) $ECHO_C" >&6
99894 else
99895   if test x$gcc_no_link = xyes; then
99896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99898    { (exit 1); exit 1; }; }
99899 fi
99900 cat >conftest.$ac_ext <<_ACEOF
99901 /* confdefs.h.  */
99902 _ACEOF
99903 cat confdefs.h >>conftest.$ac_ext
99904 cat >>conftest.$ac_ext <<_ACEOF
99905 /* end confdefs.h.  */
99906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99908 #define $ac_func innocuous_$ac_func
99909
99910 /* System header to define __stub macros and hopefully few prototypes,
99911     which can conflict with char $ac_func (); below.
99912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99913     <limits.h> exists even on freestanding compilers.  */
99914
99915 #ifdef __STDC__
99916 # include <limits.h>
99917 #else
99918 # include <assert.h>
99919 #endif
99920
99921 #undef $ac_func
99922
99923 /* Override any gcc2 internal prototype to avoid an error.  */
99924 #ifdef __cplusplus
99925 extern "C"
99926 {
99927 #endif
99928 /* We use char because int might match the return type of a gcc2
99929    builtin and then its argument prototype would still apply.  */
99930 char $ac_func ();
99931 /* The GNU C library defines this for functions which it implements
99932     to always fail with ENOSYS.  Some functions are actually named
99933     something starting with __ and the normal name is an alias.  */
99934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99935 choke me
99936 #else
99937 char (*f) () = $ac_func;
99938 #endif
99939 #ifdef __cplusplus
99940 }
99941 #endif
99942
99943 int
99944 main ()
99945 {
99946 return f != $ac_func;
99947   ;
99948   return 0;
99949 }
99950 _ACEOF
99951 rm -f conftest.$ac_objext conftest$ac_exeext
99952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99953   (eval $ac_link) 2>conftest.er1
99954   ac_status=$?
99955   grep -v '^ *+' conftest.er1 >conftest.err
99956   rm -f conftest.er1
99957   cat conftest.err >&5
99958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99959   (exit $ac_status); } &&
99960          { ac_try='test -z "$ac_c_werror_flag"
99961                          || test ! -s conftest.err'
99962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99963   (eval $ac_try) 2>&5
99964   ac_status=$?
99965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99966   (exit $ac_status); }; } &&
99967          { ac_try='test -s conftest$ac_exeext'
99968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99969   (eval $ac_try) 2>&5
99970   ac_status=$?
99971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99972   (exit $ac_status); }; }; then
99973   eval "$as_ac_var=yes"
99974 else
99975   echo "$as_me: failed program was:" >&5
99976 sed 's/^/| /' conftest.$ac_ext >&5
99977
99978 eval "$as_ac_var=no"
99979 fi
99980 rm -f conftest.err conftest.$ac_objext \
99981       conftest$ac_exeext conftest.$ac_ext
99982 fi
99983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99985 if test `eval echo '${'$as_ac_var'}'` = yes; then
99986   cat >>confdefs.h <<_ACEOF
99987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99988 _ACEOF
99989
99990 else
99991   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
99992 fi
99993 done
99994
99995   fi
99996
99997   # Used in libmath/Makefile.am.
99998   if test -n "$LIBMATHOBJS"; then
99999     need_libmath=yes
100000   fi
100001
100002
100003
100004   ac_test_CXXFLAGS="${CXXFLAGS+set}"
100005   ac_save_CXXFLAGS="$CXXFLAGS"
100006   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
100007
100008
100009   echo "$as_me:$LINENO: checking for strtold declaration" >&5
100010 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
100011   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
100012     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
100013   echo $ECHO_N "(cached) $ECHO_C" >&6
100014 else
100015
100016
100017
100018       ac_ext=cc
100019 ac_cpp='$CXXCPP $CPPFLAGS'
100020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100023
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 #include <stdlib.h>
100031 int
100032 main ()
100033 {
100034  strtold(0, 0);
100035   ;
100036   return 0;
100037 }
100038 _ACEOF
100039 rm -f conftest.$ac_objext
100040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100041   (eval $ac_compile) 2>conftest.er1
100042   ac_status=$?
100043   grep -v '^ *+' conftest.er1 >conftest.err
100044   rm -f conftest.er1
100045   cat conftest.err >&5
100046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100047   (exit $ac_status); } &&
100048          { ac_try='test -z "$ac_cxx_werror_flag"
100049                          || test ! -s conftest.err'
100050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051   (eval $ac_try) 2>&5
100052   ac_status=$?
100053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054   (exit $ac_status); }; } &&
100055          { ac_try='test -s conftest.$ac_objext'
100056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100057   (eval $ac_try) 2>&5
100058   ac_status=$?
100059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100060   (exit $ac_status); }; }; then
100061   glibcxx_cv_func_strtold_use=yes
100062 else
100063   echo "$as_me: failed program was:" >&5
100064 sed 's/^/| /' conftest.$ac_ext >&5
100065
100066 glibcxx_cv_func_strtold_use=no
100067 fi
100068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100069       ac_ext=c
100070 ac_cpp='$CPP $CPPFLAGS'
100071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100074
100075
100076 fi
100077
100078   fi
100079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
100080 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
100081   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
100082
100083 for ac_func in strtold
100084 do
100085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100086 echo "$as_me:$LINENO: checking for $ac_func" >&5
100087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100088 if eval "test \"\${$as_ac_var+set}\" = set"; then
100089   echo $ECHO_N "(cached) $ECHO_C" >&6
100090 else
100091   if test x$gcc_no_link = xyes; then
100092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100094    { (exit 1); exit 1; }; }
100095 fi
100096 cat >conftest.$ac_ext <<_ACEOF
100097 /* confdefs.h.  */
100098 _ACEOF
100099 cat confdefs.h >>conftest.$ac_ext
100100 cat >>conftest.$ac_ext <<_ACEOF
100101 /* end confdefs.h.  */
100102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100104 #define $ac_func innocuous_$ac_func
100105
100106 /* System header to define __stub macros and hopefully few prototypes,
100107     which can conflict with char $ac_func (); below.
100108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100109     <limits.h> exists even on freestanding compilers.  */
100110
100111 #ifdef __STDC__
100112 # include <limits.h>
100113 #else
100114 # include <assert.h>
100115 #endif
100116
100117 #undef $ac_func
100118
100119 /* Override any gcc2 internal prototype to avoid an error.  */
100120 #ifdef __cplusplus
100121 extern "C"
100122 {
100123 #endif
100124 /* We use char because int might match the return type of a gcc2
100125    builtin and then its argument prototype would still apply.  */
100126 char $ac_func ();
100127 /* The GNU C library defines this for functions which it implements
100128     to always fail with ENOSYS.  Some functions are actually named
100129     something starting with __ and the normal name is an alias.  */
100130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100131 choke me
100132 #else
100133 char (*f) () = $ac_func;
100134 #endif
100135 #ifdef __cplusplus
100136 }
100137 #endif
100138
100139 int
100140 main ()
100141 {
100142 return f != $ac_func;
100143   ;
100144   return 0;
100145 }
100146 _ACEOF
100147 rm -f conftest.$ac_objext conftest$ac_exeext
100148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100149   (eval $ac_link) 2>conftest.er1
100150   ac_status=$?
100151   grep -v '^ *+' conftest.er1 >conftest.err
100152   rm -f conftest.er1
100153   cat conftest.err >&5
100154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100155   (exit $ac_status); } &&
100156          { ac_try='test -z "$ac_c_werror_flag"
100157                          || test ! -s conftest.err'
100158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100159   (eval $ac_try) 2>&5
100160   ac_status=$?
100161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100162   (exit $ac_status); }; } &&
100163          { ac_try='test -s conftest$ac_exeext'
100164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100165   (eval $ac_try) 2>&5
100166   ac_status=$?
100167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100168   (exit $ac_status); }; }; then
100169   eval "$as_ac_var=yes"
100170 else
100171   echo "$as_me: failed program was:" >&5
100172 sed 's/^/| /' conftest.$ac_ext >&5
100173
100174 eval "$as_ac_var=no"
100175 fi
100176 rm -f conftest.err conftest.$ac_objext \
100177       conftest$ac_exeext conftest.$ac_ext
100178 fi
100179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100181 if test `eval echo '${'$as_ac_var'}'` = yes; then
100182   cat >>confdefs.h <<_ACEOF
100183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100184 _ACEOF
100185
100186 fi
100187 done
100188
100189   fi
100190
100191
100192
100193
100194
100195   echo "$as_me:$LINENO: checking for strtof declaration" >&5
100196 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
100197   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
100198     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
100199   echo $ECHO_N "(cached) $ECHO_C" >&6
100200 else
100201
100202
100203
100204       ac_ext=cc
100205 ac_cpp='$CXXCPP $CPPFLAGS'
100206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100209
100210       cat >conftest.$ac_ext <<_ACEOF
100211 /* confdefs.h.  */
100212 _ACEOF
100213 cat confdefs.h >>conftest.$ac_ext
100214 cat >>conftest.$ac_ext <<_ACEOF
100215 /* end confdefs.h.  */
100216 #include <stdlib.h>
100217 int
100218 main ()
100219 {
100220  strtof(0, 0);
100221   ;
100222   return 0;
100223 }
100224 _ACEOF
100225 rm -f conftest.$ac_objext
100226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100227   (eval $ac_compile) 2>conftest.er1
100228   ac_status=$?
100229   grep -v '^ *+' conftest.er1 >conftest.err
100230   rm -f conftest.er1
100231   cat conftest.err >&5
100232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100233   (exit $ac_status); } &&
100234          { ac_try='test -z "$ac_cxx_werror_flag"
100235                          || test ! -s conftest.err'
100236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100237   (eval $ac_try) 2>&5
100238   ac_status=$?
100239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100240   (exit $ac_status); }; } &&
100241          { ac_try='test -s conftest.$ac_objext'
100242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100243   (eval $ac_try) 2>&5
100244   ac_status=$?
100245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100246   (exit $ac_status); }; }; then
100247   glibcxx_cv_func_strtof_use=yes
100248 else
100249   echo "$as_me: failed program was:" >&5
100250 sed 's/^/| /' conftest.$ac_ext >&5
100251
100252 glibcxx_cv_func_strtof_use=no
100253 fi
100254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100255       ac_ext=c
100256 ac_cpp='$CPP $CPPFLAGS'
100257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100260
100261
100262 fi
100263
100264   fi
100265   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
100266 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
100267   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
100268
100269 for ac_func in strtof
100270 do
100271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100272 echo "$as_me:$LINENO: checking for $ac_func" >&5
100273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100274 if eval "test \"\${$as_ac_var+set}\" = set"; then
100275   echo $ECHO_N "(cached) $ECHO_C" >&6
100276 else
100277   if test x$gcc_no_link = xyes; then
100278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100280    { (exit 1); exit 1; }; }
100281 fi
100282 cat >conftest.$ac_ext <<_ACEOF
100283 /* confdefs.h.  */
100284 _ACEOF
100285 cat confdefs.h >>conftest.$ac_ext
100286 cat >>conftest.$ac_ext <<_ACEOF
100287 /* end confdefs.h.  */
100288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100290 #define $ac_func innocuous_$ac_func
100291
100292 /* System header to define __stub macros and hopefully few prototypes,
100293     which can conflict with char $ac_func (); below.
100294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100295     <limits.h> exists even on freestanding compilers.  */
100296
100297 #ifdef __STDC__
100298 # include <limits.h>
100299 #else
100300 # include <assert.h>
100301 #endif
100302
100303 #undef $ac_func
100304
100305 /* Override any gcc2 internal prototype to avoid an error.  */
100306 #ifdef __cplusplus
100307 extern "C"
100308 {
100309 #endif
100310 /* We use char because int might match the return type of a gcc2
100311    builtin and then its argument prototype would still apply.  */
100312 char $ac_func ();
100313 /* The GNU C library defines this for functions which it implements
100314     to always fail with ENOSYS.  Some functions are actually named
100315     something starting with __ and the normal name is an alias.  */
100316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100317 choke me
100318 #else
100319 char (*f) () = $ac_func;
100320 #endif
100321 #ifdef __cplusplus
100322 }
100323 #endif
100324
100325 int
100326 main ()
100327 {
100328 return f != $ac_func;
100329   ;
100330   return 0;
100331 }
100332 _ACEOF
100333 rm -f conftest.$ac_objext conftest$ac_exeext
100334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100335   (eval $ac_link) 2>conftest.er1
100336   ac_status=$?
100337   grep -v '^ *+' conftest.er1 >conftest.err
100338   rm -f conftest.er1
100339   cat conftest.err >&5
100340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100341   (exit $ac_status); } &&
100342          { ac_try='test -z "$ac_c_werror_flag"
100343                          || test ! -s conftest.err'
100344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100345   (eval $ac_try) 2>&5
100346   ac_status=$?
100347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100348   (exit $ac_status); }; } &&
100349          { ac_try='test -s conftest$ac_exeext'
100350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100351   (eval $ac_try) 2>&5
100352   ac_status=$?
100353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100354   (exit $ac_status); }; }; then
100355   eval "$as_ac_var=yes"
100356 else
100357   echo "$as_me: failed program was:" >&5
100358 sed 's/^/| /' conftest.$ac_ext >&5
100359
100360 eval "$as_ac_var=no"
100361 fi
100362 rm -f conftest.err conftest.$ac_objext \
100363       conftest$ac_exeext conftest.$ac_ext
100364 fi
100365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100367 if test `eval echo '${'$as_ac_var'}'` = yes; then
100368   cat >>confdefs.h <<_ACEOF
100369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100370 _ACEOF
100371
100372 fi
100373 done
100374
100375   fi
100376
100377
100378
100379
100380
100381   CXXFLAGS="$ac_save_CXXFLAGS"
100382
100383     cat >>confdefs.h <<\_ACEOF
100384 #define _GLIBCXX_USE_RANDOM_TR1 1
100385 _ACEOF
100386
100387
100388    # Check whether --enable-tls or --disable-tls was given.
100389 if test "${enable_tls+set}" = set; then
100390   enableval="$enable_tls"
100391
100392       case "$enableval" in
100393        yes|no) ;;
100394        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
100395 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
100396    { (exit 1); exit 1; }; } ;;
100397       esac
100398
100399 else
100400   enable_tls=yes
100401 fi;
100402
100403   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
100404 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
100405 if test "${gcc_cv_have_tls+set}" = set; then
100406   echo $ECHO_N "(cached) $ECHO_C" >&6
100407 else
100408
100409     if test "$cross_compiling" = yes; then
100410                 if test x$gcc_no_link = xyes; then
100411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100413    { (exit 1); exit 1; }; }
100414 fi
100415 cat >conftest.$ac_ext <<_ACEOF
100416 __thread int a; int b; int main() { return a = b; }
100417 _ACEOF
100418 rm -f conftest.$ac_objext conftest$ac_exeext
100419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100420   (eval $ac_link) 2>conftest.er1
100421   ac_status=$?
100422   grep -v '^ *+' conftest.er1 >conftest.err
100423   rm -f conftest.er1
100424   cat conftest.err >&5
100425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100426   (exit $ac_status); } &&
100427          { ac_try='test -z "$ac_c_werror_flag"
100428                          || test ! -s conftest.err'
100429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100430   (eval $ac_try) 2>&5
100431   ac_status=$?
100432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100433   (exit $ac_status); }; } &&
100434          { ac_try='test -s conftest$ac_exeext'
100435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100436   (eval $ac_try) 2>&5
100437   ac_status=$?
100438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100439   (exit $ac_status); }; }; then
100440   gcc_cv_have_tls=yes
100441 else
100442   echo "$as_me: failed program was:" >&5
100443 sed 's/^/| /' conftest.$ac_ext >&5
100444
100445 gcc_cv_have_tls=no
100446 fi
100447 rm -f conftest.err conftest.$ac_objext \
100448       conftest$ac_exeext conftest.$ac_ext
100449
100450
100451 else
100452   cat >conftest.$ac_ext <<_ACEOF
100453 __thread int a; int b; int main() { return a = b; }
100454 _ACEOF
100455 rm -f conftest$ac_exeext
100456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100457   (eval $ac_link) 2>&5
100458   ac_status=$?
100459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100460   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
100461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100462   (eval $ac_try) 2>&5
100463   ac_status=$?
100464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100465   (exit $ac_status); }; }; then
100466                       chktls_save_LDFLAGS="$LDFLAGS"
100467       LDFLAGS="-static $LDFLAGS"
100468       if test x$gcc_no_link = xyes; then
100469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100471    { (exit 1); exit 1; }; }
100472 fi
100473 cat >conftest.$ac_ext <<_ACEOF
100474 int main() { return 0; }
100475 _ACEOF
100476 rm -f conftest.$ac_objext conftest$ac_exeext
100477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100478   (eval $ac_link) 2>conftest.er1
100479   ac_status=$?
100480   grep -v '^ *+' conftest.er1 >conftest.err
100481   rm -f conftest.er1
100482   cat conftest.err >&5
100483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100484   (exit $ac_status); } &&
100485          { ac_try='test -z "$ac_c_werror_flag"
100486                          || test ! -s conftest.err'
100487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100488   (eval $ac_try) 2>&5
100489   ac_status=$?
100490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100491   (exit $ac_status); }; } &&
100492          { ac_try='test -s conftest$ac_exeext'
100493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100494   (eval $ac_try) 2>&5
100495   ac_status=$?
100496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100497   (exit $ac_status); }; }; then
100498   if test "$cross_compiling" = yes; then
100499   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
100500 echo "$as_me: error: in \`$ac_pwd':" >&2;}
100501 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
100502 See \`config.log' for more details." >&5
100503 echo "$as_me: error: cannot run test program while cross compiling
100504 See \`config.log' for more details." >&2;}
100505    { (exit 1); exit 1; }; }; }
100506 else
100507   cat >conftest.$ac_ext <<_ACEOF
100508 __thread int a; int b; int main() { return a = b; }
100509 _ACEOF
100510 rm -f conftest$ac_exeext
100511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100512   (eval $ac_link) 2>&5
100513   ac_status=$?
100514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100515   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
100516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100517   (eval $ac_try) 2>&5
100518   ac_status=$?
100519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100520   (exit $ac_status); }; }; then
100521   gcc_cv_have_tls=yes
100522 else
100523   echo "$as_me: program exited with status $ac_status" >&5
100524 echo "$as_me: failed program was:" >&5
100525 sed 's/^/| /' conftest.$ac_ext >&5
100526
100527 ( exit $ac_status )
100528 gcc_cv_have_tls=no
100529 fi
100530 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
100531 fi
100532 else
100533   echo "$as_me: failed program was:" >&5
100534 sed 's/^/| /' conftest.$ac_ext >&5
100535
100536 gcc_cv_have_tls=yes
100537 fi
100538 rm -f conftest.err conftest.$ac_objext \
100539       conftest$ac_exeext conftest.$ac_ext
100540       LDFLAGS="$chktls_save_LDFLAGS"
100541       if test $gcc_cv_have_tls = yes; then
100542                                                 chktls_save_CFLAGS="$CFLAGS"
100543         thread_CFLAGS=failed
100544         for flag in '' '-pthread' '-lpthread'; do
100545           CFLAGS="$flag $chktls_save_CFLAGS"
100546           if test x$gcc_no_link = xyes; then
100547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100549    { (exit 1); exit 1; }; }
100550 fi
100551 cat >conftest.$ac_ext <<_ACEOF
100552 /* confdefs.h.  */
100553 _ACEOF
100554 cat confdefs.h >>conftest.$ac_ext
100555 cat >>conftest.$ac_ext <<_ACEOF
100556 /* end confdefs.h.  */
100557 #include <pthread.h>
100558                 void *g(void *d) { return NULL; }
100559 int
100560 main ()
100561 {
100562 pthread_t t; pthread_create(&t,NULL,g,NULL);
100563   ;
100564   return 0;
100565 }
100566 _ACEOF
100567 rm -f conftest.$ac_objext conftest$ac_exeext
100568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100569   (eval $ac_link) 2>conftest.er1
100570   ac_status=$?
100571   grep -v '^ *+' conftest.er1 >conftest.err
100572   rm -f conftest.er1
100573   cat conftest.err >&5
100574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100575   (exit $ac_status); } &&
100576          { ac_try='test -z "$ac_c_werror_flag"
100577                          || test ! -s conftest.err'
100578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100579   (eval $ac_try) 2>&5
100580   ac_status=$?
100581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100582   (exit $ac_status); }; } &&
100583          { ac_try='test -s conftest$ac_exeext'
100584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100585   (eval $ac_try) 2>&5
100586   ac_status=$?
100587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100588   (exit $ac_status); }; }; then
100589   thread_CFLAGS="$flag"
100590 else
100591   echo "$as_me: failed program was:" >&5
100592 sed 's/^/| /' conftest.$ac_ext >&5
100593
100594 fi
100595 rm -f conftest.err conftest.$ac_objext \
100596       conftest$ac_exeext conftest.$ac_ext
100597           if test "X$thread_CFLAGS" != Xfailed; then
100598             break
100599           fi
100600         done
100601         CFLAGS="$chktls_save_CFLAGS"
100602         if test "X$thread_CFLAGS" != Xfailed; then
100603           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
100604           if test "$cross_compiling" = yes; then
100605   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
100606 echo "$as_me: error: in \`$ac_pwd':" >&2;}
100607 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
100608 See \`config.log' for more details." >&5
100609 echo "$as_me: error: cannot run test program while cross compiling
100610 See \`config.log' for more details." >&2;}
100611    { (exit 1); exit 1; }; }; }
100612 else
100613   cat >conftest.$ac_ext <<_ACEOF
100614 /* confdefs.h.  */
100615 _ACEOF
100616 cat confdefs.h >>conftest.$ac_ext
100617 cat >>conftest.$ac_ext <<_ACEOF
100618 /* end confdefs.h.  */
100619 #include <pthread.h>
100620                 __thread int a;
100621                 static int *a_in_other_thread;
100622                 static void *
100623                 thread_func (void *arg)
100624                 {
100625                   a_in_other_thread = &a;
100626                   return (void *)0;
100627                 }
100628 int
100629 main ()
100630 {
100631 pthread_t thread;
100632                 void *thread_retval;
100633                 int *a_in_main_thread;
100634                 if (pthread_create (&thread, (pthread_attr_t *)0,
100635                                     thread_func, (void *)0))
100636                   return 0;
100637                 a_in_main_thread = &a;
100638                 if (pthread_join (thread, &thread_retval))
100639                   return 0;
100640                 return (a_in_other_thread == a_in_main_thread);
100641   ;
100642   return 0;
100643 }
100644 _ACEOF
100645 rm -f conftest$ac_exeext
100646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100647   (eval $ac_link) 2>&5
100648   ac_status=$?
100649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100650   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
100651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100652   (eval $ac_try) 2>&5
100653   ac_status=$?
100654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100655   (exit $ac_status); }; }; then
100656   gcc_cv_have_tls=yes
100657 else
100658   echo "$as_me: program exited with status $ac_status" >&5
100659 echo "$as_me: failed program was:" >&5
100660 sed 's/^/| /' conftest.$ac_ext >&5
100661
100662 ( exit $ac_status )
100663 gcc_cv_have_tls=no
100664 fi
100665 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
100666 fi
100667           CFLAGS="$chktls_save_CFLAGS"
100668         fi
100669       fi
100670 else
100671   echo "$as_me: program exited with status $ac_status" >&5
100672 echo "$as_me: failed program was:" >&5
100673 sed 's/^/| /' conftest.$ac_ext >&5
100674
100675 ( exit $ac_status )
100676 gcc_cv_have_tls=no
100677 fi
100678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
100679 fi
100680 fi
100681 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
100682 echo "${ECHO_T}$gcc_cv_have_tls" >&6
100683   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
100684
100685 cat >>confdefs.h <<\_ACEOF
100686 #define HAVE_TLS 1
100687 _ACEOF
100688
100689   fi
100690
100691
100692
100693
100694
100695           am_save_CPPFLAGS="$CPPFLAGS"
100696
100697   for element in $INCICONV; do
100698     haveit=
100699     for x in $CPPFLAGS; do
100700
100701   acl_save_prefix="$prefix"
100702   prefix="$acl_final_prefix"
100703   acl_save_exec_prefix="$exec_prefix"
100704   exec_prefix="$acl_final_exec_prefix"
100705   eval x=\"$x\"
100706   exec_prefix="$acl_save_exec_prefix"
100707   prefix="$acl_save_prefix"
100708
100709       if test "X$x" = "X$element"; then
100710         haveit=yes
100711         break
100712       fi
100713     done
100714     if test -z "$haveit"; then
100715       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
100716     fi
100717   done
100718
100719
100720   echo "$as_me:$LINENO: checking for iconv" >&5
100721 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
100722 if test "${am_cv_func_iconv+set}" = set; then
100723   echo $ECHO_N "(cached) $ECHO_C" >&6
100724 else
100725
100726     am_cv_func_iconv="no, consider installing GNU libiconv"
100727     am_cv_lib_iconv=no
100728     if test x$gcc_no_link = xyes; then
100729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100731    { (exit 1); exit 1; }; }
100732 fi
100733 cat >conftest.$ac_ext <<_ACEOF
100734 /* confdefs.h.  */
100735 _ACEOF
100736 cat confdefs.h >>conftest.$ac_ext
100737 cat >>conftest.$ac_ext <<_ACEOF
100738 /* end confdefs.h.  */
100739 #include <stdlib.h>
100740 #include <iconv.h>
100741 int
100742 main ()
100743 {
100744 iconv_t cd = iconv_open("","");
100745        iconv(cd,NULL,NULL,NULL,NULL);
100746        iconv_close(cd);
100747   ;
100748   return 0;
100749 }
100750 _ACEOF
100751 rm -f conftest.$ac_objext conftest$ac_exeext
100752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100753   (eval $ac_link) 2>conftest.er1
100754   ac_status=$?
100755   grep -v '^ *+' conftest.er1 >conftest.err
100756   rm -f conftest.er1
100757   cat conftest.err >&5
100758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100759   (exit $ac_status); } &&
100760          { ac_try='test -z "$ac_c_werror_flag"
100761                          || test ! -s conftest.err'
100762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100763   (eval $ac_try) 2>&5
100764   ac_status=$?
100765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100766   (exit $ac_status); }; } &&
100767          { ac_try='test -s conftest$ac_exeext'
100768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100769   (eval $ac_try) 2>&5
100770   ac_status=$?
100771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100772   (exit $ac_status); }; }; then
100773   am_cv_func_iconv=yes
100774 else
100775   echo "$as_me: failed program was:" >&5
100776 sed 's/^/| /' conftest.$ac_ext >&5
100777
100778 fi
100779 rm -f conftest.err conftest.$ac_objext \
100780       conftest$ac_exeext conftest.$ac_ext
100781     if test "$am_cv_func_iconv" != yes; then
100782       am_save_LIBS="$LIBS"
100783       LIBS="$LIBS $LIBICONV"
100784       if test x$gcc_no_link = xyes; then
100785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100787    { (exit 1); exit 1; }; }
100788 fi
100789 cat >conftest.$ac_ext <<_ACEOF
100790 /* confdefs.h.  */
100791 _ACEOF
100792 cat confdefs.h >>conftest.$ac_ext
100793 cat >>conftest.$ac_ext <<_ACEOF
100794 /* end confdefs.h.  */
100795 #include <stdlib.h>
100796 #include <iconv.h>
100797 int
100798 main ()
100799 {
100800 iconv_t cd = iconv_open("","");
100801          iconv(cd,NULL,NULL,NULL,NULL);
100802          iconv_close(cd);
100803   ;
100804   return 0;
100805 }
100806 _ACEOF
100807 rm -f conftest.$ac_objext conftest$ac_exeext
100808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100809   (eval $ac_link) 2>conftest.er1
100810   ac_status=$?
100811   grep -v '^ *+' conftest.er1 >conftest.err
100812   rm -f conftest.er1
100813   cat conftest.err >&5
100814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100815   (exit $ac_status); } &&
100816          { ac_try='test -z "$ac_c_werror_flag"
100817                          || test ! -s conftest.err'
100818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100819   (eval $ac_try) 2>&5
100820   ac_status=$?
100821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100822   (exit $ac_status); }; } &&
100823          { ac_try='test -s conftest$ac_exeext'
100824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100825   (eval $ac_try) 2>&5
100826   ac_status=$?
100827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100828   (exit $ac_status); }; }; then
100829   am_cv_lib_iconv=yes
100830         am_cv_func_iconv=yes
100831 else
100832   echo "$as_me: failed program was:" >&5
100833 sed 's/^/| /' conftest.$ac_ext >&5
100834
100835 fi
100836 rm -f conftest.err conftest.$ac_objext \
100837       conftest$ac_exeext conftest.$ac_ext
100838       LIBS="$am_save_LIBS"
100839     fi
100840
100841 fi
100842 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
100843 echo "${ECHO_T}$am_cv_func_iconv" >&6
100844   if test "$am_cv_func_iconv" = yes; then
100845
100846 cat >>confdefs.h <<\_ACEOF
100847 #define HAVE_ICONV 1
100848 _ACEOF
100849
100850   fi
100851   if test "$am_cv_lib_iconv" = yes; then
100852     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
100853 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
100854     echo "$as_me:$LINENO: result: $LIBICONV" >&5
100855 echo "${ECHO_T}$LIBICONV" >&6
100856   else
100857             CPPFLAGS="$am_save_CPPFLAGS"
100858     LIBICONV=
100859     LTLIBICONV=
100860   fi
100861
100862
100863
100864   if test "$am_cv_func_iconv" = yes; then
100865     echo "$as_me:$LINENO: checking for iconv declaration" >&5
100866 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
100867     if test "${am_cv_proto_iconv+set}" = set; then
100868   echo $ECHO_N "(cached) $ECHO_C" >&6
100869 else
100870
100871       cat >conftest.$ac_ext <<_ACEOF
100872 /* confdefs.h.  */
100873 _ACEOF
100874 cat confdefs.h >>conftest.$ac_ext
100875 cat >>conftest.$ac_ext <<_ACEOF
100876 /* end confdefs.h.  */
100877
100878 #include <stdlib.h>
100879 #include <iconv.h>
100880 extern
100881 #ifdef __cplusplus
100882 "C"
100883 #endif
100884 #if defined(__STDC__) || defined(__cplusplus)
100885 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
100886 #else
100887 size_t iconv();
100888 #endif
100889
100890 int
100891 main ()
100892 {
100893
100894   ;
100895   return 0;
100896 }
100897 _ACEOF
100898 rm -f conftest.$ac_objext
100899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100900   (eval $ac_compile) 2>conftest.er1
100901   ac_status=$?
100902   grep -v '^ *+' conftest.er1 >conftest.err
100903   rm -f conftest.er1
100904   cat conftest.err >&5
100905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100906   (exit $ac_status); } &&
100907          { ac_try='test -z "$ac_c_werror_flag"
100908                          || test ! -s conftest.err'
100909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100910   (eval $ac_try) 2>&5
100911   ac_status=$?
100912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100913   (exit $ac_status); }; } &&
100914          { ac_try='test -s conftest.$ac_objext'
100915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100916   (eval $ac_try) 2>&5
100917   ac_status=$?
100918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100919   (exit $ac_status); }; }; then
100920   am_cv_proto_iconv_arg1=""
100921 else
100922   echo "$as_me: failed program was:" >&5
100923 sed 's/^/| /' conftest.$ac_ext >&5
100924
100925 am_cv_proto_iconv_arg1="const"
100926 fi
100927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100928       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);"
100929 fi
100930
100931     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
100932     echo "$as_me:$LINENO: result: ${ac_t:-
100933          }$am_cv_proto_iconv" >&5
100934 echo "${ECHO_T}${ac_t:-
100935          }$am_cv_proto_iconv" >&6
100936
100937 cat >>confdefs.h <<_ACEOF
100938 #define ICONV_CONST $am_cv_proto_iconv_arg1
100939 _ACEOF
100940
100941   fi
100942
100943     ;;
100944   *-mingw32*)
100945     cat >>confdefs.h <<\_ACEOF
100946 #define HAVE_STRTOF 1
100947 _ACEOF
100948
100949     cat >>confdefs.h <<\_ACEOF
100950 #define HAVE_STRTOLD 1
100951 _ACEOF
100952
100953
100954   # If we're not using GNU ld, then there's no point in even trying these
100955   # tests.  Check for that first.  We should have already tested for gld
100956   # by now (in libtool), but require it now just to be safe...
100957   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
100958   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
100959
100960
100961
100962   # The name set by libtool depends on the version of libtool.  Shame on us
100963   # for depending on an impl detail, but c'est la vie.  Older versions used
100964   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
100965   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
100966   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
100967   # set (hence we're using an older libtool), then set it.
100968   if test x${with_gnu_ld+set} != xset; then
100969     if test x${ac_cv_prog_gnu_ld+set} != xset; then
100970       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
100971       with_gnu_ld=no
100972     else
100973       with_gnu_ld=$ac_cv_prog_gnu_ld
100974     fi
100975   fi
100976
100977   # Start by getting the version number.  I think the libtool test already
100978   # does some of this, but throws away the result.
100979   glibcxx_ld_is_gold=no
100980   if test x"$with_gnu_ld" = x"yes"; then
100981     echo "$as_me:$LINENO: checking for ld version" >&5
100982 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
100983
100984     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
100985       glibcxx_ld_is_gold=yes
100986     fi
100987     ldver=`$LD --version 2>/dev/null | head -1 | \
100988            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
100989
100990     glibcxx_gnu_ld_version=`echo $ldver | \
100991            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
100992     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
100993 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
100994   fi
100995
100996   # Set --gc-sections.
100997   glibcxx_have_gc_sections=no
100998   if test "$glibcxx_ld_is_gold" = "yes"; then
100999     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101000       glibcxx_have_gc_sections=yes
101001     fi
101002   else
101003     glibcxx_gcsections_min_ld=21602
101004     if test x"$with_gnu_ld" = x"yes" &&
101005         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101006       glibcxx_have_gc_sections=yes
101007     fi
101008   fi
101009   if test "$glibcxx_have_gc_sections" = "yes"; then
101010     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101011     # NB: This flag only works reliably after 2.16.1. Configure tests
101012     # for this are difficult, so hard wire a value that should work.
101013
101014     ac_test_CFLAGS="${CFLAGS+set}"
101015     ac_save_CFLAGS="$CFLAGS"
101016     CFLAGS='-Wl,--gc-sections'
101017
101018     # Check for -Wl,--gc-sections
101019     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101020 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101021     if test x$gcc_no_link = xyes; then
101022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101024    { (exit 1); exit 1; }; }
101025 fi
101026 cat >conftest.$ac_ext <<_ACEOF
101027 /* confdefs.h.  */
101028 _ACEOF
101029 cat confdefs.h >>conftest.$ac_ext
101030 cat >>conftest.$ac_ext <<_ACEOF
101031 /* end confdefs.h.  */
101032  int one(void) { return 1; }
101033      int two(void) { return 2; }
101034
101035 int
101036 main ()
101037 {
101038  two();
101039   ;
101040   return 0;
101041 }
101042 _ACEOF
101043 rm -f conftest.$ac_objext conftest$ac_exeext
101044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101045   (eval $ac_link) 2>conftest.er1
101046   ac_status=$?
101047   grep -v '^ *+' conftest.er1 >conftest.err
101048   rm -f conftest.er1
101049   cat conftest.err >&5
101050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101051   (exit $ac_status); } &&
101052          { ac_try='test -z "$ac_c_werror_flag"
101053                          || test ! -s conftest.err'
101054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101055   (eval $ac_try) 2>&5
101056   ac_status=$?
101057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101058   (exit $ac_status); }; } &&
101059          { ac_try='test -s conftest$ac_exeext'
101060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101061   (eval $ac_try) 2>&5
101062   ac_status=$?
101063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101064   (exit $ac_status); }; }; then
101065   ac_gcsections=yes
101066 else
101067   echo "$as_me: failed program was:" >&5
101068 sed 's/^/| /' conftest.$ac_ext >&5
101069
101070 ac_gcsections=no
101071 fi
101072 rm -f conftest.err conftest.$ac_objext \
101073       conftest$ac_exeext conftest.$ac_ext
101074     if test "$ac_gcsections" = "yes"; then
101075       rm -f conftest.c
101076       touch conftest.c
101077       if $CC -c conftest.c; then
101078         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101079            grep "Warning: gc-sections option ignored" > /dev/null; then
101080           ac_gcsections=no
101081         fi
101082       fi
101083       rm -f conftest.c conftest.o conftest
101084     fi
101085     if test "$ac_gcsections" = "yes"; then
101086       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101087     fi
101088     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101089 echo "${ECHO_T}$ac_gcsections" >&6
101090
101091     if test "$ac_test_CFLAGS" = set; then
101092       CFLAGS="$ac_save_CFLAGS"
101093     else
101094       # this is the suspicious part
101095       CFLAGS=''
101096     fi
101097   fi
101098
101099   # Set -z,relro.
101100   # Note this is only for shared objects.
101101   ac_ld_relro=no
101102   if test x"$with_gnu_ld" = x"yes"; then
101103     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101104 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101105     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101106     if test -n "$cxx_z_relo"; then
101107       OPT_LDFLAGS="-Wl,-z,relro"
101108       ac_ld_relro=yes
101109     fi
101110     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101111 echo "${ECHO_T}$ac_ld_relro" >&6
101112   fi
101113
101114   # Set linker optimization flags.
101115   if test x"$with_gnu_ld" = x"yes"; then
101116     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101117   fi
101118
101119
101120
101121
101122
101123
101124 echo "$as_me:$LINENO: checking for main in -lm" >&5
101125 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101126 if test "${ac_cv_lib_m_main+set}" = set; then
101127   echo $ECHO_N "(cached) $ECHO_C" >&6
101128 else
101129   ac_check_lib_save_LIBS=$LIBS
101130 LIBS="-lm  $LIBS"
101131 if test x$gcc_no_link = xyes; then
101132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101134    { (exit 1); exit 1; }; }
101135 fi
101136 cat >conftest.$ac_ext <<_ACEOF
101137 /* confdefs.h.  */
101138 _ACEOF
101139 cat confdefs.h >>conftest.$ac_ext
101140 cat >>conftest.$ac_ext <<_ACEOF
101141 /* end confdefs.h.  */
101142
101143
101144 int
101145 main ()
101146 {
101147 main ();
101148   ;
101149   return 0;
101150 }
101151 _ACEOF
101152 rm -f conftest.$ac_objext conftest$ac_exeext
101153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101154   (eval $ac_link) 2>conftest.er1
101155   ac_status=$?
101156   grep -v '^ *+' conftest.er1 >conftest.err
101157   rm -f conftest.er1
101158   cat conftest.err >&5
101159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101160   (exit $ac_status); } &&
101161          { ac_try='test -z "$ac_c_werror_flag"
101162                          || test ! -s conftest.err'
101163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101164   (eval $ac_try) 2>&5
101165   ac_status=$?
101166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101167   (exit $ac_status); }; } &&
101168          { ac_try='test -s conftest$ac_exeext'
101169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101170   (eval $ac_try) 2>&5
101171   ac_status=$?
101172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173   (exit $ac_status); }; }; then
101174   ac_cv_lib_m_main=yes
101175 else
101176   echo "$as_me: failed program was:" >&5
101177 sed 's/^/| /' conftest.$ac_ext >&5
101178
101179 ac_cv_lib_m_main=no
101180 fi
101181 rm -f conftest.err conftest.$ac_objext \
101182       conftest$ac_exeext conftest.$ac_ext
101183 LIBS=$ac_check_lib_save_LIBS
101184 fi
101185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101186 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101187 if test $ac_cv_lib_m_main = yes; then
101188   cat >>confdefs.h <<_ACEOF
101189 #define HAVE_LIBM 1
101190 _ACEOF
101191
101192   LIBS="-lm $LIBS"
101193
101194 fi
101195
101196
101197 for ac_func in copysignf
101198 do
101199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101200 echo "$as_me:$LINENO: checking for $ac_func" >&5
101201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101202 if eval "test \"\${$as_ac_var+set}\" = set"; then
101203   echo $ECHO_N "(cached) $ECHO_C" >&6
101204 else
101205   if test x$gcc_no_link = xyes; then
101206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101208    { (exit 1); exit 1; }; }
101209 fi
101210 cat >conftest.$ac_ext <<_ACEOF
101211 /* confdefs.h.  */
101212 _ACEOF
101213 cat confdefs.h >>conftest.$ac_ext
101214 cat >>conftest.$ac_ext <<_ACEOF
101215 /* end confdefs.h.  */
101216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101217    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101218 #define $ac_func innocuous_$ac_func
101219
101220 /* System header to define __stub macros and hopefully few prototypes,
101221     which can conflict with char $ac_func (); below.
101222     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101223     <limits.h> exists even on freestanding compilers.  */
101224
101225 #ifdef __STDC__
101226 # include <limits.h>
101227 #else
101228 # include <assert.h>
101229 #endif
101230
101231 #undef $ac_func
101232
101233 /* Override any gcc2 internal prototype to avoid an error.  */
101234 #ifdef __cplusplus
101235 extern "C"
101236 {
101237 #endif
101238 /* We use char because int might match the return type of a gcc2
101239    builtin and then its argument prototype would still apply.  */
101240 char $ac_func ();
101241 /* The GNU C library defines this for functions which it implements
101242     to always fail with ENOSYS.  Some functions are actually named
101243     something starting with __ and the normal name is an alias.  */
101244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101245 choke me
101246 #else
101247 char (*f) () = $ac_func;
101248 #endif
101249 #ifdef __cplusplus
101250 }
101251 #endif
101252
101253 int
101254 main ()
101255 {
101256 return f != $ac_func;
101257   ;
101258   return 0;
101259 }
101260 _ACEOF
101261 rm -f conftest.$ac_objext conftest$ac_exeext
101262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101263   (eval $ac_link) 2>conftest.er1
101264   ac_status=$?
101265   grep -v '^ *+' conftest.er1 >conftest.err
101266   rm -f conftest.er1
101267   cat conftest.err >&5
101268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101269   (exit $ac_status); } &&
101270          { ac_try='test -z "$ac_c_werror_flag"
101271                          || test ! -s conftest.err'
101272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101273   (eval $ac_try) 2>&5
101274   ac_status=$?
101275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101276   (exit $ac_status); }; } &&
101277          { ac_try='test -s conftest$ac_exeext'
101278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101279   (eval $ac_try) 2>&5
101280   ac_status=$?
101281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282   (exit $ac_status); }; }; then
101283   eval "$as_ac_var=yes"
101284 else
101285   echo "$as_me: failed program was:" >&5
101286 sed 's/^/| /' conftest.$ac_ext >&5
101287
101288 eval "$as_ac_var=no"
101289 fi
101290 rm -f conftest.err conftest.$ac_objext \
101291       conftest$ac_exeext conftest.$ac_ext
101292 fi
101293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101295 if test `eval echo '${'$as_ac_var'}'` = yes; then
101296   cat >>confdefs.h <<_ACEOF
101297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101298 _ACEOF
101299
101300 else
101301   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101302 fi
101303 done
101304
101305
101306
101307 for ac_func in __signbit
101308 do
101309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101310 echo "$as_me:$LINENO: checking for $ac_func" >&5
101311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101312 if eval "test \"\${$as_ac_var+set}\" = set"; then
101313   echo $ECHO_N "(cached) $ECHO_C" >&6
101314 else
101315   if test x$gcc_no_link = xyes; then
101316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101318    { (exit 1); exit 1; }; }
101319 fi
101320 cat >conftest.$ac_ext <<_ACEOF
101321 /* confdefs.h.  */
101322 _ACEOF
101323 cat confdefs.h >>conftest.$ac_ext
101324 cat >>conftest.$ac_ext <<_ACEOF
101325 /* end confdefs.h.  */
101326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101328 #define $ac_func innocuous_$ac_func
101329
101330 /* System header to define __stub macros and hopefully few prototypes,
101331     which can conflict with char $ac_func (); below.
101332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101333     <limits.h> exists even on freestanding compilers.  */
101334
101335 #ifdef __STDC__
101336 # include <limits.h>
101337 #else
101338 # include <assert.h>
101339 #endif
101340
101341 #undef $ac_func
101342
101343 /* Override any gcc2 internal prototype to avoid an error.  */
101344 #ifdef __cplusplus
101345 extern "C"
101346 {
101347 #endif
101348 /* We use char because int might match the return type of a gcc2
101349    builtin and then its argument prototype would still apply.  */
101350 char $ac_func ();
101351 /* The GNU C library defines this for functions which it implements
101352     to always fail with ENOSYS.  Some functions are actually named
101353     something starting with __ and the normal name is an alias.  */
101354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101355 choke me
101356 #else
101357 char (*f) () = $ac_func;
101358 #endif
101359 #ifdef __cplusplus
101360 }
101361 #endif
101362
101363 int
101364 main ()
101365 {
101366 return f != $ac_func;
101367   ;
101368   return 0;
101369 }
101370 _ACEOF
101371 rm -f conftest.$ac_objext conftest$ac_exeext
101372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101373   (eval $ac_link) 2>conftest.er1
101374   ac_status=$?
101375   grep -v '^ *+' conftest.er1 >conftest.err
101376   rm -f conftest.er1
101377   cat conftest.err >&5
101378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101379   (exit $ac_status); } &&
101380          { ac_try='test -z "$ac_c_werror_flag"
101381                          || test ! -s conftest.err'
101382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101383   (eval $ac_try) 2>&5
101384   ac_status=$?
101385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101386   (exit $ac_status); }; } &&
101387          { ac_try='test -s conftest$ac_exeext'
101388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101389   (eval $ac_try) 2>&5
101390   ac_status=$?
101391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101392   (exit $ac_status); }; }; then
101393   eval "$as_ac_var=yes"
101394 else
101395   echo "$as_me: failed program was:" >&5
101396 sed 's/^/| /' conftest.$ac_ext >&5
101397
101398 eval "$as_ac_var=no"
101399 fi
101400 rm -f conftest.err conftest.$ac_objext \
101401       conftest$ac_exeext conftest.$ac_ext
101402 fi
101403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101405 if test `eval echo '${'$as_ac_var'}'` = yes; then
101406   cat >>confdefs.h <<_ACEOF
101407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101408 _ACEOF
101409
101410 else
101411   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
101412 fi
101413 done
101414
101415
101416
101417 for ac_func in __signbitf
101418 do
101419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101420 echo "$as_me:$LINENO: checking for $ac_func" >&5
101421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101422 if eval "test \"\${$as_ac_var+set}\" = set"; then
101423   echo $ECHO_N "(cached) $ECHO_C" >&6
101424 else
101425   if test x$gcc_no_link = xyes; then
101426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101428    { (exit 1); exit 1; }; }
101429 fi
101430 cat >conftest.$ac_ext <<_ACEOF
101431 /* confdefs.h.  */
101432 _ACEOF
101433 cat confdefs.h >>conftest.$ac_ext
101434 cat >>conftest.$ac_ext <<_ACEOF
101435 /* end confdefs.h.  */
101436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101438 #define $ac_func innocuous_$ac_func
101439
101440 /* System header to define __stub macros and hopefully few prototypes,
101441     which can conflict with char $ac_func (); below.
101442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101443     <limits.h> exists even on freestanding compilers.  */
101444
101445 #ifdef __STDC__
101446 # include <limits.h>
101447 #else
101448 # include <assert.h>
101449 #endif
101450
101451 #undef $ac_func
101452
101453 /* Override any gcc2 internal prototype to avoid an error.  */
101454 #ifdef __cplusplus
101455 extern "C"
101456 {
101457 #endif
101458 /* We use char because int might match the return type of a gcc2
101459    builtin and then its argument prototype would still apply.  */
101460 char $ac_func ();
101461 /* The GNU C library defines this for functions which it implements
101462     to always fail with ENOSYS.  Some functions are actually named
101463     something starting with __ and the normal name is an alias.  */
101464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101465 choke me
101466 #else
101467 char (*f) () = $ac_func;
101468 #endif
101469 #ifdef __cplusplus
101470 }
101471 #endif
101472
101473 int
101474 main ()
101475 {
101476 return f != $ac_func;
101477   ;
101478   return 0;
101479 }
101480 _ACEOF
101481 rm -f conftest.$ac_objext conftest$ac_exeext
101482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101483   (eval $ac_link) 2>conftest.er1
101484   ac_status=$?
101485   grep -v '^ *+' conftest.er1 >conftest.err
101486   rm -f conftest.er1
101487   cat conftest.err >&5
101488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101489   (exit $ac_status); } &&
101490          { ac_try='test -z "$ac_c_werror_flag"
101491                          || test ! -s conftest.err'
101492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101493   (eval $ac_try) 2>&5
101494   ac_status=$?
101495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101496   (exit $ac_status); }; } &&
101497          { ac_try='test -s conftest$ac_exeext'
101498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101499   (eval $ac_try) 2>&5
101500   ac_status=$?
101501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101502   (exit $ac_status); }; }; then
101503   eval "$as_ac_var=yes"
101504 else
101505   echo "$as_me: failed program was:" >&5
101506 sed 's/^/| /' conftest.$ac_ext >&5
101507
101508 eval "$as_ac_var=no"
101509 fi
101510 rm -f conftest.err conftest.$ac_objext \
101511       conftest$ac_exeext conftest.$ac_ext
101512 fi
101513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101515 if test `eval echo '${'$as_ac_var'}'` = yes; then
101516   cat >>confdefs.h <<_ACEOF
101517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101518 _ACEOF
101519
101520 else
101521   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
101522 fi
101523 done
101524
101525
101526           if test x$ac_cv_func_copysignl = x"yes"; then
101527
101528 for ac_func in __signbitl
101529 do
101530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101531 echo "$as_me:$LINENO: checking for $ac_func" >&5
101532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101533 if eval "test \"\${$as_ac_var+set}\" = set"; then
101534   echo $ECHO_N "(cached) $ECHO_C" >&6
101535 else
101536   if test x$gcc_no_link = xyes; then
101537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101539    { (exit 1); exit 1; }; }
101540 fi
101541 cat >conftest.$ac_ext <<_ACEOF
101542 /* confdefs.h.  */
101543 _ACEOF
101544 cat confdefs.h >>conftest.$ac_ext
101545 cat >>conftest.$ac_ext <<_ACEOF
101546 /* end confdefs.h.  */
101547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101549 #define $ac_func innocuous_$ac_func
101550
101551 /* System header to define __stub macros and hopefully few prototypes,
101552     which can conflict with char $ac_func (); below.
101553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101554     <limits.h> exists even on freestanding compilers.  */
101555
101556 #ifdef __STDC__
101557 # include <limits.h>
101558 #else
101559 # include <assert.h>
101560 #endif
101561
101562 #undef $ac_func
101563
101564 /* Override any gcc2 internal prototype to avoid an error.  */
101565 #ifdef __cplusplus
101566 extern "C"
101567 {
101568 #endif
101569 /* We use char because int might match the return type of a gcc2
101570    builtin and then its argument prototype would still apply.  */
101571 char $ac_func ();
101572 /* The GNU C library defines this for functions which it implements
101573     to always fail with ENOSYS.  Some functions are actually named
101574     something starting with __ and the normal name is an alias.  */
101575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101576 choke me
101577 #else
101578 char (*f) () = $ac_func;
101579 #endif
101580 #ifdef __cplusplus
101581 }
101582 #endif
101583
101584 int
101585 main ()
101586 {
101587 return f != $ac_func;
101588   ;
101589   return 0;
101590 }
101591 _ACEOF
101592 rm -f conftest.$ac_objext conftest$ac_exeext
101593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101594   (eval $ac_link) 2>conftest.er1
101595   ac_status=$?
101596   grep -v '^ *+' conftest.er1 >conftest.err
101597   rm -f conftest.er1
101598   cat conftest.err >&5
101599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101600   (exit $ac_status); } &&
101601          { ac_try='test -z "$ac_c_werror_flag"
101602                          || test ! -s conftest.err'
101603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101604   (eval $ac_try) 2>&5
101605   ac_status=$?
101606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101607   (exit $ac_status); }; } &&
101608          { ac_try='test -s conftest$ac_exeext'
101609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101610   (eval $ac_try) 2>&5
101611   ac_status=$?
101612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101613   (exit $ac_status); }; }; then
101614   eval "$as_ac_var=yes"
101615 else
101616   echo "$as_me: failed program was:" >&5
101617 sed 's/^/| /' conftest.$ac_ext >&5
101618
101619 eval "$as_ac_var=no"
101620 fi
101621 rm -f conftest.err conftest.$ac_objext \
101622       conftest$ac_exeext conftest.$ac_ext
101623 fi
101624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101626 if test `eval echo '${'$as_ac_var'}'` = yes; then
101627   cat >>confdefs.h <<_ACEOF
101628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101629 _ACEOF
101630
101631 else
101632   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
101633 fi
101634 done
101635
101636   fi
101637
101638   # Used in libmath/Makefile.am.
101639   if test -n "$LIBMATHOBJS"; then
101640     need_libmath=yes
101641   fi
101642
101643
101644     ;;
101645   *-netbsd*)
101646     SECTION_FLAGS='-ffunction-sections -fdata-sections'
101647
101648
101649   # If we're not using GNU ld, then there's no point in even trying these
101650   # tests.  Check for that first.  We should have already tested for gld
101651   # by now (in libtool), but require it now just to be safe...
101652   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
101653   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
101654
101655
101656
101657   # The name set by libtool depends on the version of libtool.  Shame on us
101658   # for depending on an impl detail, but c'est la vie.  Older versions used
101659   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
101660   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
101661   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
101662   # set (hence we're using an older libtool), then set it.
101663   if test x${with_gnu_ld+set} != xset; then
101664     if test x${ac_cv_prog_gnu_ld+set} != xset; then
101665       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
101666       with_gnu_ld=no
101667     else
101668       with_gnu_ld=$ac_cv_prog_gnu_ld
101669     fi
101670   fi
101671
101672   # Start by getting the version number.  I think the libtool test already
101673   # does some of this, but throws away the result.
101674   glibcxx_ld_is_gold=no
101675   if test x"$with_gnu_ld" = x"yes"; then
101676     echo "$as_me:$LINENO: checking for ld version" >&5
101677 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
101678
101679     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
101680       glibcxx_ld_is_gold=yes
101681     fi
101682     ldver=`$LD --version 2>/dev/null | head -1 | \
101683            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
101684
101685     glibcxx_gnu_ld_version=`echo $ldver | \
101686            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
101687     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
101688 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
101689   fi
101690
101691   # Set --gc-sections.
101692   glibcxx_have_gc_sections=no
101693   if test "$glibcxx_ld_is_gold" = "yes"; then
101694     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
101695       glibcxx_have_gc_sections=yes
101696     fi
101697   else
101698     glibcxx_gcsections_min_ld=21602
101699     if test x"$with_gnu_ld" = x"yes" &&
101700         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
101701       glibcxx_have_gc_sections=yes
101702     fi
101703   fi
101704   if test "$glibcxx_have_gc_sections" = "yes"; then
101705     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
101706     # NB: This flag only works reliably after 2.16.1. Configure tests
101707     # for this are difficult, so hard wire a value that should work.
101708
101709     ac_test_CFLAGS="${CFLAGS+set}"
101710     ac_save_CFLAGS="$CFLAGS"
101711     CFLAGS='-Wl,--gc-sections'
101712
101713     # Check for -Wl,--gc-sections
101714     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
101715 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
101716     if test x$gcc_no_link = xyes; then
101717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101719    { (exit 1); exit 1; }; }
101720 fi
101721 cat >conftest.$ac_ext <<_ACEOF
101722 /* confdefs.h.  */
101723 _ACEOF
101724 cat confdefs.h >>conftest.$ac_ext
101725 cat >>conftest.$ac_ext <<_ACEOF
101726 /* end confdefs.h.  */
101727  int one(void) { return 1; }
101728      int two(void) { return 2; }
101729
101730 int
101731 main ()
101732 {
101733  two();
101734   ;
101735   return 0;
101736 }
101737 _ACEOF
101738 rm -f conftest.$ac_objext conftest$ac_exeext
101739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101740   (eval $ac_link) 2>conftest.er1
101741   ac_status=$?
101742   grep -v '^ *+' conftest.er1 >conftest.err
101743   rm -f conftest.er1
101744   cat conftest.err >&5
101745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101746   (exit $ac_status); } &&
101747          { ac_try='test -z "$ac_c_werror_flag"
101748                          || test ! -s conftest.err'
101749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101750   (eval $ac_try) 2>&5
101751   ac_status=$?
101752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101753   (exit $ac_status); }; } &&
101754          { ac_try='test -s conftest$ac_exeext'
101755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101756   (eval $ac_try) 2>&5
101757   ac_status=$?
101758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101759   (exit $ac_status); }; }; then
101760   ac_gcsections=yes
101761 else
101762   echo "$as_me: failed program was:" >&5
101763 sed 's/^/| /' conftest.$ac_ext >&5
101764
101765 ac_gcsections=no
101766 fi
101767 rm -f conftest.err conftest.$ac_objext \
101768       conftest$ac_exeext conftest.$ac_ext
101769     if test "$ac_gcsections" = "yes"; then
101770       rm -f conftest.c
101771       touch conftest.c
101772       if $CC -c conftest.c; then
101773         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
101774            grep "Warning: gc-sections option ignored" > /dev/null; then
101775           ac_gcsections=no
101776         fi
101777       fi
101778       rm -f conftest.c conftest.o conftest
101779     fi
101780     if test "$ac_gcsections" = "yes"; then
101781       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
101782     fi
101783     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
101784 echo "${ECHO_T}$ac_gcsections" >&6
101785
101786     if test "$ac_test_CFLAGS" = set; then
101787       CFLAGS="$ac_save_CFLAGS"
101788     else
101789       # this is the suspicious part
101790       CFLAGS=''
101791     fi
101792   fi
101793
101794   # Set -z,relro.
101795   # Note this is only for shared objects.
101796   ac_ld_relro=no
101797   if test x"$with_gnu_ld" = x"yes"; then
101798     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
101799 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
101800     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
101801     if test -n "$cxx_z_relo"; then
101802       OPT_LDFLAGS="-Wl,-z,relro"
101803       ac_ld_relro=yes
101804     fi
101805     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
101806 echo "${ECHO_T}$ac_ld_relro" >&6
101807   fi
101808
101809   # Set linker optimization flags.
101810   if test x"$with_gnu_ld" = x"yes"; then
101811     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
101812   fi
101813
101814
101815
101816
101817
101818
101819 echo "$as_me:$LINENO: checking for main in -lm" >&5
101820 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
101821 if test "${ac_cv_lib_m_main+set}" = set; then
101822   echo $ECHO_N "(cached) $ECHO_C" >&6
101823 else
101824   ac_check_lib_save_LIBS=$LIBS
101825 LIBS="-lm  $LIBS"
101826 if test x$gcc_no_link = xyes; then
101827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101829    { (exit 1); exit 1; }; }
101830 fi
101831 cat >conftest.$ac_ext <<_ACEOF
101832 /* confdefs.h.  */
101833 _ACEOF
101834 cat confdefs.h >>conftest.$ac_ext
101835 cat >>conftest.$ac_ext <<_ACEOF
101836 /* end confdefs.h.  */
101837
101838
101839 int
101840 main ()
101841 {
101842 main ();
101843   ;
101844   return 0;
101845 }
101846 _ACEOF
101847 rm -f conftest.$ac_objext conftest$ac_exeext
101848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101849   (eval $ac_link) 2>conftest.er1
101850   ac_status=$?
101851   grep -v '^ *+' conftest.er1 >conftest.err
101852   rm -f conftest.er1
101853   cat conftest.err >&5
101854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101855   (exit $ac_status); } &&
101856          { ac_try='test -z "$ac_c_werror_flag"
101857                          || test ! -s conftest.err'
101858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101859   (eval $ac_try) 2>&5
101860   ac_status=$?
101861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101862   (exit $ac_status); }; } &&
101863          { ac_try='test -s conftest$ac_exeext'
101864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101865   (eval $ac_try) 2>&5
101866   ac_status=$?
101867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101868   (exit $ac_status); }; }; then
101869   ac_cv_lib_m_main=yes
101870 else
101871   echo "$as_me: failed program was:" >&5
101872 sed 's/^/| /' conftest.$ac_ext >&5
101873
101874 ac_cv_lib_m_main=no
101875 fi
101876 rm -f conftest.err conftest.$ac_objext \
101877       conftest$ac_exeext conftest.$ac_ext
101878 LIBS=$ac_check_lib_save_LIBS
101879 fi
101880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
101881 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
101882 if test $ac_cv_lib_m_main = yes; then
101883   cat >>confdefs.h <<_ACEOF
101884 #define HAVE_LIBM 1
101885 _ACEOF
101886
101887   LIBS="-lm $LIBS"
101888
101889 fi
101890
101891
101892 for ac_func in copysignf
101893 do
101894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101895 echo "$as_me:$LINENO: checking for $ac_func" >&5
101896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101897 if eval "test \"\${$as_ac_var+set}\" = set"; then
101898   echo $ECHO_N "(cached) $ECHO_C" >&6
101899 else
101900   if test x$gcc_no_link = xyes; then
101901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101903    { (exit 1); exit 1; }; }
101904 fi
101905 cat >conftest.$ac_ext <<_ACEOF
101906 /* confdefs.h.  */
101907 _ACEOF
101908 cat confdefs.h >>conftest.$ac_ext
101909 cat >>conftest.$ac_ext <<_ACEOF
101910 /* end confdefs.h.  */
101911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101913 #define $ac_func innocuous_$ac_func
101914
101915 /* System header to define __stub macros and hopefully few prototypes,
101916     which can conflict with char $ac_func (); below.
101917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101918     <limits.h> exists even on freestanding compilers.  */
101919
101920 #ifdef __STDC__
101921 # include <limits.h>
101922 #else
101923 # include <assert.h>
101924 #endif
101925
101926 #undef $ac_func
101927
101928 /* Override any gcc2 internal prototype to avoid an error.  */
101929 #ifdef __cplusplus
101930 extern "C"
101931 {
101932 #endif
101933 /* We use char because int might match the return type of a gcc2
101934    builtin and then its argument prototype would still apply.  */
101935 char $ac_func ();
101936 /* The GNU C library defines this for functions which it implements
101937     to always fail with ENOSYS.  Some functions are actually named
101938     something starting with __ and the normal name is an alias.  */
101939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101940 choke me
101941 #else
101942 char (*f) () = $ac_func;
101943 #endif
101944 #ifdef __cplusplus
101945 }
101946 #endif
101947
101948 int
101949 main ()
101950 {
101951 return f != $ac_func;
101952   ;
101953   return 0;
101954 }
101955 _ACEOF
101956 rm -f conftest.$ac_objext conftest$ac_exeext
101957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101958   (eval $ac_link) 2>conftest.er1
101959   ac_status=$?
101960   grep -v '^ *+' conftest.er1 >conftest.err
101961   rm -f conftest.er1
101962   cat conftest.err >&5
101963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101964   (exit $ac_status); } &&
101965          { ac_try='test -z "$ac_c_werror_flag"
101966                          || test ! -s conftest.err'
101967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101968   (eval $ac_try) 2>&5
101969   ac_status=$?
101970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101971   (exit $ac_status); }; } &&
101972          { ac_try='test -s conftest$ac_exeext'
101973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101974   (eval $ac_try) 2>&5
101975   ac_status=$?
101976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101977   (exit $ac_status); }; }; then
101978   eval "$as_ac_var=yes"
101979 else
101980   echo "$as_me: failed program was:" >&5
101981 sed 's/^/| /' conftest.$ac_ext >&5
101982
101983 eval "$as_ac_var=no"
101984 fi
101985 rm -f conftest.err conftest.$ac_objext \
101986       conftest$ac_exeext conftest.$ac_ext
101987 fi
101988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101990 if test `eval echo '${'$as_ac_var'}'` = yes; then
101991   cat >>confdefs.h <<_ACEOF
101992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101993 _ACEOF
101994
101995 else
101996   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
101997 fi
101998 done
101999
102000
102001
102002 for ac_func in __signbit
102003 do
102004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102005 echo "$as_me:$LINENO: checking for $ac_func" >&5
102006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102007 if eval "test \"\${$as_ac_var+set}\" = set"; then
102008   echo $ECHO_N "(cached) $ECHO_C" >&6
102009 else
102010   if test x$gcc_no_link = xyes; then
102011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102013    { (exit 1); exit 1; }; }
102014 fi
102015 cat >conftest.$ac_ext <<_ACEOF
102016 /* confdefs.h.  */
102017 _ACEOF
102018 cat confdefs.h >>conftest.$ac_ext
102019 cat >>conftest.$ac_ext <<_ACEOF
102020 /* end confdefs.h.  */
102021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102023 #define $ac_func innocuous_$ac_func
102024
102025 /* System header to define __stub macros and hopefully few prototypes,
102026     which can conflict with char $ac_func (); below.
102027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102028     <limits.h> exists even on freestanding compilers.  */
102029
102030 #ifdef __STDC__
102031 # include <limits.h>
102032 #else
102033 # include <assert.h>
102034 #endif
102035
102036 #undef $ac_func
102037
102038 /* Override any gcc2 internal prototype to avoid an error.  */
102039 #ifdef __cplusplus
102040 extern "C"
102041 {
102042 #endif
102043 /* We use char because int might match the return type of a gcc2
102044    builtin and then its argument prototype would still apply.  */
102045 char $ac_func ();
102046 /* The GNU C library defines this for functions which it implements
102047     to always fail with ENOSYS.  Some functions are actually named
102048     something starting with __ and the normal name is an alias.  */
102049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102050 choke me
102051 #else
102052 char (*f) () = $ac_func;
102053 #endif
102054 #ifdef __cplusplus
102055 }
102056 #endif
102057
102058 int
102059 main ()
102060 {
102061 return f != $ac_func;
102062   ;
102063   return 0;
102064 }
102065 _ACEOF
102066 rm -f conftest.$ac_objext conftest$ac_exeext
102067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102068   (eval $ac_link) 2>conftest.er1
102069   ac_status=$?
102070   grep -v '^ *+' conftest.er1 >conftest.err
102071   rm -f conftest.er1
102072   cat conftest.err >&5
102073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102074   (exit $ac_status); } &&
102075          { ac_try='test -z "$ac_c_werror_flag"
102076                          || test ! -s conftest.err'
102077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102078   (eval $ac_try) 2>&5
102079   ac_status=$?
102080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102081   (exit $ac_status); }; } &&
102082          { ac_try='test -s conftest$ac_exeext'
102083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102084   (eval $ac_try) 2>&5
102085   ac_status=$?
102086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102087   (exit $ac_status); }; }; then
102088   eval "$as_ac_var=yes"
102089 else
102090   echo "$as_me: failed program was:" >&5
102091 sed 's/^/| /' conftest.$ac_ext >&5
102092
102093 eval "$as_ac_var=no"
102094 fi
102095 rm -f conftest.err conftest.$ac_objext \
102096       conftest$ac_exeext conftest.$ac_ext
102097 fi
102098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102100 if test `eval echo '${'$as_ac_var'}'` = yes; then
102101   cat >>confdefs.h <<_ACEOF
102102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102103 _ACEOF
102104
102105 else
102106   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102107 fi
102108 done
102109
102110
102111
102112 for ac_func in __signbitf
102113 do
102114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102115 echo "$as_me:$LINENO: checking for $ac_func" >&5
102116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102117 if eval "test \"\${$as_ac_var+set}\" = set"; then
102118   echo $ECHO_N "(cached) $ECHO_C" >&6
102119 else
102120   if test x$gcc_no_link = xyes; then
102121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102123    { (exit 1); exit 1; }; }
102124 fi
102125 cat >conftest.$ac_ext <<_ACEOF
102126 /* confdefs.h.  */
102127 _ACEOF
102128 cat confdefs.h >>conftest.$ac_ext
102129 cat >>conftest.$ac_ext <<_ACEOF
102130 /* end confdefs.h.  */
102131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102133 #define $ac_func innocuous_$ac_func
102134
102135 /* System header to define __stub macros and hopefully few prototypes,
102136     which can conflict with char $ac_func (); below.
102137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102138     <limits.h> exists even on freestanding compilers.  */
102139
102140 #ifdef __STDC__
102141 # include <limits.h>
102142 #else
102143 # include <assert.h>
102144 #endif
102145
102146 #undef $ac_func
102147
102148 /* Override any gcc2 internal prototype to avoid an error.  */
102149 #ifdef __cplusplus
102150 extern "C"
102151 {
102152 #endif
102153 /* We use char because int might match the return type of a gcc2
102154    builtin and then its argument prototype would still apply.  */
102155 char $ac_func ();
102156 /* The GNU C library defines this for functions which it implements
102157     to always fail with ENOSYS.  Some functions are actually named
102158     something starting with __ and the normal name is an alias.  */
102159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102160 choke me
102161 #else
102162 char (*f) () = $ac_func;
102163 #endif
102164 #ifdef __cplusplus
102165 }
102166 #endif
102167
102168 int
102169 main ()
102170 {
102171 return f != $ac_func;
102172   ;
102173   return 0;
102174 }
102175 _ACEOF
102176 rm -f conftest.$ac_objext conftest$ac_exeext
102177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102178   (eval $ac_link) 2>conftest.er1
102179   ac_status=$?
102180   grep -v '^ *+' conftest.er1 >conftest.err
102181   rm -f conftest.er1
102182   cat conftest.err >&5
102183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102184   (exit $ac_status); } &&
102185          { ac_try='test -z "$ac_c_werror_flag"
102186                          || test ! -s conftest.err'
102187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102188   (eval $ac_try) 2>&5
102189   ac_status=$?
102190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102191   (exit $ac_status); }; } &&
102192          { ac_try='test -s conftest$ac_exeext'
102193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102194   (eval $ac_try) 2>&5
102195   ac_status=$?
102196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102197   (exit $ac_status); }; }; then
102198   eval "$as_ac_var=yes"
102199 else
102200   echo "$as_me: failed program was:" >&5
102201 sed 's/^/| /' conftest.$ac_ext >&5
102202
102203 eval "$as_ac_var=no"
102204 fi
102205 rm -f conftest.err conftest.$ac_objext \
102206       conftest$ac_exeext conftest.$ac_ext
102207 fi
102208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102210 if test `eval echo '${'$as_ac_var'}'` = yes; then
102211   cat >>confdefs.h <<_ACEOF
102212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102213 _ACEOF
102214
102215 else
102216   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102217 fi
102218 done
102219
102220
102221           if test x$ac_cv_func_copysignl = x"yes"; then
102222
102223 for ac_func in __signbitl
102224 do
102225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102226 echo "$as_me:$LINENO: checking for $ac_func" >&5
102227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102228 if eval "test \"\${$as_ac_var+set}\" = set"; then
102229   echo $ECHO_N "(cached) $ECHO_C" >&6
102230 else
102231   if test x$gcc_no_link = xyes; then
102232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102234    { (exit 1); exit 1; }; }
102235 fi
102236 cat >conftest.$ac_ext <<_ACEOF
102237 /* confdefs.h.  */
102238 _ACEOF
102239 cat confdefs.h >>conftest.$ac_ext
102240 cat >>conftest.$ac_ext <<_ACEOF
102241 /* end confdefs.h.  */
102242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102244 #define $ac_func innocuous_$ac_func
102245
102246 /* System header to define __stub macros and hopefully few prototypes,
102247     which can conflict with char $ac_func (); below.
102248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102249     <limits.h> exists even on freestanding compilers.  */
102250
102251 #ifdef __STDC__
102252 # include <limits.h>
102253 #else
102254 # include <assert.h>
102255 #endif
102256
102257 #undef $ac_func
102258
102259 /* Override any gcc2 internal prototype to avoid an error.  */
102260 #ifdef __cplusplus
102261 extern "C"
102262 {
102263 #endif
102264 /* We use char because int might match the return type of a gcc2
102265    builtin and then its argument prototype would still apply.  */
102266 char $ac_func ();
102267 /* The GNU C library defines this for functions which it implements
102268     to always fail with ENOSYS.  Some functions are actually named
102269     something starting with __ and the normal name is an alias.  */
102270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102271 choke me
102272 #else
102273 char (*f) () = $ac_func;
102274 #endif
102275 #ifdef __cplusplus
102276 }
102277 #endif
102278
102279 int
102280 main ()
102281 {
102282 return f != $ac_func;
102283   ;
102284   return 0;
102285 }
102286 _ACEOF
102287 rm -f conftest.$ac_objext conftest$ac_exeext
102288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102289   (eval $ac_link) 2>conftest.er1
102290   ac_status=$?
102291   grep -v '^ *+' conftest.er1 >conftest.err
102292   rm -f conftest.er1
102293   cat conftest.err >&5
102294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102295   (exit $ac_status); } &&
102296          { ac_try='test -z "$ac_c_werror_flag"
102297                          || test ! -s conftest.err'
102298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102299   (eval $ac_try) 2>&5
102300   ac_status=$?
102301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102302   (exit $ac_status); }; } &&
102303          { ac_try='test -s conftest$ac_exeext'
102304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102305   (eval $ac_try) 2>&5
102306   ac_status=$?
102307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102308   (exit $ac_status); }; }; then
102309   eval "$as_ac_var=yes"
102310 else
102311   echo "$as_me: failed program was:" >&5
102312 sed 's/^/| /' conftest.$ac_ext >&5
102313
102314 eval "$as_ac_var=no"
102315 fi
102316 rm -f conftest.err conftest.$ac_objext \
102317       conftest$ac_exeext conftest.$ac_ext
102318 fi
102319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102321 if test `eval echo '${'$as_ac_var'}'` = yes; then
102322   cat >>confdefs.h <<_ACEOF
102323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102324 _ACEOF
102325
102326 else
102327   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
102328 fi
102329 done
102330
102331   fi
102332
102333   # Used in libmath/Makefile.am.
102334   if test -n "$LIBMATHOBJS"; then
102335     need_libmath=yes
102336   fi
102337
102338
102339     cat >>confdefs.h <<\_ACEOF
102340 #define HAVE_COPYSIGN 1
102341 _ACEOF
102342
102343     cat >>confdefs.h <<\_ACEOF
102344 #define HAVE_COPYSIGNF 1
102345 _ACEOF
102346
102347     cat >>confdefs.h <<\_ACEOF
102348 #define HAVE_FINITEF 1
102349 _ACEOF
102350
102351     cat >>confdefs.h <<\_ACEOF
102352 #define HAVE_FINITE 1
102353 _ACEOF
102354
102355     cat >>confdefs.h <<\_ACEOF
102356 #define HAVE_FREXPF 1
102357 _ACEOF
102358
102359     cat >>confdefs.h <<\_ACEOF
102360 #define HAVE_HYPOTF 1
102361 _ACEOF
102362
102363     cat >>confdefs.h <<\_ACEOF
102364 #define HAVE_ISINF 1
102365 _ACEOF
102366
102367     cat >>confdefs.h <<\_ACEOF
102368 #define HAVE_ISINFF 1
102369 _ACEOF
102370
102371     cat >>confdefs.h <<\_ACEOF
102372 #define HAVE_ISNAN 1
102373 _ACEOF
102374
102375     cat >>confdefs.h <<\_ACEOF
102376 #define HAVE_ISNANF 1
102377 _ACEOF
102378
102379     if test x"long_double_math_on_this_cpu" = x"yes"; then
102380       cat >>confdefs.h <<\_ACEOF
102381 #define HAVE_FINITEL 1
102382 _ACEOF
102383
102384       cat >>confdefs.h <<\_ACEOF
102385 #define HAVE_ISINFL 1
102386 _ACEOF
102387
102388       cat >>confdefs.h <<\_ACEOF
102389 #define HAVE_ISNANL 1
102390 _ACEOF
102391
102392     fi
102393     ;;
102394   *-netware)
102395     SECTION_FLAGS='-ffunction-sections -fdata-sections'
102396
102397
102398   # If we're not using GNU ld, then there's no point in even trying these
102399   # tests.  Check for that first.  We should have already tested for gld
102400   # by now (in libtool), but require it now just to be safe...
102401   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
102402   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
102403
102404
102405
102406   # The name set by libtool depends on the version of libtool.  Shame on us
102407   # for depending on an impl detail, but c'est la vie.  Older versions used
102408   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
102409   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
102410   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
102411   # set (hence we're using an older libtool), then set it.
102412   if test x${with_gnu_ld+set} != xset; then
102413     if test x${ac_cv_prog_gnu_ld+set} != xset; then
102414       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
102415       with_gnu_ld=no
102416     else
102417       with_gnu_ld=$ac_cv_prog_gnu_ld
102418     fi
102419   fi
102420
102421   # Start by getting the version number.  I think the libtool test already
102422   # does some of this, but throws away the result.
102423   glibcxx_ld_is_gold=no
102424   if test x"$with_gnu_ld" = x"yes"; then
102425     echo "$as_me:$LINENO: checking for ld version" >&5
102426 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
102427
102428     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
102429       glibcxx_ld_is_gold=yes
102430     fi
102431     ldver=`$LD --version 2>/dev/null | head -1 | \
102432            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
102433
102434     glibcxx_gnu_ld_version=`echo $ldver | \
102435            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
102436     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
102437 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
102438   fi
102439
102440   # Set --gc-sections.
102441   glibcxx_have_gc_sections=no
102442   if test "$glibcxx_ld_is_gold" = "yes"; then
102443     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
102444       glibcxx_have_gc_sections=yes
102445     fi
102446   else
102447     glibcxx_gcsections_min_ld=21602
102448     if test x"$with_gnu_ld" = x"yes" &&
102449         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
102450       glibcxx_have_gc_sections=yes
102451     fi
102452   fi
102453   if test "$glibcxx_have_gc_sections" = "yes"; then
102454     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
102455     # NB: This flag only works reliably after 2.16.1. Configure tests
102456     # for this are difficult, so hard wire a value that should work.
102457
102458     ac_test_CFLAGS="${CFLAGS+set}"
102459     ac_save_CFLAGS="$CFLAGS"
102460     CFLAGS='-Wl,--gc-sections'
102461
102462     # Check for -Wl,--gc-sections
102463     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
102464 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
102465     if test x$gcc_no_link = xyes; then
102466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102468    { (exit 1); exit 1; }; }
102469 fi
102470 cat >conftest.$ac_ext <<_ACEOF
102471 /* confdefs.h.  */
102472 _ACEOF
102473 cat confdefs.h >>conftest.$ac_ext
102474 cat >>conftest.$ac_ext <<_ACEOF
102475 /* end confdefs.h.  */
102476  int one(void) { return 1; }
102477      int two(void) { return 2; }
102478
102479 int
102480 main ()
102481 {
102482  two();
102483   ;
102484   return 0;
102485 }
102486 _ACEOF
102487 rm -f conftest.$ac_objext conftest$ac_exeext
102488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102489   (eval $ac_link) 2>conftest.er1
102490   ac_status=$?
102491   grep -v '^ *+' conftest.er1 >conftest.err
102492   rm -f conftest.er1
102493   cat conftest.err >&5
102494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102495   (exit $ac_status); } &&
102496          { ac_try='test -z "$ac_c_werror_flag"
102497                          || test ! -s conftest.err'
102498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102499   (eval $ac_try) 2>&5
102500   ac_status=$?
102501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102502   (exit $ac_status); }; } &&
102503          { ac_try='test -s conftest$ac_exeext'
102504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102505   (eval $ac_try) 2>&5
102506   ac_status=$?
102507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102508   (exit $ac_status); }; }; then
102509   ac_gcsections=yes
102510 else
102511   echo "$as_me: failed program was:" >&5
102512 sed 's/^/| /' conftest.$ac_ext >&5
102513
102514 ac_gcsections=no
102515 fi
102516 rm -f conftest.err conftest.$ac_objext \
102517       conftest$ac_exeext conftest.$ac_ext
102518     if test "$ac_gcsections" = "yes"; then
102519       rm -f conftest.c
102520       touch conftest.c
102521       if $CC -c conftest.c; then
102522         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
102523            grep "Warning: gc-sections option ignored" > /dev/null; then
102524           ac_gcsections=no
102525         fi
102526       fi
102527       rm -f conftest.c conftest.o conftest
102528     fi
102529     if test "$ac_gcsections" = "yes"; then
102530       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
102531     fi
102532     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
102533 echo "${ECHO_T}$ac_gcsections" >&6
102534
102535     if test "$ac_test_CFLAGS" = set; then
102536       CFLAGS="$ac_save_CFLAGS"
102537     else
102538       # this is the suspicious part
102539       CFLAGS=''
102540     fi
102541   fi
102542
102543   # Set -z,relro.
102544   # Note this is only for shared objects.
102545   ac_ld_relro=no
102546   if test x"$with_gnu_ld" = x"yes"; then
102547     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
102548 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
102549     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
102550     if test -n "$cxx_z_relo"; then
102551       OPT_LDFLAGS="-Wl,-z,relro"
102552       ac_ld_relro=yes
102553     fi
102554     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
102555 echo "${ECHO_T}$ac_ld_relro" >&6
102556   fi
102557
102558   # Set linker optimization flags.
102559   if test x"$with_gnu_ld" = x"yes"; then
102560     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
102561   fi
102562
102563
102564
102565
102566
102567
102568 echo "$as_me:$LINENO: checking for main in -lm" >&5
102569 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
102570 if test "${ac_cv_lib_m_main+set}" = set; then
102571   echo $ECHO_N "(cached) $ECHO_C" >&6
102572 else
102573   ac_check_lib_save_LIBS=$LIBS
102574 LIBS="-lm  $LIBS"
102575 if test x$gcc_no_link = xyes; then
102576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102578    { (exit 1); exit 1; }; }
102579 fi
102580 cat >conftest.$ac_ext <<_ACEOF
102581 /* confdefs.h.  */
102582 _ACEOF
102583 cat confdefs.h >>conftest.$ac_ext
102584 cat >>conftest.$ac_ext <<_ACEOF
102585 /* end confdefs.h.  */
102586
102587
102588 int
102589 main ()
102590 {
102591 main ();
102592   ;
102593   return 0;
102594 }
102595 _ACEOF
102596 rm -f conftest.$ac_objext conftest$ac_exeext
102597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102598   (eval $ac_link) 2>conftest.er1
102599   ac_status=$?
102600   grep -v '^ *+' conftest.er1 >conftest.err
102601   rm -f conftest.er1
102602   cat conftest.err >&5
102603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102604   (exit $ac_status); } &&
102605          { ac_try='test -z "$ac_c_werror_flag"
102606                          || test ! -s conftest.err'
102607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102608   (eval $ac_try) 2>&5
102609   ac_status=$?
102610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102611   (exit $ac_status); }; } &&
102612          { ac_try='test -s conftest$ac_exeext'
102613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102614   (eval $ac_try) 2>&5
102615   ac_status=$?
102616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102617   (exit $ac_status); }; }; then
102618   ac_cv_lib_m_main=yes
102619 else
102620   echo "$as_me: failed program was:" >&5
102621 sed 's/^/| /' conftest.$ac_ext >&5
102622
102623 ac_cv_lib_m_main=no
102624 fi
102625 rm -f conftest.err conftest.$ac_objext \
102626       conftest$ac_exeext conftest.$ac_ext
102627 LIBS=$ac_check_lib_save_LIBS
102628 fi
102629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
102630 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
102631 if test $ac_cv_lib_m_main = yes; then
102632   cat >>confdefs.h <<_ACEOF
102633 #define HAVE_LIBM 1
102634 _ACEOF
102635
102636   LIBS="-lm $LIBS"
102637
102638 fi
102639
102640
102641 for ac_func in copysignf
102642 do
102643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102644 echo "$as_me:$LINENO: checking for $ac_func" >&5
102645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102646 if eval "test \"\${$as_ac_var+set}\" = set"; then
102647   echo $ECHO_N "(cached) $ECHO_C" >&6
102648 else
102649   if test x$gcc_no_link = xyes; then
102650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102652    { (exit 1); exit 1; }; }
102653 fi
102654 cat >conftest.$ac_ext <<_ACEOF
102655 /* confdefs.h.  */
102656 _ACEOF
102657 cat confdefs.h >>conftest.$ac_ext
102658 cat >>conftest.$ac_ext <<_ACEOF
102659 /* end confdefs.h.  */
102660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102662 #define $ac_func innocuous_$ac_func
102663
102664 /* System header to define __stub macros and hopefully few prototypes,
102665     which can conflict with char $ac_func (); below.
102666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102667     <limits.h> exists even on freestanding compilers.  */
102668
102669 #ifdef __STDC__
102670 # include <limits.h>
102671 #else
102672 # include <assert.h>
102673 #endif
102674
102675 #undef $ac_func
102676
102677 /* Override any gcc2 internal prototype to avoid an error.  */
102678 #ifdef __cplusplus
102679 extern "C"
102680 {
102681 #endif
102682 /* We use char because int might match the return type of a gcc2
102683    builtin and then its argument prototype would still apply.  */
102684 char $ac_func ();
102685 /* The GNU C library defines this for functions which it implements
102686     to always fail with ENOSYS.  Some functions are actually named
102687     something starting with __ and the normal name is an alias.  */
102688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102689 choke me
102690 #else
102691 char (*f) () = $ac_func;
102692 #endif
102693 #ifdef __cplusplus
102694 }
102695 #endif
102696
102697 int
102698 main ()
102699 {
102700 return f != $ac_func;
102701   ;
102702   return 0;
102703 }
102704 _ACEOF
102705 rm -f conftest.$ac_objext conftest$ac_exeext
102706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102707   (eval $ac_link) 2>conftest.er1
102708   ac_status=$?
102709   grep -v '^ *+' conftest.er1 >conftest.err
102710   rm -f conftest.er1
102711   cat conftest.err >&5
102712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102713   (exit $ac_status); } &&
102714          { ac_try='test -z "$ac_c_werror_flag"
102715                          || test ! -s conftest.err'
102716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102717   (eval $ac_try) 2>&5
102718   ac_status=$?
102719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102720   (exit $ac_status); }; } &&
102721          { ac_try='test -s conftest$ac_exeext'
102722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102723   (eval $ac_try) 2>&5
102724   ac_status=$?
102725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102726   (exit $ac_status); }; }; then
102727   eval "$as_ac_var=yes"
102728 else
102729   echo "$as_me: failed program was:" >&5
102730 sed 's/^/| /' conftest.$ac_ext >&5
102731
102732 eval "$as_ac_var=no"
102733 fi
102734 rm -f conftest.err conftest.$ac_objext \
102735       conftest$ac_exeext conftest.$ac_ext
102736 fi
102737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102739 if test `eval echo '${'$as_ac_var'}'` = yes; then
102740   cat >>confdefs.h <<_ACEOF
102741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102742 _ACEOF
102743
102744 else
102745   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
102746 fi
102747 done
102748
102749
102750
102751 for ac_func in __signbit
102752 do
102753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102754 echo "$as_me:$LINENO: checking for $ac_func" >&5
102755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102756 if eval "test \"\${$as_ac_var+set}\" = set"; then
102757   echo $ECHO_N "(cached) $ECHO_C" >&6
102758 else
102759   if test x$gcc_no_link = xyes; then
102760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102762    { (exit 1); exit 1; }; }
102763 fi
102764 cat >conftest.$ac_ext <<_ACEOF
102765 /* confdefs.h.  */
102766 _ACEOF
102767 cat confdefs.h >>conftest.$ac_ext
102768 cat >>conftest.$ac_ext <<_ACEOF
102769 /* end confdefs.h.  */
102770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102772 #define $ac_func innocuous_$ac_func
102773
102774 /* System header to define __stub macros and hopefully few prototypes,
102775     which can conflict with char $ac_func (); below.
102776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102777     <limits.h> exists even on freestanding compilers.  */
102778
102779 #ifdef __STDC__
102780 # include <limits.h>
102781 #else
102782 # include <assert.h>
102783 #endif
102784
102785 #undef $ac_func
102786
102787 /* Override any gcc2 internal prototype to avoid an error.  */
102788 #ifdef __cplusplus
102789 extern "C"
102790 {
102791 #endif
102792 /* We use char because int might match the return type of a gcc2
102793    builtin and then its argument prototype would still apply.  */
102794 char $ac_func ();
102795 /* The GNU C library defines this for functions which it implements
102796     to always fail with ENOSYS.  Some functions are actually named
102797     something starting with __ and the normal name is an alias.  */
102798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102799 choke me
102800 #else
102801 char (*f) () = $ac_func;
102802 #endif
102803 #ifdef __cplusplus
102804 }
102805 #endif
102806
102807 int
102808 main ()
102809 {
102810 return f != $ac_func;
102811   ;
102812   return 0;
102813 }
102814 _ACEOF
102815 rm -f conftest.$ac_objext conftest$ac_exeext
102816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102817   (eval $ac_link) 2>conftest.er1
102818   ac_status=$?
102819   grep -v '^ *+' conftest.er1 >conftest.err
102820   rm -f conftest.er1
102821   cat conftest.err >&5
102822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102823   (exit $ac_status); } &&
102824          { ac_try='test -z "$ac_c_werror_flag"
102825                          || test ! -s conftest.err'
102826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102827   (eval $ac_try) 2>&5
102828   ac_status=$?
102829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102830   (exit $ac_status); }; } &&
102831          { ac_try='test -s conftest$ac_exeext'
102832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102833   (eval $ac_try) 2>&5
102834   ac_status=$?
102835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102836   (exit $ac_status); }; }; then
102837   eval "$as_ac_var=yes"
102838 else
102839   echo "$as_me: failed program was:" >&5
102840 sed 's/^/| /' conftest.$ac_ext >&5
102841
102842 eval "$as_ac_var=no"
102843 fi
102844 rm -f conftest.err conftest.$ac_objext \
102845       conftest$ac_exeext conftest.$ac_ext
102846 fi
102847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102849 if test `eval echo '${'$as_ac_var'}'` = yes; then
102850   cat >>confdefs.h <<_ACEOF
102851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102852 _ACEOF
102853
102854 else
102855   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
102856 fi
102857 done
102858
102859
102860
102861 for ac_func in __signbitf
102862 do
102863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102864 echo "$as_me:$LINENO: checking for $ac_func" >&5
102865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102866 if eval "test \"\${$as_ac_var+set}\" = set"; then
102867   echo $ECHO_N "(cached) $ECHO_C" >&6
102868 else
102869   if test x$gcc_no_link = xyes; then
102870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102872    { (exit 1); exit 1; }; }
102873 fi
102874 cat >conftest.$ac_ext <<_ACEOF
102875 /* confdefs.h.  */
102876 _ACEOF
102877 cat confdefs.h >>conftest.$ac_ext
102878 cat >>conftest.$ac_ext <<_ACEOF
102879 /* end confdefs.h.  */
102880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102882 #define $ac_func innocuous_$ac_func
102883
102884 /* System header to define __stub macros and hopefully few prototypes,
102885     which can conflict with char $ac_func (); below.
102886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102887     <limits.h> exists even on freestanding compilers.  */
102888
102889 #ifdef __STDC__
102890 # include <limits.h>
102891 #else
102892 # include <assert.h>
102893 #endif
102894
102895 #undef $ac_func
102896
102897 /* Override any gcc2 internal prototype to avoid an error.  */
102898 #ifdef __cplusplus
102899 extern "C"
102900 {
102901 #endif
102902 /* We use char because int might match the return type of a gcc2
102903    builtin and then its argument prototype would still apply.  */
102904 char $ac_func ();
102905 /* The GNU C library defines this for functions which it implements
102906     to always fail with ENOSYS.  Some functions are actually named
102907     something starting with __ and the normal name is an alias.  */
102908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102909 choke me
102910 #else
102911 char (*f) () = $ac_func;
102912 #endif
102913 #ifdef __cplusplus
102914 }
102915 #endif
102916
102917 int
102918 main ()
102919 {
102920 return f != $ac_func;
102921   ;
102922   return 0;
102923 }
102924 _ACEOF
102925 rm -f conftest.$ac_objext conftest$ac_exeext
102926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102927   (eval $ac_link) 2>conftest.er1
102928   ac_status=$?
102929   grep -v '^ *+' conftest.er1 >conftest.err
102930   rm -f conftest.er1
102931   cat conftest.err >&5
102932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102933   (exit $ac_status); } &&
102934          { ac_try='test -z "$ac_c_werror_flag"
102935                          || test ! -s conftest.err'
102936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102937   (eval $ac_try) 2>&5
102938   ac_status=$?
102939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102940   (exit $ac_status); }; } &&
102941          { ac_try='test -s conftest$ac_exeext'
102942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102943   (eval $ac_try) 2>&5
102944   ac_status=$?
102945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102946   (exit $ac_status); }; }; then
102947   eval "$as_ac_var=yes"
102948 else
102949   echo "$as_me: failed program was:" >&5
102950 sed 's/^/| /' conftest.$ac_ext >&5
102951
102952 eval "$as_ac_var=no"
102953 fi
102954 rm -f conftest.err conftest.$ac_objext \
102955       conftest$ac_exeext conftest.$ac_ext
102956 fi
102957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102959 if test `eval echo '${'$as_ac_var'}'` = yes; then
102960   cat >>confdefs.h <<_ACEOF
102961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102962 _ACEOF
102963
102964 else
102965   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
102966 fi
102967 done
102968
102969
102970           if test x$ac_cv_func_copysignl = x"yes"; then
102971
102972 for ac_func in __signbitl
102973 do
102974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102975 echo "$as_me:$LINENO: checking for $ac_func" >&5
102976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102977 if eval "test \"\${$as_ac_var+set}\" = set"; then
102978   echo $ECHO_N "(cached) $ECHO_C" >&6
102979 else
102980   if test x$gcc_no_link = xyes; then
102981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102983    { (exit 1); exit 1; }; }
102984 fi
102985 cat >conftest.$ac_ext <<_ACEOF
102986 /* confdefs.h.  */
102987 _ACEOF
102988 cat confdefs.h >>conftest.$ac_ext
102989 cat >>conftest.$ac_ext <<_ACEOF
102990 /* end confdefs.h.  */
102991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102993 #define $ac_func innocuous_$ac_func
102994
102995 /* System header to define __stub macros and hopefully few prototypes,
102996     which can conflict with char $ac_func (); below.
102997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102998     <limits.h> exists even on freestanding compilers.  */
102999
103000 #ifdef __STDC__
103001 # include <limits.h>
103002 #else
103003 # include <assert.h>
103004 #endif
103005
103006 #undef $ac_func
103007
103008 /* Override any gcc2 internal prototype to avoid an error.  */
103009 #ifdef __cplusplus
103010 extern "C"
103011 {
103012 #endif
103013 /* We use char because int might match the return type of a gcc2
103014    builtin and then its argument prototype would still apply.  */
103015 char $ac_func ();
103016 /* The GNU C library defines this for functions which it implements
103017     to always fail with ENOSYS.  Some functions are actually named
103018     something starting with __ and the normal name is an alias.  */
103019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103020 choke me
103021 #else
103022 char (*f) () = $ac_func;
103023 #endif
103024 #ifdef __cplusplus
103025 }
103026 #endif
103027
103028 int
103029 main ()
103030 {
103031 return f != $ac_func;
103032   ;
103033   return 0;
103034 }
103035 _ACEOF
103036 rm -f conftest.$ac_objext conftest$ac_exeext
103037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103038   (eval $ac_link) 2>conftest.er1
103039   ac_status=$?
103040   grep -v '^ *+' conftest.er1 >conftest.err
103041   rm -f conftest.er1
103042   cat conftest.err >&5
103043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103044   (exit $ac_status); } &&
103045          { ac_try='test -z "$ac_c_werror_flag"
103046                          || test ! -s conftest.err'
103047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103048   (eval $ac_try) 2>&5
103049   ac_status=$?
103050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103051   (exit $ac_status); }; } &&
103052          { ac_try='test -s conftest$ac_exeext'
103053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103054   (eval $ac_try) 2>&5
103055   ac_status=$?
103056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103057   (exit $ac_status); }; }; then
103058   eval "$as_ac_var=yes"
103059 else
103060   echo "$as_me: failed program was:" >&5
103061 sed 's/^/| /' conftest.$ac_ext >&5
103062
103063 eval "$as_ac_var=no"
103064 fi
103065 rm -f conftest.err conftest.$ac_objext \
103066       conftest$ac_exeext conftest.$ac_ext
103067 fi
103068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103070 if test `eval echo '${'$as_ac_var'}'` = yes; then
103071   cat >>confdefs.h <<_ACEOF
103072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103073 _ACEOF
103074
103075 else
103076   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103077 fi
103078 done
103079
103080   fi
103081
103082   # Used in libmath/Makefile.am.
103083   if test -n "$LIBMATHOBJS"; then
103084     need_libmath=yes
103085   fi
103086
103087
103088     cat >>confdefs.h <<\_ACEOF
103089 #define HAVE_HYPOT 1
103090 _ACEOF
103091
103092     cat >>confdefs.h <<\_ACEOF
103093 #define HAVE_ISINF 1
103094 _ACEOF
103095
103096     cat >>confdefs.h <<\_ACEOF
103097 #define HAVE_ISNAN 1
103098 _ACEOF
103099
103100     ;;
103101   *-qnx6.1* | *-qnx6.2*)
103102     SECTION_FLAGS='-ffunction-sections -fdata-sections'
103103
103104
103105   # If we're not using GNU ld, then there's no point in even trying these
103106   # tests.  Check for that first.  We should have already tested for gld
103107   # by now (in libtool), but require it now just to be safe...
103108   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103109   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103110
103111
103112
103113   # The name set by libtool depends on the version of libtool.  Shame on us
103114   # for depending on an impl detail, but c'est la vie.  Older versions used
103115   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103116   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103117   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
103118   # set (hence we're using an older libtool), then set it.
103119   if test x${with_gnu_ld+set} != xset; then
103120     if test x${ac_cv_prog_gnu_ld+set} != xset; then
103121       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
103122       with_gnu_ld=no
103123     else
103124       with_gnu_ld=$ac_cv_prog_gnu_ld
103125     fi
103126   fi
103127
103128   # Start by getting the version number.  I think the libtool test already
103129   # does some of this, but throws away the result.
103130   glibcxx_ld_is_gold=no
103131   if test x"$with_gnu_ld" = x"yes"; then
103132     echo "$as_me:$LINENO: checking for ld version" >&5
103133 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103134
103135     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103136       glibcxx_ld_is_gold=yes
103137     fi
103138     ldver=`$LD --version 2>/dev/null | head -1 | \
103139            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103140
103141     glibcxx_gnu_ld_version=`echo $ldver | \
103142            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103143     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103144 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103145   fi
103146
103147   # Set --gc-sections.
103148   glibcxx_have_gc_sections=no
103149   if test "$glibcxx_ld_is_gold" = "yes"; then
103150     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103151       glibcxx_have_gc_sections=yes
103152     fi
103153   else
103154     glibcxx_gcsections_min_ld=21602
103155     if test x"$with_gnu_ld" = x"yes" &&
103156         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103157       glibcxx_have_gc_sections=yes
103158     fi
103159   fi
103160   if test "$glibcxx_have_gc_sections" = "yes"; then
103161     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
103162     # NB: This flag only works reliably after 2.16.1. Configure tests
103163     # for this are difficult, so hard wire a value that should work.
103164
103165     ac_test_CFLAGS="${CFLAGS+set}"
103166     ac_save_CFLAGS="$CFLAGS"
103167     CFLAGS='-Wl,--gc-sections'
103168
103169     # Check for -Wl,--gc-sections
103170     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103171 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103172     if test x$gcc_no_link = xyes; then
103173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103175    { (exit 1); exit 1; }; }
103176 fi
103177 cat >conftest.$ac_ext <<_ACEOF
103178 /* confdefs.h.  */
103179 _ACEOF
103180 cat confdefs.h >>conftest.$ac_ext
103181 cat >>conftest.$ac_ext <<_ACEOF
103182 /* end confdefs.h.  */
103183  int one(void) { return 1; }
103184      int two(void) { return 2; }
103185
103186 int
103187 main ()
103188 {
103189  two();
103190   ;
103191   return 0;
103192 }
103193 _ACEOF
103194 rm -f conftest.$ac_objext conftest$ac_exeext
103195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103196   (eval $ac_link) 2>conftest.er1
103197   ac_status=$?
103198   grep -v '^ *+' conftest.er1 >conftest.err
103199   rm -f conftest.er1
103200   cat conftest.err >&5
103201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103202   (exit $ac_status); } &&
103203          { ac_try='test -z "$ac_c_werror_flag"
103204                          || test ! -s conftest.err'
103205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103206   (eval $ac_try) 2>&5
103207   ac_status=$?
103208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103209   (exit $ac_status); }; } &&
103210          { ac_try='test -s conftest$ac_exeext'
103211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103212   (eval $ac_try) 2>&5
103213   ac_status=$?
103214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103215   (exit $ac_status); }; }; then
103216   ac_gcsections=yes
103217 else
103218   echo "$as_me: failed program was:" >&5
103219 sed 's/^/| /' conftest.$ac_ext >&5
103220
103221 ac_gcsections=no
103222 fi
103223 rm -f conftest.err conftest.$ac_objext \
103224       conftest$ac_exeext conftest.$ac_ext
103225     if test "$ac_gcsections" = "yes"; then
103226       rm -f conftest.c
103227       touch conftest.c
103228       if $CC -c conftest.c; then
103229         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103230            grep "Warning: gc-sections option ignored" > /dev/null; then
103231           ac_gcsections=no
103232         fi
103233       fi
103234       rm -f conftest.c conftest.o conftest
103235     fi
103236     if test "$ac_gcsections" = "yes"; then
103237       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103238     fi
103239     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103240 echo "${ECHO_T}$ac_gcsections" >&6
103241
103242     if test "$ac_test_CFLAGS" = set; then
103243       CFLAGS="$ac_save_CFLAGS"
103244     else
103245       # this is the suspicious part
103246       CFLAGS=''
103247     fi
103248   fi
103249
103250   # Set -z,relro.
103251   # Note this is only for shared objects.
103252   ac_ld_relro=no
103253   if test x"$with_gnu_ld" = x"yes"; then
103254     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103255 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103256     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
103257     if test -n "$cxx_z_relo"; then
103258       OPT_LDFLAGS="-Wl,-z,relro"
103259       ac_ld_relro=yes
103260     fi
103261     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
103262 echo "${ECHO_T}$ac_ld_relro" >&6
103263   fi
103264
103265   # Set linker optimization flags.
103266   if test x"$with_gnu_ld" = x"yes"; then
103267     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
103268   fi
103269
103270
103271
103272
103273
103274
103275 echo "$as_me:$LINENO: checking for main in -lm" >&5
103276 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
103277 if test "${ac_cv_lib_m_main+set}" = set; then
103278   echo $ECHO_N "(cached) $ECHO_C" >&6
103279 else
103280   ac_check_lib_save_LIBS=$LIBS
103281 LIBS="-lm  $LIBS"
103282 if test x$gcc_no_link = xyes; then
103283   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103285    { (exit 1); exit 1; }; }
103286 fi
103287 cat >conftest.$ac_ext <<_ACEOF
103288 /* confdefs.h.  */
103289 _ACEOF
103290 cat confdefs.h >>conftest.$ac_ext
103291 cat >>conftest.$ac_ext <<_ACEOF
103292 /* end confdefs.h.  */
103293
103294
103295 int
103296 main ()
103297 {
103298 main ();
103299   ;
103300   return 0;
103301 }
103302 _ACEOF
103303 rm -f conftest.$ac_objext conftest$ac_exeext
103304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103305   (eval $ac_link) 2>conftest.er1
103306   ac_status=$?
103307   grep -v '^ *+' conftest.er1 >conftest.err
103308   rm -f conftest.er1
103309   cat conftest.err >&5
103310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103311   (exit $ac_status); } &&
103312          { ac_try='test -z "$ac_c_werror_flag"
103313                          || test ! -s conftest.err'
103314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103315   (eval $ac_try) 2>&5
103316   ac_status=$?
103317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103318   (exit $ac_status); }; } &&
103319          { ac_try='test -s conftest$ac_exeext'
103320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103321   (eval $ac_try) 2>&5
103322   ac_status=$?
103323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103324   (exit $ac_status); }; }; then
103325   ac_cv_lib_m_main=yes
103326 else
103327   echo "$as_me: failed program was:" >&5
103328 sed 's/^/| /' conftest.$ac_ext >&5
103329
103330 ac_cv_lib_m_main=no
103331 fi
103332 rm -f conftest.err conftest.$ac_objext \
103333       conftest$ac_exeext conftest.$ac_ext
103334 LIBS=$ac_check_lib_save_LIBS
103335 fi
103336 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
103337 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
103338 if test $ac_cv_lib_m_main = yes; then
103339   cat >>confdefs.h <<_ACEOF
103340 #define HAVE_LIBM 1
103341 _ACEOF
103342
103343   LIBS="-lm $LIBS"
103344
103345 fi
103346
103347
103348 for ac_func in copysignf
103349 do
103350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103351 echo "$as_me:$LINENO: checking for $ac_func" >&5
103352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103353 if eval "test \"\${$as_ac_var+set}\" = set"; then
103354   echo $ECHO_N "(cached) $ECHO_C" >&6
103355 else
103356   if test x$gcc_no_link = xyes; then
103357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103359    { (exit 1); exit 1; }; }
103360 fi
103361 cat >conftest.$ac_ext <<_ACEOF
103362 /* confdefs.h.  */
103363 _ACEOF
103364 cat confdefs.h >>conftest.$ac_ext
103365 cat >>conftest.$ac_ext <<_ACEOF
103366 /* end confdefs.h.  */
103367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103369 #define $ac_func innocuous_$ac_func
103370
103371 /* System header to define __stub macros and hopefully few prototypes,
103372     which can conflict with char $ac_func (); below.
103373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103374     <limits.h> exists even on freestanding compilers.  */
103375
103376 #ifdef __STDC__
103377 # include <limits.h>
103378 #else
103379 # include <assert.h>
103380 #endif
103381
103382 #undef $ac_func
103383
103384 /* Override any gcc2 internal prototype to avoid an error.  */
103385 #ifdef __cplusplus
103386 extern "C"
103387 {
103388 #endif
103389 /* We use char because int might match the return type of a gcc2
103390    builtin and then its argument prototype would still apply.  */
103391 char $ac_func ();
103392 /* The GNU C library defines this for functions which it implements
103393     to always fail with ENOSYS.  Some functions are actually named
103394     something starting with __ and the normal name is an alias.  */
103395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103396 choke me
103397 #else
103398 char (*f) () = $ac_func;
103399 #endif
103400 #ifdef __cplusplus
103401 }
103402 #endif
103403
103404 int
103405 main ()
103406 {
103407 return f != $ac_func;
103408   ;
103409   return 0;
103410 }
103411 _ACEOF
103412 rm -f conftest.$ac_objext conftest$ac_exeext
103413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103414   (eval $ac_link) 2>conftest.er1
103415   ac_status=$?
103416   grep -v '^ *+' conftest.er1 >conftest.err
103417   rm -f conftest.er1
103418   cat conftest.err >&5
103419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103420   (exit $ac_status); } &&
103421          { ac_try='test -z "$ac_c_werror_flag"
103422                          || test ! -s conftest.err'
103423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103424   (eval $ac_try) 2>&5
103425   ac_status=$?
103426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103427   (exit $ac_status); }; } &&
103428          { ac_try='test -s conftest$ac_exeext'
103429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103430   (eval $ac_try) 2>&5
103431   ac_status=$?
103432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103433   (exit $ac_status); }; }; then
103434   eval "$as_ac_var=yes"
103435 else
103436   echo "$as_me: failed program was:" >&5
103437 sed 's/^/| /' conftest.$ac_ext >&5
103438
103439 eval "$as_ac_var=no"
103440 fi
103441 rm -f conftest.err conftest.$ac_objext \
103442       conftest$ac_exeext conftest.$ac_ext
103443 fi
103444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103446 if test `eval echo '${'$as_ac_var'}'` = yes; then
103447   cat >>confdefs.h <<_ACEOF
103448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103449 _ACEOF
103450
103451 else
103452   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
103453 fi
103454 done
103455
103456
103457
103458 for ac_func in __signbit
103459 do
103460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103461 echo "$as_me:$LINENO: checking for $ac_func" >&5
103462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103463 if eval "test \"\${$as_ac_var+set}\" = set"; then
103464   echo $ECHO_N "(cached) $ECHO_C" >&6
103465 else
103466   if test x$gcc_no_link = xyes; then
103467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103469    { (exit 1); exit 1; }; }
103470 fi
103471 cat >conftest.$ac_ext <<_ACEOF
103472 /* confdefs.h.  */
103473 _ACEOF
103474 cat confdefs.h >>conftest.$ac_ext
103475 cat >>conftest.$ac_ext <<_ACEOF
103476 /* end confdefs.h.  */
103477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103479 #define $ac_func innocuous_$ac_func
103480
103481 /* System header to define __stub macros and hopefully few prototypes,
103482     which can conflict with char $ac_func (); below.
103483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103484     <limits.h> exists even on freestanding compilers.  */
103485
103486 #ifdef __STDC__
103487 # include <limits.h>
103488 #else
103489 # include <assert.h>
103490 #endif
103491
103492 #undef $ac_func
103493
103494 /* Override any gcc2 internal prototype to avoid an error.  */
103495 #ifdef __cplusplus
103496 extern "C"
103497 {
103498 #endif
103499 /* We use char because int might match the return type of a gcc2
103500    builtin and then its argument prototype would still apply.  */
103501 char $ac_func ();
103502 /* The GNU C library defines this for functions which it implements
103503     to always fail with ENOSYS.  Some functions are actually named
103504     something starting with __ and the normal name is an alias.  */
103505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103506 choke me
103507 #else
103508 char (*f) () = $ac_func;
103509 #endif
103510 #ifdef __cplusplus
103511 }
103512 #endif
103513
103514 int
103515 main ()
103516 {
103517 return f != $ac_func;
103518   ;
103519   return 0;
103520 }
103521 _ACEOF
103522 rm -f conftest.$ac_objext conftest$ac_exeext
103523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103524   (eval $ac_link) 2>conftest.er1
103525   ac_status=$?
103526   grep -v '^ *+' conftest.er1 >conftest.err
103527   rm -f conftest.er1
103528   cat conftest.err >&5
103529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103530   (exit $ac_status); } &&
103531          { ac_try='test -z "$ac_c_werror_flag"
103532                          || test ! -s conftest.err'
103533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103534   (eval $ac_try) 2>&5
103535   ac_status=$?
103536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103537   (exit $ac_status); }; } &&
103538          { ac_try='test -s conftest$ac_exeext'
103539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103540   (eval $ac_try) 2>&5
103541   ac_status=$?
103542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103543   (exit $ac_status); }; }; then
103544   eval "$as_ac_var=yes"
103545 else
103546   echo "$as_me: failed program was:" >&5
103547 sed 's/^/| /' conftest.$ac_ext >&5
103548
103549 eval "$as_ac_var=no"
103550 fi
103551 rm -f conftest.err conftest.$ac_objext \
103552       conftest$ac_exeext conftest.$ac_ext
103553 fi
103554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103556 if test `eval echo '${'$as_ac_var'}'` = yes; then
103557   cat >>confdefs.h <<_ACEOF
103558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103559 _ACEOF
103560
103561 else
103562   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
103563 fi
103564 done
103565
103566
103567
103568 for ac_func in __signbitf
103569 do
103570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103571 echo "$as_me:$LINENO: checking for $ac_func" >&5
103572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103573 if eval "test \"\${$as_ac_var+set}\" = set"; then
103574   echo $ECHO_N "(cached) $ECHO_C" >&6
103575 else
103576   if test x$gcc_no_link = xyes; then
103577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103579    { (exit 1); exit 1; }; }
103580 fi
103581 cat >conftest.$ac_ext <<_ACEOF
103582 /* confdefs.h.  */
103583 _ACEOF
103584 cat confdefs.h >>conftest.$ac_ext
103585 cat >>conftest.$ac_ext <<_ACEOF
103586 /* end confdefs.h.  */
103587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103589 #define $ac_func innocuous_$ac_func
103590
103591 /* System header to define __stub macros and hopefully few prototypes,
103592     which can conflict with char $ac_func (); below.
103593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103594     <limits.h> exists even on freestanding compilers.  */
103595
103596 #ifdef __STDC__
103597 # include <limits.h>
103598 #else
103599 # include <assert.h>
103600 #endif
103601
103602 #undef $ac_func
103603
103604 /* Override any gcc2 internal prototype to avoid an error.  */
103605 #ifdef __cplusplus
103606 extern "C"
103607 {
103608 #endif
103609 /* We use char because int might match the return type of a gcc2
103610    builtin and then its argument prototype would still apply.  */
103611 char $ac_func ();
103612 /* The GNU C library defines this for functions which it implements
103613     to always fail with ENOSYS.  Some functions are actually named
103614     something starting with __ and the normal name is an alias.  */
103615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103616 choke me
103617 #else
103618 char (*f) () = $ac_func;
103619 #endif
103620 #ifdef __cplusplus
103621 }
103622 #endif
103623
103624 int
103625 main ()
103626 {
103627 return f != $ac_func;
103628   ;
103629   return 0;
103630 }
103631 _ACEOF
103632 rm -f conftest.$ac_objext conftest$ac_exeext
103633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103634   (eval $ac_link) 2>conftest.er1
103635   ac_status=$?
103636   grep -v '^ *+' conftest.er1 >conftest.err
103637   rm -f conftest.er1
103638   cat conftest.err >&5
103639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103640   (exit $ac_status); } &&
103641          { ac_try='test -z "$ac_c_werror_flag"
103642                          || test ! -s conftest.err'
103643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103644   (eval $ac_try) 2>&5
103645   ac_status=$?
103646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103647   (exit $ac_status); }; } &&
103648          { ac_try='test -s conftest$ac_exeext'
103649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103650   (eval $ac_try) 2>&5
103651   ac_status=$?
103652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103653   (exit $ac_status); }; }; then
103654   eval "$as_ac_var=yes"
103655 else
103656   echo "$as_me: failed program was:" >&5
103657 sed 's/^/| /' conftest.$ac_ext >&5
103658
103659 eval "$as_ac_var=no"
103660 fi
103661 rm -f conftest.err conftest.$ac_objext \
103662       conftest$ac_exeext conftest.$ac_ext
103663 fi
103664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103666 if test `eval echo '${'$as_ac_var'}'` = yes; then
103667   cat >>confdefs.h <<_ACEOF
103668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103669 _ACEOF
103670
103671 else
103672   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
103673 fi
103674 done
103675
103676
103677           if test x$ac_cv_func_copysignl = x"yes"; then
103678
103679 for ac_func in __signbitl
103680 do
103681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103682 echo "$as_me:$LINENO: checking for $ac_func" >&5
103683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103684 if eval "test \"\${$as_ac_var+set}\" = set"; then
103685   echo $ECHO_N "(cached) $ECHO_C" >&6
103686 else
103687   if test x$gcc_no_link = xyes; then
103688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103690    { (exit 1); exit 1; }; }
103691 fi
103692 cat >conftest.$ac_ext <<_ACEOF
103693 /* confdefs.h.  */
103694 _ACEOF
103695 cat confdefs.h >>conftest.$ac_ext
103696 cat >>conftest.$ac_ext <<_ACEOF
103697 /* end confdefs.h.  */
103698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103700 #define $ac_func innocuous_$ac_func
103701
103702 /* System header to define __stub macros and hopefully few prototypes,
103703     which can conflict with char $ac_func (); below.
103704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103705     <limits.h> exists even on freestanding compilers.  */
103706
103707 #ifdef __STDC__
103708 # include <limits.h>
103709 #else
103710 # include <assert.h>
103711 #endif
103712
103713 #undef $ac_func
103714
103715 /* Override any gcc2 internal prototype to avoid an error.  */
103716 #ifdef __cplusplus
103717 extern "C"
103718 {
103719 #endif
103720 /* We use char because int might match the return type of a gcc2
103721    builtin and then its argument prototype would still apply.  */
103722 char $ac_func ();
103723 /* The GNU C library defines this for functions which it implements
103724     to always fail with ENOSYS.  Some functions are actually named
103725     something starting with __ and the normal name is an alias.  */
103726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103727 choke me
103728 #else
103729 char (*f) () = $ac_func;
103730 #endif
103731 #ifdef __cplusplus
103732 }
103733 #endif
103734
103735 int
103736 main ()
103737 {
103738 return f != $ac_func;
103739   ;
103740   return 0;
103741 }
103742 _ACEOF
103743 rm -f conftest.$ac_objext conftest$ac_exeext
103744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103745   (eval $ac_link) 2>conftest.er1
103746   ac_status=$?
103747   grep -v '^ *+' conftest.er1 >conftest.err
103748   rm -f conftest.er1
103749   cat conftest.err >&5
103750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103751   (exit $ac_status); } &&
103752          { ac_try='test -z "$ac_c_werror_flag"
103753                          || test ! -s conftest.err'
103754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103755   (eval $ac_try) 2>&5
103756   ac_status=$?
103757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103758   (exit $ac_status); }; } &&
103759          { ac_try='test -s conftest$ac_exeext'
103760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103761   (eval $ac_try) 2>&5
103762   ac_status=$?
103763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103764   (exit $ac_status); }; }; then
103765   eval "$as_ac_var=yes"
103766 else
103767   echo "$as_me: failed program was:" >&5
103768 sed 's/^/| /' conftest.$ac_ext >&5
103769
103770 eval "$as_ac_var=no"
103771 fi
103772 rm -f conftest.err conftest.$ac_objext \
103773       conftest$ac_exeext conftest.$ac_ext
103774 fi
103775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103777 if test `eval echo '${'$as_ac_var'}'` = yes; then
103778   cat >>confdefs.h <<_ACEOF
103779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103780 _ACEOF
103781
103782 else
103783   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
103784 fi
103785 done
103786
103787   fi
103788
103789   # Used in libmath/Makefile.am.
103790   if test -n "$LIBMATHOBJS"; then
103791     need_libmath=yes
103792   fi
103793
103794
103795     cat >>confdefs.h <<\_ACEOF
103796 #define HAVE_COSF 1
103797 _ACEOF
103798
103799     cat >>confdefs.h <<\_ACEOF
103800 #define HAVE_COSL 1
103801 _ACEOF
103802
103803     cat >>confdefs.h <<\_ACEOF
103804 #define HAVE_COSHF 1
103805 _ACEOF
103806
103807     cat >>confdefs.h <<\_ACEOF
103808 #define HAVE_COSHL 1
103809 _ACEOF
103810
103811     cat >>confdefs.h <<\_ACEOF
103812 #define HAVE_LOGF 1
103813 _ACEOF
103814
103815     cat >>confdefs.h <<\_ACEOF
103816 #define HAVE_LOGL 1
103817 _ACEOF
103818
103819     cat >>confdefs.h <<\_ACEOF
103820 #define HAVE_LOG10F 1
103821 _ACEOF
103822
103823     cat >>confdefs.h <<\_ACEOF
103824 #define HAVE_LOG10L 1
103825 _ACEOF
103826
103827     cat >>confdefs.h <<\_ACEOF
103828 #define HAVE_SINF 1
103829 _ACEOF
103830
103831     cat >>confdefs.h <<\_ACEOF
103832 #define HAVE_SINL 1
103833 _ACEOF
103834
103835     cat >>confdefs.h <<\_ACEOF
103836 #define HAVE_SINHF 1
103837 _ACEOF
103838
103839     cat >>confdefs.h <<\_ACEOF
103840 #define HAVE_SINHL 1
103841 _ACEOF
103842
103843     ;;
103844   *-solaris*)
103845     case "$target" in
103846       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
103847
103848   # If we're not using GNU ld, then there's no point in even trying these
103849   # tests.  Check for that first.  We should have already tested for gld
103850   # by now (in libtool), but require it now just to be safe...
103851   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
103852   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
103853
103854
103855
103856   # The name set by libtool depends on the version of libtool.  Shame on us
103857   # for depending on an impl detail, but c'est la vie.  Older versions used
103858   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
103859   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
103860   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
103861   # set (hence we're using an older libtool), then set it.
103862   if test x${with_gnu_ld+set} != xset; then
103863     if test x${ac_cv_prog_gnu_ld+set} != xset; then
103864       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
103865       with_gnu_ld=no
103866     else
103867       with_gnu_ld=$ac_cv_prog_gnu_ld
103868     fi
103869   fi
103870
103871   # Start by getting the version number.  I think the libtool test already
103872   # does some of this, but throws away the result.
103873   glibcxx_ld_is_gold=no
103874   if test x"$with_gnu_ld" = x"yes"; then
103875     echo "$as_me:$LINENO: checking for ld version" >&5
103876 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
103877
103878     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
103879       glibcxx_ld_is_gold=yes
103880     fi
103881     ldver=`$LD --version 2>/dev/null | head -1 | \
103882            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
103883
103884     glibcxx_gnu_ld_version=`echo $ldver | \
103885            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
103886     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
103887 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
103888   fi
103889
103890   # Set --gc-sections.
103891   glibcxx_have_gc_sections=no
103892   if test "$glibcxx_ld_is_gold" = "yes"; then
103893     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
103894       glibcxx_have_gc_sections=yes
103895     fi
103896   else
103897     glibcxx_gcsections_min_ld=21602
103898     if test x"$with_gnu_ld" = x"yes" &&
103899         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
103900       glibcxx_have_gc_sections=yes
103901     fi
103902   fi
103903   if test "$glibcxx_have_gc_sections" = "yes"; then
103904     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
103905     # NB: This flag only works reliably after 2.16.1. Configure tests
103906     # for this are difficult, so hard wire a value that should work.
103907
103908     ac_test_CFLAGS="${CFLAGS+set}"
103909     ac_save_CFLAGS="$CFLAGS"
103910     CFLAGS='-Wl,--gc-sections'
103911
103912     # Check for -Wl,--gc-sections
103913     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
103914 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
103915     if test x$gcc_no_link = xyes; then
103916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103918    { (exit 1); exit 1; }; }
103919 fi
103920 cat >conftest.$ac_ext <<_ACEOF
103921 /* confdefs.h.  */
103922 _ACEOF
103923 cat confdefs.h >>conftest.$ac_ext
103924 cat >>conftest.$ac_ext <<_ACEOF
103925 /* end confdefs.h.  */
103926  int one(void) { return 1; }
103927      int two(void) { return 2; }
103928
103929 int
103930 main ()
103931 {
103932  two();
103933   ;
103934   return 0;
103935 }
103936 _ACEOF
103937 rm -f conftest.$ac_objext conftest$ac_exeext
103938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103939   (eval $ac_link) 2>conftest.er1
103940   ac_status=$?
103941   grep -v '^ *+' conftest.er1 >conftest.err
103942   rm -f conftest.er1
103943   cat conftest.err >&5
103944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103945   (exit $ac_status); } &&
103946          { ac_try='test -z "$ac_c_werror_flag"
103947                          || test ! -s conftest.err'
103948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103949   (eval $ac_try) 2>&5
103950   ac_status=$?
103951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103952   (exit $ac_status); }; } &&
103953          { ac_try='test -s conftest$ac_exeext'
103954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103955   (eval $ac_try) 2>&5
103956   ac_status=$?
103957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103958   (exit $ac_status); }; }; then
103959   ac_gcsections=yes
103960 else
103961   echo "$as_me: failed program was:" >&5
103962 sed 's/^/| /' conftest.$ac_ext >&5
103963
103964 ac_gcsections=no
103965 fi
103966 rm -f conftest.err conftest.$ac_objext \
103967       conftest$ac_exeext conftest.$ac_ext
103968     if test "$ac_gcsections" = "yes"; then
103969       rm -f conftest.c
103970       touch conftest.c
103971       if $CC -c conftest.c; then
103972         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
103973            grep "Warning: gc-sections option ignored" > /dev/null; then
103974           ac_gcsections=no
103975         fi
103976       fi
103977       rm -f conftest.c conftest.o conftest
103978     fi
103979     if test "$ac_gcsections" = "yes"; then
103980       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
103981     fi
103982     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
103983 echo "${ECHO_T}$ac_gcsections" >&6
103984
103985     if test "$ac_test_CFLAGS" = set; then
103986       CFLAGS="$ac_save_CFLAGS"
103987     else
103988       # this is the suspicious part
103989       CFLAGS=''
103990     fi
103991   fi
103992
103993   # Set -z,relro.
103994   # Note this is only for shared objects.
103995   ac_ld_relro=no
103996   if test x"$with_gnu_ld" = x"yes"; then
103997     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
103998 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
103999     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104000     if test -n "$cxx_z_relo"; then
104001       OPT_LDFLAGS="-Wl,-z,relro"
104002       ac_ld_relro=yes
104003     fi
104004     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104005 echo "${ECHO_T}$ac_ld_relro" >&6
104006   fi
104007
104008   # Set linker optimization flags.
104009   if test x"$with_gnu_ld" = x"yes"; then
104010     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104011   fi
104012
104013
104014
104015
104016          cat >>confdefs.h <<\_ACEOF
104017 #define HAVE_MBSTATE_T 1
104018 _ACEOF
104019
104020          cat >>confdefs.h <<\_ACEOF
104021 #define HAVE_FINITE 1
104022 _ACEOF
104023
104024          cat >>confdefs.h <<\_ACEOF
104025 #define HAVE_FPCLASS 1
104026 _ACEOF
104027
104028          # All of the dependencies for wide character support are here, so
104029          # turn it on.
104030          cat >>confdefs.h <<\_ACEOF
104031 #define _GLIBCXX_USE_WCHAR_T 1
104032 _ACEOF
104033
104034
104035          cat >>confdefs.h <<\_ACEOF
104036 #define HAVE_LIBM 1
104037 _ACEOF
104038
104039         ;;
104040     esac
104041     case "$target" in
104042       *-*-solaris2.10)
104043       # These two C99 functions are present only in Solaris >= 10
104044       cat >>confdefs.h <<\_ACEOF
104045 #define HAVE_STRTOF 1
104046 _ACEOF
104047
104048       cat >>confdefs.h <<\_ACEOF
104049 #define HAVE_STRTOLD 1
104050 _ACEOF
104051
104052      ;;
104053     esac
104054     cat >>confdefs.h <<\_ACEOF
104055 #define HAVE_COPYSIGN 1
104056 _ACEOF
104057
104058     cat >>confdefs.h <<\_ACEOF
104059 #define HAVE_ISNAN 1
104060 _ACEOF
104061
104062     cat >>confdefs.h <<\_ACEOF
104063 #define HAVE_ISNANF 1
104064 _ACEOF
104065
104066     cat >>confdefs.h <<\_ACEOF
104067 #define HAVE_MODFF 1
104068 _ACEOF
104069
104070     cat >>confdefs.h <<\_ACEOF
104071 #define HAVE_HYPOT 1
104072 _ACEOF
104073
104074     ;;
104075   *-tpf)
104076     SECTION_FLAGS='-ffunction-sections -fdata-sections'
104077
104078
104079   # If we're not using GNU ld, then there's no point in even trying these
104080   # tests.  Check for that first.  We should have already tested for gld
104081   # by now (in libtool), but require it now just to be safe...
104082   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
104083   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
104084
104085
104086
104087   # The name set by libtool depends on the version of libtool.  Shame on us
104088   # for depending on an impl detail, but c'est la vie.  Older versions used
104089   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
104090   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
104091   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
104092   # set (hence we're using an older libtool), then set it.
104093   if test x${with_gnu_ld+set} != xset; then
104094     if test x${ac_cv_prog_gnu_ld+set} != xset; then
104095       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
104096       with_gnu_ld=no
104097     else
104098       with_gnu_ld=$ac_cv_prog_gnu_ld
104099     fi
104100   fi
104101
104102   # Start by getting the version number.  I think the libtool test already
104103   # does some of this, but throws away the result.
104104   glibcxx_ld_is_gold=no
104105   if test x"$with_gnu_ld" = x"yes"; then
104106     echo "$as_me:$LINENO: checking for ld version" >&5
104107 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
104108
104109     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
104110       glibcxx_ld_is_gold=yes
104111     fi
104112     ldver=`$LD --version 2>/dev/null | head -1 | \
104113            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
104114
104115     glibcxx_gnu_ld_version=`echo $ldver | \
104116            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
104117     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
104118 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
104119   fi
104120
104121   # Set --gc-sections.
104122   glibcxx_have_gc_sections=no
104123   if test "$glibcxx_ld_is_gold" = "yes"; then
104124     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
104125       glibcxx_have_gc_sections=yes
104126     fi
104127   else
104128     glibcxx_gcsections_min_ld=21602
104129     if test x"$with_gnu_ld" = x"yes" &&
104130         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
104131       glibcxx_have_gc_sections=yes
104132     fi
104133   fi
104134   if test "$glibcxx_have_gc_sections" = "yes"; then
104135     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
104136     # NB: This flag only works reliably after 2.16.1. Configure tests
104137     # for this are difficult, so hard wire a value that should work.
104138
104139     ac_test_CFLAGS="${CFLAGS+set}"
104140     ac_save_CFLAGS="$CFLAGS"
104141     CFLAGS='-Wl,--gc-sections'
104142
104143     # Check for -Wl,--gc-sections
104144     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
104145 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
104146     if test x$gcc_no_link = xyes; then
104147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104149    { (exit 1); exit 1; }; }
104150 fi
104151 cat >conftest.$ac_ext <<_ACEOF
104152 /* confdefs.h.  */
104153 _ACEOF
104154 cat confdefs.h >>conftest.$ac_ext
104155 cat >>conftest.$ac_ext <<_ACEOF
104156 /* end confdefs.h.  */
104157  int one(void) { return 1; }
104158      int two(void) { return 2; }
104159
104160 int
104161 main ()
104162 {
104163  two();
104164   ;
104165   return 0;
104166 }
104167 _ACEOF
104168 rm -f conftest.$ac_objext conftest$ac_exeext
104169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104170   (eval $ac_link) 2>conftest.er1
104171   ac_status=$?
104172   grep -v '^ *+' conftest.er1 >conftest.err
104173   rm -f conftest.er1
104174   cat conftest.err >&5
104175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104176   (exit $ac_status); } &&
104177          { ac_try='test -z "$ac_c_werror_flag"
104178                          || test ! -s conftest.err'
104179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104180   (eval $ac_try) 2>&5
104181   ac_status=$?
104182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104183   (exit $ac_status); }; } &&
104184          { ac_try='test -s conftest$ac_exeext'
104185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104186   (eval $ac_try) 2>&5
104187   ac_status=$?
104188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104189   (exit $ac_status); }; }; then
104190   ac_gcsections=yes
104191 else
104192   echo "$as_me: failed program was:" >&5
104193 sed 's/^/| /' conftest.$ac_ext >&5
104194
104195 ac_gcsections=no
104196 fi
104197 rm -f conftest.err conftest.$ac_objext \
104198       conftest$ac_exeext conftest.$ac_ext
104199     if test "$ac_gcsections" = "yes"; then
104200       rm -f conftest.c
104201       touch conftest.c
104202       if $CC -c conftest.c; then
104203         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
104204            grep "Warning: gc-sections option ignored" > /dev/null; then
104205           ac_gcsections=no
104206         fi
104207       fi
104208       rm -f conftest.c conftest.o conftest
104209     fi
104210     if test "$ac_gcsections" = "yes"; then
104211       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
104212     fi
104213     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
104214 echo "${ECHO_T}$ac_gcsections" >&6
104215
104216     if test "$ac_test_CFLAGS" = set; then
104217       CFLAGS="$ac_save_CFLAGS"
104218     else
104219       # this is the suspicious part
104220       CFLAGS=''
104221     fi
104222   fi
104223
104224   # Set -z,relro.
104225   # Note this is only for shared objects.
104226   ac_ld_relro=no
104227   if test x"$with_gnu_ld" = x"yes"; then
104228     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
104229 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
104230     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
104231     if test -n "$cxx_z_relo"; then
104232       OPT_LDFLAGS="-Wl,-z,relro"
104233       ac_ld_relro=yes
104234     fi
104235     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
104236 echo "${ECHO_T}$ac_ld_relro" >&6
104237   fi
104238
104239   # Set linker optimization flags.
104240   if test x"$with_gnu_ld" = x"yes"; then
104241     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
104242   fi
104243
104244
104245
104246
104247
104248
104249 echo "$as_me:$LINENO: checking for main in -lm" >&5
104250 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
104251 if test "${ac_cv_lib_m_main+set}" = set; then
104252   echo $ECHO_N "(cached) $ECHO_C" >&6
104253 else
104254   ac_check_lib_save_LIBS=$LIBS
104255 LIBS="-lm  $LIBS"
104256 if test x$gcc_no_link = xyes; then
104257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104259    { (exit 1); exit 1; }; }
104260 fi
104261 cat >conftest.$ac_ext <<_ACEOF
104262 /* confdefs.h.  */
104263 _ACEOF
104264 cat confdefs.h >>conftest.$ac_ext
104265 cat >>conftest.$ac_ext <<_ACEOF
104266 /* end confdefs.h.  */
104267
104268
104269 int
104270 main ()
104271 {
104272 main ();
104273   ;
104274   return 0;
104275 }
104276 _ACEOF
104277 rm -f conftest.$ac_objext conftest$ac_exeext
104278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104279   (eval $ac_link) 2>conftest.er1
104280   ac_status=$?
104281   grep -v '^ *+' conftest.er1 >conftest.err
104282   rm -f conftest.er1
104283   cat conftest.err >&5
104284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104285   (exit $ac_status); } &&
104286          { ac_try='test -z "$ac_c_werror_flag"
104287                          || test ! -s conftest.err'
104288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104289   (eval $ac_try) 2>&5
104290   ac_status=$?
104291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104292   (exit $ac_status); }; } &&
104293          { ac_try='test -s conftest$ac_exeext'
104294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104295   (eval $ac_try) 2>&5
104296   ac_status=$?
104297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104298   (exit $ac_status); }; }; then
104299   ac_cv_lib_m_main=yes
104300 else
104301   echo "$as_me: failed program was:" >&5
104302 sed 's/^/| /' conftest.$ac_ext >&5
104303
104304 ac_cv_lib_m_main=no
104305 fi
104306 rm -f conftest.err conftest.$ac_objext \
104307       conftest$ac_exeext conftest.$ac_ext
104308 LIBS=$ac_check_lib_save_LIBS
104309 fi
104310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
104311 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
104312 if test $ac_cv_lib_m_main = yes; then
104313   cat >>confdefs.h <<_ACEOF
104314 #define HAVE_LIBM 1
104315 _ACEOF
104316
104317   LIBS="-lm $LIBS"
104318
104319 fi
104320
104321
104322 for ac_func in copysignf
104323 do
104324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104325 echo "$as_me:$LINENO: checking for $ac_func" >&5
104326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104327 if eval "test \"\${$as_ac_var+set}\" = set"; then
104328   echo $ECHO_N "(cached) $ECHO_C" >&6
104329 else
104330   if test x$gcc_no_link = xyes; then
104331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104333    { (exit 1); exit 1; }; }
104334 fi
104335 cat >conftest.$ac_ext <<_ACEOF
104336 /* confdefs.h.  */
104337 _ACEOF
104338 cat confdefs.h >>conftest.$ac_ext
104339 cat >>conftest.$ac_ext <<_ACEOF
104340 /* end confdefs.h.  */
104341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104343 #define $ac_func innocuous_$ac_func
104344
104345 /* System header to define __stub macros and hopefully few prototypes,
104346     which can conflict with char $ac_func (); below.
104347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104348     <limits.h> exists even on freestanding compilers.  */
104349
104350 #ifdef __STDC__
104351 # include <limits.h>
104352 #else
104353 # include <assert.h>
104354 #endif
104355
104356 #undef $ac_func
104357
104358 /* Override any gcc2 internal prototype to avoid an error.  */
104359 #ifdef __cplusplus
104360 extern "C"
104361 {
104362 #endif
104363 /* We use char because int might match the return type of a gcc2
104364    builtin and then its argument prototype would still apply.  */
104365 char $ac_func ();
104366 /* The GNU C library defines this for functions which it implements
104367     to always fail with ENOSYS.  Some functions are actually named
104368     something starting with __ and the normal name is an alias.  */
104369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104370 choke me
104371 #else
104372 char (*f) () = $ac_func;
104373 #endif
104374 #ifdef __cplusplus
104375 }
104376 #endif
104377
104378 int
104379 main ()
104380 {
104381 return f != $ac_func;
104382   ;
104383   return 0;
104384 }
104385 _ACEOF
104386 rm -f conftest.$ac_objext conftest$ac_exeext
104387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104388   (eval $ac_link) 2>conftest.er1
104389   ac_status=$?
104390   grep -v '^ *+' conftest.er1 >conftest.err
104391   rm -f conftest.er1
104392   cat conftest.err >&5
104393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104394   (exit $ac_status); } &&
104395          { ac_try='test -z "$ac_c_werror_flag"
104396                          || test ! -s conftest.err'
104397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104398   (eval $ac_try) 2>&5
104399   ac_status=$?
104400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104401   (exit $ac_status); }; } &&
104402          { ac_try='test -s conftest$ac_exeext'
104403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104404   (eval $ac_try) 2>&5
104405   ac_status=$?
104406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104407   (exit $ac_status); }; }; then
104408   eval "$as_ac_var=yes"
104409 else
104410   echo "$as_me: failed program was:" >&5
104411 sed 's/^/| /' conftest.$ac_ext >&5
104412
104413 eval "$as_ac_var=no"
104414 fi
104415 rm -f conftest.err conftest.$ac_objext \
104416       conftest$ac_exeext conftest.$ac_ext
104417 fi
104418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104420 if test `eval echo '${'$as_ac_var'}'` = yes; then
104421   cat >>confdefs.h <<_ACEOF
104422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104423 _ACEOF
104424
104425 else
104426   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
104427 fi
104428 done
104429
104430
104431
104432 for ac_func in __signbit
104433 do
104434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104435 echo "$as_me:$LINENO: checking for $ac_func" >&5
104436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104437 if eval "test \"\${$as_ac_var+set}\" = set"; then
104438   echo $ECHO_N "(cached) $ECHO_C" >&6
104439 else
104440   if test x$gcc_no_link = xyes; then
104441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104443    { (exit 1); exit 1; }; }
104444 fi
104445 cat >conftest.$ac_ext <<_ACEOF
104446 /* confdefs.h.  */
104447 _ACEOF
104448 cat confdefs.h >>conftest.$ac_ext
104449 cat >>conftest.$ac_ext <<_ACEOF
104450 /* end confdefs.h.  */
104451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104453 #define $ac_func innocuous_$ac_func
104454
104455 /* System header to define __stub macros and hopefully few prototypes,
104456     which can conflict with char $ac_func (); below.
104457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104458     <limits.h> exists even on freestanding compilers.  */
104459
104460 #ifdef __STDC__
104461 # include <limits.h>
104462 #else
104463 # include <assert.h>
104464 #endif
104465
104466 #undef $ac_func
104467
104468 /* Override any gcc2 internal prototype to avoid an error.  */
104469 #ifdef __cplusplus
104470 extern "C"
104471 {
104472 #endif
104473 /* We use char because int might match the return type of a gcc2
104474    builtin and then its argument prototype would still apply.  */
104475 char $ac_func ();
104476 /* The GNU C library defines this for functions which it implements
104477     to always fail with ENOSYS.  Some functions are actually named
104478     something starting with __ and the normal name is an alias.  */
104479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104480 choke me
104481 #else
104482 char (*f) () = $ac_func;
104483 #endif
104484 #ifdef __cplusplus
104485 }
104486 #endif
104487
104488 int
104489 main ()
104490 {
104491 return f != $ac_func;
104492   ;
104493   return 0;
104494 }
104495 _ACEOF
104496 rm -f conftest.$ac_objext conftest$ac_exeext
104497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104498   (eval $ac_link) 2>conftest.er1
104499   ac_status=$?
104500   grep -v '^ *+' conftest.er1 >conftest.err
104501   rm -f conftest.er1
104502   cat conftest.err >&5
104503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104504   (exit $ac_status); } &&
104505          { ac_try='test -z "$ac_c_werror_flag"
104506                          || test ! -s conftest.err'
104507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104508   (eval $ac_try) 2>&5
104509   ac_status=$?
104510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104511   (exit $ac_status); }; } &&
104512          { ac_try='test -s conftest$ac_exeext'
104513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104514   (eval $ac_try) 2>&5
104515   ac_status=$?
104516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104517   (exit $ac_status); }; }; then
104518   eval "$as_ac_var=yes"
104519 else
104520   echo "$as_me: failed program was:" >&5
104521 sed 's/^/| /' conftest.$ac_ext >&5
104522
104523 eval "$as_ac_var=no"
104524 fi
104525 rm -f conftest.err conftest.$ac_objext \
104526       conftest$ac_exeext conftest.$ac_ext
104527 fi
104528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104530 if test `eval echo '${'$as_ac_var'}'` = yes; then
104531   cat >>confdefs.h <<_ACEOF
104532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104533 _ACEOF
104534
104535 else
104536   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
104537 fi
104538 done
104539
104540
104541
104542 for ac_func in __signbitf
104543 do
104544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104545 echo "$as_me:$LINENO: checking for $ac_func" >&5
104546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104547 if eval "test \"\${$as_ac_var+set}\" = set"; then
104548   echo $ECHO_N "(cached) $ECHO_C" >&6
104549 else
104550   if test x$gcc_no_link = xyes; then
104551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104553    { (exit 1); exit 1; }; }
104554 fi
104555 cat >conftest.$ac_ext <<_ACEOF
104556 /* confdefs.h.  */
104557 _ACEOF
104558 cat confdefs.h >>conftest.$ac_ext
104559 cat >>conftest.$ac_ext <<_ACEOF
104560 /* end confdefs.h.  */
104561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104563 #define $ac_func innocuous_$ac_func
104564
104565 /* System header to define __stub macros and hopefully few prototypes,
104566     which can conflict with char $ac_func (); below.
104567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104568     <limits.h> exists even on freestanding compilers.  */
104569
104570 #ifdef __STDC__
104571 # include <limits.h>
104572 #else
104573 # include <assert.h>
104574 #endif
104575
104576 #undef $ac_func
104577
104578 /* Override any gcc2 internal prototype to avoid an error.  */
104579 #ifdef __cplusplus
104580 extern "C"
104581 {
104582 #endif
104583 /* We use char because int might match the return type of a gcc2
104584    builtin and then its argument prototype would still apply.  */
104585 char $ac_func ();
104586 /* The GNU C library defines this for functions which it implements
104587     to always fail with ENOSYS.  Some functions are actually named
104588     something starting with __ and the normal name is an alias.  */
104589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104590 choke me
104591 #else
104592 char (*f) () = $ac_func;
104593 #endif
104594 #ifdef __cplusplus
104595 }
104596 #endif
104597
104598 int
104599 main ()
104600 {
104601 return f != $ac_func;
104602   ;
104603   return 0;
104604 }
104605 _ACEOF
104606 rm -f conftest.$ac_objext conftest$ac_exeext
104607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104608   (eval $ac_link) 2>conftest.er1
104609   ac_status=$?
104610   grep -v '^ *+' conftest.er1 >conftest.err
104611   rm -f conftest.er1
104612   cat conftest.err >&5
104613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104614   (exit $ac_status); } &&
104615          { ac_try='test -z "$ac_c_werror_flag"
104616                          || test ! -s conftest.err'
104617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104618   (eval $ac_try) 2>&5
104619   ac_status=$?
104620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104621   (exit $ac_status); }; } &&
104622          { ac_try='test -s conftest$ac_exeext'
104623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104624   (eval $ac_try) 2>&5
104625   ac_status=$?
104626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104627   (exit $ac_status); }; }; then
104628   eval "$as_ac_var=yes"
104629 else
104630   echo "$as_me: failed program was:" >&5
104631 sed 's/^/| /' conftest.$ac_ext >&5
104632
104633 eval "$as_ac_var=no"
104634 fi
104635 rm -f conftest.err conftest.$ac_objext \
104636       conftest$ac_exeext conftest.$ac_ext
104637 fi
104638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104640 if test `eval echo '${'$as_ac_var'}'` = yes; then
104641   cat >>confdefs.h <<_ACEOF
104642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104643 _ACEOF
104644
104645 else
104646   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
104647 fi
104648 done
104649
104650
104651           if test x$ac_cv_func_copysignl = x"yes"; then
104652
104653 for ac_func in __signbitl
104654 do
104655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104656 echo "$as_me:$LINENO: checking for $ac_func" >&5
104657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104658 if eval "test \"\${$as_ac_var+set}\" = set"; then
104659   echo $ECHO_N "(cached) $ECHO_C" >&6
104660 else
104661   if test x$gcc_no_link = xyes; then
104662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104664    { (exit 1); exit 1; }; }
104665 fi
104666 cat >conftest.$ac_ext <<_ACEOF
104667 /* confdefs.h.  */
104668 _ACEOF
104669 cat confdefs.h >>conftest.$ac_ext
104670 cat >>conftest.$ac_ext <<_ACEOF
104671 /* end confdefs.h.  */
104672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104674 #define $ac_func innocuous_$ac_func
104675
104676 /* System header to define __stub macros and hopefully few prototypes,
104677     which can conflict with char $ac_func (); below.
104678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104679     <limits.h> exists even on freestanding compilers.  */
104680
104681 #ifdef __STDC__
104682 # include <limits.h>
104683 #else
104684 # include <assert.h>
104685 #endif
104686
104687 #undef $ac_func
104688
104689 /* Override any gcc2 internal prototype to avoid an error.  */
104690 #ifdef __cplusplus
104691 extern "C"
104692 {
104693 #endif
104694 /* We use char because int might match the return type of a gcc2
104695    builtin and then its argument prototype would still apply.  */
104696 char $ac_func ();
104697 /* The GNU C library defines this for functions which it implements
104698     to always fail with ENOSYS.  Some functions are actually named
104699     something starting with __ and the normal name is an alias.  */
104700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104701 choke me
104702 #else
104703 char (*f) () = $ac_func;
104704 #endif
104705 #ifdef __cplusplus
104706 }
104707 #endif
104708
104709 int
104710 main ()
104711 {
104712 return f != $ac_func;
104713   ;
104714   return 0;
104715 }
104716 _ACEOF
104717 rm -f conftest.$ac_objext conftest$ac_exeext
104718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104719   (eval $ac_link) 2>conftest.er1
104720   ac_status=$?
104721   grep -v '^ *+' conftest.er1 >conftest.err
104722   rm -f conftest.er1
104723   cat conftest.err >&5
104724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104725   (exit $ac_status); } &&
104726          { ac_try='test -z "$ac_c_werror_flag"
104727                          || test ! -s conftest.err'
104728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104729   (eval $ac_try) 2>&5
104730   ac_status=$?
104731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104732   (exit $ac_status); }; } &&
104733          { ac_try='test -s conftest$ac_exeext'
104734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104735   (eval $ac_try) 2>&5
104736   ac_status=$?
104737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104738   (exit $ac_status); }; }; then
104739   eval "$as_ac_var=yes"
104740 else
104741   echo "$as_me: failed program was:" >&5
104742 sed 's/^/| /' conftest.$ac_ext >&5
104743
104744 eval "$as_ac_var=no"
104745 fi
104746 rm -f conftest.err conftest.$ac_objext \
104747       conftest$ac_exeext conftest.$ac_ext
104748 fi
104749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104751 if test `eval echo '${'$as_ac_var'}'` = yes; then
104752   cat >>confdefs.h <<_ACEOF
104753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104754 _ACEOF
104755
104756 else
104757   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
104758 fi
104759 done
104760
104761   fi
104762
104763   # Used in libmath/Makefile.am.
104764   if test -n "$LIBMATHOBJS"; then
104765     need_libmath=yes
104766   fi
104767
104768
104769     cat >>confdefs.h <<\_ACEOF
104770 #define HAVE_COPYSIGN 1
104771 _ACEOF
104772
104773     cat >>confdefs.h <<\_ACEOF
104774 #define HAVE_COPYSIGNF 1
104775 _ACEOF
104776
104777     cat >>confdefs.h <<\_ACEOF
104778 #define HAVE_FINITE 1
104779 _ACEOF
104780
104781     cat >>confdefs.h <<\_ACEOF
104782 #define HAVE_FINITEF 1
104783 _ACEOF
104784
104785     cat >>confdefs.h <<\_ACEOF
104786 #define HAVE_FREXPF 1
104787 _ACEOF
104788
104789     cat >>confdefs.h <<\_ACEOF
104790 #define HAVE_HYPOTF 1
104791 _ACEOF
104792
104793     cat >>confdefs.h <<\_ACEOF
104794 #define HAVE_ISINF 1
104795 _ACEOF
104796
104797     cat >>confdefs.h <<\_ACEOF
104798 #define HAVE_ISINFF 1
104799 _ACEOF
104800
104801     cat >>confdefs.h <<\_ACEOF
104802 #define HAVE_ISNAN 1
104803 _ACEOF
104804
104805     cat >>confdefs.h <<\_ACEOF
104806 #define HAVE_ISNANF 1
104807 _ACEOF
104808
104809     cat >>confdefs.h <<\_ACEOF
104810 #define HAVE_SINCOS 1
104811 _ACEOF
104812
104813     cat >>confdefs.h <<\_ACEOF
104814 #define HAVE_SINCOSF 1
104815 _ACEOF
104816
104817     if test x"long_double_math_on_this_cpu" = x"yes"; then
104818       cat >>confdefs.h <<\_ACEOF
104819 #define HAVE_FINITEL 1
104820 _ACEOF
104821
104822       cat >>confdefs.h <<\_ACEOF
104823 #define HAVE_HYPOTL 1
104824 _ACEOF
104825
104826       cat >>confdefs.h <<\_ACEOF
104827 #define HAVE_ISINFL 1
104828 _ACEOF
104829
104830       cat >>confdefs.h <<\_ACEOF
104831 #define HAVE_ISNANL 1
104832 _ACEOF
104833
104834     fi
104835     ;;
104836   *-vxworks)
104837     cat >>confdefs.h <<\_ACEOF
104838 #define HAVE_ACOSF 1
104839 _ACEOF
104840
104841     cat >>confdefs.h <<\_ACEOF
104842 #define HAVE_ASINF 1
104843 _ACEOF
104844
104845     cat >>confdefs.h <<\_ACEOF
104846 #define HAVE_ATAN2F 1
104847 _ACEOF
104848
104849     cat >>confdefs.h <<\_ACEOF
104850 #define HAVE_ATANF 1
104851 _ACEOF
104852
104853     cat >>confdefs.h <<\_ACEOF
104854 #define HAVE_CEILF 1
104855 _ACEOF
104856
104857     cat >>confdefs.h <<\_ACEOF
104858 #define HAVE_COSF 1
104859 _ACEOF
104860
104861     cat >>confdefs.h <<\_ACEOF
104862 #define HAVE_COSHF 1
104863 _ACEOF
104864
104865     cat >>confdefs.h <<\_ACEOF
104866 #define HAVE_EXPF 1
104867 _ACEOF
104868
104869     cat >>confdefs.h <<\_ACEOF
104870 #define HAVE_FABSF 1
104871 _ACEOF
104872
104873     cat >>confdefs.h <<\_ACEOF
104874 #define HAVE_FLOORF 1
104875 _ACEOF
104876
104877     cat >>confdefs.h <<\_ACEOF
104878 #define HAVE_FMODF 1
104879 _ACEOF
104880
104881     cat >>confdefs.h <<\_ACEOF
104882 #define HAVE_HYPOT 1
104883 _ACEOF
104884
104885     cat >>confdefs.h <<\_ACEOF
104886 #define HAVE_LOG10F 1
104887 _ACEOF
104888
104889     cat >>confdefs.h <<\_ACEOF
104890 #define HAVE_LOGF 1
104891 _ACEOF
104892
104893     cat >>confdefs.h <<\_ACEOF
104894 #define HAVE_POWF 1
104895 _ACEOF
104896
104897     cat >>confdefs.h <<\_ACEOF
104898 #define HAVE_SINF 1
104899 _ACEOF
104900
104901     cat >>confdefs.h <<\_ACEOF
104902 #define HAVE_SINHF 1
104903 _ACEOF
104904
104905     cat >>confdefs.h <<\_ACEOF
104906 #define HAVE_SQRTF 1
104907 _ACEOF
104908
104909     cat >>confdefs.h <<\_ACEOF
104910 #define HAVE_TANF 1
104911 _ACEOF
104912
104913     cat >>confdefs.h <<\_ACEOF
104914 #define HAVE_TANHF 1
104915 _ACEOF
104916
104917     ;;
104918   *)
104919     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
104920 echo "$as_me: error: No support for this host/target combination." >&2;}
104921    { (exit 1); exit 1; }; }
104922    ;;
104923 esac
104924
104925   fi
104926
104927   # At some point, we should differentiate between architectures
104928   # like x86, which have long double versions, and alpha/powerpc/etc.,
104929   # which don't. For the time being, punt.
104930   if test x"long_double_math_on_this_cpu" = x"yes"; then
104931     cat >>confdefs.h <<\_ACEOF
104932 #define HAVE_ACOSL 1
104933 _ACEOF
104934
104935     cat >>confdefs.h <<\_ACEOF
104936 #define HAVE_ASINL 1
104937 _ACEOF
104938
104939     cat >>confdefs.h <<\_ACEOF
104940 #define HAVE_ATAN2L 1
104941 _ACEOF
104942
104943     cat >>confdefs.h <<\_ACEOF
104944 #define HAVE_ATANL 1
104945 _ACEOF
104946
104947     cat >>confdefs.h <<\_ACEOF
104948 #define HAVE_CEILL 1
104949 _ACEOF
104950
104951     cat >>confdefs.h <<\_ACEOF
104952 #define HAVE_COPYSIGNL 1
104953 _ACEOF
104954
104955     cat >>confdefs.h <<\_ACEOF
104956 #define HAVE_COSL 1
104957 _ACEOF
104958
104959     cat >>confdefs.h <<\_ACEOF
104960 #define HAVE_COSHL 1
104961 _ACEOF
104962
104963     cat >>confdefs.h <<\_ACEOF
104964 #define HAVE_EXPL 1
104965 _ACEOF
104966
104967     cat >>confdefs.h <<\_ACEOF
104968 #define HAVE_FABSL 1
104969 _ACEOF
104970
104971     cat >>confdefs.h <<\_ACEOF
104972 #define HAVE_FLOORL 1
104973 _ACEOF
104974
104975     cat >>confdefs.h <<\_ACEOF
104976 #define HAVE_FMODL 1
104977 _ACEOF
104978
104979     cat >>confdefs.h <<\_ACEOF
104980 #define HAVE_FREXPL 1
104981 _ACEOF
104982
104983     cat >>confdefs.h <<\_ACEOF
104984 #define HAVE_LDEXPL 1
104985 _ACEOF
104986
104987     cat >>confdefs.h <<\_ACEOF
104988 #define HAVE_LOG10L 1
104989 _ACEOF
104990
104991     cat >>confdefs.h <<\_ACEOF
104992 #define HAVE_LOGL 1
104993 _ACEOF
104994
104995     cat >>confdefs.h <<\_ACEOF
104996 #define HAVE_MODFL 1
104997 _ACEOF
104998
104999     cat >>confdefs.h <<\_ACEOF
105000 #define HAVE_POWL 1
105001 _ACEOF
105002
105003     cat >>confdefs.h <<\_ACEOF
105004 #define HAVE_SINCOSL 1
105005 _ACEOF
105006
105007     cat >>confdefs.h <<\_ACEOF
105008 #define HAVE_SINL 1
105009 _ACEOF
105010
105011     cat >>confdefs.h <<\_ACEOF
105012 #define HAVE_SINHL 1
105013 _ACEOF
105014
105015     cat >>confdefs.h <<\_ACEOF
105016 #define HAVE_SQRTL 1
105017 _ACEOF
105018
105019     cat >>confdefs.h <<\_ACEOF
105020 #define HAVE_TANL 1
105021 _ACEOF
105022
105023     cat >>confdefs.h <<\_ACEOF
105024 #define HAVE_TANHL 1
105025 _ACEOF
105026
105027   fi
105028 fi
105029
105030 # Check for _Unwind_GetIPInfo.
105031
105032
105033 # Check whether --with-system-libunwind or --without-system-libunwind was given.
105034 if test "${with_system_libunwind+set}" = set; then
105035   withval="$with_system_libunwind"
105036
105037 fi;
105038   # If system-libunwind was not specifically set, pick a default setting.
105039   if test x$with_system_libunwind = x; then
105040     case ${target} in
105041       ia64-*-hpux*) with_system_libunwind=yes ;;
105042       *) with_system_libunwind=no ;;
105043     esac
105044   fi
105045   # Based on system-libunwind and target, do we have ipinfo?
105046   if  test x$with_system_libunwind = xyes; then
105047     case ${target} in
105048       ia64-*-*) have_unwind_getipinfo=no ;;
105049       *) have_unwind_getipinfo=yes ;;
105050     esac
105051   else
105052     # Darwin before version 9 does not have _Unwind_GetIPInfo.
105053
105054     case ${target} in
105055       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
105056       *) have_unwind_getipinfo=yes ;;
105057     esac
105058
105059   fi
105060
105061   if test x$have_unwind_getipinfo = xyes; then
105062
105063 cat >>confdefs.h <<\_ACEOF
105064 #define HAVE_GETIPINFO 1
105065 _ACEOF
105066
105067   fi
105068
105069
105070
105071  # Check whether --enable-linux-futex or --disable-linux-futex was given.
105072 if test "${enable_linux_futex+set}" = set; then
105073   enableval="$enable_linux_futex"
105074
105075       case "$enableval" in
105076        yes|no|default) ;;
105077        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
105078 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
105079    { (exit 1); exit 1; }; } ;;
105080                           esac
105081
105082 else
105083   enable_linux_futex=default
105084 fi;
105085
105086 case "$target" in
105087   *-linux*)
105088     case "$enable_linux_futex" in
105089       default)
105090         # If headers don't have gettid/futex syscalls definition, then
105091         # default to no, otherwise there will be compile time failures.
105092         # Otherwise, default to yes.  If we don't detect we are
105093         # compiled/linked against NPTL and not cross-compiling, check
105094         # if programs are run by default against NPTL and if not, issue
105095         # a warning.
105096         enable_linux_futex=no
105097         if test x$gcc_no_link = xyes; then
105098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105100    { (exit 1); exit 1; }; }
105101 fi
105102 cat >conftest.$ac_ext <<_ACEOF
105103 /* confdefs.h.  */
105104 _ACEOF
105105 cat confdefs.h >>conftest.$ac_ext
105106 cat >>conftest.$ac_ext <<_ACEOF
105107 /* end confdefs.h.  */
105108 #include <sys/syscall.h>
105109            int lk;
105110 int
105111 main ()
105112 {
105113 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
105114   ;
105115   return 0;
105116 }
105117 _ACEOF
105118 rm -f conftest.$ac_objext conftest$ac_exeext
105119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105120   (eval $ac_link) 2>conftest.er1
105121   ac_status=$?
105122   grep -v '^ *+' conftest.er1 >conftest.err
105123   rm -f conftest.er1
105124   cat conftest.err >&5
105125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105126   (exit $ac_status); } &&
105127          { ac_try='test -z "$ac_c_werror_flag"
105128                          || test ! -s conftest.err'
105129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105130   (eval $ac_try) 2>&5
105131   ac_status=$?
105132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105133   (exit $ac_status); }; } &&
105134          { ac_try='test -s conftest$ac_exeext'
105135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105136   (eval $ac_try) 2>&5
105137   ac_status=$?
105138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105139   (exit $ac_status); }; }; then
105140   save_LIBS="$LIBS"
105141            LIBS="-lpthread $LIBS"
105142            if test x$gcc_no_link = xyes; then
105143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105145    { (exit 1); exit 1; }; }
105146 fi
105147 cat >conftest.$ac_ext <<_ACEOF
105148 /* confdefs.h.  */
105149 _ACEOF
105150 cat confdefs.h >>conftest.$ac_ext
105151 cat >>conftest.$ac_ext <<_ACEOF
105152 /* end confdefs.h.  */
105153 #ifndef _GNU_SOURCE
105154              #define _GNU_SOURCE 1
105155              #endif
105156              #include <pthread.h>
105157              pthread_t th; void *status;
105158 int
105159 main ()
105160 {
105161 pthread_tryjoin_np (th, &status);
105162   ;
105163   return 0;
105164 }
105165 _ACEOF
105166 rm -f conftest.$ac_objext conftest$ac_exeext
105167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105168   (eval $ac_link) 2>conftest.er1
105169   ac_status=$?
105170   grep -v '^ *+' conftest.er1 >conftest.err
105171   rm -f conftest.er1
105172   cat conftest.err >&5
105173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105174   (exit $ac_status); } &&
105175          { ac_try='test -z "$ac_c_werror_flag"
105176                          || test ! -s conftest.err'
105177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105178   (eval $ac_try) 2>&5
105179   ac_status=$?
105180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105181   (exit $ac_status); }; } &&
105182          { ac_try='test -s conftest$ac_exeext'
105183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105184   (eval $ac_try) 2>&5
105185   ac_status=$?
105186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105187   (exit $ac_status); }; }; then
105188   enable_linux_futex=yes
105189 else
105190   echo "$as_me: failed program was:" >&5
105191 sed 's/^/| /' conftest.$ac_ext >&5
105192
105193 if test x$cross_compiling = xno; then
105194                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
105195                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
105196                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
105197 If so, please configure with --disable-linux-futex" >&5
105198 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
105199 If so, please configure with --disable-linux-futex" >&2;}
105200                fi
105201              fi
105202              enable_linux_futex=yes
105203 fi
105204 rm -f conftest.err conftest.$ac_objext \
105205       conftest$ac_exeext conftest.$ac_ext
105206            LIBS="$save_LIBS"
105207 else
105208   echo "$as_me: failed program was:" >&5
105209 sed 's/^/| /' conftest.$ac_ext >&5
105210
105211 fi
105212 rm -f conftest.err conftest.$ac_objext \
105213       conftest$ac_exeext conftest.$ac_ext
105214         ;;
105215       yes)
105216         if test x$gcc_no_link = xyes; then
105217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105219    { (exit 1); exit 1; }; }
105220 fi
105221 cat >conftest.$ac_ext <<_ACEOF
105222 /* confdefs.h.  */
105223 _ACEOF
105224 cat confdefs.h >>conftest.$ac_ext
105225 cat >>conftest.$ac_ext <<_ACEOF
105226 /* end confdefs.h.  */
105227 #include <sys/syscall.h>
105228            int lk;
105229 int
105230 main ()
105231 {
105232 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
105233   ;
105234   return 0;
105235 }
105236 _ACEOF
105237 rm -f conftest.$ac_objext conftest$ac_exeext
105238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105239   (eval $ac_link) 2>conftest.er1
105240   ac_status=$?
105241   grep -v '^ *+' conftest.er1 >conftest.err
105242   rm -f conftest.er1
105243   cat conftest.err >&5
105244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105245   (exit $ac_status); } &&
105246          { ac_try='test -z "$ac_c_werror_flag"
105247                          || test ! -s conftest.err'
105248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105249   (eval $ac_try) 2>&5
105250   ac_status=$?
105251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105252   (exit $ac_status); }; } &&
105253          { ac_try='test -s conftest$ac_exeext'
105254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105255   (eval $ac_try) 2>&5
105256   ac_status=$?
105257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105258   (exit $ac_status); }; }; then
105259   :
105260 else
105261   echo "$as_me: failed program was:" >&5
105262 sed 's/^/| /' conftest.$ac_ext >&5
105263
105264 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
105265 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
105266    { (exit 1); exit 1; }; }
105267 fi
105268 rm -f conftest.err conftest.$ac_objext \
105269       conftest$ac_exeext conftest.$ac_ext
105270         ;;
105271     esac
105272     ;;
105273   *)
105274     enable_linux_futex=no
105275     ;;
105276 esac
105277 if test x$enable_linux_futex = xyes; then
105278
105279 cat >>confdefs.h <<\_ACEOF
105280 #define HAVE_LINUX_FUTEX 1
105281 _ACEOF
105282
105283 fi
105284
105285
105286
105287
105288 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
105289
105290 acx_cv_header_stdint=stddef.h
105291 acx_cv_header_stdint_kind="(already complete)"
105292 for i in stdint.h $inttype_headers; do
105293   unset ac_cv_type_uintptr_t
105294   unset ac_cv_type_uintmax_t
105295   unset ac_cv_type_int_least32_t
105296   unset ac_cv_type_int_fast32_t
105297   unset ac_cv_type_uint64_t
105298   echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
105299   echo "$as_me:$LINENO: checking for uintmax_t" >&5
105300 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
105301 if test "${ac_cv_type_uintmax_t+set}" = set; then
105302   echo $ECHO_N "(cached) $ECHO_C" >&6
105303 else
105304   cat >conftest.$ac_ext <<_ACEOF
105305 /* confdefs.h.  */
105306 _ACEOF
105307 cat confdefs.h >>conftest.$ac_ext
105308 cat >>conftest.$ac_ext <<_ACEOF
105309 /* end confdefs.h.  */
105310 #include <sys/types.h>
105311 #include <$i>
105312
105313 int
105314 main ()
105315 {
105316 if ((uintmax_t *) 0)
105317   return 0;
105318 if (sizeof (uintmax_t))
105319   return 0;
105320   ;
105321   return 0;
105322 }
105323 _ACEOF
105324 rm -f conftest.$ac_objext
105325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105326   (eval $ac_compile) 2>conftest.er1
105327   ac_status=$?
105328   grep -v '^ *+' conftest.er1 >conftest.err
105329   rm -f conftest.er1
105330   cat conftest.err >&5
105331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105332   (exit $ac_status); } &&
105333          { ac_try='test -z "$ac_c_werror_flag"
105334                          || test ! -s conftest.err'
105335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105336   (eval $ac_try) 2>&5
105337   ac_status=$?
105338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105339   (exit $ac_status); }; } &&
105340          { ac_try='test -s conftest.$ac_objext'
105341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105342   (eval $ac_try) 2>&5
105343   ac_status=$?
105344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105345   (exit $ac_status); }; }; then
105346   ac_cv_type_uintmax_t=yes
105347 else
105348   echo "$as_me: failed program was:" >&5
105349 sed 's/^/| /' conftest.$ac_ext >&5
105350
105351 ac_cv_type_uintmax_t=no
105352 fi
105353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105354 fi
105355 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
105356 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
105357 if test $ac_cv_type_uintmax_t = yes; then
105358   acx_cv_header_stdint=$i
105359 else
105360   continue
105361 fi
105362
105363   echo "$as_me:$LINENO: checking for uintptr_t" >&5
105364 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
105365 if test "${ac_cv_type_uintptr_t+set}" = set; then
105366   echo $ECHO_N "(cached) $ECHO_C" >&6
105367 else
105368   cat >conftest.$ac_ext <<_ACEOF
105369 /* confdefs.h.  */
105370 _ACEOF
105371 cat confdefs.h >>conftest.$ac_ext
105372 cat >>conftest.$ac_ext <<_ACEOF
105373 /* end confdefs.h.  */
105374 #include <sys/types.h>
105375 #include <$i>
105376
105377 int
105378 main ()
105379 {
105380 if ((uintptr_t *) 0)
105381   return 0;
105382 if (sizeof (uintptr_t))
105383   return 0;
105384   ;
105385   return 0;
105386 }
105387 _ACEOF
105388 rm -f conftest.$ac_objext
105389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105390   (eval $ac_compile) 2>conftest.er1
105391   ac_status=$?
105392   grep -v '^ *+' conftest.er1 >conftest.err
105393   rm -f conftest.er1
105394   cat conftest.err >&5
105395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105396   (exit $ac_status); } &&
105397          { ac_try='test -z "$ac_c_werror_flag"
105398                          || test ! -s conftest.err'
105399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105400   (eval $ac_try) 2>&5
105401   ac_status=$?
105402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105403   (exit $ac_status); }; } &&
105404          { ac_try='test -s conftest.$ac_objext'
105405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105406   (eval $ac_try) 2>&5
105407   ac_status=$?
105408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105409   (exit $ac_status); }; }; then
105410   ac_cv_type_uintptr_t=yes
105411 else
105412   echo "$as_me: failed program was:" >&5
105413 sed 's/^/| /' conftest.$ac_ext >&5
105414
105415 ac_cv_type_uintptr_t=no
105416 fi
105417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105418 fi
105419 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
105420 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
105421 if test $ac_cv_type_uintptr_t = yes; then
105422   :
105423 else
105424   acx_cv_header_stdint_kind="(mostly complete)"
105425 fi
105426
105427   echo "$as_me:$LINENO: checking for int_least32_t" >&5
105428 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
105429 if test "${ac_cv_type_int_least32_t+set}" = set; then
105430   echo $ECHO_N "(cached) $ECHO_C" >&6
105431 else
105432   cat >conftest.$ac_ext <<_ACEOF
105433 /* confdefs.h.  */
105434 _ACEOF
105435 cat confdefs.h >>conftest.$ac_ext
105436 cat >>conftest.$ac_ext <<_ACEOF
105437 /* end confdefs.h.  */
105438 #include <sys/types.h>
105439 #include <$i>
105440
105441 int
105442 main ()
105443 {
105444 if ((int_least32_t *) 0)
105445   return 0;
105446 if (sizeof (int_least32_t))
105447   return 0;
105448   ;
105449   return 0;
105450 }
105451 _ACEOF
105452 rm -f conftest.$ac_objext
105453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105454   (eval $ac_compile) 2>conftest.er1
105455   ac_status=$?
105456   grep -v '^ *+' conftest.er1 >conftest.err
105457   rm -f conftest.er1
105458   cat conftest.err >&5
105459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105460   (exit $ac_status); } &&
105461          { ac_try='test -z "$ac_c_werror_flag"
105462                          || test ! -s conftest.err'
105463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105464   (eval $ac_try) 2>&5
105465   ac_status=$?
105466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105467   (exit $ac_status); }; } &&
105468          { ac_try='test -s conftest.$ac_objext'
105469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105470   (eval $ac_try) 2>&5
105471   ac_status=$?
105472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105473   (exit $ac_status); }; }; then
105474   ac_cv_type_int_least32_t=yes
105475 else
105476   echo "$as_me: failed program was:" >&5
105477 sed 's/^/| /' conftest.$ac_ext >&5
105478
105479 ac_cv_type_int_least32_t=no
105480 fi
105481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105482 fi
105483 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
105484 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
105485 if test $ac_cv_type_int_least32_t = yes; then
105486   :
105487 else
105488   acx_cv_header_stdint_kind="(mostly complete)"
105489 fi
105490
105491   echo "$as_me:$LINENO: checking for int_fast32_t" >&5
105492 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
105493 if test "${ac_cv_type_int_fast32_t+set}" = set; then
105494   echo $ECHO_N "(cached) $ECHO_C" >&6
105495 else
105496   cat >conftest.$ac_ext <<_ACEOF
105497 /* confdefs.h.  */
105498 _ACEOF
105499 cat confdefs.h >>conftest.$ac_ext
105500 cat >>conftest.$ac_ext <<_ACEOF
105501 /* end confdefs.h.  */
105502 #include <sys/types.h>
105503 #include <$i>
105504
105505 int
105506 main ()
105507 {
105508 if ((int_fast32_t *) 0)
105509   return 0;
105510 if (sizeof (int_fast32_t))
105511   return 0;
105512   ;
105513   return 0;
105514 }
105515 _ACEOF
105516 rm -f conftest.$ac_objext
105517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105518   (eval $ac_compile) 2>conftest.er1
105519   ac_status=$?
105520   grep -v '^ *+' conftest.er1 >conftest.err
105521   rm -f conftest.er1
105522   cat conftest.err >&5
105523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105524   (exit $ac_status); } &&
105525          { ac_try='test -z "$ac_c_werror_flag"
105526                          || test ! -s conftest.err'
105527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105528   (eval $ac_try) 2>&5
105529   ac_status=$?
105530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105531   (exit $ac_status); }; } &&
105532          { ac_try='test -s conftest.$ac_objext'
105533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105534   (eval $ac_try) 2>&5
105535   ac_status=$?
105536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105537   (exit $ac_status); }; }; then
105538   ac_cv_type_int_fast32_t=yes
105539 else
105540   echo "$as_me: failed program was:" >&5
105541 sed 's/^/| /' conftest.$ac_ext >&5
105542
105543 ac_cv_type_int_fast32_t=no
105544 fi
105545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105546 fi
105547 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
105548 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
105549 if test $ac_cv_type_int_fast32_t = yes; then
105550   :
105551 else
105552   acx_cv_header_stdint_kind="(mostly complete)"
105553 fi
105554
105555   echo "$as_me:$LINENO: checking for uint64_t" >&5
105556 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
105557 if test "${ac_cv_type_uint64_t+set}" = set; then
105558   echo $ECHO_N "(cached) $ECHO_C" >&6
105559 else
105560   cat >conftest.$ac_ext <<_ACEOF
105561 /* confdefs.h.  */
105562 _ACEOF
105563 cat confdefs.h >>conftest.$ac_ext
105564 cat >>conftest.$ac_ext <<_ACEOF
105565 /* end confdefs.h.  */
105566 #include <sys/types.h>
105567 #include <$i>
105568
105569 int
105570 main ()
105571 {
105572 if ((uint64_t *) 0)
105573   return 0;
105574 if (sizeof (uint64_t))
105575   return 0;
105576   ;
105577   return 0;
105578 }
105579 _ACEOF
105580 rm -f conftest.$ac_objext
105581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105582   (eval $ac_compile) 2>conftest.er1
105583   ac_status=$?
105584   grep -v '^ *+' conftest.er1 >conftest.err
105585   rm -f conftest.er1
105586   cat conftest.err >&5
105587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105588   (exit $ac_status); } &&
105589          { ac_try='test -z "$ac_c_werror_flag"
105590                          || test ! -s conftest.err'
105591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105592   (eval $ac_try) 2>&5
105593   ac_status=$?
105594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105595   (exit $ac_status); }; } &&
105596          { ac_try='test -s conftest.$ac_objext'
105597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105598   (eval $ac_try) 2>&5
105599   ac_status=$?
105600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105601   (exit $ac_status); }; }; then
105602   ac_cv_type_uint64_t=yes
105603 else
105604   echo "$as_me: failed program was:" >&5
105605 sed 's/^/| /' conftest.$ac_ext >&5
105606
105607 ac_cv_type_uint64_t=no
105608 fi
105609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105610 fi
105611 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
105612 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
105613 if test $ac_cv_type_uint64_t = yes; then
105614   :
105615 else
105616   acx_cv_header_stdint_kind="(lacks uint64_t)"
105617 fi
105618
105619   break
105620 done
105621 if test "$acx_cv_header_stdint" = stddef.h; then
105622   acx_cv_header_stdint_kind="(lacks uintmax_t)"
105623   for i in stdint.h $inttype_headers; do
105624     unset ac_cv_type_uintptr_t
105625     unset ac_cv_type_uint32_t
105626     unset ac_cv_type_uint64_t
105627     echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
105628     echo "$as_me:$LINENO: checking for uint32_t" >&5
105629 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
105630 if test "${ac_cv_type_uint32_t+set}" = set; then
105631   echo $ECHO_N "(cached) $ECHO_C" >&6
105632 else
105633   cat >conftest.$ac_ext <<_ACEOF
105634 /* confdefs.h.  */
105635 _ACEOF
105636 cat confdefs.h >>conftest.$ac_ext
105637 cat >>conftest.$ac_ext <<_ACEOF
105638 /* end confdefs.h.  */
105639 #include <sys/types.h>
105640 #include <$i>
105641
105642 int
105643 main ()
105644 {
105645 if ((uint32_t *) 0)
105646   return 0;
105647 if (sizeof (uint32_t))
105648   return 0;
105649   ;
105650   return 0;
105651 }
105652 _ACEOF
105653 rm -f conftest.$ac_objext
105654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105655   (eval $ac_compile) 2>conftest.er1
105656   ac_status=$?
105657   grep -v '^ *+' conftest.er1 >conftest.err
105658   rm -f conftest.er1
105659   cat conftest.err >&5
105660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105661   (exit $ac_status); } &&
105662          { ac_try='test -z "$ac_c_werror_flag"
105663                          || test ! -s conftest.err'
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); }; } &&
105669          { ac_try='test -s conftest.$ac_objext'
105670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105671   (eval $ac_try) 2>&5
105672   ac_status=$?
105673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105674   (exit $ac_status); }; }; then
105675   ac_cv_type_uint32_t=yes
105676 else
105677   echo "$as_me: failed program was:" >&5
105678 sed 's/^/| /' conftest.$ac_ext >&5
105679
105680 ac_cv_type_uint32_t=no
105681 fi
105682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105683 fi
105684 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
105685 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
105686 if test $ac_cv_type_uint32_t = yes; then
105687   acx_cv_header_stdint=$i
105688 else
105689   continue
105690 fi
105691
105692     echo "$as_me:$LINENO: checking for uint64_t" >&5
105693 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
105694 if test "${ac_cv_type_uint64_t+set}" = set; then
105695   echo $ECHO_N "(cached) $ECHO_C" >&6
105696 else
105697   cat >conftest.$ac_ext <<_ACEOF
105698 /* confdefs.h.  */
105699 _ACEOF
105700 cat confdefs.h >>conftest.$ac_ext
105701 cat >>conftest.$ac_ext <<_ACEOF
105702 /* end confdefs.h.  */
105703 #include <sys/types.h>
105704 #include <$i>
105705
105706 int
105707 main ()
105708 {
105709 if ((uint64_t *) 0)
105710   return 0;
105711 if (sizeof (uint64_t))
105712   return 0;
105713   ;
105714   return 0;
105715 }
105716 _ACEOF
105717 rm -f conftest.$ac_objext
105718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105719   (eval $ac_compile) 2>conftest.er1
105720   ac_status=$?
105721   grep -v '^ *+' conftest.er1 >conftest.err
105722   rm -f conftest.er1
105723   cat conftest.err >&5
105724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105725   (exit $ac_status); } &&
105726          { ac_try='test -z "$ac_c_werror_flag"
105727                          || test ! -s conftest.err'
105728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105729   (eval $ac_try) 2>&5
105730   ac_status=$?
105731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105732   (exit $ac_status); }; } &&
105733          { ac_try='test -s conftest.$ac_objext'
105734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105735   (eval $ac_try) 2>&5
105736   ac_status=$?
105737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105738   (exit $ac_status); }; }; then
105739   ac_cv_type_uint64_t=yes
105740 else
105741   echo "$as_me: failed program was:" >&5
105742 sed 's/^/| /' conftest.$ac_ext >&5
105743
105744 ac_cv_type_uint64_t=no
105745 fi
105746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105747 fi
105748 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
105749 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
105750
105751     echo "$as_me:$LINENO: checking for uintptr_t" >&5
105752 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
105753 if test "${ac_cv_type_uintptr_t+set}" = set; then
105754   echo $ECHO_N "(cached) $ECHO_C" >&6
105755 else
105756   cat >conftest.$ac_ext <<_ACEOF
105757 /* confdefs.h.  */
105758 _ACEOF
105759 cat confdefs.h >>conftest.$ac_ext
105760 cat >>conftest.$ac_ext <<_ACEOF
105761 /* end confdefs.h.  */
105762 #include <sys/types.h>
105763 #include <$i>
105764
105765 int
105766 main ()
105767 {
105768 if ((uintptr_t *) 0)
105769   return 0;
105770 if (sizeof (uintptr_t))
105771   return 0;
105772   ;
105773   return 0;
105774 }
105775 _ACEOF
105776 rm -f conftest.$ac_objext
105777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105778   (eval $ac_compile) 2>conftest.er1
105779   ac_status=$?
105780   grep -v '^ *+' conftest.er1 >conftest.err
105781   rm -f conftest.er1
105782   cat conftest.err >&5
105783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105784   (exit $ac_status); } &&
105785          { ac_try='test -z "$ac_c_werror_flag"
105786                          || test ! -s conftest.err'
105787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105788   (eval $ac_try) 2>&5
105789   ac_status=$?
105790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105791   (exit $ac_status); }; } &&
105792          { ac_try='test -s conftest.$ac_objext'
105793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105794   (eval $ac_try) 2>&5
105795   ac_status=$?
105796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105797   (exit $ac_status); }; }; then
105798   ac_cv_type_uintptr_t=yes
105799 else
105800   echo "$as_me: failed program was:" >&5
105801 sed 's/^/| /' conftest.$ac_ext >&5
105802
105803 ac_cv_type_uintptr_t=no
105804 fi
105805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105806 fi
105807 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
105808 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
105809
105810     break
105811   done
105812 fi
105813 if test "$acx_cv_header_stdint" = stddef.h; then
105814   acx_cv_header_stdint_kind="(u_intXX_t style)"
105815   for i in sys/types.h $inttype_headers; do
105816     unset ac_cv_type_u_int32_t
105817     unset ac_cv_type_u_int64_t
105818     echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
105819     echo "$as_me:$LINENO: checking for u_int32_t" >&5
105820 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
105821 if test "${ac_cv_type_u_int32_t+set}" = set; then
105822   echo $ECHO_N "(cached) $ECHO_C" >&6
105823 else
105824   cat >conftest.$ac_ext <<_ACEOF
105825 /* confdefs.h.  */
105826 _ACEOF
105827 cat confdefs.h >>conftest.$ac_ext
105828 cat >>conftest.$ac_ext <<_ACEOF
105829 /* end confdefs.h.  */
105830 #include <sys/types.h>
105831 #include <$i>
105832
105833 int
105834 main ()
105835 {
105836 if ((u_int32_t *) 0)
105837   return 0;
105838 if (sizeof (u_int32_t))
105839   return 0;
105840   ;
105841   return 0;
105842 }
105843 _ACEOF
105844 rm -f conftest.$ac_objext
105845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105846   (eval $ac_compile) 2>conftest.er1
105847   ac_status=$?
105848   grep -v '^ *+' conftest.er1 >conftest.err
105849   rm -f conftest.er1
105850   cat conftest.err >&5
105851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105852   (exit $ac_status); } &&
105853          { ac_try='test -z "$ac_c_werror_flag"
105854                          || test ! -s conftest.err'
105855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105856   (eval $ac_try) 2>&5
105857   ac_status=$?
105858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105859   (exit $ac_status); }; } &&
105860          { ac_try='test -s conftest.$ac_objext'
105861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105862   (eval $ac_try) 2>&5
105863   ac_status=$?
105864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105865   (exit $ac_status); }; }; then
105866   ac_cv_type_u_int32_t=yes
105867 else
105868   echo "$as_me: failed program was:" >&5
105869 sed 's/^/| /' conftest.$ac_ext >&5
105870
105871 ac_cv_type_u_int32_t=no
105872 fi
105873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105874 fi
105875 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
105876 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
105877 if test $ac_cv_type_u_int32_t = yes; then
105878   acx_cv_header_stdint=$i
105879 else
105880   continue
105881 fi
105882
105883     echo "$as_me:$LINENO: checking for u_int64_t" >&5
105884 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
105885 if test "${ac_cv_type_u_int64_t+set}" = set; then
105886   echo $ECHO_N "(cached) $ECHO_C" >&6
105887 else
105888   cat >conftest.$ac_ext <<_ACEOF
105889 /* confdefs.h.  */
105890 _ACEOF
105891 cat confdefs.h >>conftest.$ac_ext
105892 cat >>conftest.$ac_ext <<_ACEOF
105893 /* end confdefs.h.  */
105894 #include <sys/types.h>
105895 #include <$i>
105896
105897 int
105898 main ()
105899 {
105900 if ((u_int64_t *) 0)
105901   return 0;
105902 if (sizeof (u_int64_t))
105903   return 0;
105904   ;
105905   return 0;
105906 }
105907 _ACEOF
105908 rm -f conftest.$ac_objext
105909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105910   (eval $ac_compile) 2>conftest.er1
105911   ac_status=$?
105912   grep -v '^ *+' conftest.er1 >conftest.err
105913   rm -f conftest.er1
105914   cat conftest.err >&5
105915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105916   (exit $ac_status); } &&
105917          { ac_try='test -z "$ac_c_werror_flag"
105918                          || test ! -s conftest.err'
105919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105920   (eval $ac_try) 2>&5
105921   ac_status=$?
105922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105923   (exit $ac_status); }; } &&
105924          { ac_try='test -s conftest.$ac_objext'
105925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105926   (eval $ac_try) 2>&5
105927   ac_status=$?
105928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105929   (exit $ac_status); }; }; then
105930   ac_cv_type_u_int64_t=yes
105931 else
105932   echo "$as_me: failed program was:" >&5
105933 sed 's/^/| /' conftest.$ac_ext >&5
105934
105935 ac_cv_type_u_int64_t=no
105936 fi
105937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105938 fi
105939 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
105940 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
105941
105942     break
105943   done
105944 fi
105945 if test "$acx_cv_header_stdint" = stddef.h; then
105946   acx_cv_header_stdint_kind="(using manual detection)"
105947 fi
105948
105949 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
105950 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
105951 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
105952 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
105953 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
105954
105955 # ----------------- Summarize what we found so far
105956
105957 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
105958 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
105959
105960 case `$as_basename include/gstdint.h ||
105961 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
105962          Xinclude/gstdint.h : 'X\(//\)$' \| \
105963          Xinclude/gstdint.h : 'X\(/\)$' \| \
105964          .     : '\(.\)' 2>/dev/null ||
105965 echo X/include/gstdint.h |
105966     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
105967           /^X\/\(\/\/\)$/{ s//\1/; q; }
105968           /^X\/\(\/\).*/{ s//\1/; q; }
105969           s/.*/./; q'` in
105970   stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105971 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105972   inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
105973 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
105974   *) ;;
105975 esac
105976
105977 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
105978 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
105979
105980 # ----------------- done included file, check C basic types --------
105981
105982 # Lacking an uintptr_t?  Test size of void *
105983 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
105984   stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
105985 echo $ECHO_N "checking for void *... $ECHO_C" >&6
105986 if test "${ac_cv_type_void_p+set}" = set; then
105987   echo $ECHO_N "(cached) $ECHO_C" >&6
105988 else
105989   cat >conftest.$ac_ext <<_ACEOF
105990 /* confdefs.h.  */
105991 _ACEOF
105992 cat confdefs.h >>conftest.$ac_ext
105993 cat >>conftest.$ac_ext <<_ACEOF
105994 /* end confdefs.h.  */
105995 $ac_includes_default
105996 int
105997 main ()
105998 {
105999 if ((void * *) 0)
106000   return 0;
106001 if (sizeof (void *))
106002   return 0;
106003   ;
106004   return 0;
106005 }
106006 _ACEOF
106007 rm -f conftest.$ac_objext
106008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106009   (eval $ac_compile) 2>conftest.er1
106010   ac_status=$?
106011   grep -v '^ *+' conftest.er1 >conftest.err
106012   rm -f conftest.er1
106013   cat conftest.err >&5
106014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106015   (exit $ac_status); } &&
106016          { ac_try='test -z "$ac_c_werror_flag"
106017                          || test ! -s conftest.err'
106018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106019   (eval $ac_try) 2>&5
106020   ac_status=$?
106021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106022   (exit $ac_status); }; } &&
106023          { ac_try='test -s conftest.$ac_objext'
106024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106025   (eval $ac_try) 2>&5
106026   ac_status=$?
106027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106028   (exit $ac_status); }; }; then
106029   ac_cv_type_void_p=yes
106030 else
106031   echo "$as_me: failed program was:" >&5
106032 sed 's/^/| /' conftest.$ac_ext >&5
106033
106034 ac_cv_type_void_p=no
106035 fi
106036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106037 fi
106038 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
106039 echo "${ECHO_T}$ac_cv_type_void_p" >&6
106040
106041 echo "$as_me:$LINENO: checking size of void *" >&5
106042 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
106043 if test "${ac_cv_sizeof_void_p+set}" = set; then
106044   echo $ECHO_N "(cached) $ECHO_C" >&6
106045 else
106046   if test "$ac_cv_type_void_p" = yes; then
106047   # The cast to unsigned long works around a bug in the HP C Compiler
106048   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106049   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106050   # This bug is HP SR number 8606223364.
106051   if test "$cross_compiling" = yes; then
106052   # Depending upon the size, compute the lo and hi bounds.
106053 cat >conftest.$ac_ext <<_ACEOF
106054 /* confdefs.h.  */
106055 _ACEOF
106056 cat confdefs.h >>conftest.$ac_ext
106057 cat >>conftest.$ac_ext <<_ACEOF
106058 /* end confdefs.h.  */
106059 $ac_includes_default
106060 int
106061 main ()
106062 {
106063 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
106064 test_array [0] = 0
106065
106066   ;
106067   return 0;
106068 }
106069 _ACEOF
106070 rm -f conftest.$ac_objext
106071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106072   (eval $ac_compile) 2>conftest.er1
106073   ac_status=$?
106074   grep -v '^ *+' conftest.er1 >conftest.err
106075   rm -f conftest.er1
106076   cat conftest.err >&5
106077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106078   (exit $ac_status); } &&
106079          { ac_try='test -z "$ac_c_werror_flag"
106080                          || test ! -s conftest.err'
106081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106082   (eval $ac_try) 2>&5
106083   ac_status=$?
106084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106085   (exit $ac_status); }; } &&
106086          { ac_try='test -s conftest.$ac_objext'
106087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106088   (eval $ac_try) 2>&5
106089   ac_status=$?
106090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106091   (exit $ac_status); }; }; then
106092   ac_lo=0 ac_mid=0
106093   while :; do
106094     cat >conftest.$ac_ext <<_ACEOF
106095 /* confdefs.h.  */
106096 _ACEOF
106097 cat confdefs.h >>conftest.$ac_ext
106098 cat >>conftest.$ac_ext <<_ACEOF
106099 /* end confdefs.h.  */
106100 $ac_includes_default
106101 int
106102 main ()
106103 {
106104 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
106105 test_array [0] = 0
106106
106107   ;
106108   return 0;
106109 }
106110 _ACEOF
106111 rm -f conftest.$ac_objext
106112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106113   (eval $ac_compile) 2>conftest.er1
106114   ac_status=$?
106115   grep -v '^ *+' conftest.er1 >conftest.err
106116   rm -f conftest.er1
106117   cat conftest.err >&5
106118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106119   (exit $ac_status); } &&
106120          { ac_try='test -z "$ac_c_werror_flag"
106121                          || test ! -s conftest.err'
106122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106123   (eval $ac_try) 2>&5
106124   ac_status=$?
106125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106126   (exit $ac_status); }; } &&
106127          { ac_try='test -s conftest.$ac_objext'
106128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106129   (eval $ac_try) 2>&5
106130   ac_status=$?
106131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106132   (exit $ac_status); }; }; then
106133   ac_hi=$ac_mid; break
106134 else
106135   echo "$as_me: failed program was:" >&5
106136 sed 's/^/| /' conftest.$ac_ext >&5
106137
106138 ac_lo=`expr $ac_mid + 1`
106139                     if test $ac_lo -le $ac_mid; then
106140                       ac_lo= ac_hi=
106141                       break
106142                     fi
106143                     ac_mid=`expr 2 '*' $ac_mid + 1`
106144 fi
106145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106146   done
106147 else
106148   echo "$as_me: failed program was:" >&5
106149 sed 's/^/| /' conftest.$ac_ext >&5
106150
106151 cat >conftest.$ac_ext <<_ACEOF
106152 /* confdefs.h.  */
106153 _ACEOF
106154 cat confdefs.h >>conftest.$ac_ext
106155 cat >>conftest.$ac_ext <<_ACEOF
106156 /* end confdefs.h.  */
106157 $ac_includes_default
106158 int
106159 main ()
106160 {
106161 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
106162 test_array [0] = 0
106163
106164   ;
106165   return 0;
106166 }
106167 _ACEOF
106168 rm -f conftest.$ac_objext
106169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106170   (eval $ac_compile) 2>conftest.er1
106171   ac_status=$?
106172   grep -v '^ *+' conftest.er1 >conftest.err
106173   rm -f conftest.er1
106174   cat conftest.err >&5
106175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106176   (exit $ac_status); } &&
106177          { ac_try='test -z "$ac_c_werror_flag"
106178                          || test ! -s conftest.err'
106179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106180   (eval $ac_try) 2>&5
106181   ac_status=$?
106182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106183   (exit $ac_status); }; } &&
106184          { ac_try='test -s conftest.$ac_objext'
106185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106186   (eval $ac_try) 2>&5
106187   ac_status=$?
106188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106189   (exit $ac_status); }; }; then
106190   ac_hi=-1 ac_mid=-1
106191   while :; do
106192     cat >conftest.$ac_ext <<_ACEOF
106193 /* confdefs.h.  */
106194 _ACEOF
106195 cat confdefs.h >>conftest.$ac_ext
106196 cat >>conftest.$ac_ext <<_ACEOF
106197 /* end confdefs.h.  */
106198 $ac_includes_default
106199 int
106200 main ()
106201 {
106202 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
106203 test_array [0] = 0
106204
106205   ;
106206   return 0;
106207 }
106208 _ACEOF
106209 rm -f conftest.$ac_objext
106210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106211   (eval $ac_compile) 2>conftest.er1
106212   ac_status=$?
106213   grep -v '^ *+' conftest.er1 >conftest.err
106214   rm -f conftest.er1
106215   cat conftest.err >&5
106216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106217   (exit $ac_status); } &&
106218          { ac_try='test -z "$ac_c_werror_flag"
106219                          || test ! -s conftest.err'
106220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106221   (eval $ac_try) 2>&5
106222   ac_status=$?
106223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106224   (exit $ac_status); }; } &&
106225          { ac_try='test -s conftest.$ac_objext'
106226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106227   (eval $ac_try) 2>&5
106228   ac_status=$?
106229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106230   (exit $ac_status); }; }; then
106231   ac_lo=$ac_mid; break
106232 else
106233   echo "$as_me: failed program was:" >&5
106234 sed 's/^/| /' conftest.$ac_ext >&5
106235
106236 ac_hi=`expr '(' $ac_mid ')' - 1`
106237                        if test $ac_mid -le $ac_hi; then
106238                          ac_lo= ac_hi=
106239                          break
106240                        fi
106241                        ac_mid=`expr 2 '*' $ac_mid`
106242 fi
106243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106244   done
106245 else
106246   echo "$as_me: failed program was:" >&5
106247 sed 's/^/| /' conftest.$ac_ext >&5
106248
106249 ac_lo= ac_hi=
106250 fi
106251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106252 fi
106253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106254 # Binary search between lo and hi bounds.
106255 while test "x$ac_lo" != "x$ac_hi"; do
106256   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106257   cat >conftest.$ac_ext <<_ACEOF
106258 /* confdefs.h.  */
106259 _ACEOF
106260 cat confdefs.h >>conftest.$ac_ext
106261 cat >>conftest.$ac_ext <<_ACEOF
106262 /* end confdefs.h.  */
106263 $ac_includes_default
106264 int
106265 main ()
106266 {
106267 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
106268 test_array [0] = 0
106269
106270   ;
106271   return 0;
106272 }
106273 _ACEOF
106274 rm -f conftest.$ac_objext
106275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106276   (eval $ac_compile) 2>conftest.er1
106277   ac_status=$?
106278   grep -v '^ *+' conftest.er1 >conftest.err
106279   rm -f conftest.er1
106280   cat conftest.err >&5
106281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106282   (exit $ac_status); } &&
106283          { ac_try='test -z "$ac_c_werror_flag"
106284                          || test ! -s conftest.err'
106285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106286   (eval $ac_try) 2>&5
106287   ac_status=$?
106288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106289   (exit $ac_status); }; } &&
106290          { ac_try='test -s conftest.$ac_objext'
106291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106292   (eval $ac_try) 2>&5
106293   ac_status=$?
106294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106295   (exit $ac_status); }; }; then
106296   ac_hi=$ac_mid
106297 else
106298   echo "$as_me: failed program was:" >&5
106299 sed 's/^/| /' conftest.$ac_ext >&5
106300
106301 ac_lo=`expr '(' $ac_mid ')' + 1`
106302 fi
106303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106304 done
106305 case $ac_lo in
106306 ?*) ac_cv_sizeof_void_p=$ac_lo;;
106307 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106308 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
106310 See \`config.log' for more details." >&5
106311 echo "$as_me: error: cannot compute sizeof (void *), 77
106312 See \`config.log' for more details." >&2;}
106313    { (exit 1); exit 1; }; }; } ;;
106314 esac
106315 else
106316   if test "$cross_compiling" = yes; then
106317   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106318 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106319 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106320 See \`config.log' for more details." >&5
106321 echo "$as_me: error: cannot run test program while cross compiling
106322 See \`config.log' for more details." >&2;}
106323    { (exit 1); exit 1; }; }; }
106324 else
106325   cat >conftest.$ac_ext <<_ACEOF
106326 /* confdefs.h.  */
106327 _ACEOF
106328 cat confdefs.h >>conftest.$ac_ext
106329 cat >>conftest.$ac_ext <<_ACEOF
106330 /* end confdefs.h.  */
106331 $ac_includes_default
106332 long longval () { return (long) (sizeof (void *)); }
106333 unsigned long ulongval () { return (long) (sizeof (void *)); }
106334 #include <stdio.h>
106335 #include <stdlib.h>
106336 int
106337 main ()
106338 {
106339
106340   FILE *f = fopen ("conftest.val", "w");
106341   if (! f)
106342     exit (1);
106343   if (((long) (sizeof (void *))) < 0)
106344     {
106345       long i = longval ();
106346       if (i != ((long) (sizeof (void *))))
106347         exit (1);
106348       fprintf (f, "%ld\n", i);
106349     }
106350   else
106351     {
106352       unsigned long i = ulongval ();
106353       if (i != ((long) (sizeof (void *))))
106354         exit (1);
106355       fprintf (f, "%lu\n", i);
106356     }
106357   exit (ferror (f) || fclose (f) != 0);
106358
106359   ;
106360   return 0;
106361 }
106362 _ACEOF
106363 rm -f conftest$ac_exeext
106364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106365   (eval $ac_link) 2>&5
106366   ac_status=$?
106367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106368   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106370   (eval $ac_try) 2>&5
106371   ac_status=$?
106372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106373   (exit $ac_status); }; }; then
106374   ac_cv_sizeof_void_p=`cat conftest.val`
106375 else
106376   echo "$as_me: program exited with status $ac_status" >&5
106377 echo "$as_me: failed program was:" >&5
106378 sed 's/^/| /' conftest.$ac_ext >&5
106379
106380 ( exit $ac_status )
106381 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106382 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106383 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
106384 See \`config.log' for more details." >&5
106385 echo "$as_me: error: cannot compute sizeof (void *), 77
106386 See \`config.log' for more details." >&2;}
106387    { (exit 1); exit 1; }; }; }
106388 fi
106389 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106390 fi
106391 fi
106392 rm -f conftest.val
106393 else
106394   ac_cv_sizeof_void_p=0
106395 fi
106396 fi
106397 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
106398 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
106399 cat >>confdefs.h <<_ACEOF
106400 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
106401 _ACEOF
106402
106403  ;;
106404 esac
106405
106406 # Lacking an uint64_t?  Test size of long
106407 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
106408   stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
106409 echo $ECHO_N "checking for long... $ECHO_C" >&6
106410 if test "${ac_cv_type_long+set}" = set; then
106411   echo $ECHO_N "(cached) $ECHO_C" >&6
106412 else
106413   cat >conftest.$ac_ext <<_ACEOF
106414 /* confdefs.h.  */
106415 _ACEOF
106416 cat confdefs.h >>conftest.$ac_ext
106417 cat >>conftest.$ac_ext <<_ACEOF
106418 /* end confdefs.h.  */
106419 $ac_includes_default
106420 int
106421 main ()
106422 {
106423 if ((long *) 0)
106424   return 0;
106425 if (sizeof (long))
106426   return 0;
106427   ;
106428   return 0;
106429 }
106430 _ACEOF
106431 rm -f conftest.$ac_objext
106432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106433   (eval $ac_compile) 2>conftest.er1
106434   ac_status=$?
106435   grep -v '^ *+' conftest.er1 >conftest.err
106436   rm -f conftest.er1
106437   cat conftest.err >&5
106438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106439   (exit $ac_status); } &&
106440          { ac_try='test -z "$ac_c_werror_flag"
106441                          || test ! -s conftest.err'
106442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106443   (eval $ac_try) 2>&5
106444   ac_status=$?
106445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106446   (exit $ac_status); }; } &&
106447          { ac_try='test -s conftest.$ac_objext'
106448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106449   (eval $ac_try) 2>&5
106450   ac_status=$?
106451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106452   (exit $ac_status); }; }; then
106453   ac_cv_type_long=yes
106454 else
106455   echo "$as_me: failed program was:" >&5
106456 sed 's/^/| /' conftest.$ac_ext >&5
106457
106458 ac_cv_type_long=no
106459 fi
106460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106461 fi
106462 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
106463 echo "${ECHO_T}$ac_cv_type_long" >&6
106464
106465 echo "$as_me:$LINENO: checking size of long" >&5
106466 echo $ECHO_N "checking size of long... $ECHO_C" >&6
106467 if test "${ac_cv_sizeof_long+set}" = set; then
106468   echo $ECHO_N "(cached) $ECHO_C" >&6
106469 else
106470   if test "$ac_cv_type_long" = yes; then
106471   # The cast to unsigned long works around a bug in the HP C Compiler
106472   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106473   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106474   # This bug is HP SR number 8606223364.
106475   if test "$cross_compiling" = yes; then
106476   # Depending upon the size, compute the lo and hi bounds.
106477 cat >conftest.$ac_ext <<_ACEOF
106478 /* confdefs.h.  */
106479 _ACEOF
106480 cat confdefs.h >>conftest.$ac_ext
106481 cat >>conftest.$ac_ext <<_ACEOF
106482 /* end confdefs.h.  */
106483 $ac_includes_default
106484 int
106485 main ()
106486 {
106487 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
106488 test_array [0] = 0
106489
106490   ;
106491   return 0;
106492 }
106493 _ACEOF
106494 rm -f conftest.$ac_objext
106495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106496   (eval $ac_compile) 2>conftest.er1
106497   ac_status=$?
106498   grep -v '^ *+' conftest.er1 >conftest.err
106499   rm -f conftest.er1
106500   cat conftest.err >&5
106501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106502   (exit $ac_status); } &&
106503          { ac_try='test -z "$ac_c_werror_flag"
106504                          || test ! -s conftest.err'
106505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106506   (eval $ac_try) 2>&5
106507   ac_status=$?
106508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106509   (exit $ac_status); }; } &&
106510          { ac_try='test -s conftest.$ac_objext'
106511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106512   (eval $ac_try) 2>&5
106513   ac_status=$?
106514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106515   (exit $ac_status); }; }; then
106516   ac_lo=0 ac_mid=0
106517   while :; do
106518     cat >conftest.$ac_ext <<_ACEOF
106519 /* confdefs.h.  */
106520 _ACEOF
106521 cat confdefs.h >>conftest.$ac_ext
106522 cat >>conftest.$ac_ext <<_ACEOF
106523 /* end confdefs.h.  */
106524 $ac_includes_default
106525 int
106526 main ()
106527 {
106528 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
106529 test_array [0] = 0
106530
106531   ;
106532   return 0;
106533 }
106534 _ACEOF
106535 rm -f conftest.$ac_objext
106536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106537   (eval $ac_compile) 2>conftest.er1
106538   ac_status=$?
106539   grep -v '^ *+' conftest.er1 >conftest.err
106540   rm -f conftest.er1
106541   cat conftest.err >&5
106542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106543   (exit $ac_status); } &&
106544          { ac_try='test -z "$ac_c_werror_flag"
106545                          || test ! -s conftest.err'
106546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547   (eval $ac_try) 2>&5
106548   ac_status=$?
106549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550   (exit $ac_status); }; } &&
106551          { ac_try='test -s conftest.$ac_objext'
106552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106553   (eval $ac_try) 2>&5
106554   ac_status=$?
106555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106556   (exit $ac_status); }; }; then
106557   ac_hi=$ac_mid; break
106558 else
106559   echo "$as_me: failed program was:" >&5
106560 sed 's/^/| /' conftest.$ac_ext >&5
106561
106562 ac_lo=`expr $ac_mid + 1`
106563                     if test $ac_lo -le $ac_mid; then
106564                       ac_lo= ac_hi=
106565                       break
106566                     fi
106567                     ac_mid=`expr 2 '*' $ac_mid + 1`
106568 fi
106569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106570   done
106571 else
106572   echo "$as_me: failed program was:" >&5
106573 sed 's/^/| /' conftest.$ac_ext >&5
106574
106575 cat >conftest.$ac_ext <<_ACEOF
106576 /* confdefs.h.  */
106577 _ACEOF
106578 cat confdefs.h >>conftest.$ac_ext
106579 cat >>conftest.$ac_ext <<_ACEOF
106580 /* end confdefs.h.  */
106581 $ac_includes_default
106582 int
106583 main ()
106584 {
106585 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
106586 test_array [0] = 0
106587
106588   ;
106589   return 0;
106590 }
106591 _ACEOF
106592 rm -f conftest.$ac_objext
106593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106594   (eval $ac_compile) 2>conftest.er1
106595   ac_status=$?
106596   grep -v '^ *+' conftest.er1 >conftest.err
106597   rm -f conftest.er1
106598   cat conftest.err >&5
106599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106600   (exit $ac_status); } &&
106601          { ac_try='test -z "$ac_c_werror_flag"
106602                          || test ! -s conftest.err'
106603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106604   (eval $ac_try) 2>&5
106605   ac_status=$?
106606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106607   (exit $ac_status); }; } &&
106608          { ac_try='test -s conftest.$ac_objext'
106609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106610   (eval $ac_try) 2>&5
106611   ac_status=$?
106612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106613   (exit $ac_status); }; }; then
106614   ac_hi=-1 ac_mid=-1
106615   while :; do
106616     cat >conftest.$ac_ext <<_ACEOF
106617 /* confdefs.h.  */
106618 _ACEOF
106619 cat confdefs.h >>conftest.$ac_ext
106620 cat >>conftest.$ac_ext <<_ACEOF
106621 /* end confdefs.h.  */
106622 $ac_includes_default
106623 int
106624 main ()
106625 {
106626 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
106627 test_array [0] = 0
106628
106629   ;
106630   return 0;
106631 }
106632 _ACEOF
106633 rm -f conftest.$ac_objext
106634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106635   (eval $ac_compile) 2>conftest.er1
106636   ac_status=$?
106637   grep -v '^ *+' conftest.er1 >conftest.err
106638   rm -f conftest.er1
106639   cat conftest.err >&5
106640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106641   (exit $ac_status); } &&
106642          { ac_try='test -z "$ac_c_werror_flag"
106643                          || test ! -s conftest.err'
106644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106645   (eval $ac_try) 2>&5
106646   ac_status=$?
106647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106648   (exit $ac_status); }; } &&
106649          { ac_try='test -s conftest.$ac_objext'
106650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106651   (eval $ac_try) 2>&5
106652   ac_status=$?
106653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106654   (exit $ac_status); }; }; then
106655   ac_lo=$ac_mid; break
106656 else
106657   echo "$as_me: failed program was:" >&5
106658 sed 's/^/| /' conftest.$ac_ext >&5
106659
106660 ac_hi=`expr '(' $ac_mid ')' - 1`
106661                        if test $ac_mid -le $ac_hi; then
106662                          ac_lo= ac_hi=
106663                          break
106664                        fi
106665                        ac_mid=`expr 2 '*' $ac_mid`
106666 fi
106667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106668   done
106669 else
106670   echo "$as_me: failed program was:" >&5
106671 sed 's/^/| /' conftest.$ac_ext >&5
106672
106673 ac_lo= ac_hi=
106674 fi
106675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106676 fi
106677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106678 # Binary search between lo and hi bounds.
106679 while test "x$ac_lo" != "x$ac_hi"; do
106680   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
106681   cat >conftest.$ac_ext <<_ACEOF
106682 /* confdefs.h.  */
106683 _ACEOF
106684 cat confdefs.h >>conftest.$ac_ext
106685 cat >>conftest.$ac_ext <<_ACEOF
106686 /* end confdefs.h.  */
106687 $ac_includes_default
106688 int
106689 main ()
106690 {
106691 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
106692 test_array [0] = 0
106693
106694   ;
106695   return 0;
106696 }
106697 _ACEOF
106698 rm -f conftest.$ac_objext
106699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106700   (eval $ac_compile) 2>conftest.er1
106701   ac_status=$?
106702   grep -v '^ *+' conftest.er1 >conftest.err
106703   rm -f conftest.er1
106704   cat conftest.err >&5
106705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706   (exit $ac_status); } &&
106707          { ac_try='test -z "$ac_c_werror_flag"
106708                          || test ! -s conftest.err'
106709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106710   (eval $ac_try) 2>&5
106711   ac_status=$?
106712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106713   (exit $ac_status); }; } &&
106714          { ac_try='test -s conftest.$ac_objext'
106715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106716   (eval $ac_try) 2>&5
106717   ac_status=$?
106718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106719   (exit $ac_status); }; }; then
106720   ac_hi=$ac_mid
106721 else
106722   echo "$as_me: failed program was:" >&5
106723 sed 's/^/| /' conftest.$ac_ext >&5
106724
106725 ac_lo=`expr '(' $ac_mid ')' + 1`
106726 fi
106727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106728 done
106729 case $ac_lo in
106730 ?*) ac_cv_sizeof_long=$ac_lo;;
106731 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106732 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106733 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106734 See \`config.log' for more details." >&5
106735 echo "$as_me: error: cannot compute sizeof (long), 77
106736 See \`config.log' for more details." >&2;}
106737    { (exit 1); exit 1; }; }; } ;;
106738 esac
106739 else
106740   if test "$cross_compiling" = yes; then
106741   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106742 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106743 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
106744 See \`config.log' for more details." >&5
106745 echo "$as_me: error: cannot run test program while cross compiling
106746 See \`config.log' for more details." >&2;}
106747    { (exit 1); exit 1; }; }; }
106748 else
106749   cat >conftest.$ac_ext <<_ACEOF
106750 /* confdefs.h.  */
106751 _ACEOF
106752 cat confdefs.h >>conftest.$ac_ext
106753 cat >>conftest.$ac_ext <<_ACEOF
106754 /* end confdefs.h.  */
106755 $ac_includes_default
106756 long longval () { return (long) (sizeof (long)); }
106757 unsigned long ulongval () { return (long) (sizeof (long)); }
106758 #include <stdio.h>
106759 #include <stdlib.h>
106760 int
106761 main ()
106762 {
106763
106764   FILE *f = fopen ("conftest.val", "w");
106765   if (! f)
106766     exit (1);
106767   if (((long) (sizeof (long))) < 0)
106768     {
106769       long i = longval ();
106770       if (i != ((long) (sizeof (long))))
106771         exit (1);
106772       fprintf (f, "%ld\n", i);
106773     }
106774   else
106775     {
106776       unsigned long i = ulongval ();
106777       if (i != ((long) (sizeof (long))))
106778         exit (1);
106779       fprintf (f, "%lu\n", i);
106780     }
106781   exit (ferror (f) || fclose (f) != 0);
106782
106783   ;
106784   return 0;
106785 }
106786 _ACEOF
106787 rm -f conftest$ac_exeext
106788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106789   (eval $ac_link) 2>&5
106790   ac_status=$?
106791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106792   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
106793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106794   (eval $ac_try) 2>&5
106795   ac_status=$?
106796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106797   (exit $ac_status); }; }; then
106798   ac_cv_sizeof_long=`cat conftest.val`
106799 else
106800   echo "$as_me: program exited with status $ac_status" >&5
106801 echo "$as_me: failed program was:" >&5
106802 sed 's/^/| /' conftest.$ac_ext >&5
106803
106804 ( exit $ac_status )
106805 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
106806 echo "$as_me: error: in \`$ac_pwd':" >&2;}
106807 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
106808 See \`config.log' for more details." >&5
106809 echo "$as_me: error: cannot compute sizeof (long), 77
106810 See \`config.log' for more details." >&2;}
106811    { (exit 1); exit 1; }; }; }
106812 fi
106813 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
106814 fi
106815 fi
106816 rm -f conftest.val
106817 else
106818   ac_cv_sizeof_long=0
106819 fi
106820 fi
106821 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
106822 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
106823 cat >>confdefs.h <<_ACEOF
106824 #define SIZEOF_LONG $ac_cv_sizeof_long
106825 _ACEOF
106826
106827  ;;
106828 esac
106829
106830 if test $acx_cv_header_stdint = stddef.h; then
106831   # Lacking a good header?  Test size of everything and deduce all types.
106832   echo "$as_me:$LINENO: checking for int" >&5
106833 echo $ECHO_N "checking for int... $ECHO_C" >&6
106834 if test "${ac_cv_type_int+set}" = set; then
106835   echo $ECHO_N "(cached) $ECHO_C" >&6
106836 else
106837   cat >conftest.$ac_ext <<_ACEOF
106838 /* confdefs.h.  */
106839 _ACEOF
106840 cat confdefs.h >>conftest.$ac_ext
106841 cat >>conftest.$ac_ext <<_ACEOF
106842 /* end confdefs.h.  */
106843 $ac_includes_default
106844 int
106845 main ()
106846 {
106847 if ((int *) 0)
106848   return 0;
106849 if (sizeof (int))
106850   return 0;
106851   ;
106852   return 0;
106853 }
106854 _ACEOF
106855 rm -f conftest.$ac_objext
106856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106857   (eval $ac_compile) 2>conftest.er1
106858   ac_status=$?
106859   grep -v '^ *+' conftest.er1 >conftest.err
106860   rm -f conftest.er1
106861   cat conftest.err >&5
106862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106863   (exit $ac_status); } &&
106864          { ac_try='test -z "$ac_c_werror_flag"
106865                          || test ! -s conftest.err'
106866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106867   (eval $ac_try) 2>&5
106868   ac_status=$?
106869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106870   (exit $ac_status); }; } &&
106871          { ac_try='test -s conftest.$ac_objext'
106872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106873   (eval $ac_try) 2>&5
106874   ac_status=$?
106875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106876   (exit $ac_status); }; }; then
106877   ac_cv_type_int=yes
106878 else
106879   echo "$as_me: failed program was:" >&5
106880 sed 's/^/| /' conftest.$ac_ext >&5
106881
106882 ac_cv_type_int=no
106883 fi
106884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106885 fi
106886 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
106887 echo "${ECHO_T}$ac_cv_type_int" >&6
106888
106889 echo "$as_me:$LINENO: checking size of int" >&5
106890 echo $ECHO_N "checking size of int... $ECHO_C" >&6
106891 if test "${ac_cv_sizeof_int+set}" = set; then
106892   echo $ECHO_N "(cached) $ECHO_C" >&6
106893 else
106894   if test "$ac_cv_type_int" = yes; then
106895   # The cast to unsigned long works around a bug in the HP C Compiler
106896   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
106897   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
106898   # This bug is HP SR number 8606223364.
106899   if test "$cross_compiling" = yes; then
106900   # Depending upon the size, compute the lo and hi bounds.
106901 cat >conftest.$ac_ext <<_ACEOF
106902 /* confdefs.h.  */
106903 _ACEOF
106904 cat confdefs.h >>conftest.$ac_ext
106905 cat >>conftest.$ac_ext <<_ACEOF
106906 /* end confdefs.h.  */
106907 $ac_includes_default
106908 int
106909 main ()
106910 {
106911 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
106912 test_array [0] = 0
106913
106914   ;
106915   return 0;
106916 }
106917 _ACEOF
106918 rm -f conftest.$ac_objext
106919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106920   (eval $ac_compile) 2>conftest.er1
106921   ac_status=$?
106922   grep -v '^ *+' conftest.er1 >conftest.err
106923   rm -f conftest.er1
106924   cat conftest.err >&5
106925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106926   (exit $ac_status); } &&
106927          { ac_try='test -z "$ac_c_werror_flag"
106928                          || test ! -s conftest.err'
106929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106930   (eval $ac_try) 2>&5
106931   ac_status=$?
106932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106933   (exit $ac_status); }; } &&
106934          { ac_try='test -s conftest.$ac_objext'
106935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106936   (eval $ac_try) 2>&5
106937   ac_status=$?
106938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106939   (exit $ac_status); }; }; then
106940   ac_lo=0 ac_mid=0
106941   while :; do
106942     cat >conftest.$ac_ext <<_ACEOF
106943 /* confdefs.h.  */
106944 _ACEOF
106945 cat confdefs.h >>conftest.$ac_ext
106946 cat >>conftest.$ac_ext <<_ACEOF
106947 /* end confdefs.h.  */
106948 $ac_includes_default
106949 int
106950 main ()
106951 {
106952 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
106953 test_array [0] = 0
106954
106955   ;
106956   return 0;
106957 }
106958 _ACEOF
106959 rm -f conftest.$ac_objext
106960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106961   (eval $ac_compile) 2>conftest.er1
106962   ac_status=$?
106963   grep -v '^ *+' conftest.er1 >conftest.err
106964   rm -f conftest.er1
106965   cat conftest.err >&5
106966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106967   (exit $ac_status); } &&
106968          { ac_try='test -z "$ac_c_werror_flag"
106969                          || test ! -s conftest.err'
106970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106971   (eval $ac_try) 2>&5
106972   ac_status=$?
106973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106974   (exit $ac_status); }; } &&
106975          { ac_try='test -s conftest.$ac_objext'
106976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106977   (eval $ac_try) 2>&5
106978   ac_status=$?
106979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106980   (exit $ac_status); }; }; then
106981   ac_hi=$ac_mid; break
106982 else
106983   echo "$as_me: failed program was:" >&5
106984 sed 's/^/| /' conftest.$ac_ext >&5
106985
106986 ac_lo=`expr $ac_mid + 1`
106987                     if test $ac_lo -le $ac_mid; then
106988                       ac_lo= ac_hi=
106989                       break
106990                     fi
106991                     ac_mid=`expr 2 '*' $ac_mid + 1`
106992 fi
106993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106994   done
106995 else
106996   echo "$as_me: failed program was:" >&5
106997 sed 's/^/| /' conftest.$ac_ext >&5
106998
106999 cat >conftest.$ac_ext <<_ACEOF
107000 /* confdefs.h.  */
107001 _ACEOF
107002 cat confdefs.h >>conftest.$ac_ext
107003 cat >>conftest.$ac_ext <<_ACEOF
107004 /* end confdefs.h.  */
107005 $ac_includes_default
107006 int
107007 main ()
107008 {
107009 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
107010 test_array [0] = 0
107011
107012   ;
107013   return 0;
107014 }
107015 _ACEOF
107016 rm -f conftest.$ac_objext
107017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107018   (eval $ac_compile) 2>conftest.er1
107019   ac_status=$?
107020   grep -v '^ *+' conftest.er1 >conftest.err
107021   rm -f conftest.er1
107022   cat conftest.err >&5
107023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107024   (exit $ac_status); } &&
107025          { ac_try='test -z "$ac_c_werror_flag"
107026                          || test ! -s conftest.err'
107027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107028   (eval $ac_try) 2>&5
107029   ac_status=$?
107030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107031   (exit $ac_status); }; } &&
107032          { ac_try='test -s conftest.$ac_objext'
107033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107034   (eval $ac_try) 2>&5
107035   ac_status=$?
107036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107037   (exit $ac_status); }; }; then
107038   ac_hi=-1 ac_mid=-1
107039   while :; do
107040     cat >conftest.$ac_ext <<_ACEOF
107041 /* confdefs.h.  */
107042 _ACEOF
107043 cat confdefs.h >>conftest.$ac_ext
107044 cat >>conftest.$ac_ext <<_ACEOF
107045 /* end confdefs.h.  */
107046 $ac_includes_default
107047 int
107048 main ()
107049 {
107050 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
107051 test_array [0] = 0
107052
107053   ;
107054   return 0;
107055 }
107056 _ACEOF
107057 rm -f conftest.$ac_objext
107058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107059   (eval $ac_compile) 2>conftest.er1
107060   ac_status=$?
107061   grep -v '^ *+' conftest.er1 >conftest.err
107062   rm -f conftest.er1
107063   cat conftest.err >&5
107064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107065   (exit $ac_status); } &&
107066          { ac_try='test -z "$ac_c_werror_flag"
107067                          || test ! -s conftest.err'
107068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107069   (eval $ac_try) 2>&5
107070   ac_status=$?
107071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107072   (exit $ac_status); }; } &&
107073          { ac_try='test -s conftest.$ac_objext'
107074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107075   (eval $ac_try) 2>&5
107076   ac_status=$?
107077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107078   (exit $ac_status); }; }; then
107079   ac_lo=$ac_mid; break
107080 else
107081   echo "$as_me: failed program was:" >&5
107082 sed 's/^/| /' conftest.$ac_ext >&5
107083
107084 ac_hi=`expr '(' $ac_mid ')' - 1`
107085                        if test $ac_mid -le $ac_hi; then
107086                          ac_lo= ac_hi=
107087                          break
107088                        fi
107089                        ac_mid=`expr 2 '*' $ac_mid`
107090 fi
107091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107092   done
107093 else
107094   echo "$as_me: failed program was:" >&5
107095 sed 's/^/| /' conftest.$ac_ext >&5
107096
107097 ac_lo= ac_hi=
107098 fi
107099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107100 fi
107101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107102 # Binary search between lo and hi bounds.
107103 while test "x$ac_lo" != "x$ac_hi"; do
107104   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
107105   cat >conftest.$ac_ext <<_ACEOF
107106 /* confdefs.h.  */
107107 _ACEOF
107108 cat confdefs.h >>conftest.$ac_ext
107109 cat >>conftest.$ac_ext <<_ACEOF
107110 /* end confdefs.h.  */
107111 $ac_includes_default
107112 int
107113 main ()
107114 {
107115 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
107116 test_array [0] = 0
107117
107118   ;
107119   return 0;
107120 }
107121 _ACEOF
107122 rm -f conftest.$ac_objext
107123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107124   (eval $ac_compile) 2>conftest.er1
107125   ac_status=$?
107126   grep -v '^ *+' conftest.er1 >conftest.err
107127   rm -f conftest.er1
107128   cat conftest.err >&5
107129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107130   (exit $ac_status); } &&
107131          { ac_try='test -z "$ac_c_werror_flag"
107132                          || test ! -s conftest.err'
107133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107134   (eval $ac_try) 2>&5
107135   ac_status=$?
107136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107137   (exit $ac_status); }; } &&
107138          { ac_try='test -s conftest.$ac_objext'
107139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107140   (eval $ac_try) 2>&5
107141   ac_status=$?
107142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107143   (exit $ac_status); }; }; then
107144   ac_hi=$ac_mid
107145 else
107146   echo "$as_me: failed program was:" >&5
107147 sed 's/^/| /' conftest.$ac_ext >&5
107148
107149 ac_lo=`expr '(' $ac_mid ')' + 1`
107150 fi
107151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107152 done
107153 case $ac_lo in
107154 ?*) ac_cv_sizeof_int=$ac_lo;;
107155 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107156 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
107158 See \`config.log' for more details." >&5
107159 echo "$as_me: error: cannot compute sizeof (int), 77
107160 See \`config.log' for more details." >&2;}
107161    { (exit 1); exit 1; }; }; } ;;
107162 esac
107163 else
107164   if test "$cross_compiling" = yes; then
107165   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107166 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107167 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
107168 See \`config.log' for more details." >&5
107169 echo "$as_me: error: cannot run test program while cross compiling
107170 See \`config.log' for more details." >&2;}
107171    { (exit 1); exit 1; }; }; }
107172 else
107173   cat >conftest.$ac_ext <<_ACEOF
107174 /* confdefs.h.  */
107175 _ACEOF
107176 cat confdefs.h >>conftest.$ac_ext
107177 cat >>conftest.$ac_ext <<_ACEOF
107178 /* end confdefs.h.  */
107179 $ac_includes_default
107180 long longval () { return (long) (sizeof (int)); }
107181 unsigned long ulongval () { return (long) (sizeof (int)); }
107182 #include <stdio.h>
107183 #include <stdlib.h>
107184 int
107185 main ()
107186 {
107187
107188   FILE *f = fopen ("conftest.val", "w");
107189   if (! f)
107190     exit (1);
107191   if (((long) (sizeof (int))) < 0)
107192     {
107193       long i = longval ();
107194       if (i != ((long) (sizeof (int))))
107195         exit (1);
107196       fprintf (f, "%ld\n", i);
107197     }
107198   else
107199     {
107200       unsigned long i = ulongval ();
107201       if (i != ((long) (sizeof (int))))
107202         exit (1);
107203       fprintf (f, "%lu\n", i);
107204     }
107205   exit (ferror (f) || fclose (f) != 0);
107206
107207   ;
107208   return 0;
107209 }
107210 _ACEOF
107211 rm -f conftest$ac_exeext
107212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107213   (eval $ac_link) 2>&5
107214   ac_status=$?
107215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107216   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
107217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107218   (eval $ac_try) 2>&5
107219   ac_status=$?
107220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107221   (exit $ac_status); }; }; then
107222   ac_cv_sizeof_int=`cat conftest.val`
107223 else
107224   echo "$as_me: program exited with status $ac_status" >&5
107225 echo "$as_me: failed program was:" >&5
107226 sed 's/^/| /' conftest.$ac_ext >&5
107227
107228 ( exit $ac_status )
107229 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107230 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
107232 See \`config.log' for more details." >&5
107233 echo "$as_me: error: cannot compute sizeof (int), 77
107234 See \`config.log' for more details." >&2;}
107235    { (exit 1); exit 1; }; }; }
107236 fi
107237 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107238 fi
107239 fi
107240 rm -f conftest.val
107241 else
107242   ac_cv_sizeof_int=0
107243 fi
107244 fi
107245 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
107246 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
107247 cat >>confdefs.h <<_ACEOF
107248 #define SIZEOF_INT $ac_cv_sizeof_int
107249 _ACEOF
107250
107251
107252   echo "$as_me:$LINENO: checking for short" >&5
107253 echo $ECHO_N "checking for short... $ECHO_C" >&6
107254 if test "${ac_cv_type_short+set}" = set; then
107255   echo $ECHO_N "(cached) $ECHO_C" >&6
107256 else
107257   cat >conftest.$ac_ext <<_ACEOF
107258 /* confdefs.h.  */
107259 _ACEOF
107260 cat confdefs.h >>conftest.$ac_ext
107261 cat >>conftest.$ac_ext <<_ACEOF
107262 /* end confdefs.h.  */
107263 $ac_includes_default
107264 int
107265 main ()
107266 {
107267 if ((short *) 0)
107268   return 0;
107269 if (sizeof (short))
107270   return 0;
107271   ;
107272   return 0;
107273 }
107274 _ACEOF
107275 rm -f conftest.$ac_objext
107276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107277   (eval $ac_compile) 2>conftest.er1
107278   ac_status=$?
107279   grep -v '^ *+' conftest.er1 >conftest.err
107280   rm -f conftest.er1
107281   cat conftest.err >&5
107282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107283   (exit $ac_status); } &&
107284          { ac_try='test -z "$ac_c_werror_flag"
107285                          || test ! -s conftest.err'
107286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107287   (eval $ac_try) 2>&5
107288   ac_status=$?
107289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107290   (exit $ac_status); }; } &&
107291          { ac_try='test -s conftest.$ac_objext'
107292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107293   (eval $ac_try) 2>&5
107294   ac_status=$?
107295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107296   (exit $ac_status); }; }; then
107297   ac_cv_type_short=yes
107298 else
107299   echo "$as_me: failed program was:" >&5
107300 sed 's/^/| /' conftest.$ac_ext >&5
107301
107302 ac_cv_type_short=no
107303 fi
107304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107305 fi
107306 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
107307 echo "${ECHO_T}$ac_cv_type_short" >&6
107308
107309 echo "$as_me:$LINENO: checking size of short" >&5
107310 echo $ECHO_N "checking size of short... $ECHO_C" >&6
107311 if test "${ac_cv_sizeof_short+set}" = set; then
107312   echo $ECHO_N "(cached) $ECHO_C" >&6
107313 else
107314   if test "$ac_cv_type_short" = yes; then
107315   # The cast to unsigned long works around a bug in the HP C Compiler
107316   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
107317   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
107318   # This bug is HP SR number 8606223364.
107319   if test "$cross_compiling" = yes; then
107320   # Depending upon the size, compute the lo and hi bounds.
107321 cat >conftest.$ac_ext <<_ACEOF
107322 /* confdefs.h.  */
107323 _ACEOF
107324 cat confdefs.h >>conftest.$ac_ext
107325 cat >>conftest.$ac_ext <<_ACEOF
107326 /* end confdefs.h.  */
107327 $ac_includes_default
107328 int
107329 main ()
107330 {
107331 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
107332 test_array [0] = 0
107333
107334   ;
107335   return 0;
107336 }
107337 _ACEOF
107338 rm -f conftest.$ac_objext
107339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107340   (eval $ac_compile) 2>conftest.er1
107341   ac_status=$?
107342   grep -v '^ *+' conftest.er1 >conftest.err
107343   rm -f conftest.er1
107344   cat conftest.err >&5
107345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107346   (exit $ac_status); } &&
107347          { ac_try='test -z "$ac_c_werror_flag"
107348                          || test ! -s conftest.err'
107349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107350   (eval $ac_try) 2>&5
107351   ac_status=$?
107352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107353   (exit $ac_status); }; } &&
107354          { ac_try='test -s conftest.$ac_objext'
107355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107356   (eval $ac_try) 2>&5
107357   ac_status=$?
107358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107359   (exit $ac_status); }; }; then
107360   ac_lo=0 ac_mid=0
107361   while :; do
107362     cat >conftest.$ac_ext <<_ACEOF
107363 /* confdefs.h.  */
107364 _ACEOF
107365 cat confdefs.h >>conftest.$ac_ext
107366 cat >>conftest.$ac_ext <<_ACEOF
107367 /* end confdefs.h.  */
107368 $ac_includes_default
107369 int
107370 main ()
107371 {
107372 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
107373 test_array [0] = 0
107374
107375   ;
107376   return 0;
107377 }
107378 _ACEOF
107379 rm -f conftest.$ac_objext
107380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107381   (eval $ac_compile) 2>conftest.er1
107382   ac_status=$?
107383   grep -v '^ *+' conftest.er1 >conftest.err
107384   rm -f conftest.er1
107385   cat conftest.err >&5
107386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107387   (exit $ac_status); } &&
107388          { ac_try='test -z "$ac_c_werror_flag"
107389                          || test ! -s conftest.err'
107390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107391   (eval $ac_try) 2>&5
107392   ac_status=$?
107393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107394   (exit $ac_status); }; } &&
107395          { ac_try='test -s conftest.$ac_objext'
107396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107397   (eval $ac_try) 2>&5
107398   ac_status=$?
107399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107400   (exit $ac_status); }; }; then
107401   ac_hi=$ac_mid; break
107402 else
107403   echo "$as_me: failed program was:" >&5
107404 sed 's/^/| /' conftest.$ac_ext >&5
107405
107406 ac_lo=`expr $ac_mid + 1`
107407                     if test $ac_lo -le $ac_mid; then
107408                       ac_lo= ac_hi=
107409                       break
107410                     fi
107411                     ac_mid=`expr 2 '*' $ac_mid + 1`
107412 fi
107413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107414   done
107415 else
107416   echo "$as_me: failed program was:" >&5
107417 sed 's/^/| /' conftest.$ac_ext >&5
107418
107419 cat >conftest.$ac_ext <<_ACEOF
107420 /* confdefs.h.  */
107421 _ACEOF
107422 cat confdefs.h >>conftest.$ac_ext
107423 cat >>conftest.$ac_ext <<_ACEOF
107424 /* end confdefs.h.  */
107425 $ac_includes_default
107426 int
107427 main ()
107428 {
107429 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
107430 test_array [0] = 0
107431
107432   ;
107433   return 0;
107434 }
107435 _ACEOF
107436 rm -f conftest.$ac_objext
107437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107438   (eval $ac_compile) 2>conftest.er1
107439   ac_status=$?
107440   grep -v '^ *+' conftest.er1 >conftest.err
107441   rm -f conftest.er1
107442   cat conftest.err >&5
107443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107444   (exit $ac_status); } &&
107445          { ac_try='test -z "$ac_c_werror_flag"
107446                          || test ! -s conftest.err'
107447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107448   (eval $ac_try) 2>&5
107449   ac_status=$?
107450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107451   (exit $ac_status); }; } &&
107452          { ac_try='test -s conftest.$ac_objext'
107453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107454   (eval $ac_try) 2>&5
107455   ac_status=$?
107456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107457   (exit $ac_status); }; }; then
107458   ac_hi=-1 ac_mid=-1
107459   while :; do
107460     cat >conftest.$ac_ext <<_ACEOF
107461 /* confdefs.h.  */
107462 _ACEOF
107463 cat confdefs.h >>conftest.$ac_ext
107464 cat >>conftest.$ac_ext <<_ACEOF
107465 /* end confdefs.h.  */
107466 $ac_includes_default
107467 int
107468 main ()
107469 {
107470 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
107471 test_array [0] = 0
107472
107473   ;
107474   return 0;
107475 }
107476 _ACEOF
107477 rm -f conftest.$ac_objext
107478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107479   (eval $ac_compile) 2>conftest.er1
107480   ac_status=$?
107481   grep -v '^ *+' conftest.er1 >conftest.err
107482   rm -f conftest.er1
107483   cat conftest.err >&5
107484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107485   (exit $ac_status); } &&
107486          { ac_try='test -z "$ac_c_werror_flag"
107487                          || test ! -s conftest.err'
107488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107489   (eval $ac_try) 2>&5
107490   ac_status=$?
107491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107492   (exit $ac_status); }; } &&
107493          { ac_try='test -s conftest.$ac_objext'
107494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107495   (eval $ac_try) 2>&5
107496   ac_status=$?
107497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107498   (exit $ac_status); }; }; then
107499   ac_lo=$ac_mid; break
107500 else
107501   echo "$as_me: failed program was:" >&5
107502 sed 's/^/| /' conftest.$ac_ext >&5
107503
107504 ac_hi=`expr '(' $ac_mid ')' - 1`
107505                        if test $ac_mid -le $ac_hi; then
107506                          ac_lo= ac_hi=
107507                          break
107508                        fi
107509                        ac_mid=`expr 2 '*' $ac_mid`
107510 fi
107511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107512   done
107513 else
107514   echo "$as_me: failed program was:" >&5
107515 sed 's/^/| /' conftest.$ac_ext >&5
107516
107517 ac_lo= ac_hi=
107518 fi
107519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107520 fi
107521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107522 # Binary search between lo and hi bounds.
107523 while test "x$ac_lo" != "x$ac_hi"; do
107524   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 $ac_includes_default
107532 int
107533 main ()
107534 {
107535 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
107536 test_array [0] = 0
107537
107538   ;
107539   return 0;
107540 }
107541 _ACEOF
107542 rm -f conftest.$ac_objext
107543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107544   (eval $ac_compile) 2>conftest.er1
107545   ac_status=$?
107546   grep -v '^ *+' conftest.er1 >conftest.err
107547   rm -f conftest.er1
107548   cat conftest.err >&5
107549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107550   (exit $ac_status); } &&
107551          { ac_try='test -z "$ac_c_werror_flag"
107552                          || test ! -s conftest.err'
107553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107554   (eval $ac_try) 2>&5
107555   ac_status=$?
107556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107557   (exit $ac_status); }; } &&
107558          { ac_try='test -s conftest.$ac_objext'
107559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107560   (eval $ac_try) 2>&5
107561   ac_status=$?
107562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107563   (exit $ac_status); }; }; then
107564   ac_hi=$ac_mid
107565 else
107566   echo "$as_me: failed program was:" >&5
107567 sed 's/^/| /' conftest.$ac_ext >&5
107568
107569 ac_lo=`expr '(' $ac_mid ')' + 1`
107570 fi
107571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107572 done
107573 case $ac_lo in
107574 ?*) ac_cv_sizeof_short=$ac_lo;;
107575 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107576 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107577 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
107578 See \`config.log' for more details." >&5
107579 echo "$as_me: error: cannot compute sizeof (short), 77
107580 See \`config.log' for more details." >&2;}
107581    { (exit 1); exit 1; }; }; } ;;
107582 esac
107583 else
107584   if test "$cross_compiling" = yes; then
107585   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107586 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107587 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
107588 See \`config.log' for more details." >&5
107589 echo "$as_me: error: cannot run test program while cross compiling
107590 See \`config.log' for more details." >&2;}
107591    { (exit 1); exit 1; }; }; }
107592 else
107593   cat >conftest.$ac_ext <<_ACEOF
107594 /* confdefs.h.  */
107595 _ACEOF
107596 cat confdefs.h >>conftest.$ac_ext
107597 cat >>conftest.$ac_ext <<_ACEOF
107598 /* end confdefs.h.  */
107599 $ac_includes_default
107600 long longval () { return (long) (sizeof (short)); }
107601 unsigned long ulongval () { return (long) (sizeof (short)); }
107602 #include <stdio.h>
107603 #include <stdlib.h>
107604 int
107605 main ()
107606 {
107607
107608   FILE *f = fopen ("conftest.val", "w");
107609   if (! f)
107610     exit (1);
107611   if (((long) (sizeof (short))) < 0)
107612     {
107613       long i = longval ();
107614       if (i != ((long) (sizeof (short))))
107615         exit (1);
107616       fprintf (f, "%ld\n", i);
107617     }
107618   else
107619     {
107620       unsigned long i = ulongval ();
107621       if (i != ((long) (sizeof (short))))
107622         exit (1);
107623       fprintf (f, "%lu\n", i);
107624     }
107625   exit (ferror (f) || fclose (f) != 0);
107626
107627   ;
107628   return 0;
107629 }
107630 _ACEOF
107631 rm -f conftest$ac_exeext
107632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107633   (eval $ac_link) 2>&5
107634   ac_status=$?
107635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107636   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
107637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107638   (eval $ac_try) 2>&5
107639   ac_status=$?
107640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107641   (exit $ac_status); }; }; then
107642   ac_cv_sizeof_short=`cat conftest.val`
107643 else
107644   echo "$as_me: program exited with status $ac_status" >&5
107645 echo "$as_me: failed program was:" >&5
107646 sed 's/^/| /' conftest.$ac_ext >&5
107647
107648 ( exit $ac_status )
107649 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107650 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
107652 See \`config.log' for more details." >&5
107653 echo "$as_me: error: cannot compute sizeof (short), 77
107654 See \`config.log' for more details." >&2;}
107655    { (exit 1); exit 1; }; }; }
107656 fi
107657 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
107658 fi
107659 fi
107660 rm -f conftest.val
107661 else
107662   ac_cv_sizeof_short=0
107663 fi
107664 fi
107665 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
107666 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
107667 cat >>confdefs.h <<_ACEOF
107668 #define SIZEOF_SHORT $ac_cv_sizeof_short
107669 _ACEOF
107670
107671
107672   echo "$as_me:$LINENO: checking for char" >&5
107673 echo $ECHO_N "checking for char... $ECHO_C" >&6
107674 if test "${ac_cv_type_char+set}" = set; then
107675   echo $ECHO_N "(cached) $ECHO_C" >&6
107676 else
107677   cat >conftest.$ac_ext <<_ACEOF
107678 /* confdefs.h.  */
107679 _ACEOF
107680 cat confdefs.h >>conftest.$ac_ext
107681 cat >>conftest.$ac_ext <<_ACEOF
107682 /* end confdefs.h.  */
107683 $ac_includes_default
107684 int
107685 main ()
107686 {
107687 if ((char *) 0)
107688   return 0;
107689 if (sizeof (char))
107690   return 0;
107691   ;
107692   return 0;
107693 }
107694 _ACEOF
107695 rm -f conftest.$ac_objext
107696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107697   (eval $ac_compile) 2>conftest.er1
107698   ac_status=$?
107699   grep -v '^ *+' conftest.er1 >conftest.err
107700   rm -f conftest.er1
107701   cat conftest.err >&5
107702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107703   (exit $ac_status); } &&
107704          { ac_try='test -z "$ac_c_werror_flag"
107705                          || test ! -s conftest.err'
107706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107707   (eval $ac_try) 2>&5
107708   ac_status=$?
107709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107710   (exit $ac_status); }; } &&
107711          { ac_try='test -s conftest.$ac_objext'
107712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107713   (eval $ac_try) 2>&5
107714   ac_status=$?
107715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107716   (exit $ac_status); }; }; then
107717   ac_cv_type_char=yes
107718 else
107719   echo "$as_me: failed program was:" >&5
107720 sed 's/^/| /' conftest.$ac_ext >&5
107721
107722 ac_cv_type_char=no
107723 fi
107724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107725 fi
107726 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
107727 echo "${ECHO_T}$ac_cv_type_char" >&6
107728
107729 echo "$as_me:$LINENO: checking size of char" >&5
107730 echo $ECHO_N "checking size of char... $ECHO_C" >&6
107731 if test "${ac_cv_sizeof_char+set}" = set; then
107732   echo $ECHO_N "(cached) $ECHO_C" >&6
107733 else
107734   if test "$ac_cv_type_char" = yes; then
107735   # The cast to unsigned long works around a bug in the HP C Compiler
107736   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
107737   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
107738   # This bug is HP SR number 8606223364.
107739   if test "$cross_compiling" = yes; then
107740   # Depending upon the size, compute the lo and hi bounds.
107741 cat >conftest.$ac_ext <<_ACEOF
107742 /* confdefs.h.  */
107743 _ACEOF
107744 cat confdefs.h >>conftest.$ac_ext
107745 cat >>conftest.$ac_ext <<_ACEOF
107746 /* end confdefs.h.  */
107747 $ac_includes_default
107748 int
107749 main ()
107750 {
107751 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
107752 test_array [0] = 0
107753
107754   ;
107755   return 0;
107756 }
107757 _ACEOF
107758 rm -f conftest.$ac_objext
107759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107760   (eval $ac_compile) 2>conftest.er1
107761   ac_status=$?
107762   grep -v '^ *+' conftest.er1 >conftest.err
107763   rm -f conftest.er1
107764   cat conftest.err >&5
107765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107766   (exit $ac_status); } &&
107767          { ac_try='test -z "$ac_c_werror_flag"
107768                          || test ! -s conftest.err'
107769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107770   (eval $ac_try) 2>&5
107771   ac_status=$?
107772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107773   (exit $ac_status); }; } &&
107774          { ac_try='test -s conftest.$ac_objext'
107775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107776   (eval $ac_try) 2>&5
107777   ac_status=$?
107778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107779   (exit $ac_status); }; }; then
107780   ac_lo=0 ac_mid=0
107781   while :; do
107782     cat >conftest.$ac_ext <<_ACEOF
107783 /* confdefs.h.  */
107784 _ACEOF
107785 cat confdefs.h >>conftest.$ac_ext
107786 cat >>conftest.$ac_ext <<_ACEOF
107787 /* end confdefs.h.  */
107788 $ac_includes_default
107789 int
107790 main ()
107791 {
107792 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107793 test_array [0] = 0
107794
107795   ;
107796   return 0;
107797 }
107798 _ACEOF
107799 rm -f conftest.$ac_objext
107800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107801   (eval $ac_compile) 2>conftest.er1
107802   ac_status=$?
107803   grep -v '^ *+' conftest.er1 >conftest.err
107804   rm -f conftest.er1
107805   cat conftest.err >&5
107806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107807   (exit $ac_status); } &&
107808          { ac_try='test -z "$ac_c_werror_flag"
107809                          || test ! -s conftest.err'
107810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107811   (eval $ac_try) 2>&5
107812   ac_status=$?
107813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107814   (exit $ac_status); }; } &&
107815          { ac_try='test -s conftest.$ac_objext'
107816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107817   (eval $ac_try) 2>&5
107818   ac_status=$?
107819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107820   (exit $ac_status); }; }; then
107821   ac_hi=$ac_mid; break
107822 else
107823   echo "$as_me: failed program was:" >&5
107824 sed 's/^/| /' conftest.$ac_ext >&5
107825
107826 ac_lo=`expr $ac_mid + 1`
107827                     if test $ac_lo -le $ac_mid; then
107828                       ac_lo= ac_hi=
107829                       break
107830                     fi
107831                     ac_mid=`expr 2 '*' $ac_mid + 1`
107832 fi
107833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107834   done
107835 else
107836   echo "$as_me: failed program was:" >&5
107837 sed 's/^/| /' conftest.$ac_ext >&5
107838
107839 cat >conftest.$ac_ext <<_ACEOF
107840 /* confdefs.h.  */
107841 _ACEOF
107842 cat confdefs.h >>conftest.$ac_ext
107843 cat >>conftest.$ac_ext <<_ACEOF
107844 /* end confdefs.h.  */
107845 $ac_includes_default
107846 int
107847 main ()
107848 {
107849 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
107850 test_array [0] = 0
107851
107852   ;
107853   return 0;
107854 }
107855 _ACEOF
107856 rm -f conftest.$ac_objext
107857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107858   (eval $ac_compile) 2>conftest.er1
107859   ac_status=$?
107860   grep -v '^ *+' conftest.er1 >conftest.err
107861   rm -f conftest.er1
107862   cat conftest.err >&5
107863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107864   (exit $ac_status); } &&
107865          { ac_try='test -z "$ac_c_werror_flag"
107866                          || test ! -s conftest.err'
107867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107868   (eval $ac_try) 2>&5
107869   ac_status=$?
107870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107871   (exit $ac_status); }; } &&
107872          { ac_try='test -s conftest.$ac_objext'
107873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107874   (eval $ac_try) 2>&5
107875   ac_status=$?
107876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107877   (exit $ac_status); }; }; then
107878   ac_hi=-1 ac_mid=-1
107879   while :; do
107880     cat >conftest.$ac_ext <<_ACEOF
107881 /* confdefs.h.  */
107882 _ACEOF
107883 cat confdefs.h >>conftest.$ac_ext
107884 cat >>conftest.$ac_ext <<_ACEOF
107885 /* end confdefs.h.  */
107886 $ac_includes_default
107887 int
107888 main ()
107889 {
107890 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
107891 test_array [0] = 0
107892
107893   ;
107894   return 0;
107895 }
107896 _ACEOF
107897 rm -f conftest.$ac_objext
107898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107899   (eval $ac_compile) 2>conftest.er1
107900   ac_status=$?
107901   grep -v '^ *+' conftest.er1 >conftest.err
107902   rm -f conftest.er1
107903   cat conftest.err >&5
107904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107905   (exit $ac_status); } &&
107906          { ac_try='test -z "$ac_c_werror_flag"
107907                          || test ! -s conftest.err'
107908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107909   (eval $ac_try) 2>&5
107910   ac_status=$?
107911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107912   (exit $ac_status); }; } &&
107913          { ac_try='test -s conftest.$ac_objext'
107914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107915   (eval $ac_try) 2>&5
107916   ac_status=$?
107917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107918   (exit $ac_status); }; }; then
107919   ac_lo=$ac_mid; break
107920 else
107921   echo "$as_me: failed program was:" >&5
107922 sed 's/^/| /' conftest.$ac_ext >&5
107923
107924 ac_hi=`expr '(' $ac_mid ')' - 1`
107925                        if test $ac_mid -le $ac_hi; then
107926                          ac_lo= ac_hi=
107927                          break
107928                        fi
107929                        ac_mid=`expr 2 '*' $ac_mid`
107930 fi
107931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107932   done
107933 else
107934   echo "$as_me: failed program was:" >&5
107935 sed 's/^/| /' conftest.$ac_ext >&5
107936
107937 ac_lo= ac_hi=
107938 fi
107939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107940 fi
107941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107942 # Binary search between lo and hi bounds.
107943 while test "x$ac_lo" != "x$ac_hi"; do
107944   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
107945   cat >conftest.$ac_ext <<_ACEOF
107946 /* confdefs.h.  */
107947 _ACEOF
107948 cat confdefs.h >>conftest.$ac_ext
107949 cat >>conftest.$ac_ext <<_ACEOF
107950 /* end confdefs.h.  */
107951 $ac_includes_default
107952 int
107953 main ()
107954 {
107955 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
107956 test_array [0] = 0
107957
107958   ;
107959   return 0;
107960 }
107961 _ACEOF
107962 rm -f conftest.$ac_objext
107963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107964   (eval $ac_compile) 2>conftest.er1
107965   ac_status=$?
107966   grep -v '^ *+' conftest.er1 >conftest.err
107967   rm -f conftest.er1
107968   cat conftest.err >&5
107969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107970   (exit $ac_status); } &&
107971          { ac_try='test -z "$ac_c_werror_flag"
107972                          || test ! -s conftest.err'
107973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107974   (eval $ac_try) 2>&5
107975   ac_status=$?
107976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107977   (exit $ac_status); }; } &&
107978          { ac_try='test -s conftest.$ac_objext'
107979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107980   (eval $ac_try) 2>&5
107981   ac_status=$?
107982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107983   (exit $ac_status); }; }; then
107984   ac_hi=$ac_mid
107985 else
107986   echo "$as_me: failed program was:" >&5
107987 sed 's/^/| /' conftest.$ac_ext >&5
107988
107989 ac_lo=`expr '(' $ac_mid ')' + 1`
107990 fi
107991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107992 done
107993 case $ac_lo in
107994 ?*) ac_cv_sizeof_char=$ac_lo;;
107995 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
107996 echo "$as_me: error: in \`$ac_pwd':" >&2;}
107997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
107998 See \`config.log' for more details." >&5
107999 echo "$as_me: error: cannot compute sizeof (char), 77
108000 See \`config.log' for more details." >&2;}
108001    { (exit 1); exit 1; }; }; } ;;
108002 esac
108003 else
108004   if test "$cross_compiling" = yes; then
108005   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
108006 echo "$as_me: error: in \`$ac_pwd':" >&2;}
108007 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
108008 See \`config.log' for more details." >&5
108009 echo "$as_me: error: cannot run test program while cross compiling
108010 See \`config.log' for more details." >&2;}
108011    { (exit 1); exit 1; }; }; }
108012 else
108013   cat >conftest.$ac_ext <<_ACEOF
108014 /* confdefs.h.  */
108015 _ACEOF
108016 cat confdefs.h >>conftest.$ac_ext
108017 cat >>conftest.$ac_ext <<_ACEOF
108018 /* end confdefs.h.  */
108019 $ac_includes_default
108020 long longval () { return (long) (sizeof (char)); }
108021 unsigned long ulongval () { return (long) (sizeof (char)); }
108022 #include <stdio.h>
108023 #include <stdlib.h>
108024 int
108025 main ()
108026 {
108027
108028   FILE *f = fopen ("conftest.val", "w");
108029   if (! f)
108030     exit (1);
108031   if (((long) (sizeof (char))) < 0)
108032     {
108033       long i = longval ();
108034       if (i != ((long) (sizeof (char))))
108035         exit (1);
108036       fprintf (f, "%ld\n", i);
108037     }
108038   else
108039     {
108040       unsigned long i = ulongval ();
108041       if (i != ((long) (sizeof (char))))
108042         exit (1);
108043       fprintf (f, "%lu\n", i);
108044     }
108045   exit (ferror (f) || fclose (f) != 0);
108046
108047   ;
108048   return 0;
108049 }
108050 _ACEOF
108051 rm -f conftest$ac_exeext
108052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108053   (eval $ac_link) 2>&5
108054   ac_status=$?
108055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108056   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
108057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108058   (eval $ac_try) 2>&5
108059   ac_status=$?
108060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108061   (exit $ac_status); }; }; then
108062   ac_cv_sizeof_char=`cat conftest.val`
108063 else
108064   echo "$as_me: program exited with status $ac_status" >&5
108065 echo "$as_me: failed program was:" >&5
108066 sed 's/^/| /' conftest.$ac_ext >&5
108067
108068 ( exit $ac_status )
108069 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
108070 echo "$as_me: error: in \`$ac_pwd':" >&2;}
108071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
108072 See \`config.log' for more details." >&5
108073 echo "$as_me: error: cannot compute sizeof (char), 77
108074 See \`config.log' for more details." >&2;}
108075    { (exit 1); exit 1; }; }; }
108076 fi
108077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
108078 fi
108079 fi
108080 rm -f conftest.val
108081 else
108082   ac_cv_sizeof_char=0
108083 fi
108084 fi
108085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
108086 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
108087 cat >>confdefs.h <<_ACEOF
108088 #define SIZEOF_CHAR $ac_cv_sizeof_char
108089 _ACEOF
108090
108091
108092
108093   echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
108094 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
108095   case "$ac_cv_sizeof_char" in
108096     1) acx_cv_type_int8_t=char ;;
108097     *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
108098 echo "$as_me: error: no 8-bit type" >&2;}
108099    { (exit please report a bug); exit please report a bug; }; }
108100   esac
108101   echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
108102 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
108103
108104   echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
108105 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
108106   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
108107     2:*) acx_cv_type_int16_t=int ;;
108108     *:2) acx_cv_type_int16_t=short ;;
108109     *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
108110 echo "$as_me: error: no 16-bit type" >&2;}
108111    { (exit please report a bug); exit please report a bug; }; }
108112   esac
108113   echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
108114 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
108115
108116   echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
108117 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
108118   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
108119     4:*) acx_cv_type_int32_t=int ;;
108120     *:4) acx_cv_type_int32_t=long ;;
108121     *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
108122 echo "$as_me: error: no 32-bit type" >&2;}
108123    { (exit please report a bug); exit please report a bug; }; }
108124   esac
108125   echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
108126 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
108127 fi
108128
108129 # These tests are here to make the output prettier
108130
108131 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
108132   case "$ac_cv_sizeof_long" in
108133     8) acx_cv_type_int64_t=long ;;
108134   esac
108135   echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
108136 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
108137   echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
108138 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
108139 fi
108140
108141 # Now we can use the above types
108142
108143 if test "$ac_cv_type_uintptr_t" != yes; then
108144   echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
108145 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
108146   case $ac_cv_sizeof_void_p in
108147     2) acx_cv_type_intptr_t=int16_t ;;
108148     4) acx_cv_type_intptr_t=int32_t ;;
108149     8) acx_cv_type_intptr_t=int64_t ;;
108150     *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
108151 echo "$as_me: error: no equivalent for intptr_t" >&2;}
108152    { (exit please report a bug); exit please report a bug; }; }
108153   esac
108154   echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
108155 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
108156 fi
108157
108158 # ----------------- done all checks, emit header -------------
108159           ac_config_commands="$ac_config_commands include/gstdint.h"
108160
108161
108162
108163
108164 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
108165
108166
108167  # Check whether --enable-symvers or --disable-symvers was given.
108168 if test "${enable_symvers+set}" = set; then
108169   enableval="$enable_symvers"
108170
108171       case "$enableval" in
108172        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
108173        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
108174 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
108175    { (exit 1); exit 1; }; } ;;
108176                           esac
108177
108178 else
108179   enable_symvers=yes
108180 fi;
108181
108182
108183 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
108184 # don't know enough about $LD to do tricks...
108185
108186
108187 # Turn a 'yes' into a suitable default.
108188 if test x$enable_symvers = xyes ; then
108189   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
108190     enable_symvers=no
108191   else
108192     if test $with_gnu_ld = yes ; then
108193       case ${target_os} in
108194         cygwin* | pe | mingw32*)
108195           enable_symvers=no ;;
108196         *)
108197           enable_symvers=gnu ;;
108198       esac
108199     else
108200       case ${target_os} in
108201         darwin*)
108202           enable_symvers=darwin ;;
108203         *)
108204           enable_symvers=no ;;
108205       esac
108206     fi
108207   fi
108208 fi
108209
108210 # Check to see if 'darwin' or 'darwin-export' can win.
108211 if test x$enable_symvers = xdarwin-export ; then
108212     enable_symvers=darwin
108213 fi
108214
108215 # Check to see if 'gnu' can win.
108216 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
108217   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
108218   echo "$as_me:$LINENO: checking for shared libgcc" >&5
108219 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
108220   ac_save_CFLAGS="$CFLAGS"
108221   CFLAGS=' -lgcc_s'
108222   if test x$gcc_no_link = xyes; then
108223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108225    { (exit 1); exit 1; }; }
108226 fi
108227 cat >conftest.$ac_ext <<_ACEOF
108228 /* confdefs.h.  */
108229 _ACEOF
108230 cat confdefs.h >>conftest.$ac_ext
108231 cat >>conftest.$ac_ext <<_ACEOF
108232 /* end confdefs.h.  */
108233
108234 int
108235 main ()
108236 {
108237 return 0;
108238   ;
108239   return 0;
108240 }
108241 _ACEOF
108242 rm -f conftest.$ac_objext conftest$ac_exeext
108243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108244   (eval $ac_link) 2>conftest.er1
108245   ac_status=$?
108246   grep -v '^ *+' conftest.er1 >conftest.err
108247   rm -f conftest.er1
108248   cat conftest.err >&5
108249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108250   (exit $ac_status); } &&
108251          { ac_try='test -z "$ac_c_werror_flag"
108252                          || test ! -s conftest.err'
108253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108254   (eval $ac_try) 2>&5
108255   ac_status=$?
108256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108257   (exit $ac_status); }; } &&
108258          { ac_try='test -s conftest$ac_exeext'
108259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108260   (eval $ac_try) 2>&5
108261   ac_status=$?
108262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108263   (exit $ac_status); }; }; then
108264   glibcxx_shared_libgcc=yes
108265 else
108266   echo "$as_me: failed program was:" >&5
108267 sed 's/^/| /' conftest.$ac_ext >&5
108268
108269 glibcxx_shared_libgcc=no
108270 fi
108271 rm -f conftest.err conftest.$ac_objext \
108272       conftest$ac_exeext conftest.$ac_ext
108273   CFLAGS="$ac_save_CFLAGS"
108274   if test $glibcxx_shared_libgcc = no; then
108275     cat > conftest.c <<EOF
108276 int main (void) { return 0; }
108277 EOF
108278     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
108279                              -shared -shared-libgcc -o conftest.so \
108280                              conftest.c -v 2>&1 >/dev/null \
108281                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
108282     rm -f conftest.c conftest.so
108283     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
108284       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
108285       if test x$gcc_no_link = xyes; then
108286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108288    { (exit 1); exit 1; }; }
108289 fi
108290 cat >conftest.$ac_ext <<_ACEOF
108291 /* confdefs.h.  */
108292 _ACEOF
108293 cat confdefs.h >>conftest.$ac_ext
108294 cat >>conftest.$ac_ext <<_ACEOF
108295 /* end confdefs.h.  */
108296
108297 int
108298 main ()
108299 {
108300 return 0;
108301   ;
108302   return 0;
108303 }
108304 _ACEOF
108305 rm -f conftest.$ac_objext conftest$ac_exeext
108306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108307   (eval $ac_link) 2>conftest.er1
108308   ac_status=$?
108309   grep -v '^ *+' conftest.er1 >conftest.err
108310   rm -f conftest.er1
108311   cat conftest.err >&5
108312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108313   (exit $ac_status); } &&
108314          { ac_try='test -z "$ac_c_werror_flag"
108315                          || test ! -s conftest.err'
108316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108317   (eval $ac_try) 2>&5
108318   ac_status=$?
108319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108320   (exit $ac_status); }; } &&
108321          { ac_try='test -s conftest$ac_exeext'
108322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108323   (eval $ac_try) 2>&5
108324   ac_status=$?
108325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108326   (exit $ac_status); }; }; then
108327   glibcxx_shared_libgcc=yes
108328 else
108329   echo "$as_me: failed program was:" >&5
108330 sed 's/^/| /' conftest.$ac_ext >&5
108331
108332 fi
108333 rm -f conftest.err conftest.$ac_objext \
108334       conftest$ac_exeext conftest.$ac_ext
108335       CFLAGS="$ac_save_CFLAGS"
108336     fi
108337   fi
108338   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
108339 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
108340
108341   # For GNU ld, we need at least this version.  The format is described in
108342   # GLIBCXX_CHECK_LINKER_FEATURES above.
108343   glibcxx_min_gnu_ld_version=21400
108344
108345   # If no shared libgcc, can't win.
108346   if test $glibcxx_shared_libgcc != yes; then
108347       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108348 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108349       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
108350 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
108351       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108352 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108353       enable_symvers=no
108354   elif test $with_gnu_ld != yes ; then
108355     # just fail for now
108356     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
108357 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
108358     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
108359 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
108360     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108361 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108362     enable_symvers=no
108363   elif test $glibcxx_ld_is_gold = yes ; then
108364     : All versions of gold support symbol versioning.
108365   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
108366     # The right tools, the right setup, but too old.  Fallbacks?
108367     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
108368 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
108369     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
108370 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
108371     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
108372 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
108373     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
108374 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
108375     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
108376 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
108377     enable_symvers=no
108378   fi
108379 fi
108380
108381 # Everything parsed; figure out what file to use.
108382 case $enable_symvers in
108383   no)
108384     SYMVER_FILE=config/abi/pre/none.ver
108385     ;;
108386   gnu)
108387     SYMVER_FILE=config/abi/pre/gnu.ver
108388
108389 cat >>confdefs.h <<\_ACEOF
108390 #define _GLIBCXX_SYMVER_GNU 1
108391 _ACEOF
108392
108393     ;;
108394   gnu-versioned-namespace)
108395     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
108396
108397 cat >>confdefs.h <<\_ACEOF
108398 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
108399 _ACEOF
108400
108401     ;;
108402   darwin)
108403     SYMVER_FILE=config/abi/pre/gnu.ver
108404
108405 cat >>confdefs.h <<\_ACEOF
108406 #define _GLIBCXX_SYMVER_DARWIN 1
108407 _ACEOF
108408
108409     ;;
108410 esac
108411
108412 if test x$enable_symvers != xno ; then
108413
108414 cat >>confdefs.h <<\_ACEOF
108415 #define _GLIBCXX_SYMVER 1
108416 _ACEOF
108417
108418 fi
108419
108420 echo "$as_me:$LINENO: checking whether the target supports .symver directive" >&5
108421 echo $ECHO_N "checking whether the target supports .symver directive... $ECHO_C" >&6
108422 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then
108423   echo $ECHO_N "(cached) $ECHO_C" >&6
108424 else
108425
108426   cat >conftest.$ac_ext <<_ACEOF
108427 /* confdefs.h.  */
108428 _ACEOF
108429 cat confdefs.h >>conftest.$ac_ext
108430 cat >>conftest.$ac_ext <<_ACEOF
108431 /* end confdefs.h.  */
108432 void foo (void); __asm (".symver foo, bar@SYMVER");
108433 int
108434 main ()
108435 {
108436
108437   ;
108438   return 0;
108439 }
108440 _ACEOF
108441 rm -f conftest.$ac_objext
108442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108443   (eval $ac_compile) 2>conftest.er1
108444   ac_status=$?
108445   grep -v '^ *+' conftest.er1 >conftest.err
108446   rm -f conftest.er1
108447   cat conftest.err >&5
108448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108449   (exit $ac_status); } &&
108450          { ac_try='test -z "$ac_c_werror_flag"
108451                          || test ! -s conftest.err'
108452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108453   (eval $ac_try) 2>&5
108454   ac_status=$?
108455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108456   (exit $ac_status); }; } &&
108457          { ac_try='test -s conftest.$ac_objext'
108458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108459   (eval $ac_try) 2>&5
108460   ac_status=$?
108461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108462   (exit $ac_status); }; }; then
108463   glibcxx_cv_have_as_symver_directive=yes
108464 else
108465   echo "$as_me: failed program was:" >&5
108466 sed 's/^/| /' conftest.$ac_ext >&5
108467
108468 glibcxx_cv_have_as_symver_directive=no
108469 fi
108470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108471 fi
108472 echo "$as_me:$LINENO: result: $glibcxx_cv_have_as_symver_directive" >&5
108473 echo "${ECHO_T}$glibcxx_cv_have_as_symver_directive" >&6
108474 if test $glibcxx_cv_have_as_symver_directive = yes; then
108475
108476 cat >>confdefs.h <<\_ACEOF
108477 #define HAVE_AS_SYMVER_DIRECTIVE 1
108478 _ACEOF
108479
108480 fi
108481
108482
108483
108484
108485
108486
108487
108488 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
108489 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
108490
108491 # Now, set up compatibility support, if any.
108492 # In addition, need this to deal with std::size_t mangling in
108493 # src/compatibility.cc.  In a perfect world, could use
108494 # typeid(std::size_t).name()[0] to do direct substitution.
108495 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
108496 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
108497 ac_save_CFLAGS="$CFLAGS"
108498 CFLAGS="-Werror"
108499 cat >conftest.$ac_ext <<_ACEOF
108500 /* confdefs.h.  */
108501 _ACEOF
108502 cat confdefs.h >>conftest.$ac_ext
108503 cat >>conftest.$ac_ext <<_ACEOF
108504 /* end confdefs.h.  */
108505
108506 int
108507 main ()
108508 {
108509 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
108510   ;
108511   return 0;
108512 }
108513 _ACEOF
108514 rm -f conftest.$ac_objext
108515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108516   (eval $ac_compile) 2>conftest.er1
108517   ac_status=$?
108518   grep -v '^ *+' conftest.er1 >conftest.err
108519   rm -f conftest.er1
108520   cat conftest.err >&5
108521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108522   (exit $ac_status); } &&
108523          { ac_try='test -z "$ac_c_werror_flag"
108524                          || test ! -s conftest.err'
108525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108526   (eval $ac_try) 2>&5
108527   ac_status=$?
108528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108529   (exit $ac_status); }; } &&
108530          { ac_try='test -s conftest.$ac_objext'
108531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108532   (eval $ac_try) 2>&5
108533   ac_status=$?
108534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108535   (exit $ac_status); }; }; then
108536   glibcxx_size_t_is_i=yes
108537 else
108538   echo "$as_me: failed program was:" >&5
108539 sed 's/^/| /' conftest.$ac_ext >&5
108540
108541 glibcxx_size_t_is_i=no
108542 fi
108543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108544 CFLAGS=$ac_save_CFLAGS
108545 if test "$glibcxx_size_t_is_i" = yes; then
108546
108547 cat >>confdefs.h <<\_ACEOF
108548 #define _GLIBCXX_SIZE_T_IS_UINT 1
108549 _ACEOF
108550
108551 fi
108552 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
108553 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
108554
108555 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
108556 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
108557 ac_save_CFLAGS="$CFLAGS"
108558 CFLAGS="-Werror"
108559 cat >conftest.$ac_ext <<_ACEOF
108560 /* confdefs.h.  */
108561 _ACEOF
108562 cat confdefs.h >>conftest.$ac_ext
108563 cat >>conftest.$ac_ext <<_ACEOF
108564 /* end confdefs.h.  */
108565
108566 int
108567 main ()
108568 {
108569 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
108570   ;
108571   return 0;
108572 }
108573 _ACEOF
108574 rm -f conftest.$ac_objext
108575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108576   (eval $ac_compile) 2>conftest.er1
108577   ac_status=$?
108578   grep -v '^ *+' conftest.er1 >conftest.err
108579   rm -f conftest.er1
108580   cat conftest.err >&5
108581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108582   (exit $ac_status); } &&
108583          { ac_try='test -z "$ac_c_werror_flag"
108584                          || test ! -s conftest.err'
108585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108586   (eval $ac_try) 2>&5
108587   ac_status=$?
108588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108589   (exit $ac_status); }; } &&
108590          { ac_try='test -s conftest.$ac_objext'
108591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108592   (eval $ac_try) 2>&5
108593   ac_status=$?
108594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108595   (exit $ac_status); }; }; then
108596   glibcxx_ptrdiff_t_is_i=yes
108597 else
108598   echo "$as_me: failed program was:" >&5
108599 sed 's/^/| /' conftest.$ac_ext >&5
108600
108601 glibcxx_ptrdiff_t_is_i=no
108602 fi
108603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108604 CFLAGS=$ac_save_CFLAGS
108605 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
108606
108607 cat >>confdefs.h <<\_ACEOF
108608 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
108609 _ACEOF
108610
108611 fi
108612 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
108613 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
108614
108615
108616  # Check whether --enable-visibility or --disable-visibility was given.
108617 if test "${enable_visibility+set}" = set; then
108618   enableval="$enable_visibility"
108619
108620       case "$enableval" in
108621        yes|no) ;;
108622        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
108623 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
108624    { (exit 1); exit 1; }; } ;;
108625       esac
108626
108627 else
108628   enable_visibility=yes
108629 fi;
108630
108631
108632 if test x$enable_visibility = xyes ; then
108633       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
108634 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
108635 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
108636   echo $ECHO_N "(cached) $ECHO_C" >&6
108637 else
108638
108639   save_CFLAGS="$CFLAGS"
108640   CFLAGS="$CFLAGS -Werror"
108641   cat >conftest.$ac_ext <<_ACEOF
108642 /* confdefs.h.  */
108643 _ACEOF
108644 cat confdefs.h >>conftest.$ac_ext
108645 cat >>conftest.$ac_ext <<_ACEOF
108646 /* end confdefs.h.  */
108647 void __attribute__((visibility("hidden"))) foo(void) { }
108648 int
108649 main ()
108650 {
108651
108652   ;
108653   return 0;
108654 }
108655 _ACEOF
108656 rm -f conftest.$ac_objext
108657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108658   (eval $ac_compile) 2>conftest.er1
108659   ac_status=$?
108660   grep -v '^ *+' conftest.er1 >conftest.err
108661   rm -f conftest.er1
108662   cat conftest.err >&5
108663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108664   (exit $ac_status); } &&
108665          { ac_try='test -z "$ac_c_werror_flag"
108666                          || test ! -s conftest.err'
108667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108668   (eval $ac_try) 2>&5
108669   ac_status=$?
108670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108671   (exit $ac_status); }; } &&
108672          { ac_try='test -s conftest.$ac_objext'
108673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108674   (eval $ac_try) 2>&5
108675   ac_status=$?
108676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108677   (exit $ac_status); }; }; then
108678   glibcxx_cv_have_attribute_visibility=yes
108679 else
108680   echo "$as_me: failed program was:" >&5
108681 sed 's/^/| /' conftest.$ac_ext >&5
108682
108683 glibcxx_cv_have_attribute_visibility=no
108684 fi
108685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108686   CFLAGS="$save_CFLAGS"
108687 fi
108688 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
108689 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
108690   if test $glibcxx_cv_have_attribute_visibility = no; then
108691     enable_visibility=no
108692   fi
108693 fi
108694
108695
108696 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
108697 echo "$as_me: visibility supported: $enable_visibility" >&6;}
108698
108699
108700 ac_ldbl_compat=no
108701 case "$target" in
108702   powerpc*-*-linux* | \
108703   powerpc*-*-gnu* | \
108704   sparc*-*-linux* | \
108705   s390*-*-linux* | \
108706   alpha*-*-linux*)
108707   cat >conftest.$ac_ext <<_ACEOF
108708 /* confdefs.h.  */
108709 _ACEOF
108710 cat confdefs.h >>conftest.$ac_ext
108711 cat >>conftest.$ac_ext <<_ACEOF
108712 /* end confdefs.h.  */
108713
108714 int
108715 main ()
108716 {
108717
108718 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
108719 #error no need for long double compatibility
108720 #endif
108721
108722   ;
108723   return 0;
108724 }
108725 _ACEOF
108726 rm -f conftest.$ac_objext
108727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108728   (eval $ac_compile) 2>conftest.er1
108729   ac_status=$?
108730   grep -v '^ *+' conftest.er1 >conftest.err
108731   rm -f conftest.er1
108732   cat conftest.err >&5
108733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108734   (exit $ac_status); } &&
108735          { ac_try='test -z "$ac_c_werror_flag"
108736                          || test ! -s conftest.err'
108737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108738   (eval $ac_try) 2>&5
108739   ac_status=$?
108740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108741   (exit $ac_status); }; } &&
108742          { ac_try='test -s conftest.$ac_objext'
108743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108744   (eval $ac_try) 2>&5
108745   ac_status=$?
108746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108747   (exit $ac_status); }; }; then
108748   ac_ldbl_compat=yes
108749 else
108750   echo "$as_me: failed program was:" >&5
108751 sed 's/^/| /' conftest.$ac_ext >&5
108752
108753 ac_ldbl_compat=no
108754 fi
108755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108756   if test "$ac_ldbl_compat" = yes; then
108757
108758 cat >>confdefs.h <<\_ACEOF
108759 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
108760 _ACEOF
108761
108762     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
108763   fi
108764 esac
108765
108766
108767 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
108768
108769   if $GLIBCXX_IS_NATIVE ; then
108770     # Do checks for resource limit functions.
108771
108772   setrlimit_have_headers=yes
108773
108774
108775
108776 for ac_header in unistd.h sys/time.h sys/resource.h
108777 do
108778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108780   echo "$as_me:$LINENO: checking for $ac_header" >&5
108781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108783   echo $ECHO_N "(cached) $ECHO_C" >&6
108784 fi
108785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108787 else
108788   # Is the header compilable?
108789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108791 cat >conftest.$ac_ext <<_ACEOF
108792 /* confdefs.h.  */
108793 _ACEOF
108794 cat confdefs.h >>conftest.$ac_ext
108795 cat >>conftest.$ac_ext <<_ACEOF
108796 /* end confdefs.h.  */
108797 $ac_includes_default
108798 #include <$ac_header>
108799 _ACEOF
108800 rm -f conftest.$ac_objext
108801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108802   (eval $ac_compile) 2>conftest.er1
108803   ac_status=$?
108804   grep -v '^ *+' conftest.er1 >conftest.err
108805   rm -f conftest.er1
108806   cat conftest.err >&5
108807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108808   (exit $ac_status); } &&
108809          { ac_try='test -z "$ac_c_werror_flag"
108810                          || test ! -s conftest.err'
108811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108812   (eval $ac_try) 2>&5
108813   ac_status=$?
108814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108815   (exit $ac_status); }; } &&
108816          { ac_try='test -s conftest.$ac_objext'
108817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108818   (eval $ac_try) 2>&5
108819   ac_status=$?
108820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108821   (exit $ac_status); }; }; then
108822   ac_header_compiler=yes
108823 else
108824   echo "$as_me: failed program was:" >&5
108825 sed 's/^/| /' conftest.$ac_ext >&5
108826
108827 ac_header_compiler=no
108828 fi
108829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108831 echo "${ECHO_T}$ac_header_compiler" >&6
108832
108833 # Is the header present?
108834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108836 cat >conftest.$ac_ext <<_ACEOF
108837 /* confdefs.h.  */
108838 _ACEOF
108839 cat confdefs.h >>conftest.$ac_ext
108840 cat >>conftest.$ac_ext <<_ACEOF
108841 /* end confdefs.h.  */
108842 #include <$ac_header>
108843 _ACEOF
108844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108845   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108846   ac_status=$?
108847   grep -v '^ *+' conftest.er1 >conftest.err
108848   rm -f conftest.er1
108849   cat conftest.err >&5
108850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108851   (exit $ac_status); } >/dev/null; then
108852   if test -s conftest.err; then
108853     ac_cpp_err=$ac_c_preproc_warn_flag
108854     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108855   else
108856     ac_cpp_err=
108857   fi
108858 else
108859   ac_cpp_err=yes
108860 fi
108861 if test -z "$ac_cpp_err"; then
108862   ac_header_preproc=yes
108863 else
108864   echo "$as_me: failed program was:" >&5
108865 sed 's/^/| /' conftest.$ac_ext >&5
108866
108867   ac_header_preproc=no
108868 fi
108869 rm -f conftest.err conftest.$ac_ext
108870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108871 echo "${ECHO_T}$ac_header_preproc" >&6
108872
108873 # So?  What about this header?
108874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108875   yes:no: )
108876     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108878     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108880     ac_header_preproc=yes
108881     ;;
108882   no:yes:* )
108883     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108885     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108886 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108887     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108889     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108890 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108891     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108893     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108895     (
108896       cat <<\_ASBOX
108897 ## ----------------------------------------- ##
108898 ## Report this to the package-unused lists.  ##
108899 ## ----------------------------------------- ##
108900 _ASBOX
108901     ) |
108902       sed "s/^/$as_me: WARNING:     /" >&2
108903     ;;
108904 esac
108905 echo "$as_me:$LINENO: checking for $ac_header" >&5
108906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108908   echo $ECHO_N "(cached) $ECHO_C" >&6
108909 else
108910   eval "$as_ac_Header=\$ac_header_preproc"
108911 fi
108912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108914
108915 fi
108916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108917   cat >>confdefs.h <<_ACEOF
108918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108919 _ACEOF
108920
108921 else
108922   setrlimit_have_headers=no
108923 fi
108924
108925 done
108926
108927   # If don't have the headers, then we can't run the tests now, and we
108928   # won't be seeing any of these during testsuite compilation.
108929   if test $setrlimit_have_headers = yes; then
108930     # Can't do these in a loop, else the resulting syntax is wrong.
108931
108932   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
108933 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
108934   cat >conftest.$ac_ext <<_ACEOF
108935 /* confdefs.h.  */
108936 _ACEOF
108937 cat confdefs.h >>conftest.$ac_ext
108938 cat >>conftest.$ac_ext <<_ACEOF
108939 /* end confdefs.h.  */
108940 #include <unistd.h>
108941      #include <sys/time.h>
108942      #include <sys/resource.h>
108943
108944 int
108945 main ()
108946 {
108947  int f = RLIMIT_DATA ;
108948   ;
108949   return 0;
108950 }
108951 _ACEOF
108952 rm -f conftest.$ac_objext
108953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108954   (eval $ac_compile) 2>conftest.er1
108955   ac_status=$?
108956   grep -v '^ *+' conftest.er1 >conftest.err
108957   rm -f conftest.er1
108958   cat conftest.err >&5
108959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108960   (exit $ac_status); } &&
108961          { ac_try='test -z "$ac_c_werror_flag"
108962                          || test ! -s conftest.err'
108963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108964   (eval $ac_try) 2>&5
108965   ac_status=$?
108966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108967   (exit $ac_status); }; } &&
108968          { ac_try='test -s conftest.$ac_objext'
108969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108970   (eval $ac_try) 2>&5
108971   ac_status=$?
108972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108973   (exit $ac_status); }; }; then
108974   glibcxx_mresult=1
108975 else
108976   echo "$as_me: failed program was:" >&5
108977 sed 's/^/| /' conftest.$ac_ext >&5
108978
108979 glibcxx_mresult=0
108980 fi
108981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108982
108983 cat >>confdefs.h <<_ACEOF
108984 #define HAVE_LIMIT_DATA $glibcxx_mresult
108985 _ACEOF
108986
108987   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
108988   echo "$as_me:$LINENO: result: $res" >&5
108989 echo "${ECHO_T}$res" >&6
108990
108991
108992   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
108993 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
108994   cat >conftest.$ac_ext <<_ACEOF
108995 /* confdefs.h.  */
108996 _ACEOF
108997 cat confdefs.h >>conftest.$ac_ext
108998 cat >>conftest.$ac_ext <<_ACEOF
108999 /* end confdefs.h.  */
109000 #include <unistd.h>
109001      #include <sys/time.h>
109002      #include <sys/resource.h>
109003
109004 int
109005 main ()
109006 {
109007  int f = RLIMIT_RSS ;
109008   ;
109009   return 0;
109010 }
109011 _ACEOF
109012 rm -f conftest.$ac_objext
109013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109014   (eval $ac_compile) 2>conftest.er1
109015   ac_status=$?
109016   grep -v '^ *+' conftest.er1 >conftest.err
109017   rm -f conftest.er1
109018   cat conftest.err >&5
109019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109020   (exit $ac_status); } &&
109021          { ac_try='test -z "$ac_c_werror_flag"
109022                          || test ! -s conftest.err'
109023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109024   (eval $ac_try) 2>&5
109025   ac_status=$?
109026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109027   (exit $ac_status); }; } &&
109028          { ac_try='test -s conftest.$ac_objext'
109029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109030   (eval $ac_try) 2>&5
109031   ac_status=$?
109032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109033   (exit $ac_status); }; }; then
109034   glibcxx_mresult=1
109035 else
109036   echo "$as_me: failed program was:" >&5
109037 sed 's/^/| /' conftest.$ac_ext >&5
109038
109039 glibcxx_mresult=0
109040 fi
109041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109042
109043 cat >>confdefs.h <<_ACEOF
109044 #define HAVE_LIMIT_RSS $glibcxx_mresult
109045 _ACEOF
109046
109047   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109048   echo "$as_me:$LINENO: result: $res" >&5
109049 echo "${ECHO_T}$res" >&6
109050
109051
109052   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
109053 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
109054   cat >conftest.$ac_ext <<_ACEOF
109055 /* confdefs.h.  */
109056 _ACEOF
109057 cat confdefs.h >>conftest.$ac_ext
109058 cat >>conftest.$ac_ext <<_ACEOF
109059 /* end confdefs.h.  */
109060 #include <unistd.h>
109061      #include <sys/time.h>
109062      #include <sys/resource.h>
109063
109064 int
109065 main ()
109066 {
109067  int f = RLIMIT_VMEM ;
109068   ;
109069   return 0;
109070 }
109071 _ACEOF
109072 rm -f conftest.$ac_objext
109073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109074   (eval $ac_compile) 2>conftest.er1
109075   ac_status=$?
109076   grep -v '^ *+' conftest.er1 >conftest.err
109077   rm -f conftest.er1
109078   cat conftest.err >&5
109079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109080   (exit $ac_status); } &&
109081          { ac_try='test -z "$ac_c_werror_flag"
109082                          || test ! -s conftest.err'
109083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109084   (eval $ac_try) 2>&5
109085   ac_status=$?
109086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109087   (exit $ac_status); }; } &&
109088          { ac_try='test -s conftest.$ac_objext'
109089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109090   (eval $ac_try) 2>&5
109091   ac_status=$?
109092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109093   (exit $ac_status); }; }; then
109094   glibcxx_mresult=1
109095 else
109096   echo "$as_me: failed program was:" >&5
109097 sed 's/^/| /' conftest.$ac_ext >&5
109098
109099 glibcxx_mresult=0
109100 fi
109101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109102
109103 cat >>confdefs.h <<_ACEOF
109104 #define HAVE_LIMIT_VMEM $glibcxx_mresult
109105 _ACEOF
109106
109107   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109108   echo "$as_me:$LINENO: result: $res" >&5
109109 echo "${ECHO_T}$res" >&6
109110
109111
109112   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
109113 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
109114   cat >conftest.$ac_ext <<_ACEOF
109115 /* confdefs.h.  */
109116 _ACEOF
109117 cat confdefs.h >>conftest.$ac_ext
109118 cat >>conftest.$ac_ext <<_ACEOF
109119 /* end confdefs.h.  */
109120 #include <unistd.h>
109121      #include <sys/time.h>
109122      #include <sys/resource.h>
109123
109124 int
109125 main ()
109126 {
109127  int f = RLIMIT_AS ;
109128   ;
109129   return 0;
109130 }
109131 _ACEOF
109132 rm -f conftest.$ac_objext
109133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109134   (eval $ac_compile) 2>conftest.er1
109135   ac_status=$?
109136   grep -v '^ *+' conftest.er1 >conftest.err
109137   rm -f conftest.er1
109138   cat conftest.err >&5
109139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109140   (exit $ac_status); } &&
109141          { ac_try='test -z "$ac_c_werror_flag"
109142                          || test ! -s conftest.err'
109143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109144   (eval $ac_try) 2>&5
109145   ac_status=$?
109146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109147   (exit $ac_status); }; } &&
109148          { ac_try='test -s conftest.$ac_objext'
109149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109150   (eval $ac_try) 2>&5
109151   ac_status=$?
109152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109153   (exit $ac_status); }; }; then
109154   glibcxx_mresult=1
109155 else
109156   echo "$as_me: failed program was:" >&5
109157 sed 's/^/| /' conftest.$ac_ext >&5
109158
109159 glibcxx_mresult=0
109160 fi
109161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109162
109163 cat >>confdefs.h <<_ACEOF
109164 #define HAVE_LIMIT_AS $glibcxx_mresult
109165 _ACEOF
109166
109167   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109168   echo "$as_me:$LINENO: result: $res" >&5
109169 echo "${ECHO_T}$res" >&6
109170
109171
109172   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
109173 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
109174   cat >conftest.$ac_ext <<_ACEOF
109175 /* confdefs.h.  */
109176 _ACEOF
109177 cat confdefs.h >>conftest.$ac_ext
109178 cat >>conftest.$ac_ext <<_ACEOF
109179 /* end confdefs.h.  */
109180 #include <unistd.h>
109181      #include <sys/time.h>
109182      #include <sys/resource.h>
109183
109184 int
109185 main ()
109186 {
109187  int f = RLIMIT_FSIZE ;
109188   ;
109189   return 0;
109190 }
109191 _ACEOF
109192 rm -f conftest.$ac_objext
109193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109194   (eval $ac_compile) 2>conftest.er1
109195   ac_status=$?
109196   grep -v '^ *+' conftest.er1 >conftest.err
109197   rm -f conftest.er1
109198   cat conftest.err >&5
109199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109200   (exit $ac_status); } &&
109201          { ac_try='test -z "$ac_c_werror_flag"
109202                          || test ! -s conftest.err'
109203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109204   (eval $ac_try) 2>&5
109205   ac_status=$?
109206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109207   (exit $ac_status); }; } &&
109208          { ac_try='test -s conftest.$ac_objext'
109209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109210   (eval $ac_try) 2>&5
109211   ac_status=$?
109212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109213   (exit $ac_status); }; }; then
109214   glibcxx_mresult=1
109215 else
109216   echo "$as_me: failed program was:" >&5
109217 sed 's/^/| /' conftest.$ac_ext >&5
109218
109219 glibcxx_mresult=0
109220 fi
109221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109222
109223 cat >>confdefs.h <<_ACEOF
109224 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
109225 _ACEOF
109226
109227   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
109228   echo "$as_me:$LINENO: result: $res" >&5
109229 echo "${ECHO_T}$res" >&6
109230
109231
109232     # Check for rlimit, setrlimit.
109233     if test "${glibcxx_cv_setrlimit+set}" = set; then
109234   echo $ECHO_N "(cached) $ECHO_C" >&6
109235 else
109236
109237       cat >conftest.$ac_ext <<_ACEOF
109238 /* confdefs.h.  */
109239 _ACEOF
109240 cat confdefs.h >>conftest.$ac_ext
109241 cat >>conftest.$ac_ext <<_ACEOF
109242 /* end confdefs.h.  */
109243 #include <unistd.h>
109244          #include <sys/time.h>
109245          #include <sys/resource.h>
109246
109247 int
109248 main ()
109249 {
109250 struct rlimit r;
109251          setrlimit(0, &r);
109252   ;
109253   return 0;
109254 }
109255 _ACEOF
109256 rm -f conftest.$ac_objext
109257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109258   (eval $ac_compile) 2>conftest.er1
109259   ac_status=$?
109260   grep -v '^ *+' conftest.er1 >conftest.err
109261   rm -f conftest.er1
109262   cat conftest.err >&5
109263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109264   (exit $ac_status); } &&
109265          { ac_try='test -z "$ac_c_werror_flag"
109266                          || test ! -s conftest.err'
109267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109268   (eval $ac_try) 2>&5
109269   ac_status=$?
109270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109271   (exit $ac_status); }; } &&
109272          { ac_try='test -s conftest.$ac_objext'
109273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109274   (eval $ac_try) 2>&5
109275   ac_status=$?
109276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109277   (exit $ac_status); }; }; then
109278   glibcxx_cv_setrlimit=yes
109279 else
109280   echo "$as_me: failed program was:" >&5
109281 sed 's/^/| /' conftest.$ac_ext >&5
109282
109283 glibcxx_cv_setrlimit=no
109284 fi
109285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109286
109287 fi
109288
109289   fi
109290
109291   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
109292 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
109293   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
109294     ac_res_limits=yes
109295
109296 cat >>confdefs.h <<\_ACEOF
109297 #define _GLIBCXX_RES_LIMITS 1
109298 _ACEOF
109299
109300   else
109301     ac_res_limits=no
109302   fi
109303   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
109304 echo "${ECHO_T}$ac_res_limits" >&6
109305
109306
109307     # Look for setenv, so that extended locale tests can be performed.
109308
109309   echo "$as_me:$LINENO: checking for setenv declaration" >&5
109310 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
109311   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
109312     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
109313   echo $ECHO_N "(cached) $ECHO_C" >&6
109314 else
109315
109316
109317
109318       ac_ext=cc
109319 ac_cpp='$CXXCPP $CPPFLAGS'
109320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109323
109324       cat >conftest.$ac_ext <<_ACEOF
109325 /* confdefs.h.  */
109326 _ACEOF
109327 cat confdefs.h >>conftest.$ac_ext
109328 cat >>conftest.$ac_ext <<_ACEOF
109329 /* end confdefs.h.  */
109330 #include <stdlib.h>
109331 int
109332 main ()
109333 {
109334  setenv(0, 0, 0);
109335   ;
109336   return 0;
109337 }
109338 _ACEOF
109339 rm -f conftest.$ac_objext
109340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109341   (eval $ac_compile) 2>conftest.er1
109342   ac_status=$?
109343   grep -v '^ *+' conftest.er1 >conftest.err
109344   rm -f conftest.er1
109345   cat conftest.err >&5
109346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109347   (exit $ac_status); } &&
109348          { ac_try='test -z "$ac_cxx_werror_flag"
109349                          || test ! -s conftest.err'
109350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109351   (eval $ac_try) 2>&5
109352   ac_status=$?
109353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109354   (exit $ac_status); }; } &&
109355          { ac_try='test -s conftest.$ac_objext'
109356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109357   (eval $ac_try) 2>&5
109358   ac_status=$?
109359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109360   (exit $ac_status); }; }; then
109361   glibcxx_cv_func_setenv_use=yes
109362 else
109363   echo "$as_me: failed program was:" >&5
109364 sed 's/^/| /' conftest.$ac_ext >&5
109365
109366 glibcxx_cv_func_setenv_use=no
109367 fi
109368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109369       ac_ext=c
109370 ac_cpp='$CPP $CPPFLAGS'
109371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109374
109375
109376 fi
109377
109378   fi
109379   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
109380 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
109381   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
109382
109383 for ac_func in setenv
109384 do
109385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109386 echo "$as_me:$LINENO: checking for $ac_func" >&5
109387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109388 if eval "test \"\${$as_ac_var+set}\" = set"; then
109389   echo $ECHO_N "(cached) $ECHO_C" >&6
109390 else
109391   if test x$gcc_no_link = xyes; then
109392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109394    { (exit 1); exit 1; }; }
109395 fi
109396 cat >conftest.$ac_ext <<_ACEOF
109397 /* confdefs.h.  */
109398 _ACEOF
109399 cat confdefs.h >>conftest.$ac_ext
109400 cat >>conftest.$ac_ext <<_ACEOF
109401 /* end confdefs.h.  */
109402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
109404 #define $ac_func innocuous_$ac_func
109405
109406 /* System header to define __stub macros and hopefully few prototypes,
109407     which can conflict with char $ac_func (); below.
109408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109409     <limits.h> exists even on freestanding compilers.  */
109410
109411 #ifdef __STDC__
109412 # include <limits.h>
109413 #else
109414 # include <assert.h>
109415 #endif
109416
109417 #undef $ac_func
109418
109419 /* Override any gcc2 internal prototype to avoid an error.  */
109420 #ifdef __cplusplus
109421 extern "C"
109422 {
109423 #endif
109424 /* We use char because int might match the return type of a gcc2
109425    builtin and then its argument prototype would still apply.  */
109426 char $ac_func ();
109427 /* The GNU C library defines this for functions which it implements
109428     to always fail with ENOSYS.  Some functions are actually named
109429     something starting with __ and the normal name is an alias.  */
109430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109431 choke me
109432 #else
109433 char (*f) () = $ac_func;
109434 #endif
109435 #ifdef __cplusplus
109436 }
109437 #endif
109438
109439 int
109440 main ()
109441 {
109442 return f != $ac_func;
109443   ;
109444   return 0;
109445 }
109446 _ACEOF
109447 rm -f conftest.$ac_objext conftest$ac_exeext
109448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109449   (eval $ac_link) 2>conftest.er1
109450   ac_status=$?
109451   grep -v '^ *+' conftest.er1 >conftest.err
109452   rm -f conftest.er1
109453   cat conftest.err >&5
109454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109455   (exit $ac_status); } &&
109456          { ac_try='test -z "$ac_c_werror_flag"
109457                          || test ! -s conftest.err'
109458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109459   (eval $ac_try) 2>&5
109460   ac_status=$?
109461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109462   (exit $ac_status); }; } &&
109463          { ac_try='test -s conftest$ac_exeext'
109464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109465   (eval $ac_try) 2>&5
109466   ac_status=$?
109467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109468   (exit $ac_status); }; }; then
109469   eval "$as_ac_var=yes"
109470 else
109471   echo "$as_me: failed program was:" >&5
109472 sed 's/^/| /' conftest.$ac_ext >&5
109473
109474 eval "$as_ac_var=no"
109475 fi
109476 rm -f conftest.err conftest.$ac_objext \
109477       conftest$ac_exeext conftest.$ac_ext
109478 fi
109479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109481 if test `eval echo '${'$as_ac_var'}'` = yes; then
109482   cat >>confdefs.h <<_ACEOF
109483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109484 _ACEOF
109485
109486 fi
109487 done
109488
109489   fi
109490
109491   fi
109492
109493   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
109494      test $enable_symvers != no; then
109495     case "$host" in
109496       *-*-cygwin*)
109497         enable_abi_check=no ;;
109498       *)
109499         enable_abi_check=yes ;;
109500     esac
109501   else
109502     # Only build this as native, since automake does not understand
109503     # CXX_FOR_BUILD.
109504     enable_abi_check=no
109505   fi
109506
109507   # Export file names for ABI checking.
109508   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
109509
109510
109511
109512 # Propagate the target-specific source directories through the build chain.
109513 ATOMICITY_SRCDIR=config/${atomicity_dir}
109514 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
109515 ATOMIC_FLAGS=${atomic_flags}
109516 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
109517 OS_INC_SRCDIR=config/${os_include_dir}
109518 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
109519 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
109520
109521
109522
109523
109524
109525
109526
109527
109528
109529 # Determine cross-compile flags and AM_CONDITIONALs.
109530 #AC_SUBST(GLIBCXX_IS_NATIVE)
109531 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
109532 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
109533 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
109534
109535
109536 if test $is_hosted = yes; then
109537   GLIBCXX_HOSTED_TRUE=
109538   GLIBCXX_HOSTED_FALSE='#'
109539 else
109540   GLIBCXX_HOSTED_TRUE='#'
109541   GLIBCXX_HOSTED_FALSE=
109542 fi
109543
109544
109545
109546
109547 if test $enable_libstdcxx_pch = yes; then
109548   GLIBCXX_BUILD_PCH_TRUE=
109549   GLIBCXX_BUILD_PCH_FALSE='#'
109550 else
109551   GLIBCXX_BUILD_PCH_TRUE='#'
109552   GLIBCXX_BUILD_PCH_FALSE=
109553 fi
109554
109555
109556
109557
109558 if test $enable_cheaders = c; then
109559   GLIBCXX_C_HEADERS_C_TRUE=
109560   GLIBCXX_C_HEADERS_C_FALSE='#'
109561 else
109562   GLIBCXX_C_HEADERS_C_TRUE='#'
109563   GLIBCXX_C_HEADERS_C_FALSE=
109564 fi
109565
109566
109567
109568
109569 if test $enable_cheaders = c_std; then
109570   GLIBCXX_C_HEADERS_C_STD_TRUE=
109571   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
109572 else
109573   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
109574   GLIBCXX_C_HEADERS_C_STD_FALSE=
109575 fi
109576
109577
109578
109579
109580 if test $enable_cheaders = c_global; then
109581   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
109582   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
109583 else
109584   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
109585   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
109586 fi
109587
109588
109589
109590
109591 if test $c_compatibility = yes; then
109592   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
109593   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
109594 else
109595   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
109596   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
109597 fi
109598
109599
109600
109601
109602 if test $c_extra = yes; then
109603   GLIBCXX_C_HEADERS_EXTRA_TRUE=
109604   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
109605 else
109606   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
109607   GLIBCXX_C_HEADERS_EXTRA_FALSE=
109608 fi
109609
109610
109611
109612
109613 if test $enable_libstdcxx_debug = yes; then
109614   GLIBCXX_BUILD_DEBUG_TRUE=
109615   GLIBCXX_BUILD_DEBUG_FALSE='#'
109616 else
109617   GLIBCXX_BUILD_DEBUG_TRUE='#'
109618   GLIBCXX_BUILD_DEBUG_FALSE=
109619 fi
109620
109621
109622
109623
109624 if test $enable_parallel = yes; then
109625   ENABLE_PARALLEL_TRUE=
109626   ENABLE_PARALLEL_FALSE='#'
109627 else
109628   ENABLE_PARALLEL_TRUE='#'
109629   ENABLE_PARALLEL_FALSE=
109630 fi
109631
109632
109633
109634
109635 if test $enable_symvers != no; then
109636   ENABLE_SYMVERS_TRUE=
109637   ENABLE_SYMVERS_FALSE='#'
109638 else
109639   ENABLE_SYMVERS_TRUE='#'
109640   ENABLE_SYMVERS_FALSE=
109641 fi
109642
109643
109644
109645
109646 if test $enable_symvers = gnu; then
109647   ENABLE_SYMVERS_GNU_TRUE=
109648   ENABLE_SYMVERS_GNU_FALSE='#'
109649 else
109650   ENABLE_SYMVERS_GNU_TRUE='#'
109651   ENABLE_SYMVERS_GNU_FALSE=
109652 fi
109653
109654
109655
109656
109657 if test $enable_symvers = gnu-versioned-namespace; then
109658   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
109659   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
109660 else
109661   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
109662   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
109663 fi
109664
109665
109666
109667
109668 if test $enable_symvers = darwin; then
109669   ENABLE_SYMVERS_DARWIN_TRUE=
109670   ENABLE_SYMVERS_DARWIN_FALSE='#'
109671 else
109672   ENABLE_SYMVERS_DARWIN_TRUE='#'
109673   ENABLE_SYMVERS_DARWIN_FALSE=
109674 fi
109675
109676
109677
109678
109679 if test $enable_visibility = yes; then
109680   ENABLE_VISIBILITY_TRUE=
109681   ENABLE_VISIBILITY_FALSE='#'
109682 else
109683   ENABLE_VISIBILITY_TRUE='#'
109684   ENABLE_VISIBILITY_FALSE=
109685 fi
109686
109687
109688
109689
109690 if test $ac_ldbl_compat = yes; then
109691   GLIBCXX_LDBL_COMPAT_TRUE=
109692   GLIBCXX_LDBL_COMPAT_FALSE='#'
109693 else
109694   GLIBCXX_LDBL_COMPAT_TRUE='#'
109695   GLIBCXX_LDBL_COMPAT_FALSE=
109696 fi
109697
109698
109699
109700
109701 cat >confcache <<\_ACEOF
109702 # This file is a shell script that caches the results of configure
109703 # tests run on this system so they can be shared between configure
109704 # scripts and configure runs, see configure's option --config-cache.
109705 # It is not useful on other systems.  If it contains results you don't
109706 # want to keep, you may remove or edit it.
109707 #
109708 # config.status only pays attention to the cache file if you give it
109709 # the --recheck option to rerun configure.
109710 #
109711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109713 # following values.
109714
109715 _ACEOF
109716
109717 # The following way of writing the cache mishandles newlines in values,
109718 # but we know of no workaround that is simple, portable, and efficient.
109719 # So, don't put newlines in cache variables' values.
109720 # Ultrix sh set writes to stderr and can't be redirected directly,
109721 # and sets the high bit in the cache file unless we assign to the vars.
109722 {
109723   (set) 2>&1 |
109724     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109725     *ac_space=\ *)
109726       # `set' does not quote correctly, so add quotes (double-quote
109727       # substitution turns \\\\ into \\, and sed turns \\ into \).
109728       sed -n \
109729         "s/'/'\\\\''/g;
109730           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109731       ;;
109732     *)
109733       # `set' quotes correctly as required by POSIX, so do not add quotes.
109734       sed -n \
109735         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109736       ;;
109737     esac;
109738 } |
109739   sed '
109740      t clear
109741      : clear
109742      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109743      t end
109744      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109745      : end' >>confcache
109746 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109747   if test -w $cache_file; then
109748     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109749     cat confcache >$cache_file
109750   else
109751     echo "not updating unwritable cache $cache_file"
109752   fi
109753 fi
109754 rm -f confcache
109755
109756 if test ${multilib} = yes; then
109757   multilib_arg="--enable-multilib"
109758 else
109759   multilib_arg=
109760 fi
109761
109762 # Export all the install information.
109763
109764   glibcxx_toolexecdir=no
109765   glibcxx_toolexeclibdir=no
109766   glibcxx_prefixdir=$prefix
109767
109768   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
109769 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
109770
109771 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
109772 if test "${with_gxx_include_dir+set}" = set; then
109773   withval="$with_gxx_include_dir"
109774   case "$withval" in
109775       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
109776 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
109777    { (exit 1); exit 1; }; } ;;
109778       no)  gxx_include_dir=no ;;
109779       *)   gxx_include_dir=$withval ;;
109780      esac
109781 else
109782   gxx_include_dir=no
109783 fi;
109784   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109785 echo "${ECHO_T}$gxx_include_dir" >&6
109786
109787   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
109788 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
109789   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
109790 if test "${enable_version_specific_runtime_libs+set}" = set; then
109791   enableval="$enable_version_specific_runtime_libs"
109792   case "$enableval" in
109793       yes) version_specific_libs=yes ;;
109794       no)  version_specific_libs=no ;;
109795       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
109796 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
109797    { (exit 1); exit 1; }; };;
109798      esac
109799 else
109800   version_specific_libs=no
109801 fi;
109802   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
109803 echo "${ECHO_T}$version_specific_libs" >&6
109804
109805   # Default case for install directory for include files.
109806   if test $version_specific_libs = no && test $gxx_include_dir = no; then
109807     gxx_include_dir='include/c++/${gcc_version}'
109808     if test -n "$with_cross_host" &&
109809        test x"$with_cross_host" != x"no"; then
109810       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
109811     else
109812       gxx_include_dir='${prefix}/'"$gxx_include_dir"
109813     fi
109814   fi
109815
109816   # Version-specific runtime libs processing.
109817   if test $version_specific_libs = yes; then
109818     # Need the gcc compiler version to know where to install libraries
109819     # and header files if --enable-version-specific-runtime-libs option
109820     # is selected.  FIXME: these variables are misnamed, there are
109821     # no executables installed in _toolexecdir or _toolexeclibdir.
109822     if test x"$gxx_include_dir" = x"no"; then
109823       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
109824     fi
109825     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109826     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
109827   fi
109828
109829   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
109830   # Install a library built with a cross compiler in tooldir, not libdir.
109831   if test x"$glibcxx_toolexecdir" = x"no"; then
109832     if test -n "$with_cross_host" &&
109833        test x"$with_cross_host" != x"no"; then
109834       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
109835       glibcxx_toolexeclibdir='${toolexecdir}/lib'
109836     else
109837       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
109838       glibcxx_toolexeclibdir='${libdir}'
109839     fi
109840     multi_os_directory=`$CXX -print-multi-os-directory`
109841     case $multi_os_directory in
109842       .) ;; # Avoid trailing /.
109843       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
109844     esac
109845   fi
109846
109847   echo "$as_me:$LINENO: checking for install location" >&5
109848 echo $ECHO_N "checking for install location... $ECHO_C" >&6
109849   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
109850 echo "${ECHO_T}$gxx_include_dir" >&6
109851
109852
109853
109854
109855
109856
109857
109858 # Export all the include and flag information to Makefiles.
109859
109860   # Used for every C++ compile we perform.
109861   GLIBCXX_INCLUDES="\
109862 -I$glibcxx_builddir/include/$host_alias \
109863 -I$glibcxx_builddir/include \
109864 -I$glibcxx_srcdir/libsupc++"
109865
109866   # For Canadian crosses, pick this up too.
109867   if test $CANADIAN = yes; then
109868     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
109869   fi
109870
109871   # Stuff in the actual top level.  Currently only used by libsupc++ to
109872   # get unwind* headers from the gcc dir.
109873   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
109874   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
109875
109876   # Now, export this to all the little Makefiles....
109877
109878
109879
109880
109881   # Optimization flags that are probably a good idea for thrill-seekers. Just
109882   # uncomment the lines below and make, everything else is ready to go...
109883   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
109884   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
109885
109886
109887   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
109888
109889
109890
109891 if test "$enable_shared" = yes; then
109892   LIBSUPCXX_PICFLAGS="-prefer-pic"
109893 else
109894   LIBSUPCXX_PICFLAGS=
109895 fi
109896
109897
109898                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
109899
109900           ac_config_files="$ac_config_files scripts/testsuite_flags"
109901
109902
109903           ac_config_commands="$ac_config_commands default"
109904
109905
109906 cat >confcache <<\_ACEOF
109907 # This file is a shell script that caches the results of configure
109908 # tests run on this system so they can be shared between configure
109909 # scripts and configure runs, see configure's option --config-cache.
109910 # It is not useful on other systems.  If it contains results you don't
109911 # want to keep, you may remove or edit it.
109912 #
109913 # config.status only pays attention to the cache file if you give it
109914 # the --recheck option to rerun configure.
109915 #
109916 # `ac_cv_env_foo' variables (set or unset) will be overridden when
109917 # loading this file, other *unset* `ac_cv_foo' will be assigned the
109918 # following values.
109919
109920 _ACEOF
109921
109922 # The following way of writing the cache mishandles newlines in values,
109923 # but we know of no workaround that is simple, portable, and efficient.
109924 # So, don't put newlines in cache variables' values.
109925 # Ultrix sh set writes to stderr and can't be redirected directly,
109926 # and sets the high bit in the cache file unless we assign to the vars.
109927 {
109928   (set) 2>&1 |
109929     case `(ac_space=' '; set | grep ac_space) 2>&1` in
109930     *ac_space=\ *)
109931       # `set' does not quote correctly, so add quotes (double-quote
109932       # substitution turns \\\\ into \\, and sed turns \\ into \).
109933       sed -n \
109934         "s/'/'\\\\''/g;
109935           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
109936       ;;
109937     *)
109938       # `set' quotes correctly as required by POSIX, so do not add quotes.
109939       sed -n \
109940         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
109941       ;;
109942     esac;
109943 } |
109944   sed '
109945      t clear
109946      : clear
109947      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
109948      t end
109949      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
109950      : end' >>confcache
109951 if diff $cache_file confcache >/dev/null 2>&1; then :; else
109952   if test -w $cache_file; then
109953     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
109954     cat confcache >$cache_file
109955   else
109956     echo "not updating unwritable cache $cache_file"
109957   fi
109958 fi
109959 rm -f confcache
109960
109961 test "x$prefix" = xNONE && prefix=$ac_default_prefix
109962 # Let make expand exec_prefix.
109963 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
109964
109965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
109966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
109967 # trailing colons and then remove the whole line if VPATH becomes empty
109968 # (actually we leave an empty line to preserve line numbers).
109969 if test "x$srcdir" = x.; then
109970   ac_vpsub='/^[  ]*VPATH[        ]*=/{
109971 s/:*\$(srcdir):*/:/;
109972 s/:*\${srcdir}:*/:/;
109973 s/:*@srcdir@:*/:/;
109974 s/^\([^=]*=[     ]*\):*/\1/;
109975 s/:*$//;
109976 s/^[^=]*=[       ]*$//;
109977 }'
109978 fi
109979
109980 DEFS=-DHAVE_CONFIG_H
109981
109982 ac_libobjs=
109983 ac_ltlibobjs=
109984 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
109985   # 1. Remove the extension, and $U if already installed.
109986   ac_i=`echo "$ac_i" |
109987          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
109988   # 2. Add them.
109989   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
109990   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
109991 done
109992 LIBOBJS=$ac_libobjs
109993
109994 LTLIBOBJS=$ac_ltlibobjs
109995
109996
109997 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
109998   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
109999 Usually this means the macro was only invoked conditionally." >&5
110000 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
110001 Usually this means the macro was only invoked conditionally." >&2;}
110002    { (exit 1); exit 1; }; }
110003 fi
110004 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
110005   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110006 Usually this means the macro was only invoked conditionally." >&5
110007 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
110008 Usually this means the macro was only invoked conditionally." >&2;}
110009    { (exit 1); exit 1; }; }
110010 fi
110011 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
110012   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110013 Usually this means the macro was only invoked conditionally." >&5
110014 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
110015 Usually this means the macro was only invoked conditionally." >&2;}
110016    { (exit 1); exit 1; }; }
110017 fi
110018 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
110019   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110020 Usually this means the macro was only invoked conditionally." >&5
110021 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
110022 Usually this means the macro was only invoked conditionally." >&2;}
110023    { (exit 1); exit 1; }; }
110024 fi
110025 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
110026   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110027 Usually this means the macro was only invoked conditionally." >&5
110028 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
110029 Usually this means the macro was only invoked conditionally." >&2;}
110030    { (exit 1); exit 1; }; }
110031 fi
110032 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
110033   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
110034 Usually this means the macro was only invoked conditionally." >&5
110035 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
110036 Usually this means the macro was only invoked conditionally." >&2;}
110037    { (exit 1); exit 1; }; }
110038 fi
110039 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
110040   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110041 Usually this means the macro was only invoked conditionally." >&5
110042 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
110043 Usually this means the macro was only invoked conditionally." >&2;}
110044    { (exit 1); exit 1; }; }
110045 fi
110046 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
110047   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
110048 Usually this means the macro was only invoked conditionally." >&5
110049 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
110050 Usually this means the macro was only invoked conditionally." >&2;}
110051    { (exit 1); exit 1; }; }
110052 fi
110053 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
110054   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110055 Usually this means the macro was only invoked conditionally." >&5
110056 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
110057 Usually this means the macro was only invoked conditionally." >&2;}
110058    { (exit 1); exit 1; }; }
110059 fi
110060 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
110061   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
110062 Usually this means the macro was only invoked conditionally." >&5
110063 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
110064 Usually this means the macro was only invoked conditionally." >&2;}
110065    { (exit 1); exit 1; }; }
110066 fi
110067 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
110068   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
110069 Usually this means the macro was only invoked conditionally." >&5
110070 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
110071 Usually this means the macro was only invoked conditionally." >&2;}
110072    { (exit 1); exit 1; }; }
110073 fi
110074 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
110075   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110076 Usually this means the macro was only invoked conditionally." >&5
110077 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
110078 Usually this means the macro was only invoked conditionally." >&2;}
110079    { (exit 1); exit 1; }; }
110080 fi
110081 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
110082   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110083 Usually this means the macro was only invoked conditionally." >&5
110084 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
110085 Usually this means the macro was only invoked conditionally." >&2;}
110086    { (exit 1); exit 1; }; }
110087 fi
110088 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
110089   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110090 Usually this means the macro was only invoked conditionally." >&5
110091 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
110092 Usually this means the macro was only invoked conditionally." >&2;}
110093    { (exit 1); exit 1; }; }
110094 fi
110095 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
110096   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110097 Usually this means the macro was only invoked conditionally." >&5
110098 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
110099 Usually this means the macro was only invoked conditionally." >&2;}
110100    { (exit 1); exit 1; }; }
110101 fi
110102 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
110103   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110104 Usually this means the macro was only invoked conditionally." >&5
110105 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
110106 Usually this means the macro was only invoked conditionally." >&2;}
110107    { (exit 1); exit 1; }; }
110108 fi
110109
110110 : ${CONFIG_STATUS=./config.status}
110111 ac_clean_files_save=$ac_clean_files
110112 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
110113 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
110114 echo "$as_me: creating $CONFIG_STATUS" >&6;}
110115 cat >$CONFIG_STATUS <<_ACEOF
110116 #! $SHELL
110117 # Generated by $as_me.
110118 # Run this file to recreate the current configuration.
110119 # Compiler output produced by configure, useful for debugging
110120 # configure, is in config.log if it exists.
110121
110122 debug=false
110123 ac_cs_recheck=false
110124 ac_cs_silent=false
110125 SHELL=\${CONFIG_SHELL-$SHELL}
110126 _ACEOF
110127
110128 cat >>$CONFIG_STATUS <<\_ACEOF
110129 ## --------------------- ##
110130 ## M4sh Initialization.  ##
110131 ## --------------------- ##
110132
110133 # Be Bourne compatible
110134 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
110135   emulate sh
110136   NULLCMD=:
110137   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
110138   # is contrary to our usage.  Disable this feature.
110139   alias -g '${1+"$@"}'='"$@"'
110140 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
110141   set -o posix
110142 fi
110143 DUALCASE=1; export DUALCASE # for MKS sh
110144
110145 # Support unset when possible.
110146 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
110147   as_unset=unset
110148 else
110149   as_unset=false
110150 fi
110151
110152
110153 # Work around bugs in pre-3.0 UWIN ksh.
110154 $as_unset ENV MAIL MAILPATH
110155 PS1='$ '
110156 PS2='> '
110157 PS4='+ '
110158
110159 # NLS nuisances.
110160 for as_var in \
110161   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
110162   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110163   LC_TELEPHONE LC_TIME
110164 do
110165   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110166     eval $as_var=C; export $as_var
110167   else
110168     $as_unset $as_var
110169   fi
110170 done
110171
110172 # Required to use basename.
110173 if expr a : '\(a\)' >/dev/null 2>&1; then
110174   as_expr=expr
110175 else
110176   as_expr=false
110177 fi
110178
110179 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
110180   as_basename=basename
110181 else
110182   as_basename=false
110183 fi
110184
110185
110186 # Name of the executable.
110187 as_me=`$as_basename "$0" ||
110188 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
110189          X"$0" : 'X\(//\)$' \| \
110190          X"$0" : 'X\(/\)$' \| \
110191          .     : '\(.\)' 2>/dev/null ||
110192 echo X/"$0" |
110193     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
110194           /^X\/\(\/\/\)$/{ s//\1/; q; }
110195           /^X\/\(\/\).*/{ s//\1/; q; }
110196           s/.*/./; q'`
110197
110198
110199 # PATH needs CR, and LINENO needs CR and PATH.
110200 # Avoid depending upon Character Ranges.
110201 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110202 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
110203 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
110204 as_cr_digits='0123456789'
110205 as_cr_alnum=$as_cr_Letters$as_cr_digits
110206
110207 # The user is always right.
110208 if test "${PATH_SEPARATOR+set}" != set; then
110209   echo "#! /bin/sh" >conf$$.sh
110210   echo  "exit 0"   >>conf$$.sh
110211   chmod +x conf$$.sh
110212   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
110213     PATH_SEPARATOR=';'
110214   else
110215     PATH_SEPARATOR=:
110216   fi
110217   rm -f conf$$.sh
110218 fi
110219
110220
110221   as_lineno_1=$LINENO
110222   as_lineno_2=$LINENO
110223   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110224   test "x$as_lineno_1" != "x$as_lineno_2" &&
110225   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
110226   # Find who we are.  Look in the path if we contain no path at all
110227   # relative or not.
110228   case $0 in
110229     *[\\/]* ) as_myself=$0 ;;
110230     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110231 for as_dir in $PATH
110232 do
110233   IFS=$as_save_IFS
110234   test -z "$as_dir" && as_dir=.
110235   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110236 done
110237
110238        ;;
110239   esac
110240   # We did not find ourselves, most probably we were run as `sh COMMAND'
110241   # in which case we are not to be found in the path.
110242   if test "x$as_myself" = x; then
110243     as_myself=$0
110244   fi
110245   if test ! -f "$as_myself"; then
110246     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
110247 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
110248    { (exit 1); exit 1; }; }
110249   fi
110250   case $CONFIG_SHELL in
110251   '')
110252     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110253 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
110254 do
110255   IFS=$as_save_IFS
110256   test -z "$as_dir" && as_dir=.
110257   for as_base in sh bash ksh sh5; do
110258          case $as_dir in
110259          /*)
110260            if ("$as_dir/$as_base" -c '
110261   as_lineno_1=$LINENO
110262   as_lineno_2=$LINENO
110263   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
110264   test "x$as_lineno_1" != "x$as_lineno_2" &&
110265   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
110266              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
110267              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
110268              CONFIG_SHELL=$as_dir/$as_base
110269              export CONFIG_SHELL
110270              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
110271            fi;;
110272          esac
110273        done
110274 done
110275 ;;
110276   esac
110277
110278   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
110279   # uniformly replaced by the line number.  The first 'sed' inserts a
110280   # line-number line before each line; the second 'sed' does the real
110281   # work.  The second script uses 'N' to pair each line-number line
110282   # with the numbered line, and appends trailing '-' during
110283   # substitution so that $LINENO is not a special case at line end.
110284   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
110285   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
110286   sed '=' <$as_myself |
110287     sed '
110288       N
110289       s,$,-,
110290       : loop
110291       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
110292       t loop
110293       s,-$,,
110294       s,^['$as_cr_digits']*\n,,
110295     ' >$as_me.lineno &&
110296   chmod +x $as_me.lineno ||
110297     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
110298 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
110299    { (exit 1); exit 1; }; }
110300
110301   # Don't try to exec as it changes $[0], causing all sort of problems
110302   # (the dirname of $[0] is not the place where we might find the
110303   # original and so on.  Autoconf is especially sensible to this).
110304   . ./$as_me.lineno
110305   # Exit status is that of the last command.
110306   exit
110307 }
110308
110309
110310 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
110311   *c*,-n*) ECHO_N= ECHO_C='
110312 ' ECHO_T='      ' ;;
110313   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
110314   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
110315 esac
110316
110317 if expr a : '\(a\)' >/dev/null 2>&1; then
110318   as_expr=expr
110319 else
110320   as_expr=false
110321 fi
110322
110323 rm -f conf$$ conf$$.exe conf$$.file
110324 echo >conf$$.file
110325 if ln -s conf$$.file conf$$ 2>/dev/null; then
110326   # We could just check for DJGPP; but this test a) works b) is more generic
110327   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
110328   if test -f conf$$.exe; then
110329     # Don't use ln at all; we don't have any links
110330     as_ln_s='cp -p'
110331   else
110332     as_ln_s='ln -s'
110333   fi
110334 elif ln conf$$.file conf$$ 2>/dev/null; then
110335   as_ln_s=ln
110336 else
110337   as_ln_s='cp -p'
110338 fi
110339 rm -f conf$$ conf$$.exe conf$$.file
110340
110341 if mkdir -p . 2>/dev/null; then
110342   as_mkdir_p=:
110343 else
110344   test -d ./-p && rmdir ./-p
110345   as_mkdir_p=false
110346 fi
110347
110348 as_executable_p="test -f"
110349
110350 # Sed expression to map a string onto a valid CPP name.
110351 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
110352
110353 # Sed expression to map a string onto a valid variable name.
110354 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
110355
110356
110357 # IFS
110358 # We need space, tab and new line, in precisely that order.
110359 as_nl='
110360 '
110361 IFS="   $as_nl"
110362
110363 # CDPATH.
110364 $as_unset CDPATH
110365
110366 exec 6>&1
110367
110368 # Open the log real soon, to keep \$[0] and so on meaningful, and to
110369 # report actual input values of CONFIG_FILES etc. instead of their
110370 # values after options handling.  Logging --version etc. is OK.
110371 exec 5>>config.log
110372 {
110373   echo
110374   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
110375 ## Running $as_me. ##
110376 _ASBOX
110377 } >&5
110378 cat >&5 <<_CSEOF
110379
110380 This file was extended by package-unused $as_me version-unused, which was
110381 generated by GNU Autoconf 2.59.  Invocation command line was
110382
110383   CONFIG_FILES    = $CONFIG_FILES
110384   CONFIG_HEADERS  = $CONFIG_HEADERS
110385   CONFIG_LINKS    = $CONFIG_LINKS
110386   CONFIG_COMMANDS = $CONFIG_COMMANDS
110387   $ $0 $@
110388
110389 _CSEOF
110390 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
110391 echo >&5
110392 _ACEOF
110393
110394 # Files that config.status was made for.
110395 if test -n "$ac_config_files"; then
110396   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
110397 fi
110398
110399 if test -n "$ac_config_headers"; then
110400   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
110401 fi
110402
110403 if test -n "$ac_config_links"; then
110404   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
110405 fi
110406
110407 if test -n "$ac_config_commands"; then
110408   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
110409 fi
110410
110411 cat >>$CONFIG_STATUS <<\_ACEOF
110412
110413 ac_cs_usage="\
110414 \`$as_me' instantiates files from templates according to the
110415 current configuration.
110416
110417 Usage: $0 [OPTIONS] [FILE]...
110418
110419   -h, --help       print this help, then exit
110420   -V, --version    print version number, then exit
110421   -q, --quiet      do not print progress messages
110422   -d, --debug      don't remove temporary files
110423       --recheck    update $as_me by reconfiguring in the same conditions
110424   --file=FILE[:TEMPLATE]
110425                    instantiate the configuration file FILE
110426   --header=FILE[:TEMPLATE]
110427                    instantiate the configuration header FILE
110428
110429 Configuration files:
110430 $config_files
110431
110432 Configuration headers:
110433 $config_headers
110434
110435 Configuration commands:
110436 $config_commands
110437
110438 Report bugs to <bug-autoconf@gnu.org>."
110439 _ACEOF
110440
110441 cat >>$CONFIG_STATUS <<_ACEOF
110442 ac_cs_version="\\
110443 package-unused config.status version-unused
110444 configured by $0, generated by GNU Autoconf 2.59,
110445   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
110446
110447 Copyright (C) 2003 Free Software Foundation, Inc.
110448 This config.status script is free software; the Free Software Foundation
110449 gives unlimited permission to copy, distribute and modify it."
110450 srcdir=$srcdir
110451 INSTALL="$INSTALL"
110452 _ACEOF
110453
110454 cat >>$CONFIG_STATUS <<\_ACEOF
110455 # If no file are specified by the user, then we need to provide default
110456 # value.  By we need to know if files were specified by the user.
110457 ac_need_defaults=:
110458 while test $# != 0
110459 do
110460   case $1 in
110461   --*=*)
110462     ac_option=`expr "x$1" : 'x\([^=]*\)='`
110463     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
110464     ac_shift=:
110465     ;;
110466   -*)
110467     ac_option=$1
110468     ac_optarg=$2
110469     ac_shift=shift
110470     ;;
110471   *) # This is not an option, so the user has probably given explicit
110472      # arguments.
110473      ac_option=$1
110474      ac_need_defaults=false;;
110475   esac
110476
110477   case $ac_option in
110478   # Handling of the options.
110479 _ACEOF
110480 cat >>$CONFIG_STATUS <<\_ACEOF
110481   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
110482     ac_cs_recheck=: ;;
110483   --version | --vers* | -V )
110484     echo "$ac_cs_version"; exit 0 ;;
110485   --he | --h)
110486     # Conflict between --help and --header
110487     { { echo "$as_me:$LINENO: error: ambiguous option: $1
110488 Try \`$0 --help' for more information." >&5
110489 echo "$as_me: error: ambiguous option: $1
110490 Try \`$0 --help' for more information." >&2;}
110491    { (exit 1); exit 1; }; };;
110492   --help | --hel | -h )
110493     echo "$ac_cs_usage"; exit 0 ;;
110494   --debug | --d* | -d )
110495     debug=: ;;
110496   --file | --fil | --fi | --f )
110497     $ac_shift
110498     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
110499     ac_need_defaults=false;;
110500   --header | --heade | --head | --hea )
110501     $ac_shift
110502     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
110503     ac_need_defaults=false;;
110504   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
110505   | -silent | --silent | --silen | --sile | --sil | --si | --s)
110506     ac_cs_silent=: ;;
110507
110508   # This is an error.
110509   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
110510 Try \`$0 --help' for more information." >&5
110511 echo "$as_me: error: unrecognized option: $1
110512 Try \`$0 --help' for more information." >&2;}
110513    { (exit 1); exit 1; }; } ;;
110514
110515   *) ac_config_targets="$ac_config_targets $1" ;;
110516
110517   esac
110518   shift
110519 done
110520
110521 ac_configure_extra_args=
110522
110523 if $ac_cs_silent; then
110524   exec 6>/dev/null
110525   ac_configure_extra_args="$ac_configure_extra_args --silent"
110526 fi
110527
110528 _ACEOF
110529 cat >>$CONFIG_STATUS <<_ACEOF
110530 if \$ac_cs_recheck; then
110531   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
110532   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
110533 fi
110534
110535 _ACEOF
110536
110537 cat >>$CONFIG_STATUS <<_ACEOF
110538 #
110539 # INIT-COMMANDS section.
110540 #
110541
110542
110543 srcdir="$srcdir"
110544 host="$host"
110545 target="$target"
110546 with_multisubdir="$with_multisubdir"
110547 with_multisrctop="$with_multisrctop"
110548 with_target_subdir="$with_target_subdir"
110549 ac_configure_args="${multilib_arg} ${ac_configure_args}"
110550 multi_basedir="$multi_basedir"
110551 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
110552 CC="$CC"
110553
110554
110555 # The HP-UX ksh and POSIX shell print the target directory to stdout
110556 # if CDPATH is set.
110557 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
110558
110559 sed_quote_subst='$sed_quote_subst'
110560 double_quote_subst='$double_quote_subst'
110561 delay_variable_subst='$delay_variable_subst'
110562 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
110563 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
110564 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
110565 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
110566 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
110567 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
110568 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
110569 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
110570 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
110571 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
110572 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
110573 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
110574 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
110575 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
110576 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
110577 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
110578 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
110579 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
110580 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
110581 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
110582 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
110583 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
110584 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
110585 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
110586 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
110587 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
110588 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
110589 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110590 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
110591 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
110592 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
110593 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
110594 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
110595 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
110596 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
110597 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110598 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110599 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110600 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
110601 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
110602 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
110603 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
110604 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
110605 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
110606 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"`'
110607 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
110608 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
110609 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
110610 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
110611 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
110612 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
110613 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
110614 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
110615 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
110616 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
110617 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
110618 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
110619 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
110620 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
110621 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
110622 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
110623 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
110624 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110625 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110626 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
110627 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
110628 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
110629 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
110630 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
110631 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110632 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110633 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110634 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110635 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110636 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110637 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
110638 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
110639 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
110640 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
110641 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
110642 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
110643 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
110644 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
110645 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
110646 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
110647 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
110648 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
110649 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
110650 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
110651 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
110652 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110653 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
110654 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
110655 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110656 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
110657 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
110658 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
110659 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
110660 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
110661 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
110662 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
110663 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
110664 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
110665 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
110666 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
110667 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110668 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110669 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
110670 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
110671 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
110672 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
110673 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
110674 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
110675 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
110676 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
110677 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
110678 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
110679 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
110680 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
110681 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
110682 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
110683 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
110684 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
110685 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
110686 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110687 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110688 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110689 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110690 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110691 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110692 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110693 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110694 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110695 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110696 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110697 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110698 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110699 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110700 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110701 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110702 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110703 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110704 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110705 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110706 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110707 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110708 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110709 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110710 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110711 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110712 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110713 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110714 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110715 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110716 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110717 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110718 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110719 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110720 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110721 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110722 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110723 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110724 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110725 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110726 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110727 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110728 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110729 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110730 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110731 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110732 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
110733
110734 LTCC='$LTCC'
110735 LTCFLAGS='$LTCFLAGS'
110736 compiler='$compiler_DEFAULT'
110737
110738 # Quote evaled strings.
110739 for var in SED \
110740 GREP \
110741 EGREP \
110742 FGREP \
110743 LD \
110744 NM \
110745 LN_S \
110746 lt_SP2NL \
110747 lt_NL2SP \
110748 reload_flag \
110749 OBJDUMP \
110750 deplibs_check_method \
110751 file_magic_cmd \
110752 AR \
110753 AR_FLAGS \
110754 STRIP \
110755 RANLIB \
110756 CC \
110757 CFLAGS \
110758 compiler \
110759 lt_cv_sys_global_symbol_pipe \
110760 lt_cv_sys_global_symbol_to_cdecl \
110761 lt_cv_sys_global_symbol_to_c_name_address \
110762 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
110763 SHELL \
110764 ECHO \
110765 lt_prog_compiler_no_builtin_flag \
110766 lt_prog_compiler_wl \
110767 lt_prog_compiler_pic \
110768 lt_prog_compiler_static \
110769 lt_cv_prog_compiler_c_o \
110770 need_locks \
110771 DSYMUTIL \
110772 NMEDIT \
110773 LIPO \
110774 OTOOL \
110775 OTOOL64 \
110776 shrext_cmds \
110777 export_dynamic_flag_spec \
110778 whole_archive_flag_spec \
110779 compiler_needs_object \
110780 with_gnu_ld \
110781 allow_undefined_flag \
110782 no_undefined_flag \
110783 hardcode_libdir_flag_spec \
110784 hardcode_libdir_flag_spec_ld \
110785 hardcode_libdir_separator \
110786 fix_srcfile_path \
110787 exclude_expsyms \
110788 include_expsyms \
110789 file_list_spec \
110790 variables_saved_for_relink \
110791 libname_spec \
110792 library_names_spec \
110793 soname_spec \
110794 finish_eval \
110795 old_striplib \
110796 striplib \
110797 compiler_lib_search_dirs \
110798 predep_objects \
110799 postdep_objects \
110800 predeps \
110801 postdeps \
110802 compiler_lib_search_path \
110803 LD_CXX \
110804 compiler_CXX \
110805 lt_prog_compiler_no_builtin_flag_CXX \
110806 lt_prog_compiler_wl_CXX \
110807 lt_prog_compiler_pic_CXX \
110808 lt_prog_compiler_static_CXX \
110809 lt_cv_prog_compiler_c_o_CXX \
110810 export_dynamic_flag_spec_CXX \
110811 whole_archive_flag_spec_CXX \
110812 compiler_needs_object_CXX \
110813 with_gnu_ld_CXX \
110814 allow_undefined_flag_CXX \
110815 no_undefined_flag_CXX \
110816 hardcode_libdir_flag_spec_CXX \
110817 hardcode_libdir_flag_spec_ld_CXX \
110818 hardcode_libdir_separator_CXX \
110819 fix_srcfile_path_CXX \
110820 exclude_expsyms_CXX \
110821 include_expsyms_CXX \
110822 file_list_spec_CXX \
110823 compiler_lib_search_dirs_CXX \
110824 predep_objects_CXX \
110825 postdep_objects_CXX \
110826 predeps_CXX \
110827 postdeps_CXX \
110828 compiler_lib_search_path_CXX; do
110829     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110830     *[\\\\\\\`\\"\\\$]*)
110831       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
110832       ;;
110833     *)
110834       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110835       ;;
110836     esac
110837 done
110838
110839 # Double-quote double-evaled strings.
110840 for var in reload_cmds \
110841 old_postinstall_cmds \
110842 old_postuninstall_cmds \
110843 old_archive_cmds \
110844 extract_expsyms_cmds \
110845 old_archive_from_new_cmds \
110846 old_archive_from_expsyms_cmds \
110847 archive_cmds \
110848 archive_expsym_cmds \
110849 module_cmds \
110850 module_expsym_cmds \
110851 export_symbols_cmds \
110852 prelink_cmds \
110853 postinstall_cmds \
110854 postuninstall_cmds \
110855 finish_cmds \
110856 sys_lib_search_path_spec \
110857 sys_lib_dlsearch_path_spec \
110858 old_archive_cmds_CXX \
110859 old_archive_from_new_cmds_CXX \
110860 old_archive_from_expsyms_cmds_CXX \
110861 archive_cmds_CXX \
110862 archive_expsym_cmds_CXX \
110863 module_cmds_CXX \
110864 module_expsym_cmds_CXX \
110865 export_symbols_cmds_CXX \
110866 prelink_cmds_CXX; do
110867     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
110868     *[\\\\\\\`\\"\\\$]*)
110869       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
110870       ;;
110871     *)
110872       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
110873       ;;
110874     esac
110875 done
110876
110877 # Fix-up fallback echo if it was mangled by the above quoting rules.
110878 case \$lt_ECHO in
110879 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
110880   ;;
110881 esac
110882
110883 ac_aux_dir='$ac_aux_dir'
110884 xsi_shell='$xsi_shell'
110885 lt_shell_append='$lt_shell_append'
110886
110887 # See if we are running on zsh, and set the options which allow our
110888 # commands through without removal of \ escapes INIT.
110889 if test -n "\${ZSH_VERSION+set}" ; then
110890    setopt NO_GLOB_SUBST
110891 fi
110892
110893
110894     PACKAGE='$PACKAGE'
110895     VERSION='$VERSION'
110896     TIMESTAMP='$TIMESTAMP'
110897     RM='$RM'
110898     ofile='$ofile'
110899
110900
110901
110902
110903
110904
110905 GCC="$GCC"
110906 CC="$CC"
110907 acx_cv_header_stdint="$acx_cv_header_stdint"
110908 acx_cv_type_int8_t="$acx_cv_type_int8_t"
110909 acx_cv_type_int16_t="$acx_cv_type_int16_t"
110910 acx_cv_type_int32_t="$acx_cv_type_int32_t"
110911 acx_cv_type_int64_t="$acx_cv_type_int64_t"
110912 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
110913 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
110914 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
110915 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
110916 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
110917 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
110918 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
110919 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
110920 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
110921
110922
110923 # Variables needed in config.status (file generation) which aren't already
110924 # passed by autoconf.
110925 SUBDIRS="$SUBDIRS"
110926
110927
110928 _ACEOF
110929
110930
110931
110932 cat >>$CONFIG_STATUS <<\_ACEOF
110933 for ac_config_target in $ac_config_targets
110934 do
110935   case "$ac_config_target" in
110936   # Handling of arguments.
110937   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
110938   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
110939   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
110940   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
110941   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
110942   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
110943   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
110944   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
110945   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
110946   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
110947   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
110948   "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
110949   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
110950   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
110951   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
110952 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
110953    { (exit 1); exit 1; }; };;
110954   esac
110955 done
110956
110957 # If the user did not use the arguments to specify the items to instantiate,
110958 # then the envvar interface is used.  Set only those that are not.
110959 # We use the long form for the default assignment because of an extremely
110960 # bizarre bug on SunOS 4.1.3.
110961 if $ac_need_defaults; then
110962   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
110963   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
110964   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
110965 fi
110966
110967 # Have a temporary directory for convenience.  Make it in the build tree
110968 # simply because there is no reason to put it here, and in addition,
110969 # creating and moving files from /tmp can sometimes cause problems.
110970 # Create a temporary directory, and hook for its removal unless debugging.
110971 $debug ||
110972 {
110973   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
110974   trap '{ (exit 1); exit 1; }' 1 2 13 15
110975 }
110976
110977 # Create a (secure) tmp directory for tmp files.
110978
110979 {
110980   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
110981   test -n "$tmp" && test -d "$tmp"
110982 }  ||
110983 {
110984   tmp=./confstat$$-$RANDOM
110985   (umask 077 && mkdir $tmp)
110986 } ||
110987 {
110988    echo "$me: cannot create a temporary directory in ." >&2
110989    { (exit 1); exit 1; }
110990 }
110991
110992 _ACEOF
110993
110994 cat >>$CONFIG_STATUS <<_ACEOF
110995
110996 #
110997 # CONFIG_FILES section.
110998 #
110999
111000 # No need to generate the scripts if there are no CONFIG_FILES.
111001 # This happens for instance when ./config.status config.h
111002 if test -n "\$CONFIG_FILES"; then
111003   # Protect against being on the right side of a sed subst in config.status.
111004   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
111005    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
111006 s,@SHELL@,$SHELL,;t t
111007 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
111008 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
111009 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
111010 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
111011 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
111012 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
111013 s,@exec_prefix@,$exec_prefix,;t t
111014 s,@prefix@,$prefix,;t t
111015 s,@program_transform_name@,$program_transform_name,;t t
111016 s,@bindir@,$bindir,;t t
111017 s,@sbindir@,$sbindir,;t t
111018 s,@libexecdir@,$libexecdir,;t t
111019 s,@datadir@,$datadir,;t t
111020 s,@sysconfdir@,$sysconfdir,;t t
111021 s,@sharedstatedir@,$sharedstatedir,;t t
111022 s,@localstatedir@,$localstatedir,;t t
111023 s,@libdir@,$libdir,;t t
111024 s,@includedir@,$includedir,;t t
111025 s,@oldincludedir@,$oldincludedir,;t t
111026 s,@infodir@,$infodir,;t t
111027 s,@mandir@,$mandir,;t t
111028 s,@build_alias@,$build_alias,;t t
111029 s,@host_alias@,$host_alias,;t t
111030 s,@target_alias@,$target_alias,;t t
111031 s,@DEFS@,$DEFS,;t t
111032 s,@ECHO_C@,$ECHO_C,;t t
111033 s,@ECHO_N@,$ECHO_N,;t t
111034 s,@ECHO_T@,$ECHO_T,;t t
111035 s,@LIBS@,$LIBS,;t t
111036 s,@libtool_VERSION@,$libtool_VERSION,;t t
111037 s,@multi_basedir@,$multi_basedir,;t t
111038 s,@build@,$build,;t t
111039 s,@build_cpu@,$build_cpu,;t t
111040 s,@build_vendor@,$build_vendor,;t t
111041 s,@build_os@,$build_os,;t t
111042 s,@host@,$host,;t t
111043 s,@host_cpu@,$host_cpu,;t t
111044 s,@host_vendor@,$host_vendor,;t t
111045 s,@host_os@,$host_os,;t t
111046 s,@target@,$target,;t t
111047 s,@target_cpu@,$target_cpu,;t t
111048 s,@target_vendor@,$target_vendor,;t t
111049 s,@target_os@,$target_os,;t t
111050 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
111051 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
111052 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
111053 s,@CYGPATH_W@,$CYGPATH_W,;t t
111054 s,@PACKAGE@,$PACKAGE,;t t
111055 s,@VERSION@,$VERSION,;t t
111056 s,@ACLOCAL@,$ACLOCAL,;t t
111057 s,@AUTOCONF@,$AUTOCONF,;t t
111058 s,@AUTOMAKE@,$AUTOMAKE,;t t
111059 s,@AUTOHEADER@,$AUTOHEADER,;t t
111060 s,@MAKEINFO@,$MAKEINFO,;t t
111061 s,@install_sh@,$install_sh,;t t
111062 s,@STRIP@,$STRIP,;t t
111063 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
111064 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
111065 s,@mkdir_p@,$mkdir_p,;t t
111066 s,@AWK@,$AWK,;t t
111067 s,@SET_MAKE@,$SET_MAKE,;t t
111068 s,@am__leading_dot@,$am__leading_dot,;t t
111069 s,@AMTAR@,$AMTAR,;t t
111070 s,@am__tar@,$am__tar,;t t
111071 s,@am__untar@,$am__untar,;t t
111072 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
111073 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
111074 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
111075 s,@CC@,$CC,;t t
111076 s,@ac_ct_CC@,$ac_ct_CC,;t t
111077 s,@EXEEXT@,$EXEEXT,;t t
111078 s,@OBJEXT@,$OBJEXT,;t t
111079 s,@CXX@,$CXX,;t t
111080 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
111081 s,@CFLAGS@,$CFLAGS,;t t
111082 s,@CXXFLAGS@,$CXXFLAGS,;t t
111083 s,@LN_S@,$LN_S,;t t
111084 s,@AS@,$AS,;t t
111085 s,@ac_ct_AS@,$ac_ct_AS,;t t
111086 s,@AR@,$AR,;t t
111087 s,@ac_ct_AR@,$ac_ct_AR,;t t
111088 s,@RANLIB@,$RANLIB,;t t
111089 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
111090 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
111091 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
111092 s,@MAINT@,$MAINT,;t t
111093 s,@CPP@,$CPP,;t t
111094 s,@CPPFLAGS@,$CPPFLAGS,;t t
111095 s,@EGREP@,$EGREP,;t t
111096 s,@LIBTOOL@,$LIBTOOL,;t t
111097 s,@SED@,$SED,;t t
111098 s,@FGREP@,$FGREP,;t t
111099 s,@GREP@,$GREP,;t t
111100 s,@LD@,$LD,;t t
111101 s,@DUMPBIN@,$DUMPBIN,;t t
111102 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
111103 s,@NM@,$NM,;t t
111104 s,@OBJDUMP@,$OBJDUMP,;t t
111105 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
111106 s,@lt_ECHO@,$lt_ECHO,;t t
111107 s,@DSYMUTIL@,$DSYMUTIL,;t t
111108 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
111109 s,@NMEDIT@,$NMEDIT,;t t
111110 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
111111 s,@LIPO@,$LIPO,;t t
111112 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
111113 s,@OTOOL@,$OTOOL,;t t
111114 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
111115 s,@OTOOL64@,$OTOOL64,;t t
111116 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
111117 s,@LDFLAGS@,$LDFLAGS,;t t
111118 s,@CXXCPP@,$CXXCPP,;t t
111119 s,@enable_shared@,$enable_shared,;t t
111120 s,@enable_static@,$enable_static,;t t
111121 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
111122 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
111123 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
111124 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
111125 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
111126 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
111127 s,@WERROR@,$WERROR,;t t
111128 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
111129 s,@CSTDIO_H@,$CSTDIO_H,;t t
111130 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
111131 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
111132 s,@check_msgfmt@,$check_msgfmt,;t t
111133 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
111134 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
111135 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
111136 s,@USE_NLS@,$USE_NLS,;t t
111137 s,@CLOCALE_H@,$CLOCALE_H,;t t
111138 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
111139 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
111140 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
111141 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
111142 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
111143 s,@CMONEY_CC@,$CMONEY_CC,;t t
111144 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
111145 s,@CTIME_H@,$CTIME_H,;t t
111146 s,@CTIME_CC@,$CTIME_CC,;t t
111147 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
111148 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
111149 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
111150 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
111151 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
111152 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
111153 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
111154 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
111155 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
111156 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
111157 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
111158 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
111159 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
111160 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
111161 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
111162 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
111163 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
111164 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
111165 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
111166 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
111167 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
111168 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
111169 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
111170 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
111171 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
111172 s,@LIBICONV@,$LIBICONV,;t t
111173 s,@LTLIBICONV@,$LTLIBICONV,;t t
111174 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
111175 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
111176 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
111177 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
111178 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
111179 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
111180 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
111181 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
111182 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
111183 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
111184 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
111185 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
111186 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
111187 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
111188 s,@baseline_dir@,$baseline_dir,;t t
111189 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
111190 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
111191 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
111192 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
111193 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
111194 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
111195 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
111196 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
111197 s,@gxx_include_dir@,$gxx_include_dir,;t t
111198 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
111199 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
111200 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
111201 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
111202 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
111203 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
111204 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
111205 s,@LIBOBJS@,$LIBOBJS,;t t
111206 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
111207 CEOF
111208
111209 _ACEOF
111210
111211   cat >>$CONFIG_STATUS <<\_ACEOF
111212   # Split the substitutions into bite-sized pieces for seds with
111213   # small command number limits, like on Digital OSF/1 and HP-UX.
111214   ac_max_sed_lines=48
111215   ac_sed_frag=1 # Number of current file.
111216   ac_beg=1 # First line for current file.
111217   ac_end=$ac_max_sed_lines # Line after last line for current file.
111218   ac_more_lines=:
111219   ac_sed_cmds=
111220   while $ac_more_lines; do
111221     if test $ac_beg -gt 1; then
111222       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111223     else
111224       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
111225     fi
111226     if test ! -s $tmp/subs.frag; then
111227       ac_more_lines=false
111228     else
111229       # The purpose of the label and of the branching condition is to
111230       # speed up the sed processing (if there are no `@' at all, there
111231       # is no need to browse any of the substitutions).
111232       # These are the two extra sed commands mentioned above.
111233       (echo ':t
111234   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
111235       if test -z "$ac_sed_cmds"; then
111236         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
111237       else
111238         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
111239       fi
111240       ac_sed_frag=`expr $ac_sed_frag + 1`
111241       ac_beg=$ac_end
111242       ac_end=`expr $ac_end + $ac_max_sed_lines`
111243     fi
111244   done
111245   if test -z "$ac_sed_cmds"; then
111246     ac_sed_cmds=cat
111247   fi
111248 fi # test -n "$CONFIG_FILES"
111249
111250 _ACEOF
111251 cat >>$CONFIG_STATUS <<\_ACEOF
111252 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
111253   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111254   case $ac_file in
111255   - | *:- | *:-:* ) # input from stdin
111256         cat >$tmp/stdin
111257         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111258         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111259   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111260         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111261   * )   ac_file_in=$ac_file.in ;;
111262   esac
111263
111264   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
111265   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111267          X"$ac_file" : 'X\(//\)[^/]' \| \
111268          X"$ac_file" : 'X\(//\)$' \| \
111269          X"$ac_file" : 'X\(/\)' \| \
111270          .     : '\(.\)' 2>/dev/null ||
111271 echo X"$ac_file" |
111272     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111273           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111274           /^X\(\/\/\)$/{ s//\1/; q; }
111275           /^X\(\/\).*/{ s//\1/; q; }
111276           s/.*/./; q'`
111277   { if $as_mkdir_p; then
111278     mkdir -p "$ac_dir"
111279   else
111280     as_dir="$ac_dir"
111281     as_dirs=
111282     while test ! -d "$as_dir"; do
111283       as_dirs="$as_dir $as_dirs"
111284       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111286          X"$as_dir" : 'X\(//\)[^/]' \| \
111287          X"$as_dir" : 'X\(//\)$' \| \
111288          X"$as_dir" : 'X\(/\)' \| \
111289          .     : '\(.\)' 2>/dev/null ||
111290 echo X"$as_dir" |
111291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111292           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111293           /^X\(\/\/\)$/{ s//\1/; q; }
111294           /^X\(\/\).*/{ s//\1/; q; }
111295           s/.*/./; q'`
111296     done
111297     test ! -n "$as_dirs" || mkdir $as_dirs
111298   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111299 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111300    { (exit 1); exit 1; }; }; }
111301
111302   ac_builddir=.
111303
111304 if test "$ac_dir" != .; then
111305   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111306   # A "../" for each directory in $ac_dir_suffix.
111307   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111308 else
111309   ac_dir_suffix= ac_top_builddir=
111310 fi
111311
111312 case $srcdir in
111313   .)  # No --srcdir option.  We are building in place.
111314     ac_srcdir=.
111315     if test -z "$ac_top_builddir"; then
111316        ac_top_srcdir=.
111317     else
111318        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111319     fi ;;
111320   [\\/]* | ?:[\\/]* )  # Absolute path.
111321     ac_srcdir=$srcdir$ac_dir_suffix;
111322     ac_top_srcdir=$srcdir ;;
111323   *) # Relative path.
111324     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111325     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111326 esac
111327
111328 # Do not use `cd foo && pwd` to compute absolute paths, because
111329 # the directories may not exist.
111330 case `pwd` in
111331 .) ac_abs_builddir="$ac_dir";;
111332 *)
111333   case "$ac_dir" in
111334   .) ac_abs_builddir=`pwd`;;
111335   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111336   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111337   esac;;
111338 esac
111339 case $ac_abs_builddir in
111340 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111341 *)
111342   case ${ac_top_builddir}. in
111343   .) ac_abs_top_builddir=$ac_abs_builddir;;
111344   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111345   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111346   esac;;
111347 esac
111348 case $ac_abs_builddir in
111349 .) ac_abs_srcdir=$ac_srcdir;;
111350 *)
111351   case $ac_srcdir in
111352   .) ac_abs_srcdir=$ac_abs_builddir;;
111353   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111354   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111355   esac;;
111356 esac
111357 case $ac_abs_builddir in
111358 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111359 *)
111360   case $ac_top_srcdir in
111361   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111362   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111363   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111364   esac;;
111365 esac
111366
111367
111368   case $INSTALL in
111369   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
111370   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
111371   esac
111372
111373   if test x"$ac_file" != x-; then
111374     { echo "$as_me:$LINENO: creating $ac_file" >&5
111375 echo "$as_me: creating $ac_file" >&6;}
111376     rm -f "$ac_file"
111377   fi
111378   # Let's still pretend it is `configure' which instantiates (i.e., don't
111379   # use $as_me), people would be surprised to read:
111380   #    /* config.h.  Generated by config.status.  */
111381   if test x"$ac_file" = x-; then
111382     configure_input=
111383   else
111384     configure_input="$ac_file.  "
111385   fi
111386   configure_input=$configure_input"Generated from `echo $ac_file_in |
111387                                      sed 's,.*/,,'` by configure."
111388
111389   # First look for the input files in the build tree, otherwise in the
111390   # src tree.
111391   ac_file_inputs=`IFS=:
111392     for f in $ac_file_in; do
111393       case $f in
111394       -) echo $tmp/stdin ;;
111395       [\\/$]*)
111396          # Absolute (can't be DOS-style, as IFS=:)
111397          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111398 echo "$as_me: error: cannot find input file: $f" >&2;}
111399    { (exit 1); exit 1; }; }
111400          echo "$f";;
111401       *) # Relative
111402          if test -f "$f"; then
111403            # Build tree
111404            echo "$f"
111405          elif test -f "$srcdir/$f"; then
111406            # Source tree
111407            echo "$srcdir/$f"
111408          else
111409            # /dev/null tree
111410            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111411 echo "$as_me: error: cannot find input file: $f" >&2;}
111412    { (exit 1); exit 1; }; }
111413          fi;;
111414       esac
111415     done` || { (exit 1); exit 1; }
111416 _ACEOF
111417 cat >>$CONFIG_STATUS <<_ACEOF
111418   sed "$ac_vpsub
111419 $extrasub
111420 _ACEOF
111421 cat >>$CONFIG_STATUS <<\_ACEOF
111422 :t
111423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
111424 s,@configure_input@,$configure_input,;t t
111425 s,@srcdir@,$ac_srcdir,;t t
111426 s,@abs_srcdir@,$ac_abs_srcdir,;t t
111427 s,@top_srcdir@,$ac_top_srcdir,;t t
111428 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
111429 s,@builddir@,$ac_builddir,;t t
111430 s,@abs_builddir@,$ac_abs_builddir,;t t
111431 s,@top_builddir@,$ac_top_builddir,;t t
111432 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
111433 s,@INSTALL@,$ac_INSTALL,;t t
111434 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
111435   rm -f $tmp/stdin
111436   if test x"$ac_file" != x-; then
111437     mv $tmp/out $ac_file
111438   else
111439     cat $tmp/out
111440     rm -f $tmp/out
111441   fi
111442
111443   # Run the commands associated with the file.
111444   case $ac_file in
111445     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
111446   esac
111447 done
111448 _ACEOF
111449 cat >>$CONFIG_STATUS <<\_ACEOF
111450
111451 #
111452 # CONFIG_HEADER section.
111453 #
111454
111455 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
111456 # NAME is the cpp macro being defined and VALUE is the value it is being given.
111457 #
111458 # ac_d sets the value in "#define NAME VALUE" lines.
111459 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
111460 ac_dB='[         ].*$,\1#\2'
111461 ac_dC=' '
111462 ac_dD=',;t'
111463 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
111464 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
111465 ac_uB='$,\1#\2define\3'
111466 ac_uC=' '
111467 ac_uD=',;t'
111468
111469 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
111470   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
111471   case $ac_file in
111472   - | *:- | *:-:* ) # input from stdin
111473         cat >$tmp/stdin
111474         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111475         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111476   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
111477         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
111478   * )   ac_file_in=$ac_file.in ;;
111479   esac
111480
111481   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
111482 echo "$as_me: creating $ac_file" >&6;}
111483
111484   # First look for the input files in the build tree, otherwise in the
111485   # src tree.
111486   ac_file_inputs=`IFS=:
111487     for f in $ac_file_in; do
111488       case $f in
111489       -) echo $tmp/stdin ;;
111490       [\\/$]*)
111491          # Absolute (can't be DOS-style, as IFS=:)
111492          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111493 echo "$as_me: error: cannot find input file: $f" >&2;}
111494    { (exit 1); exit 1; }; }
111495          # Do quote $f, to prevent DOS paths from being IFS'd.
111496          echo "$f";;
111497       *) # Relative
111498          if test -f "$f"; then
111499            # Build tree
111500            echo "$f"
111501          elif test -f "$srcdir/$f"; then
111502            # Source tree
111503            echo "$srcdir/$f"
111504          else
111505            # /dev/null tree
111506            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
111507 echo "$as_me: error: cannot find input file: $f" >&2;}
111508    { (exit 1); exit 1; }; }
111509          fi;;
111510       esac
111511     done` || { (exit 1); exit 1; }
111512   # Remove the trailing spaces.
111513   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
111514
111515 _ACEOF
111516
111517 # Transform confdefs.h into two sed scripts, `conftest.defines' and
111518 # `conftest.undefs', that substitutes the proper values into
111519 # config.h.in to produce config.h.  The first handles `#define'
111520 # templates, and the second `#undef' templates.
111521 # And first: Protect against being on the right side of a sed subst in
111522 # config.status.  Protect against being in an unquoted here document
111523 # in config.status.
111524 rm -f conftest.defines conftest.undefs
111525 # Using a here document instead of a string reduces the quoting nightmare.
111526 # Putting comments in sed scripts is not portable.
111527 #
111528 # `end' is used to avoid that the second main sed command (meant for
111529 # 0-ary CPP macros) applies to n-ary macro definitions.
111530 # See the Autoconf documentation for `clear'.
111531 cat >confdef2sed.sed <<\_ACEOF
111532 s/[\\&,]/\\&/g
111533 s,[\\$`],\\&,g
111534 t clear
111535 : clear
111536 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
111537 t end
111538 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
111539 : end
111540 _ACEOF
111541 # If some macros were called several times there might be several times
111542 # the same #defines, which is useless.  Nevertheless, we may not want to
111543 # sort them, since we want the *last* AC-DEFINE to be honored.
111544 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
111545 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
111546 rm -f confdef2sed.sed
111547
111548 # This sed command replaces #undef with comments.  This is necessary, for
111549 # example, in the case of _POSIX_SOURCE, which is predefined and required
111550 # on some systems where configure will not decide to define it.
111551 cat >>conftest.undefs <<\_ACEOF
111552 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
111553 _ACEOF
111554
111555 # Break up conftest.defines because some shells have a limit on the size
111556 # of here documents, and old seds have small limits too (100 cmds).
111557 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
111558 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
111559 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
111560 echo '  :' >>$CONFIG_STATUS
111561 rm -f conftest.tail
111562 while grep . conftest.defines >/dev/null
111563 do
111564   # Write a limited-size here document to $tmp/defines.sed.
111565   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
111566   # Speed up: don't consider the non `#define' lines.
111567   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
111568   # Work around the forget-to-reset-the-flag bug.
111569   echo 't clr' >>$CONFIG_STATUS
111570   echo ': clr' >>$CONFIG_STATUS
111571   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
111572   echo 'CEOF
111573   sed -f $tmp/defines.sed $tmp/in >$tmp/out
111574   rm -f $tmp/in
111575   mv $tmp/out $tmp/in
111576 ' >>$CONFIG_STATUS
111577   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
111578   rm -f conftest.defines
111579   mv conftest.tail conftest.defines
111580 done
111581 rm -f conftest.defines
111582 echo '  fi # grep' >>$CONFIG_STATUS
111583 echo >>$CONFIG_STATUS
111584
111585 # Break up conftest.undefs because some shells have a limit on the size
111586 # of here documents, and old seds have small limits too (100 cmds).
111587 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
111588 rm -f conftest.tail
111589 while grep . conftest.undefs >/dev/null
111590 do
111591   # Write a limited-size here document to $tmp/undefs.sed.
111592   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
111593   # Speed up: don't consider the non `#undef'
111594   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
111595   # Work around the forget-to-reset-the-flag bug.
111596   echo 't clr' >>$CONFIG_STATUS
111597   echo ': clr' >>$CONFIG_STATUS
111598   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
111599   echo 'CEOF
111600   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
111601   rm -f $tmp/in
111602   mv $tmp/out $tmp/in
111603 ' >>$CONFIG_STATUS
111604   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
111605   rm -f conftest.undefs
111606   mv conftest.tail conftest.undefs
111607 done
111608 rm -f conftest.undefs
111609
111610 cat >>$CONFIG_STATUS <<\_ACEOF
111611   # Let's still pretend it is `configure' which instantiates (i.e., don't
111612   # use $as_me), people would be surprised to read:
111613   #    /* config.h.  Generated by config.status.  */
111614   if test x"$ac_file" = x-; then
111615     echo "/* Generated by configure.  */" >$tmp/config.h
111616   else
111617     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
111618   fi
111619   cat $tmp/in >>$tmp/config.h
111620   rm -f $tmp/in
111621   if test x"$ac_file" != x-; then
111622     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
111623       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
111624 echo "$as_me: $ac_file is unchanged" >&6;}
111625     else
111626       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
111627 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111628          X"$ac_file" : 'X\(//\)[^/]' \| \
111629          X"$ac_file" : 'X\(//\)$' \| \
111630          X"$ac_file" : 'X\(/\)' \| \
111631          .     : '\(.\)' 2>/dev/null ||
111632 echo X"$ac_file" |
111633     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111634           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111635           /^X\(\/\/\)$/{ s//\1/; q; }
111636           /^X\(\/\).*/{ s//\1/; q; }
111637           s/.*/./; q'`
111638       { if $as_mkdir_p; then
111639     mkdir -p "$ac_dir"
111640   else
111641     as_dir="$ac_dir"
111642     as_dirs=
111643     while test ! -d "$as_dir"; do
111644       as_dirs="$as_dir $as_dirs"
111645       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111647          X"$as_dir" : 'X\(//\)[^/]' \| \
111648          X"$as_dir" : 'X\(//\)$' \| \
111649          X"$as_dir" : 'X\(/\)' \| \
111650          .     : '\(.\)' 2>/dev/null ||
111651 echo X"$as_dir" |
111652     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111653           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111654           /^X\(\/\/\)$/{ s//\1/; q; }
111655           /^X\(\/\).*/{ s//\1/; q; }
111656           s/.*/./; q'`
111657     done
111658     test ! -n "$as_dirs" || mkdir $as_dirs
111659   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111660 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111661    { (exit 1); exit 1; }; }; }
111662
111663       rm -f $ac_file
111664       mv $tmp/config.h $ac_file
111665     fi
111666   else
111667     cat $tmp/config.h
111668     rm -f $tmp/config.h
111669   fi
111670 # Compute $ac_file's index in $config_headers.
111671 _am_stamp_count=1
111672 for _am_header in $config_headers :; do
111673   case $_am_header in
111674     $ac_file | $ac_file:* )
111675       break ;;
111676     * )
111677       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
111678   esac
111679 done
111680 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
111681 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111682          X$ac_file : 'X\(//\)[^/]' \| \
111683          X$ac_file : 'X\(//\)$' \| \
111684          X$ac_file : 'X\(/\)' \| \
111685          .     : '\(.\)' 2>/dev/null ||
111686 echo X$ac_file |
111687     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111688           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111689           /^X\(\/\/\)$/{ s//\1/; q; }
111690           /^X\(\/\).*/{ s//\1/; q; }
111691           s/.*/./; q'`/stamp-h$_am_stamp_count
111692 done
111693 _ACEOF
111694 cat >>$CONFIG_STATUS <<\_ACEOF
111695
111696 #
111697 # CONFIG_COMMANDS section.
111698 #
111699 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
111700   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
111701   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
111702   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
111703 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111704          X"$ac_dest" : 'X\(//\)[^/]' \| \
111705          X"$ac_dest" : 'X\(//\)$' \| \
111706          X"$ac_dest" : 'X\(/\)' \| \
111707          .     : '\(.\)' 2>/dev/null ||
111708 echo X"$ac_dest" |
111709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111710           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111711           /^X\(\/\/\)$/{ s//\1/; q; }
111712           /^X\(\/\).*/{ s//\1/; q; }
111713           s/.*/./; q'`
111714   { if $as_mkdir_p; then
111715     mkdir -p "$ac_dir"
111716   else
111717     as_dir="$ac_dir"
111718     as_dirs=
111719     while test ! -d "$as_dir"; do
111720       as_dirs="$as_dir $as_dirs"
111721       as_dir=`(dirname "$as_dir") 2>/dev/null ||
111722 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
111723          X"$as_dir" : 'X\(//\)[^/]' \| \
111724          X"$as_dir" : 'X\(//\)$' \| \
111725          X"$as_dir" : 'X\(/\)' \| \
111726          .     : '\(.\)' 2>/dev/null ||
111727 echo X"$as_dir" |
111728     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
111729           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
111730           /^X\(\/\/\)$/{ s//\1/; q; }
111731           /^X\(\/\).*/{ s//\1/; q; }
111732           s/.*/./; q'`
111733     done
111734     test ! -n "$as_dirs" || mkdir $as_dirs
111735   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
111736 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
111737    { (exit 1); exit 1; }; }; }
111738
111739   ac_builddir=.
111740
111741 if test "$ac_dir" != .; then
111742   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
111743   # A "../" for each directory in $ac_dir_suffix.
111744   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
111745 else
111746   ac_dir_suffix= ac_top_builddir=
111747 fi
111748
111749 case $srcdir in
111750   .)  # No --srcdir option.  We are building in place.
111751     ac_srcdir=.
111752     if test -z "$ac_top_builddir"; then
111753        ac_top_srcdir=.
111754     else
111755        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
111756     fi ;;
111757   [\\/]* | ?:[\\/]* )  # Absolute path.
111758     ac_srcdir=$srcdir$ac_dir_suffix;
111759     ac_top_srcdir=$srcdir ;;
111760   *) # Relative path.
111761     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
111762     ac_top_srcdir=$ac_top_builddir$srcdir ;;
111763 esac
111764
111765 # Do not use `cd foo && pwd` to compute absolute paths, because
111766 # the directories may not exist.
111767 case `pwd` in
111768 .) ac_abs_builddir="$ac_dir";;
111769 *)
111770   case "$ac_dir" in
111771   .) ac_abs_builddir=`pwd`;;
111772   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
111773   *) ac_abs_builddir=`pwd`/"$ac_dir";;
111774   esac;;
111775 esac
111776 case $ac_abs_builddir in
111777 .) ac_abs_top_builddir=${ac_top_builddir}.;;
111778 *)
111779   case ${ac_top_builddir}. in
111780   .) ac_abs_top_builddir=$ac_abs_builddir;;
111781   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
111782   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
111783   esac;;
111784 esac
111785 case $ac_abs_builddir in
111786 .) ac_abs_srcdir=$ac_srcdir;;
111787 *)
111788   case $ac_srcdir in
111789   .) ac_abs_srcdir=$ac_abs_builddir;;
111790   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
111791   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
111792   esac;;
111793 esac
111794 case $ac_abs_builddir in
111795 .) ac_abs_top_srcdir=$ac_top_srcdir;;
111796 *)
111797   case $ac_top_srcdir in
111798   .) ac_abs_top_srcdir=$ac_abs_builddir;;
111799   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
111800   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
111801   esac;;
111802 esac
111803
111804
111805   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
111806 echo "$as_me: executing $ac_dest commands" >&6;}
111807   case $ac_dest in
111808     default-1 )
111809 # Only add multilib support code if we just rebuilt the top-level
111810 # Makefile.
111811 case " $CONFIG_FILES " in
111812  *" Makefile "*)
111813    ac_file=Makefile . ${multi_basedir}/config-ml.in
111814    ;;
111815 esac ;;
111816     libtool )
111817
111818     # See if we are running on zsh, and set the options which allow our
111819     # commands through without removal of \ escapes.
111820     if test -n "${ZSH_VERSION+set}" ; then
111821       setopt NO_GLOB_SUBST
111822     fi
111823
111824     cfgfile="${ofile}T"
111825     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
111826     $RM "$cfgfile"
111827
111828     cat <<_LT_EOF >> "$cfgfile"
111829 #! $SHELL
111830
111831 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
111832 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
111833 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
111834 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
111835 #
111836 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
111837 #                 2006, 2007, 2008 Free Software Foundation, Inc.
111838 #   Written by Gordon Matzigkeit, 1996
111839 #
111840 #   This file is part of GNU Libtool.
111841 #
111842 # GNU Libtool is free software; you can redistribute it and/or
111843 # modify it under the terms of the GNU General Public License as
111844 # published by the Free Software Foundation; either version 2 of
111845 # the License, or (at your option) any later version.
111846 #
111847 # As a special exception to the GNU General Public License,
111848 # if you distribute this file as part of a program or library that
111849 # is built using GNU Libtool, you may include this file under the
111850 # same distribution terms that you use for the rest of that program.
111851 #
111852 # GNU Libtool is distributed in the hope that it will be useful,
111853 # but WITHOUT ANY WARRANTY; without even the implied warranty of
111854 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
111855 # GNU General Public License for more details.
111856 #
111857 # You should have received a copy of the GNU General Public License
111858 # along with GNU Libtool; see the file COPYING.  If not, a copy
111859 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
111860 # obtained by writing to the Free Software Foundation, Inc.,
111861 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
111862
111863
111864 # The names of the tagged configurations supported by this script.
111865 available_tags="CXX "
111866
111867 # ### BEGIN LIBTOOL CONFIG
111868
111869 # Which release of libtool.m4 was used?
111870 macro_version=$macro_version
111871 macro_revision=$macro_revision
111872
111873 # Whether or not to build shared libraries.
111874 build_libtool_libs=$enable_shared
111875
111876 # Whether or not to build static libraries.
111877 build_old_libs=$enable_static
111878
111879 # What type of objects to build.
111880 pic_mode=$pic_mode
111881
111882 # Whether or not to optimize for fast installation.
111883 fast_install=$enable_fast_install
111884
111885 # The host system.
111886 host_alias=$host_alias
111887 host=$host
111888 host_os=$host_os
111889
111890 # The build system.
111891 build_alias=$build_alias
111892 build=$build
111893 build_os=$build_os
111894
111895 # A sed program that does not truncate output.
111896 SED=$lt_SED
111897
111898 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
111899 Xsed="\$SED -e 1s/^X//"
111900
111901 # A grep program that handles long lines.
111902 GREP=$lt_GREP
111903
111904 # An ERE matcher.
111905 EGREP=$lt_EGREP
111906
111907 # A literal string matcher.
111908 FGREP=$lt_FGREP
111909
111910 # A BSD- or MS-compatible name lister.
111911 NM=$lt_NM
111912
111913 # Whether we need soft or hard links.
111914 LN_S=$lt_LN_S
111915
111916 # What is the maximum length of a command?
111917 max_cmd_len=$max_cmd_len
111918
111919 # Object file suffix (normally "o").
111920 objext=$ac_objext
111921
111922 # Executable file suffix (normally "").
111923 exeext=$exeext
111924
111925 # whether the shell understands "unset".
111926 lt_unset=$lt_unset
111927
111928 # turn spaces into newlines.
111929 SP2NL=$lt_lt_SP2NL
111930
111931 # turn newlines into spaces.
111932 NL2SP=$lt_lt_NL2SP
111933
111934 # How to create reloadable object files.
111935 reload_flag=$lt_reload_flag
111936 reload_cmds=$lt_reload_cmds
111937
111938 # An object symbol dumper.
111939 OBJDUMP=$lt_OBJDUMP
111940
111941 # Method to check whether dependent libraries are shared objects.
111942 deplibs_check_method=$lt_deplibs_check_method
111943
111944 # Command to use when deplibs_check_method == "file_magic".
111945 file_magic_cmd=$lt_file_magic_cmd
111946
111947 # The archiver.
111948 AR=$lt_AR
111949 AR_FLAGS=$lt_AR_FLAGS
111950
111951 # A symbol stripping program.
111952 STRIP=$lt_STRIP
111953
111954 # Commands used to install an old-style archive.
111955 RANLIB=$lt_RANLIB
111956 old_postinstall_cmds=$lt_old_postinstall_cmds
111957 old_postuninstall_cmds=$lt_old_postuninstall_cmds
111958
111959 # A C compiler.
111960 LTCC=$lt_CC
111961
111962 # LTCC compiler flags.
111963 LTCFLAGS=$lt_CFLAGS
111964
111965 # Take the output of nm and produce a listing of raw symbols and C names.
111966 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
111967
111968 # Transform the output of nm in a proper C declaration.
111969 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
111970
111971 # Transform the output of nm in a C name address pair.
111972 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
111973
111974 # Transform the output of nm in a C name address pair when lib prefix is needed.
111975 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
111976
111977 # The name of the directory that contains temporary libtool files.
111978 objdir=$objdir
111979
111980 # Shell to use when invoking shell scripts.
111981 SHELL=$lt_SHELL
111982
111983 # An echo program that does not interpret backslashes.
111984 ECHO=$lt_ECHO
111985
111986 # Used to examine libraries when file_magic_cmd begins with "file".
111987 MAGIC_CMD=$MAGIC_CMD
111988
111989 # Must we lock files when doing compilation?
111990 need_locks=$lt_need_locks
111991
111992 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
111993 DSYMUTIL=$lt_DSYMUTIL
111994
111995 # Tool to change global to local symbols on Mac OS X.
111996 NMEDIT=$lt_NMEDIT
111997
111998 # Tool to manipulate fat objects and archives on Mac OS X.
111999 LIPO=$lt_LIPO
112000
112001 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
112002 OTOOL=$lt_OTOOL
112003
112004 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
112005 OTOOL64=$lt_OTOOL64
112006
112007 # Old archive suffix (normally "a").
112008 libext=$libext
112009
112010 # Shared library suffix (normally ".so").
112011 shrext_cmds=$lt_shrext_cmds
112012
112013 # The commands to extract the exported symbol list from a shared archive.
112014 extract_expsyms_cmds=$lt_extract_expsyms_cmds
112015
112016 # Variables whose values should be saved in libtool wrapper scripts and
112017 # restored at link time.
112018 variables_saved_for_relink=$lt_variables_saved_for_relink
112019
112020 # Do we need the "lib" prefix for modules?
112021 need_lib_prefix=$need_lib_prefix
112022
112023 # Do we need a version for libraries?
112024 need_version=$need_version
112025
112026 # Library versioning type.
112027 version_type=$version_type
112028
112029 # Shared library runtime path variable.
112030 runpath_var=$runpath_var
112031
112032 # Shared library path variable.
112033 shlibpath_var=$shlibpath_var
112034
112035 # Is shlibpath searched before the hard-coded library search path?
112036 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
112037
112038 # Format of library name prefix.
112039 libname_spec=$lt_libname_spec
112040
112041 # List of archive names.  First name is the real one, the rest are links.
112042 # The last name is the one that the linker finds with -lNAME
112043 library_names_spec=$lt_library_names_spec
112044
112045 # The coded name of the library, if different from the real name.
112046 soname_spec=$lt_soname_spec
112047
112048 # Command to use after installation of a shared archive.
112049 postinstall_cmds=$lt_postinstall_cmds
112050
112051 # Command to use after uninstallation of a shared archive.
112052 postuninstall_cmds=$lt_postuninstall_cmds
112053
112054 # Commands used to finish a libtool library installation in a directory.
112055 finish_cmds=$lt_finish_cmds
112056
112057 # As "finish_cmds", except a single script fragment to be evaled but
112058 # not shown.
112059 finish_eval=$lt_finish_eval
112060
112061 # Whether we should hardcode library paths into libraries.
112062 hardcode_into_libs=$hardcode_into_libs
112063
112064 # Compile-time system search path for libraries.
112065 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
112066
112067 # Run-time system search path for libraries.
112068 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
112069
112070 # Whether dlopen is supported.
112071 dlopen_support=$enable_dlopen
112072
112073 # Whether dlopen of programs is supported.
112074 dlopen_self=$enable_dlopen_self
112075
112076 # Whether dlopen of statically linked programs is supported.
112077 dlopen_self_static=$enable_dlopen_self_static
112078
112079 # Commands to strip libraries.
112080 old_striplib=$lt_old_striplib
112081 striplib=$lt_striplib
112082
112083
112084 # The linker used to build libraries.
112085 LD=$lt_LD
112086
112087 # Commands used to build an old-style archive.
112088 old_archive_cmds=$lt_old_archive_cmds
112089
112090 # A language specific compiler.
112091 CC=$lt_compiler
112092
112093 # Is the compiler the GNU compiler?
112094 with_gcc=$GCC
112095
112096 # Compiler flag to turn off builtin functions.
112097 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
112098
112099 # How to pass a linker flag through the compiler.
112100 wl=$lt_lt_prog_compiler_wl
112101
112102 # Additional compiler flags for building library objects.
112103 pic_flag=$lt_lt_prog_compiler_pic
112104
112105 # Compiler flag to prevent dynamic linking.
112106 link_static_flag=$lt_lt_prog_compiler_static
112107
112108 # Does compiler simultaneously support -c and -o options?
112109 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
112110
112111 # Whether or not to add -lc for building shared libraries.
112112 build_libtool_need_lc=$archive_cmds_need_lc
112113
112114 # Whether or not to disallow shared libs when runtime libs are static.
112115 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
112116
112117 # Compiler flag to allow reflexive dlopens.
112118 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
112119
112120 # Compiler flag to generate shared objects directly from archives.
112121 whole_archive_flag_spec=$lt_whole_archive_flag_spec
112122
112123 # Whether the compiler copes with passing no objects directly.
112124 compiler_needs_object=$lt_compiler_needs_object
112125
112126 # Create an old-style archive from a shared archive.
112127 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
112128
112129 # Create a temporary old-style archive to link instead of a shared archive.
112130 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
112131
112132 # Commands used to build a shared archive.
112133 archive_cmds=$lt_archive_cmds
112134 archive_expsym_cmds=$lt_archive_expsym_cmds
112135
112136 # Commands used to build a loadable module if different from building
112137 # a shared archive.
112138 module_cmds=$lt_module_cmds
112139 module_expsym_cmds=$lt_module_expsym_cmds
112140
112141 # Whether we are building with GNU ld or not.
112142 with_gnu_ld=$lt_with_gnu_ld
112143
112144 # Flag that allows shared libraries with undefined symbols to be built.
112145 allow_undefined_flag=$lt_allow_undefined_flag
112146
112147 # Flag that enforces no undefined symbols.
112148 no_undefined_flag=$lt_no_undefined_flag
112149
112150 # Flag to hardcode \$libdir into a binary during linking.
112151 # This must work even if \$libdir does not exist
112152 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
112153
112154 # If ld is used when linking, flag to hardcode \$libdir into a binary
112155 # during linking.  This must work even if \$libdir does not exist.
112156 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
112157
112158 # Whether we need a single "-rpath" flag with a separated argument.
112159 hardcode_libdir_separator=$lt_hardcode_libdir_separator
112160
112161 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
112162 # DIR into the resulting binary.
112163 hardcode_direct=$hardcode_direct
112164
112165 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
112166 # DIR into the resulting binary and the resulting library dependency is
112167 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
112168 # library is relocated.
112169 hardcode_direct_absolute=$hardcode_direct_absolute
112170
112171 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
112172 # into the resulting binary.
112173 hardcode_minus_L=$hardcode_minus_L
112174
112175 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
112176 # into the resulting binary.
112177 hardcode_shlibpath_var=$hardcode_shlibpath_var
112178
112179 # Set to "yes" if building a shared library automatically hardcodes DIR
112180 # into the library and all subsequent libraries and executables linked
112181 # against it.
112182 hardcode_automatic=$hardcode_automatic
112183
112184 # Set to yes if linker adds runtime paths of dependent libraries
112185 # to runtime path list.
112186 inherit_rpath=$inherit_rpath
112187
112188 # Whether libtool must link a program against all its dependency libraries.
112189 link_all_deplibs=$link_all_deplibs
112190
112191 # Fix the shell variable \$srcfile for the compiler.
112192 fix_srcfile_path=$lt_fix_srcfile_path
112193
112194 # Set to "yes" if exported symbols are required.
112195 always_export_symbols=$always_export_symbols
112196
112197 # The commands to list exported symbols.
112198 export_symbols_cmds=$lt_export_symbols_cmds
112199
112200 # Symbols that should not be listed in the preloaded symbols.
112201 exclude_expsyms=$lt_exclude_expsyms
112202
112203 # Symbols that must always be exported.
112204 include_expsyms=$lt_include_expsyms
112205
112206 # Commands necessary for linking programs (against libraries) with templates.
112207 prelink_cmds=$lt_prelink_cmds
112208
112209 # Specify filename containing input files.
112210 file_list_spec=$lt_file_list_spec
112211
112212 # How to hardcode a shared library path into an executable.
112213 hardcode_action=$hardcode_action
112214
112215 # The directories searched by this compiler when creating a shared library.
112216 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
112217
112218 # Dependencies to place before and after the objects being linked to
112219 # create a shared library.
112220 predep_objects=$lt_predep_objects
112221 postdep_objects=$lt_postdep_objects
112222 predeps=$lt_predeps
112223 postdeps=$lt_postdeps
112224
112225 # The library search path used internally by the compiler when linking
112226 # a shared library.
112227 compiler_lib_search_path=$lt_compiler_lib_search_path
112228
112229 # ### END LIBTOOL CONFIG
112230
112231 _LT_EOF
112232
112233   case $host_os in
112234   aix3*)
112235     cat <<\_LT_EOF >> "$cfgfile"
112236 # AIX sometimes has problems with the GCC collect2 program.  For some
112237 # reason, if we set the COLLECT_NAMES environment variable, the problems
112238 # vanish in a puff of smoke.
112239 if test "X${COLLECT_NAMES+set}" != Xset; then
112240   COLLECT_NAMES=
112241   export COLLECT_NAMES
112242 fi
112243 _LT_EOF
112244     ;;
112245   esac
112246
112247
112248 ltmain="$ac_aux_dir/ltmain.sh"
112249
112250
112251   # We use sed instead of cat because bash on DJGPP gets confused if
112252   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
112253   # text mode, it properly converts lines to CR/LF.  This bash problem
112254   # is reportedly fixed, but why not run on old versions too?
112255   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
112256     || (rm -f "$cfgfile"; exit 1)
112257
112258   case $xsi_shell in
112259   yes)
112260     cat << \_LT_EOF >> "$cfgfile"
112261
112262 # func_dirname file append nondir_replacement
112263 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
112264 # otherwise set result to NONDIR_REPLACEMENT.
112265 func_dirname ()
112266 {
112267   case ${1} in
112268     */*) func_dirname_result="${1%/*}${2}" ;;
112269     *  ) func_dirname_result="${3}" ;;
112270   esac
112271 }
112272
112273 # func_basename file
112274 func_basename ()
112275 {
112276   func_basename_result="${1##*/}"
112277 }
112278
112279 # func_dirname_and_basename file append nondir_replacement
112280 # perform func_basename and func_dirname in a single function
112281 # call:
112282 #   dirname:  Compute the dirname of FILE.  If nonempty,
112283 #             add APPEND to the result, otherwise set result
112284 #             to NONDIR_REPLACEMENT.
112285 #             value returned in "$func_dirname_result"
112286 #   basename: Compute filename of FILE.
112287 #             value retuned in "$func_basename_result"
112288 # Implementation must be kept synchronized with func_dirname
112289 # and func_basename. For efficiency, we do not delegate to
112290 # those functions but instead duplicate the functionality here.
112291 func_dirname_and_basename ()
112292 {
112293   case ${1} in
112294     */*) func_dirname_result="${1%/*}${2}" ;;
112295     *  ) func_dirname_result="${3}" ;;
112296   esac
112297   func_basename_result="${1##*/}"
112298 }
112299
112300 # func_stripname prefix suffix name
112301 # strip PREFIX and SUFFIX off of NAME.
112302 # PREFIX and SUFFIX must not contain globbing or regex special
112303 # characters, hashes, percent signs, but SUFFIX may contain a leading
112304 # dot (in which case that matches only a dot).
112305 func_stripname ()
112306 {
112307   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
112308   # positional parameters, so assign one to ordinary parameter first.
112309   func_stripname_result=${3}
112310   func_stripname_result=${func_stripname_result#"${1}"}
112311   func_stripname_result=${func_stripname_result%"${2}"}
112312 }
112313
112314 # func_opt_split
112315 func_opt_split ()
112316 {
112317   func_opt_split_opt=${1%%=*}
112318   func_opt_split_arg=${1#*=}
112319 }
112320
112321 # func_lo2o object
112322 func_lo2o ()
112323 {
112324   case ${1} in
112325     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
112326     *)    func_lo2o_result=${1} ;;
112327   esac
112328 }
112329
112330 # func_xform libobj-or-source
112331 func_xform ()
112332 {
112333   func_xform_result=${1%.*}.lo
112334 }
112335
112336 # func_arith arithmetic-term...
112337 func_arith ()
112338 {
112339   func_arith_result=$(( $* ))
112340 }
112341
112342 # func_len string
112343 # STRING may not start with a hyphen.
112344 func_len ()
112345 {
112346   func_len_result=${#1}
112347 }
112348
112349 _LT_EOF
112350     ;;
112351   *) # Bourne compatible functions.
112352     cat << \_LT_EOF >> "$cfgfile"
112353
112354 # func_dirname file append nondir_replacement
112355 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
112356 # otherwise set result to NONDIR_REPLACEMENT.
112357 func_dirname ()
112358 {
112359   # Extract subdirectory from the argument.
112360   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
112361   if test "X$func_dirname_result" = "X${1}"; then
112362     func_dirname_result="${3}"
112363   else
112364     func_dirname_result="$func_dirname_result${2}"
112365   fi
112366 }
112367
112368 # func_basename file
112369 func_basename ()
112370 {
112371   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
112372 }
112373
112374
112375 # func_stripname prefix suffix name
112376 # strip PREFIX and SUFFIX off of NAME.
112377 # PREFIX and SUFFIX must not contain globbing or regex special
112378 # characters, hashes, percent signs, but SUFFIX may contain a leading
112379 # dot (in which case that matches only a dot).
112380 # func_strip_suffix prefix name
112381 func_stripname ()
112382 {
112383   case ${2} in
112384     .*) func_stripname_result=`$ECHO "X${3}" \
112385            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
112386     *)  func_stripname_result=`$ECHO "X${3}" \
112387            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
112388   esac
112389 }
112390
112391 # sed scripts:
112392 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
112393 my_sed_long_arg='1s/^-[^=]*=//'
112394
112395 # func_opt_split
112396 func_opt_split ()
112397 {
112398   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
112399   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
112400 }
112401
112402 # func_lo2o object
112403 func_lo2o ()
112404 {
112405   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
112406 }
112407
112408 # func_xform libobj-or-source
112409 func_xform ()
112410 {
112411   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
112412 }
112413
112414 # func_arith arithmetic-term...
112415 func_arith ()
112416 {
112417   func_arith_result=`expr "$@"`
112418 }
112419
112420 # func_len string
112421 # STRING may not start with a hyphen.
112422 func_len ()
112423 {
112424   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
112425 }
112426
112427 _LT_EOF
112428 esac
112429
112430 case $lt_shell_append in
112431   yes)
112432     cat << \_LT_EOF >> "$cfgfile"
112433
112434 # func_append var value
112435 # Append VALUE to the end of shell variable VAR.
112436 func_append ()
112437 {
112438   eval "$1+=\$2"
112439 }
112440 _LT_EOF
112441     ;;
112442   *)
112443     cat << \_LT_EOF >> "$cfgfile"
112444
112445 # func_append var value
112446 # Append VALUE to the end of shell variable VAR.
112447 func_append ()
112448 {
112449   eval "$1=\$$1\$2"
112450 }
112451
112452 _LT_EOF
112453     ;;
112454   esac
112455
112456
112457   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
112458     || (rm -f "$cfgfile"; exit 1)
112459
112460   mv -f "$cfgfile" "$ofile" ||
112461     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
112462   chmod +x "$ofile"
112463
112464
112465     cat <<_LT_EOF >> "$ofile"
112466
112467 # ### BEGIN LIBTOOL TAG CONFIG: CXX
112468
112469 # The linker used to build libraries.
112470 LD=$lt_LD_CXX
112471
112472 # Commands used to build an old-style archive.
112473 old_archive_cmds=$lt_old_archive_cmds_CXX
112474
112475 # A language specific compiler.
112476 CC=$lt_compiler_CXX
112477
112478 # Is the compiler the GNU compiler?
112479 with_gcc=$GCC_CXX
112480
112481 # Compiler flag to turn off builtin functions.
112482 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
112483
112484 # How to pass a linker flag through the compiler.
112485 wl=$lt_lt_prog_compiler_wl_CXX
112486
112487 # Additional compiler flags for building library objects.
112488 pic_flag=$lt_lt_prog_compiler_pic_CXX
112489
112490 # Compiler flag to prevent dynamic linking.
112491 link_static_flag=$lt_lt_prog_compiler_static_CXX
112492
112493 # Does compiler simultaneously support -c and -o options?
112494 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
112495
112496 # Whether or not to add -lc for building shared libraries.
112497 build_libtool_need_lc=$archive_cmds_need_lc_CXX
112498
112499 # Whether or not to disallow shared libs when runtime libs are static.
112500 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
112501
112502 # Compiler flag to allow reflexive dlopens.
112503 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
112504
112505 # Compiler flag to generate shared objects directly from archives.
112506 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
112507
112508 # Whether the compiler copes with passing no objects directly.
112509 compiler_needs_object=$lt_compiler_needs_object_CXX
112510
112511 # Create an old-style archive from a shared archive.
112512 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
112513
112514 # Create a temporary old-style archive to link instead of a shared archive.
112515 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
112516
112517 # Commands used to build a shared archive.
112518 archive_cmds=$lt_archive_cmds_CXX
112519 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
112520
112521 # Commands used to build a loadable module if different from building
112522 # a shared archive.
112523 module_cmds=$lt_module_cmds_CXX
112524 module_expsym_cmds=$lt_module_expsym_cmds_CXX
112525
112526 # Whether we are building with GNU ld or not.
112527 with_gnu_ld=$lt_with_gnu_ld_CXX
112528
112529 # Flag that allows shared libraries with undefined symbols to be built.
112530 allow_undefined_flag=$lt_allow_undefined_flag_CXX
112531
112532 # Flag that enforces no undefined symbols.
112533 no_undefined_flag=$lt_no_undefined_flag_CXX
112534
112535 # Flag to hardcode \$libdir into a binary during linking.
112536 # This must work even if \$libdir does not exist
112537 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
112538
112539 # If ld is used when linking, flag to hardcode \$libdir into a binary
112540 # during linking.  This must work even if \$libdir does not exist.
112541 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
112542
112543 # Whether we need a single "-rpath" flag with a separated argument.
112544 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
112545
112546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
112547 # DIR into the resulting binary.
112548 hardcode_direct=$hardcode_direct_CXX
112549
112550 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
112551 # DIR into the resulting binary and the resulting library dependency is
112552 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
112553 # library is relocated.
112554 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
112555
112556 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
112557 # into the resulting binary.
112558 hardcode_minus_L=$hardcode_minus_L_CXX
112559
112560 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
112561 # into the resulting binary.
112562 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
112563
112564 # Set to "yes" if building a shared library automatically hardcodes DIR
112565 # into the library and all subsequent libraries and executables linked
112566 # against it.
112567 hardcode_automatic=$hardcode_automatic_CXX
112568
112569 # Set to yes if linker adds runtime paths of dependent libraries
112570 # to runtime path list.
112571 inherit_rpath=$inherit_rpath_CXX
112572
112573 # Whether libtool must link a program against all its dependency libraries.
112574 link_all_deplibs=$link_all_deplibs_CXX
112575
112576 # Fix the shell variable \$srcfile for the compiler.
112577 fix_srcfile_path=$lt_fix_srcfile_path_CXX
112578
112579 # Set to "yes" if exported symbols are required.
112580 always_export_symbols=$always_export_symbols_CXX
112581
112582 # The commands to list exported symbols.
112583 export_symbols_cmds=$lt_export_symbols_cmds_CXX
112584
112585 # Symbols that should not be listed in the preloaded symbols.
112586 exclude_expsyms=$lt_exclude_expsyms_CXX
112587
112588 # Symbols that must always be exported.
112589 include_expsyms=$lt_include_expsyms_CXX
112590
112591 # Commands necessary for linking programs (against libraries) with templates.
112592 prelink_cmds=$lt_prelink_cmds_CXX
112593
112594 # Specify filename containing input files.
112595 file_list_spec=$lt_file_list_spec_CXX
112596
112597 # How to hardcode a shared library path into an executable.
112598 hardcode_action=$hardcode_action_CXX
112599
112600 # The directories searched by this compiler when creating a shared library.
112601 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
112602
112603 # Dependencies to place before and after the objects being linked to
112604 # create a shared library.
112605 predep_objects=$lt_predep_objects_CXX
112606 postdep_objects=$lt_postdep_objects_CXX
112607 predeps=$lt_predeps_CXX
112608 postdeps=$lt_postdeps_CXX
112609
112610 # The library search path used internally by the compiler when linking
112611 # a shared library.
112612 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
112613
112614 # ### END LIBTOOL TAG CONFIG: CXX
112615 _LT_EOF
112616
112617  ;;
112618     include/gstdint.h )
112619 if test "$GCC" = yes; then
112620   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
112621 else
112622   echo "/* generated for $CC */" > tmp-stdint.h
112623 fi
112624
112625 sed 's/^ *//' >> tmp-stdint.h <<EOF
112626
112627   #ifndef GCC_GENERATED_STDINT_H
112628   #define GCC_GENERATED_STDINT_H 1
112629
112630   #include <sys/types.h>
112631 EOF
112632
112633 if test "$acx_cv_header_stdint" != stdint.h; then
112634   echo "#include <stddef.h>" >> tmp-stdint.h
112635 fi
112636 if test "$acx_cv_header_stdint" != stddef.h; then
112637   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
112638 fi
112639
112640 sed 's/^ *//' >> tmp-stdint.h <<EOF
112641   /* glibc uses these symbols as guards to prevent redefinitions.  */
112642   #ifdef __int8_t_defined
112643   #define _INT8_T
112644   #define _INT16_T
112645   #define _INT32_T
112646   #endif
112647   #ifdef __uint32_t_defined
112648   #define _UINT32_T
112649   #endif
112650
112651 EOF
112652
112653 # ----------------- done header, emit basic int types -------------
112654 if test "$acx_cv_header_stdint" = stddef.h; then
112655   sed 's/^ *//' >> tmp-stdint.h <<EOF
112656
112657     #ifndef _UINT8_T
112658     #define _UINT8_T
112659     #ifndef __uint8_t_defined
112660     #define __uint8_t_defined
112661     typedef unsigned $acx_cv_type_int8_t uint8_t;
112662     #endif
112663     #endif
112664
112665     #ifndef _UINT16_T
112666     #define _UINT16_T
112667     #ifndef __uint16_t_defined
112668     #define __uint16_t_defined
112669     typedef unsigned $acx_cv_type_int16_t uint16_t;
112670     #endif
112671     #endif
112672
112673     #ifndef _UINT32_T
112674     #define _UINT32_T
112675     #ifndef __uint32_t_defined
112676     #define __uint32_t_defined
112677     typedef unsigned $acx_cv_type_int32_t uint32_t;
112678     #endif
112679     #endif
112680
112681     #ifndef _INT8_T
112682     #define _INT8_T
112683     #ifndef __int8_t_defined
112684     #define __int8_t_defined
112685     typedef $acx_cv_type_int8_t int8_t;
112686     #endif
112687     #endif
112688
112689     #ifndef _INT16_T
112690     #define _INT16_T
112691     #ifndef __int16_t_defined
112692     #define __int16_t_defined
112693     typedef $acx_cv_type_int16_t int16_t;
112694     #endif
112695     #endif
112696
112697     #ifndef _INT32_T
112698     #define _INT32_T
112699     #ifndef __int32_t_defined
112700     #define __int32_t_defined
112701     typedef $acx_cv_type_int32_t int32_t;
112702     #endif
112703     #endif
112704 EOF
112705 elif test "$ac_cv_type_u_int32_t" = yes; then
112706   sed 's/^ *//' >> tmp-stdint.h <<EOF
112707
112708     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
112709     #ifndef _INT8_T
112710     #define _INT8_T
112711     #endif
112712     #ifndef _INT16_T
112713     #define _INT16_T
112714     #endif
112715     #ifndef _INT32_T
112716     #define _INT32_T
112717     #endif
112718
112719     #ifndef _UINT8_T
112720     #define _UINT8_T
112721     #ifndef __uint8_t_defined
112722     #define __uint8_t_defined
112723     typedef u_int8_t uint8_t;
112724     #endif
112725     #endif
112726
112727     #ifndef _UINT16_T
112728     #define _UINT16_T
112729     #ifndef __uint16_t_defined
112730     #define __uint16_t_defined
112731     typedef u_int16_t uint16_t;
112732     #endif
112733     #endif
112734
112735     #ifndef _UINT32_T
112736     #define _UINT32_T
112737     #ifndef __uint32_t_defined
112738     #define __uint32_t_defined
112739     typedef u_int32_t uint32_t;
112740     #endif
112741     #endif
112742 EOF
112743 else
112744   sed 's/^ *//' >> tmp-stdint.h <<EOF
112745
112746     /* Some systems have guard macros to prevent redefinitions, define them.  */
112747     #ifndef _INT8_T
112748     #define _INT8_T
112749     #endif
112750     #ifndef _INT16_T
112751     #define _INT16_T
112752     #endif
112753     #ifndef _INT32_T
112754     #define _INT32_T
112755     #endif
112756     #ifndef _UINT8_T
112757     #define _UINT8_T
112758     #endif
112759     #ifndef _UINT16_T
112760     #define _UINT16_T
112761     #endif
112762     #ifndef _UINT32_T
112763     #define _UINT32_T
112764     #endif
112765 EOF
112766 fi
112767
112768 # ------------- done basic int types, emit int64_t types ------------
112769 if test "$ac_cv_type_uint64_t" = yes; then
112770   sed 's/^ *//' >> tmp-stdint.h <<EOF
112771
112772     /* system headers have good uint64_t and int64_t */
112773     #ifndef _INT64_T
112774     #define _INT64_T
112775     #endif
112776     #ifndef _UINT64_T
112777     #define _UINT64_T
112778     #endif
112779 EOF
112780 elif test "$ac_cv_type_u_int64_t" = yes; then
112781   sed 's/^ *//' >> tmp-stdint.h <<EOF
112782
112783     /* system headers have an u_int64_t (and int64_t) */
112784     #ifndef _INT64_T
112785     #define _INT64_T
112786     #endif
112787     #ifndef _UINT64_T
112788     #define _UINT64_T
112789     #ifndef __uint64_t_defined
112790     #define __uint64_t_defined
112791     typedef u_int64_t uint64_t;
112792     #endif
112793     #endif
112794 EOF
112795 elif test -n "$acx_cv_type_int64_t"; then
112796   sed 's/^ *//' >> tmp-stdint.h <<EOF
112797
112798     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
112799     #ifndef _INT64_T
112800     #define _INT64_T
112801     typedef $acx_cv_type_int64_t int64_t;
112802     #endif
112803     #ifndef _UINT64_T
112804     #define _UINT64_T
112805     #ifndef __uint64_t_defined
112806     #define __uint64_t_defined
112807     typedef unsigned $acx_cv_type_int64_t uint64_t;
112808     #endif
112809     #endif
112810 EOF
112811 else
112812   sed 's/^ *//' >> tmp-stdint.h <<EOF
112813
112814     /* some common heuristics for int64_t, using compiler-specific tests */
112815     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
112816     #ifndef _INT64_T
112817     #define _INT64_T
112818     #ifndef __int64_t_defined
112819     typedef long long int64_t;
112820     #endif
112821     #endif
112822     #ifndef _UINT64_T
112823     #define _UINT64_T
112824     typedef unsigned long long uint64_t;
112825     #endif
112826
112827     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
112828     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
112829        does not implement __extension__.  But that compiler doesn't define
112830        __GNUC_MINOR__.  */
112831     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
112832     # define __extension__
112833     # endif
112834
112835     # ifndef _INT64_T
112836     # define _INT64_T
112837     __extension__ typedef long long int64_t;
112838     # endif
112839     # ifndef _UINT64_T
112840     # define _UINT64_T
112841     __extension__ typedef unsigned long long uint64_t;
112842     # endif
112843
112844     #elif !defined __STRICT_ANSI__
112845     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
112846
112847     #  ifndef _INT64_T
112848     #  define _INT64_T
112849     typedef __int64 int64_t;
112850     #  endif
112851     #  ifndef _UINT64_T
112852     #  define _UINT64_T
112853     typedef unsigned __int64 uint64_t;
112854     #  endif
112855     # endif /* compiler */
112856
112857     #endif /* ANSI version */
112858 EOF
112859 fi
112860
112861 # ------------- done int64_t types, emit intptr types ------------
112862 if test "$ac_cv_type_uintptr_t" != yes; then
112863   sed 's/^ *//' >> tmp-stdint.h <<EOF
112864
112865     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
112866     #ifndef __uintptr_t_defined
112867     typedef u$acx_cv_type_intptr_t uintptr_t;
112868     #endif
112869     #ifndef __intptr_t_defined
112870     typedef $acx_cv_type_intptr_t  intptr_t;
112871     #endif
112872 EOF
112873 fi
112874
112875 # ------------- done intptr types, emit int_least types ------------
112876 if test "$ac_cv_type_int_least32_t" != yes; then
112877   sed 's/^ *//' >> tmp-stdint.h <<EOF
112878
112879     /* Define int_least types */
112880     typedef int8_t     int_least8_t;
112881     typedef int16_t    int_least16_t;
112882     typedef int32_t    int_least32_t;
112883     #ifdef _INT64_T
112884     typedef int64_t    int_least64_t;
112885     #endif
112886
112887     typedef uint8_t    uint_least8_t;
112888     typedef uint16_t   uint_least16_t;
112889     typedef uint32_t   uint_least32_t;
112890     #ifdef _UINT64_T
112891     typedef uint64_t   uint_least64_t;
112892     #endif
112893 EOF
112894 fi
112895
112896 # ------------- done intptr types, emit int_fast types ------------
112897 if test "$ac_cv_type_int_fast32_t" != yes; then
112898       sed 's/^ *//' >> tmp-stdint.h <<EOF
112899
112900     /* Define int_fast types.  short is often slow */
112901     typedef int8_t       int_fast8_t;
112902     typedef int          int_fast16_t;
112903     typedef int32_t      int_fast32_t;
112904     #ifdef _INT64_T
112905     typedef int64_t      int_fast64_t;
112906     #endif
112907
112908     typedef uint8_t      uint_fast8_t;
112909     typedef unsigned int uint_fast16_t;
112910     typedef uint32_t     uint_fast32_t;
112911     #ifdef _UINT64_T
112912     typedef uint64_t     uint_fast64_t;
112913     #endif
112914 EOF
112915 fi
112916
112917 if test "$ac_cv_type_uintmax_t" != yes; then
112918   sed 's/^ *//' >> tmp-stdint.h <<EOF
112919
112920     /* Define intmax based on what we found */
112921     #ifdef _INT64_T
112922     typedef int64_t       intmax_t;
112923     #else
112924     typedef long          intmax_t;
112925     #endif
112926     #ifdef _UINT64_T
112927     typedef uint64_t      uintmax_t;
112928     #else
112929     typedef unsigned long uintmax_t;
112930     #endif
112931 EOF
112932 fi
112933
112934 sed 's/^ *//' >> tmp-stdint.h <<EOF
112935
112936   #endif /* GCC_GENERATED_STDINT_H */
112937 EOF
112938
112939 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
112940   rm -f tmp-stdint.h
112941 else
112942   mv -f tmp-stdint.h include/gstdint.h
112943 fi
112944
112945  ;;
112946     default ) if test -n "$CONFIG_FILES"; then
112947    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
112948    # that multilib installs will end up installed in the correct place.
112949    # The testsuite needs it for multilib-aware ABI baseline files.
112950    # To work around this not being passed down from config-ml.in ->
112951    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
112952    # append it here.  Only modify Makefiles that have just been created.
112953    #
112954    # Also, get rid of this simulated-VPATH thing that automake does.
112955    cat > vpsed << \_EOF
112956 s!`test -f '$<' || echo '$(srcdir)/'`!!
112957 _EOF
112958    for i in $SUBDIRS; do
112959     case $CONFIG_FILES in
112960      *${i}/Makefile*)
112961        #echo "Adding MULTISUBDIR to $i/Makefile"
112962        sed -f vpsed $i/Makefile > tmp
112963        grep '^MULTISUBDIR =' Makefile >> tmp
112964        mv tmp $i/Makefile
112965        ;;
112966     esac
112967    done
112968    rm vpsed
112969  fi
112970  (cd include && ${MAKE-make})
112971  ;;
112972   esac
112973 done
112974 _ACEOF
112975
112976 cat >>$CONFIG_STATUS <<\_ACEOF
112977
112978 { (exit 0); exit 0; }
112979 _ACEOF
112980 chmod +x $CONFIG_STATUS
112981 ac_clean_files=$ac_clean_files_save
112982
112983
112984 # configure is writing to config.log, and then calls config.status.
112985 # config.status does its own redirection, appending to config.log.
112986 # Unfortunately, on DOS this fails, as config.log is still kept open
112987 # by configure, so config.status won't be able to write to it; its
112988 # output is simply discarded.  So we exec the FD to /dev/null,
112989 # effectively closing config.log, so it can be properly (re)opened and
112990 # appended to by config.status.  When coming back to configure, we
112991 # need to make the FD available again.
112992 if test "$no_create" != yes; then
112993   ac_cs_success=:
112994   ac_config_status_args=
112995   test "$silent" = yes &&
112996     ac_config_status_args="$ac_config_status_args --quiet"
112997   exec 5>/dev/null
112998   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
112999   exec 5>>config.log
113000   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
113001   # would make configure fail if this is the last instruction.
113002   $ac_cs_success || { (exit 1); exit 1; }
113003 fi
113004