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 very well simply treat that function call as a variable reference, to a non-existent variable which expands to the empty string, and just ignore the entire check and continue on its way.
Basically, you're trying to use GNU make-only constructs to test whether you're running GNU make and fail if not. That is a catch-22. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50062> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make