aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoranssih <anssih@svn>2010-06-08 18:21:19 +0000
committeranssih <anssih@svn>2010-06-08 18:21:19 +0000
commit57f6ea57eb015b909e8d150b3111efe42da3a2e9 (patch)
treeca4f0e75114a1e55ce90673b59b82d92e4621193 /configure.in
parent88b7293df23613bac453760848ba039d053964d8 (diff)
added: configure option for specifying default LIRC device
The default LIRC device location was changed in LIRC 0.8.6 from /dev/lircd to /var/run/lirc/lircd. Add --with-lirc-device=file configure option to select the default device location at build time. This can still be overridden at run time. /dev/lircd is kept as the XBMC default for now. git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30976 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a63ca22aeb..8ab5789403 100644
--- a/configure.in
+++ b/configure.in
@@ -235,6 +235,13 @@ AC_ARG_ENABLE([liba52],
[use_liba52=$enableval],
[use_liba52=no])
+AC_ARG_WITH([lirc-device],
+ [AS_HELP_STRING([--with-lirc-device=file],
+ [specify the default LIRC device (default is /dev/lircd)])],
+ [lirc_device=$withval],
+ [lirc_device=/dev/lircd])
+AC_DEFINE_UNQUOTED([LIRC_DEVICE], ["$lirc_device"], [Default LIRC device])
+
### External libraries options
AC_ARG_ENABLE([external-libraries],
[AS_HELP_STRING([--enable-external-libraries],