This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

V3 patch for configury bits



This adds a missing call to test(1) in a couple of places, and 
corrects a typo in a comment.  No biggie.  Applied.  Regen'd
files not shown.


2000-12-20  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS):  Fix minor thinko.
	* aclocal.m4:  Regenerate.
	* configure:  Ditto.
	* Makefile.in:  Ditto.
	* libio/Makefile.in:  Ditto.
	* libmath/Makefile.in:  Ditto.
	* libsupc++/Makefile.in:  Ditto.
	* src/Makefile.in:  Ditto.

	* include/bits/istream.tcc:  Fix clause reference in comment.


Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.111
diff -u -3 -p -r1.111 acinclude.m4
--- acinclude.m4	2000/12/20 08:39:54	1.111
+++ acinclude.m4	2000/12/20 21:34:21
@@ -246,7 +246,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES
     # this is the suspicious part
     CXXFLAGS=''
   fi
-  if test x"$ac_fdsections" = x"yes" && x"$enable_debug" = x"no"; then
+  if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
   fi
   AC_MSG_RESULT($ac_fdsections)
@@ -314,7 +314,7 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, 
   fi
 
   # Set linker optimization flags.
-  if test x"$ac_cv_prog_gnu_ld" = x"yes" && x"$enable_debug" = x"no"; then
+  if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
     OPT_LDFLAGS='-Wl,-O1'
   fi
 
@@ -1337,9 +1337,9 @@ AC_DEFUN(GLIBCPP_ENABLE_CSTDIO, [
   AM_CONDITIONAL(GLIBCPP_NEED_LIBIO, test "$need_libio" = yes)
   AM_CONDITIONAL(GLIBCPP_NEED_WLIBIO, test "$need_wlibio" = yes)
   if test "$need_libio" = yes || test "$need_wlibio" = yes; then
-	libio_la=../libio/libio.la
+    libio_la=../libio/libio.la
   else
-	libio_la=
+    libio_la=
   fi
   AC_SUBST(libio_la)
 ])
@@ -1467,7 +1467,7 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
   AC_MSG_CHECKING([for lldiv_t declaration])
   AC_CACHE_VAL(glibcpp_lldiv_t_use, [
   AC_TRY_COMPILE([#include <bits/os_defines.h>
-		  #include <stdlib.h>], 
+                  #include <stdlib.h>], 
                    [ lldiv_t mydivt;], 
                    [glibcpp_lldiv_t_use=yes], [glibcpp_lldiv_t_use=no])
   ])
@@ -1486,7 +1486,7 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
   if test x"$enable_long_long" = xyes; then
     AC_DEFINE(_GLIBCPP_USE_LONG_LONG)
   fi
-	
+
   # Reset CFLAGS
   CFLAGS="$ac_save_CFLAGS"
 ])
Index: include/bits/istream.tcc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/istream.tcc,v
retrieving revision 1.2
diff -u -3 -p -r1.2 istream.tcc
--- istream.tcc	2000/10/06 07:12:32	1.2
+++ istream.tcc	2000/12/20 21:34:22
@@ -1094,7 +1094,7 @@ namespace std {
       return __in;
     }
 
-  // 21.3.7.8 basic_string::getline and operators
+  // 21.3.7.9 basic_string::getline and operators
   template<typename _CharT, typename _Traits, typename _Alloc>
     basic_istream<_CharT, _Traits>&
     operator>>(basic_istream<_CharT, _Traits>& __in,

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]