William Stein wrote: >> To be honest, if we have a configure script at the top level, we might >> as well move the stuff from prereq into it. It would look a lot more >> 'normal' if someone see the configure script was checking for the >> compilers, checking for perl etc. Just do not let the configure script >> create the makefile in the normal way, but instead create the exact same >> makefile we have. > > We could do that to look more normal. But keep in mind that prereq > doesn't really *do* anything for the Sage install. It is merely a > check. And I don't think we should force it to *have* to be autoconf, > which your suggestion would do (i.e., who knows, maybe someday our > students rewrite the prereq script in Python or something...). Also, > prereq leaves no data laying around that is used in any way by the > rest of Sage. But I agree, it would looked "normal". > > -- William
I'm not saying the top level configure script needs to be created by autoconf, though it would look more 'normal' if it was, as 95% of 'configure' scripts are created using autoconf. But given we have prereq working with autoconf and nobody has yet re-written it in python, it would seem sensible to me to just move the functionality to a top-level configure script. If as some later date, someone want to rewrite it in python, then they can. The idea of copying the Makefile from some other location sounds good. Much better than my idea of echo statements, as it could be changed quickly, without having to run autoconf. Ideally 'make clean' or 'make distclean' would actually remove the makefile too. (BTW, the .BUILDSTART file should be added to the list of things that gets removed with a 'make clean'). --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---