This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: mbchar.h


 > From: Dave Brolley <brolley@cygnus.com>
 >  
 > It's an oversight on my part.
 > Dave
 >  
 > > Note that the mbchar entry overwrites the extra_c_flags variable while
 > > the cpplib one appends to it.  Is this intentional (possibly due to
 > > lack of mbchar support in cpplib?)
 > >                 --Kaveh


Thanks for the info.  I installed the following to fix it.

		--Kaveh


Index: ChangeLog
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/ChangeLog,v
retrieving revision 1.4613
diff -u -p -r1.4613 ChangeLog
--- ChangeLog	1999/10/08 18:59:23	1.4613
+++ ChangeLog	1999/10/08 20:14:24
@@ -1,3 +1,7 @@
+Fri Oct  8 16:12:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
+
 Fri Oct  8 11:58:34 1999  Richard Henderson  <rth@cygnus.com>
 
 	* lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
Index: configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure.in,v
retrieving revision 1.295
diff -u -p -r1.295 configure.in
--- configure.in	1999/10/07 08:15:17	1.295
+++ configure.in	1999/10/08 20:14:26
@@ -229,7 +229,7 @@ fi)
 AC_ARG_ENABLE(c-mbchar,
 [  --enable-c-mbchar       Enable multibyte characters for C and C++.],
 if [[[ x$enable_c_mbchar != xno ]]]; then
-  extra_c_flags=-DMULTIBYTE_CHARS=1
+  extra_c_flags="${extra_c_flags} -DMULTIBYTE_CHARS=1"
 fi)
   
 # Enable threads
Index: configure
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/configure,v
retrieving revision 1.289
diff -u -p -r1.289 configure
--- configure	1999/10/07 08:15:18	1.289
+++ configure	1999/10/08 20:14:34
@@ -838,7 +838,7 @@ fi
 if test "${enable_c_mbchar+set}" = set; then
   enableval="$enable_c_mbchar"
   if [ x$enable_c_mbchar != xno ]; then
-  extra_c_flags=-DMULTIBYTE_CHARS=1
+  extra_c_flags="${extra_c_flags} -DMULTIBYTE_CHARS=1"
 fi
 fi
 


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