aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-11-23 00:20:58 +0000
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-11-23 00:20:58 +0000
commit0c9798c9429cabcded458ba127972ea096e69978 (patch)
tree7dedd764aaef13657ee5f9a53de0e76b7e3856ac /drivers.m4
parent5162ea943ae34684aacdb8fe29da91e6a974979e (diff)
downloadlcd4linux-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.m414
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers.m4 b/drivers.m4
index deab189..4f5a392 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -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