This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 19980914 snapshot make problem


   Date: Wed, 16 Sep 1998 09:22:13 -0700
   From: Mark Mitchell <mark@markmitchell.com>

   check-gnu-make:
	   (expr `$(MAKE) --version` | grep GNU) || \
	     (echo "You must use GNU Make to build GCC" && false)

   Perhaps some shell-script/make portability expert could whip up
   something suitable.  Then, we could have the top-level
   bootstrap/default targets depend on this, which would greatly reduce
   the number of times we see this FAQ.

   In a former job, we used something like this internally, because we
   had so many makes lying around and would accidentally get the wrong
   one.

Isn't existance VPATH a good test?  Do other makes implement this
feature in this way?

Actually, I just checked the glibc toplevel configure script and it
has a make test.  It tests for having at least a certain minimal
version of make but it seems to not test for GNU make specifically.

Later,
David S. Miller
davem@dm.cobaltmicro.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]