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

Re: Increasing regularity of build systems



On Tue, Sep 14, 1999 at 10:45:20PM +0200, Miquel van Smoorenburg wrote:
> > 	test -f config.status || ./configure

On Tue, Sep 14, 1999 at 02:54:47PM -0400, Ben Collins wrote:
> No, this case will cause the make to fail.

Either config.status is a file, or it isn't.

If config.status is a file "test -f config.status" will succeed.
And, make will continue.

If config.status is not a file ./configure will either succeed or fail.
If ./configure succeeds the return code for that line will be 0, and
make will continue.

If ./configure fails then make should fail.

-- 
Raul

Solving the easy problems as a part of delaying in tackling the big ones.


Reply to: