summaryrefslogtreecommitdiffstats
path: root/m4/acx_lirc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/acx_lirc.m4')
-rw-r--r--m4/acx_lirc.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/acx_lirc.m4 b/m4/acx_lirc.m4
new file mode 100644
index 00000000..d3f8ea73
--- /dev/null
+++ b/m4/acx_lirc.m4
@@ -0,0 +1,6 @@
+AC_DEFUN([ACX_LIRC], [
+LIRC_CFLAGS=
+LIRC_LIBS=
+AC_CHECK_HEADER(lirc/lirc_client.h,[AC_CHECK_LIB(lirc_client,lirc_init,[HAVE_LIRC=1
+LIRC_LIBS=-llirc_client],HAVE_LIRC=0)],HAVE_LIRC=0)
+])