aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
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