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]

unportable construct in gen-params


I'm installing the attached patch, under the `obviously correct'
rule.  I don't think this is related with the Solaris bootstrap
problems people have reported on release 1.1.2, but it's worth fixing
anyway...

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,egcs.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
Index: libio/ChangeLog
from  Alexandre Oliva  <oliva@dcc.unicamp.br>
	
	* gen-params (CONFIG_NM): test ... -o ... is not portable
	
Index: libio/gen-params
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/libio/gen-params,v
retrieving revision 1.8
diff -u -r1.8 gen-params
--- libio/gen-params	1999/02/10 11:04:34	1.8
+++ libio/gen-params	1999/03/24 07:54:27
@@ -72,8 +72,9 @@
 # This program is used to test if the compiler prepends '_' before identifiers.
 # It is also used to check the g++ uses '$' or '.' various places.
 
-if test -z "${NAMES_HAVE_UNDERSCORE}" -o -z "${DOLLAR_IN_LABEL}" \
-    -o -z "${VTABLE_LABEL_PREFIX}"; then
+if test -z "${NAMES_HAVE_UNDERSCORE}" \
+   || test -z "${DOLLAR_IN_LABEL}" \
+   || test -z "${VTABLE_LABEL_PREFIX}"; then
   cat >dummy.h <<!EOF!
 #ifdef __GNUG__
 #pragma interface

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