From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Meyering To: Craig Burley Cc: g77-alpha@gnu.org, egcs@cygnus.com, gcc2@cygnus.com Subject: Re: Require GNU Make Somehow? Date: Sun, 03 May 1998 22:02:00 -0000 Message-id: <87af8zc6r0.fsf@eng.ascend.com> References: <199805022006.QAA08833@melange.gnu.org> X-SW-Source: 1998-05/msg00069.html Content-type: multipart/mixed; boundary="----------=_1583532964-671-25" This is a multi-part message in MIME format... ------------=_1583532964-671-25 Content-length: 1241 Craig Burley writes: | >I'm confused about a g77 configure.in as I thought there was policy | >against one, but there used to be a test in config-lang.in for srcdir | >!= builddir. That just warned about the need for GNU make at | >configure time. I'll look into sorting something out for g77's | >makefile, but it presumably won't kick in until g77 starts building. | | Oops, I meant config-lang.in, not configure.in, you're right. Yes, | the test and message have gone away; I don't mind resurrecting | them, but feel that's really the job of the top-level makefile | to do, in this case, gcc's and egcs's, and thinking down that | avenue led to my original email on this topic. | | >Indeed. If I want GNU make, I'd be (should be) typing `gmake' on a | >non-GNU system and a test is needed at compile time, not configure | >time. | | Right, though it might be most straightforward and reliable to | have configure time lay a sort of "trap" that is either avoided | by using GNU make at compile time, or triggered by not using | GNU make then, and the effect of the trap is to print a nice | message and exit. This isn't quite the same, since GNU make isn't required to build the fileutils, but it might be useful... ------------=_1583532964-671-25 Content-Type: text/x-makefile; charset=us-ascii; name="GNUmakefile" Content-Disposition: inline; filename="GNUmakefile" Content-Transfer-Encoding: base64 Content-Length: 887 IyBIYXZpbmcgYSBzZXBhcmF0ZSBHTlVtYWtlZmlsZSBsZXRzIG1lIGBpbmNs dWRlJyB0aGUgZHluYW1pY2FsbHkKIyBnZW5lcmF0ZWQgcnVsZXMgY3JlYXRl ZCB2aWEgTWFrZWZpbGUubWFpbnQgYXMgd2VsbCBhcyBNYWtlZmlsZS5tYWlu dCBpdHNlbGYuCiMgVGhpcyBtYWtlZmlsZSBpcyB1c2VkIG9ubHkgaWYgeW91 IHJ1biBHTlUgTWFrZS4KIyBJdCBpcyBuZWNlc3NhcnkgaWYgeW91IHdhbnQg dG8gYnVpbGQgdGFyZ2V0cyB1c3VhbGx5IG9mIGludGVyZXN0CiMgb25seSB0 byB0aGUgbWFpbnRhaW5lci4KCmhhdmUtTWFrZWZpbGUgOj0gJChzaGVsbCB0 ZXN0IC1mIE1ha2VmaWxlICYmIGVjaG8geWVzKQoKIyBJZiB0aGUgdXNlciBy dW5zIEdOVSBtYWtlIGJ1dCBoYXMgbm90IHlldCBydW4gLi9jb25maWd1cmUs CiMgZ2l2ZSB0aGVtIGEgZGlhZ25vc3RpYy4KaWZlcSAoJChoYXZlLU1ha2Vm aWxlKSx5ZXMpCgppbmNsdWRlIE1ha2VmaWxlCmluY2x1ZGUgJChzcmNkaXIp L01ha2VmaWxlLm1haW50CgplbHNlCgphbGw6CglAZWNobyBUaGVyZSBzZWVt cyB0byBiZSBubyBNYWtlZmlsZSBpbiB0aGlzIGRpcmVjdG9yeS4KCUBlY2hv ICJZb3UgbXVzdCBydW4gLi9jb25maWd1cmUgYmVmb3JlIHJ1bm5pbmcgXGBt YWtlJy4iCglAZXhpdCAxCgplbmRpZgo= ------------=_1583532964-671-25--