Re: [bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-02-14 Thread Edward Welbourne
> If you really need some features only supported by GNU Make, why not > rename this makefile to "GNUmakfile"? ... which, furthermore, ensures that - if the make-file is picked up by some other make that thinks it knows what to do with a GNU make-file - the reader is primed with the knowledge

[bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-02-14 Thread Ben Feng
Follow-up Comment #3, bug #50062 (project make): If you really need some features only supported by GNU Make, why not rename this makefile to "GNUmakfile"? ___ Reply to this item at:

[bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-01-17 Thread Paul D. Smith
Follow-up Comment #2, bug #50062 (project make): Similarly, the $(error ...) function and indeed functions like this themselves are features only found in GNU make... so even if you were using some other implementation of make that happened to support "ifndef" the same way GNU make did, it could

[bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-01-17 Thread Paul D. Smith
Follow-up Comment #1, bug #50062 (project make): I don't really know of any way to determine whether or not you're running a particular version of make, in a makefile portable enough that it would provide useful output if you _weren't_ using that version of make. For instance in your example:

Re: [bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-01-17 Thread Edward Welbourne
> When one wants to check that it is really GNU make that is run for a > given Makefile The only valid use case I can think of for this is where some particular feature of GNU make is needed. Generally, it is better to test *that feature* rather than the version of make in use. If another

[bug #50062] Variable needed to check that Makefile is run by GNU make?

2017-01-16 Thread anonymous
URL: Summary: Variable needed to check that Makefile is run by GNU make? Project: make Submitted by: None Submitted on: Tue 17 Jan 2017 06:59:36 AM UTC Severity: 3 - Normal