diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-11-23 00:20:58 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-11-23 00:20:58 +0000 |
commit | 0c9798c9429cabcded458ba127972ea096e69978 (patch) | |
tree | 7dedd764aaef13657ee5f9a53de0e76b7e3856ac /drivers.m4 | |
parent | 5162ea943ae34684aacdb8fe29da91e6a974979e (diff) | |
download | lcd4linux-0c9798c9429cabcded458ba127972ea096e69978.tar.gz |
fix automake - check for libftdi
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@902 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r-- | drivers.m4 | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -567,11 +567,15 @@ if test "$Trefon" = "yes"; then fi if test "$ULA200" = "yes"; then - TEXT="yes" - LIBUSB="yes" - LIBFTDI="yes" - DRIVERS="$DRIVERS drv_ula200.o" - AC_DEFINE(WITH_ULA200,1,[ULA200 driver]) + if test "$has_ftdi" = "true"; then + TEXT="yes" + LIBUSB="yes" + LIBFTDI="yes" + DRIVERS="$DRIVERS drv_ula200.o" + AC_DEFINE(WITH_ULA200,1,[ULA200 driver]) + else + AC_MSG_WARN(ftdi.h not found: ULA200 driver disabled) + fi fi if test "$USBHUB" = "yes"; then |