[Xcb] [Bug 23163] configure of libpthread-stubs can't detect stubs on NetBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 6 09:59:39 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23163





--- Comment #4 from Josh Triplett <josh at freedesktop.org>  2009-08-06 09:59:39 PST ---
(In reply to comment #3)
> new patch use following strategy,
> 
>   1. find symbols with AC_CHECK_FUNCS.
>   2. if fails, try to compile and link with AC_TRY_LINK

That patch looks much better.  One thing, though: do we really want to bother
with AC_CHECK_FUNCS at all?  What advantage does that give us over just using
AC_TRY_LINK?  Using AC_TRY_LINK alone would mean we don't have to consider
platform-specific details about the implementation of pthread functions (at
least, on platforms which *do* provide pthread stubs).

Also, have you tested that the appropriate HAVE_* macros get set in the
AC_TRY_LINK case, so that the appropriate stubs go into the library?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list