Added header linux/joystick.h as prerequistefor the joy driver.
This commit is contained in:
+8
-3
@@ -86,9 +86,14 @@ dnl else
|
||||
actdrivers=["$actdrivers hd44780"]
|
||||
;;
|
||||
joy)
|
||||
DRIVERS="$DRIVERS joy.o"
|
||||
AC_DEFINE(JOY_DRV)
|
||||
actdrivers=["$actdrivers joy"]
|
||||
AC_CHECK_HEADER(linux/joystick.h,
|
||||
DRIVERS="$DRIVERS joy.o"
|
||||
AC_DEFINE(JOY_DRV)
|
||||
actdrivers=["$actdrivers joy"]
|
||||
,
|
||||
dnl else
|
||||
AC_MSG_WARN([The joy driver needs header file linux/joystick.h.])
|
||||
)
|
||||
;;
|
||||
irman)
|
||||
AC_CHECK_LIB(irman, main,
|
||||
|
||||
Reference in New Issue
Block a user