summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Allum <breakfast@10.am>2003-09-30 20:15:14 +0000
committerMatthew Allum <breakfast@10.am>2003-09-30 20:15:14 +0000
commite8c02296476f068bc8158d112dc15df00dddac2a (patch)
tree543d3e6916dc2c9cd85eafbde29d63c953145d2b
parenta42384e9356ec79510682bacf08410e87d7102ff (diff)
Added --enable-tslib configure option
-rw-r--r--hw/kdrive/fbdev/Makefile.am4
-rw-r--r--hw/kdrive/linux/Makefile.am4
2 files changed, 8 insertions, 0 deletions
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