From e8c02296476f068bc8158d112dc15df00dddac2a Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 30 Sep 2003 20:15:14 +0000 Subject: [PATCH] Added --enable-tslib configure option --- hw/kdrive/fbdev/Makefile.am | 4 ++++ hw/kdrive/linux/Makefile.am | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/hw/kdrive/fbdev/Makefile.am b/hw/kdrive/fbdev/Makefile.am index c0884d3d6..31643e2f1 100644 --- a/hw/kdrive/fbdev/Makefile.am +++ b/hw/kdrive/fbdev/Makefile.am @@ -38,3 +38,7 @@ Xfbdev_LDADD = \ $(XSERVER_LIBS) \ -lm -lz +if TSLIB +Xfbdev_LDADD += -lts +endif + diff --git a/hw/kdrive/linux/Makefile.am b/hw/kdrive/linux/Makefile.am index 7b95bd7fe..53df4e23b 100644 --- a/hw/kdrive/linux/Makefile.am +++ b/hw/kdrive/linux/Makefile.am @@ -20,3 +20,7 @@ liblinux_a_SOURCES = \ mouse.c \ ms.c \ ps2.c + +if TSLIB +liblinux_a_SOURCES += tslib.c +endif