A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-September/017407.html below:

[Python-Dev] python/dist/src setup.py,1.52,1.53

[Python-Dev] python/dist/src setup.py,1.52,1.53Martin von Loewis loewis@informatik.hu-berlin.de
Wed, 5 Sep 2001 10:49:54 +0200 (MEST)
> 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