[Patches] [ python-Patches-717152 ] has_function() method for CCompiler
SourceForge.net
noreply@sourceforge.net
Tue, 13 May 2003 06:10:18 -0700
Patches item #717152, was opened at 2003-04-07 20:50
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=717152&group_id=5470
Category: Distutils and setup.py
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Skip Montanaro (montanaro)
Assigned to: A.M. Kuchling (akuchling)
Summary: has_function() method for CCompiler
Initial Comment:
On the psycopg mailing list, Federico bemoaned the problem figuring out via distutils if a particular platform contains an implementation
for asprintf(). I wrote the attached method as a starting point for such
functionality in distutils. It's been barely tested at all, but seems to
me to be a reasonable addition to the set of stuff distutils can
check for.
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2003-05-13 09:10
Message:
Logged In: YES
user_id=11375
Checked in.
----------------------------------------------------------------------
Comment By: Skip Montanaro (montanaro)
Date: 2003-04-07 20:56
Message:
Logged In: YES
user_id=44345
Also note a number of known nits:
* it doesn't yet clean up after itself
* it doesn't yet suppress messages to stderr
* I haven't tested it in any but the simplest of cases
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=717152&group_id=5470