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, firstname.lastname@example.org 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 Aug 31, 2016 at 00:27:08.
(provided by the Example extension).