Re: Quoting problem in fileutils-4.1.11

Bernd Jendrissek <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Sep 25, 2002 at 04:22:16PM +0200, Martin Schlemmer wrote:
> Hi

Howzit broe.

> 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.

Oh nooo, don't patch a generated file.

Rather patch fileutils/m4/jm-winsz1.m4  But why isn't AM_SYS_POSIX_TERMIOS
setting am_cv_sys_posix_termios?  Can you look at config.log and see where
configure tests AM_SYS_POSIX_TERMIOS?  What does it say?

> --- 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"

Bernd Jendrissek

Free Software Maniac, Proprietary Evil Empire
Cape Town, South Africa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9kd1I/FmLrNfLpjMRAqSfAJ9eiTS0LANCSIqAH2004S+lbTWFjQCgo2fS
MKvuDEXGSMZ+K3Wcu2sHq5E=
=ChFQ
-----END PGP SIGNATURE-----
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.