Quoting problem in fileutils-4.1.11

Martin Schlemmer <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Hi

There is some tests in the configure script of fileutils-4.1.11.

It results in:

-----------------------snip---------------------------
checking POSIX termios... yes
checking whether use of struct winsize requires sys/ptem.h...
./configure: line 33211: test: =: unary operator expected
no
checking for statfs that truncates block counts... no
------------------------------------------------------

Attached is a patch to fix this.


Greetings,

-- 
Martin Schlemmer
Gentoo Linux Developer, Desktop Team
Cape Town, South Africa
fileutils-4.1.11-configure.patch (text/plain, 448 B)
--- fileutils-4.1.11/configure.orig	2002-09-25 16:08:45.000000000 +0200
+++ fileutils-4.1.11/configure	2002-09-25 16:05:52.000000000 +0200
@@ -33236,7 +33236,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   jm_cv_sys_struct_winsize_needs_sys_ptem_h=yes
-      if test $am_cv_sys_posix_termios = yes; then
+      if test "${am_cv_sys_posix_termios}" = yes; then
 	cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.