From a2a6da265096d51e2ec2646f97f75ea1ae80d8c2 Mon Sep 17 00:00:00 2001
From: oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 23 Mar 1999 23:58:21 +0000
Subject: [PATCH] * gen-params (CONFIG_NM): test ... -o ... is not portable

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25935 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libio/ChangeLog  | 4 ++++
 libio/gen-params | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/libio/ChangeLog b/libio/ChangeLog
index 1e2d374e860b..88fe76a8fcbd 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,7 @@
+1999-03-24  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+	* gen-params (CONFIG_NM): test ... -o ... is not portable
+
 Thu Mar 11 01:07:55 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
 
 	* configure.in: Cleanup and add mh-*pic handling for arm, powerpc
diff --git a/libio/gen-params b/libio/gen-params
index b2ed89ab164c..afb8f3b03c04 100755
--- a/libio/gen-params
+++ b/libio/gen-params
@@ -72,8 +72,9 @@ fi
 # 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
-- 
GitLab