[Top][All Lists]

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

Re: Fucked up gnustep-make

From: Andrew Sveikauskas
Subject: Re: Fucked up gnustep-make
Date: Tue, 13 Feb 2007 12:08:59 -0500
User-agent: GNUMail (Version 1.2.0)

On 2007-02-13 15:40:26 -0500 Richard Frith-Macdonald <address@hidden> wrote:
Now, anyone using gnustep-make must be using gnu-make, which supports the --version flag. So the question is why your system barfed? It must have been running some other make somehow.

The reason should be fairly obvious when you consider the offending line:

gs_cv_make_version=`make --version | head -1 | sed -e 's/^[^0-9]*//'`

Note that "make" is hard coded in there. That'll result in the shell looking for a program called "make". On non-GNU systems, this is not GNU make.

What you want is:

gs_cv_make_version=`$(MAKE) --version | head -1 | sed -e 's/^[^0-9]*//'`

And the MAKE variable will resolve to the appropriate command for GNU make.

reply via email to

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