diff options
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 |