diff --git a/libio/ChangeLog b/libio/ChangeLog
index 1e2d374e860b01e5c53acc6f91890d1a38eb84f9..88fe76a8fcbdb45763cca91832d66c8cd6239e29 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 b2ed89ab164ca3823476abfc63c1a686ad36aec8..afb8f3b03c0469cd60e2efcacfe3fd6889b8de5e 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