homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients anacrolix, belopolsky, brian.curtin, doko, eric.araujo, glenn, kristjan.jonsson, martin.panter, pitrou, python-dev, vstinner
Date 2012年01月08日.18:18:53
SpamBayes Score 0.00029811353
Marked as misclassified No
Message-id <1326046733.87.0.172346677278.issue10278@psf.upfronthosting.co.za>
In-reply-to
Content
> on linux the underlying functionality is implemented in librt; the extension doesn't check for this or links with -lrt.
The changeset 35e4b7c4bafa changed configure.in to check clock_gettime(). It checks without and with librt:
 7.7 +AC_CHECK_FUNCS(clock_gettime, [], [
 7.8 + AC_CHECK_LIB(rt, clock_gettime, [
 7.9 + AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
 7.10 + AC_DEFINE(TIMEMODULE_LIB, [rt],
 7.11 + [Library needed by timemodule.c: librt may be needed for clock_gettime()])
 7.12 + ])
 7.13 +])
wallclock-3.patch checks for HAVE_CLOCK_GETTIME, which does use librt in its test (see above).
History
Date User Action Args
2012年01月08日 18:18:53vstinnersetrecipients: + vstinner, doko, belopolsky, pitrou, kristjan.jonsson, eric.araujo, brian.curtin, glenn, anacrolix, python-dev, martin.panter
2012年01月08日 18:18:53vstinnersetmessageid: <1326046733.87.0.172346677278.issue10278@psf.upfronthosting.co.za>
2012年01月08日 18:18:53vstinnerlinkissue10278 messages
2012年01月08日 18:18:53vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /