[Python-Dev] HP-UX clean-up (original) (raw)
Martin v. Loewis martin at v.loewis.de
Wed Jan 7 18:48:20 EST 2004
- Previous message: [Python-Dev] HP-UX clean-up
- Next message: [Python-Dev] HP-UX clean-up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Zack Weinberg wrote:
I'm piggybacking on this thread to point out that there are some pretty drastic simplifications possible in configure.in. To give examples: it contains its own logic for determining a 'canonical name' for the operating system, rather than use ACCANONICALHOST; almost all the compile checks are using lower-level macros than they ought to; there are several places where ACDEFUN should be used to encapsulate repetitive code, such as the custom checks for functions like ctermidr; there are tests that are completely unnecessary, such as "ACCHECKSIZEOF (char, 1)" [sizeof(char)==1 is guarantted by the C standard].
As Skip says: contributions are welcome. Using a different computation of the canonical name may not be possible, though, without performing major changes e.g. to the Lib/plat-* subdirectories.
Another cleanup that would be nice is to get rid of Modules/Setup and related; as I understand it, this is only around because the top level setup.py hasn't been finished yet. (And for a pipe dream, could we have a way to set the disabledmodulelist from the configure command line?)
Again, as Skip explains: setup.py will never be able to do what Modules/Setup does. So Modules/Setup must stay, and may survive setup.py.
Regards, Martin
- Previous message: [Python-Dev] HP-UX clean-up
- Next message: [Python-Dev] HP-UX clean-up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]