Re: [PATCH] m4/sctp.m4: make conpatible to autoconf-2.70

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

 



On Fri, Jan 08, 2021 at 10:22:52PM +0000, Sergei Trofimovich wrote:
> On recently released `autoconf-2.70` generated `./configure`
> fails as:
> 
> ```
> $ ./configure
> ...
> checking for struct sctp_event_subscribe.sctp_stream_reset_event... yes
> checking for gcc options needed to detect all undeclared functions... none needed
> ./configure: line 16464: syntax error: unexpected end of file
> ```
> 
> This happens becuase new autoconf generates less whitespace:
> 
> ```
> {
> if ...
> ...
> fi}
> ```
> 
> It requires at least whitespace between `fi` and `}`.
> 
> As input already has newlines the change just drops extra `{}`.
> 
> Tested on `autoconf-2.69` and `autoconf-2.70`.
> 
> Signed-off-by: Sergei Trofimovich <slyfox@xxxxxxxxxx>

Applied. Thanks Sergei.

  Marcelo



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux