aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-06-11 21:00:17 +0200
committerGregor Jasny <gjasny@googlemail.com>2012-06-11 21:00:17 +0200
commit2a7d6a8a72c3888399aa1a461558f9cee0f9878f (patch)
treedb234f4c1bfb72304ccb41fced79cecedca1220b /Makefile.am
parent346a08d6341298495ee5a7e4cd55d8bb46a0cf90 (diff)
rds: Build only if linux/i2c-dev.h header is present
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 2b4ea468..d434bd83 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,9 +21,13 @@ SUBDIRS += \
if LINUX_OS
SUBDIRS += \
utils/dvb \
- utils/rds \
utils/xc3028-firmware \
contrib/test
+
+if HAVE_LINUX_I2C_DEV
+SUBDIRS += \
+ utils/rds
+endif
endif
if WITH_QV4L2

Privacy Policy