Created attachment 39155 [details] [review]
Ensure that TSLIB_LIBS is set even if pkg-config fails
If the pkg-config check for tslib fails but the fallback AC_CHECK_LIB() succeeds, the xorg-server build attempt fails with unresolved library references. The reason for that is that TSLIB_LIBS is unset (that variable is supposed to be set by PKG_CHECK_MODULES()).
I'm attaching a patch which sets TSLIB_LIBS as necessary if the fallback AC_CHECK_LIB() succeeds.
Created attachment 39156 [details]
The failing build log (just for reference)
On Mon, Oct 4, 2010 at 10:22:54 -0700, email@example.com wrote:
> I'm attaching a patch which sets TSLIB_LIBS as necessary if the fallback
> AC_CHECK_LIB() succeeds.
Note that that code is likely to get removed before 1.10:
on Oct 27, 2016 at 12:45:41.
(provided by the Example extension).