filename | configure.in |
changeset | 1015:ad448bedc48a |
prev | 1002:8ad76ddbdc58 |
next | 1024:c67f2d61ab97 |
author | nkeynes |
date | Tue Jun 02 23:16:26 2009 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | "MythTV" patch from Wahrhaft, thanks!: * Add support for LIRC input devices * Add hotkey input support * Add command-line option for immediate fullscreen |
file | annotate | diff | log | raw |
1.1 --- a/configure.in Wed Mar 25 12:00:29 2009 +00001.2 +++ b/configure.in Tue Jun 02 23:16:26 2009 +00001.3 @@ -319,6 +319,15 @@1.4 [ echo "Linux Joystick support not found, building without it."] )1.5 AM_CONDITIONAL(JOY_LINUX, [test "$HAVE_LINUX_JOYSTICK_H" = "yes"])1.7 +dnl Check for LIRC1.8 +if test "x$with_lirc" != "xno"; then1.9 + AC_CHECK_HEADER([lirc/lirc_client.h], [1.10 + HAVE_LIRC_CLIENT_H=yes1.11 + AC_DEFINE([HAVE_LIRC],1,[Have LIRC support]) ],1.12 + [ echo "LIRC support not found, building without it." ] )1.13 +fi1.14 +AM_CONDITIONAL(INPUT_LIRC, [test "$HAVE_LIRC_CLIENT_H" = "yes"])1.15 +1.16 dnl Check for cross-compiler availability - needed for system tests1.17 AC_PATH_PROG(SHCC, [sh-elf-gcc])1.18 AC_PATH_PROG(SHLD, [sh-elf-ld])1.19 @@ -399,5 +408,11 @@1.20 if test "x$CDROM_DRIVER" = "x"; then1.21 echo " CD-ROM driver: none (no supported cd-rom devices found)"1.22 else1.23 - echo " CD-ROM driver: $CDROM_DRIVER"1.24 + echo " CD-ROM driver: $CDROM_DRIVER"1.25 fi1.26 +1.27 +if test "x$HAVE_LIRC_CLIENT_H" = "x"; then1.28 + echo " LIRC support: no"1.29 +else1.30 + echo " LIRC support: yes"1.31 +fi
.