overhauled picolcd driver (Nicu Pavel)

This commit is contained in:
marschap
2007-05-05 18:05:50 +00:00
parent 35bb35edd6
commit aac814f930
6 changed files with 375 additions and 138 deletions
+6 -15
View File
@@ -277,21 +277,12 @@ dnl else
actdrivers=["$actdrivers NoritakeVFD"]
;;
picolcd)
AC_CHECK_HEADERS([usblcd.h],[
AC_CHECK_LIB(usblcd, main,[
LIBUSBLCD="-lusblcd"
DRIVERS="$DRIVERS picolcd${SO}"
actdrivers=["$actdrivers picolcd"]
],[
dnl else
AC_MSG_WARN([The picolcd driver needs the usblcd library])
],
[-lusblcd]
)
],[
dnl else
AC_MSG_WARN([The picolcd driver needs widgets.h, usblcd.h and usblcd_util.h from the usblcd package])
])
if test "$enable_libusb" = yes ; then
DRIVERS="$DRIVERS picolcd${SO}"
actdrivers=["$actdrivers picolcd"]
else
AC_MSG_WARN([The picolcd driver needs the libusb library.])
fi
;;
pyramid)
DRIVERS="$DRIVERS pyramid${SO}"