https://bugs.winehq.org/show_bug.cgi?id=38713
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #51677|0 |1 is obsolete| |
--- Comment #11 from Ken Thomases ken@codeweavers.com --- Created attachment 51678 --> https://bugs.winehq.org/attachment.cgi?id=51678 configure check for libunwind using AC_LINK_IFELSE()
(In reply to Marcus Meissner from comment #10)
perhaps a AC_TRY_LINK() construct is needed.
Yeah, something like that. Wine does not currently use AC_TRY_LINK(), but it does use AC_LINK_IFELSE() which is similar. In fact, I already found a workalike for AC_SEARCH_LIBS in Wine's configure, for the search for libresolv, which uses AC_LINK_IFELSE(). So, I copied that and adapted it for libunwind.
Please try this new patch.