bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf 2.54: missing quote in AC_HEADER_TIOCGWINSZ


From: Akim Demaille
Subject: Re: autoconf 2.54: missing quote in AC_HEADER_TIOCGWINSZ
Date: 27 Sep 2002 16:07:18 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

| Stephen Gildea reported this Autoconf bug to me (since he found it while
| working on Texinfo):
| 
|     In configure, line 3959 is this:
| 
|     if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
| 
|     That variable name should have double-quotes around it.  On NT with
|     cygwin I got the error:
| 
|     ./configure: test: !=: unary operator expected
| 
| All Texinfo's configure.ac says is
| AC_HEADER_TIOCGWINSZ
| 
| I don't know what the original source file is to fix this, but it should
| be easy, at least.
| 
| There are a number of other places in the configure script where the
| args to test are not quoted (see below, fyi).  I don't know why this
| particular one caused the error under cygwin and not the others.

This is very bizarre!  Thanks God the variable was not quoted, we
would not have noted it was not set.

Which is supposed to be impossible according to the code, so I would
like to have more details.

/tmp % cat configure.ac                                          nostromo 16:06
AC_INIT
AC_HEADER_TIOCGWINSZ
/tmp % autoconf2.50 --version                                    nostromo 16:06
autoconf (GNU Autoconf) 2.54
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/tmp % autoconf2.50                                              nostromo 16:06
/tmp % ./configure                                               nostromo 16:07
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]