[Top][All Lists]

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

Re: Autotools lint tool

From: Bob Friesenhahn
Subject: Re: Autotools lint tool
Date: Mon, 7 Oct 2019 08:27:44 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Sun, 6 Oct 2019, Richard Ash wrote:

On Thu, 3 Oct 2019 17:06:18 -0500 (CDT)
Bob Friesenhahn <address@hidden> wrote:

Many existing common tests found in Autoconf scripts can just be
removed since standards have made them unnecessary.

At the risk of being contrary, this is one of the things which a
"linter" for autotools should be able to tell the user (it may need to
make an assumption about the target OS list of course, just as you

Unless the test is done via a standard macro (e.g. testing for a well-known function), it would be very difficult for automated analysis to intuit what the shell script code is trying to do.

Project maintainers should check configure script output for tests which made sense 20 years ago but are now no longer needed. Usually source code changes are warranted due to removing a test.

Standardization of interfaces has proven to be a success. However, new interfaces are continually added and many of them are not part of a published standard or on a track to become one.

Bob Friesenhahn
GraphicsMagick Maintainer,
Public Key,

reply via email to

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