> Does distutils have a way to grep a .h file for a certain string? I'm > sure that we could come up with a suitable string to check for (a > function or macro defined in recent curses versions but not in old > curses versions); but I'd hate to have to write the test by hand. Even if it works, we may find that this approach causes the module not to be build on systems which would support it. The problem is that curses.h may include other header files which contain the definition we are looking for. The only real test is the one that autoconf uses, i.e. AC_TRY_COMPILE. Supporting that in distutils is probably something that needs careful planning. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4