]> git.sur5r.net Git - openocd/commitdiff
configure: presto ftdi driver requires libftdi
authorPaul Fertser <fercerpav@gmail.com>
Thu, 10 Apr 2014 03:29:11 +0000 (07:29 +0400)
committerPaul Fertser <fercerpav@gmail.com>
Mon, 14 Apr 2014 18:17:43 +0000 (18:17 +0000)
Change-Id: I4b04eec5084d4b8129e2aff8f3411c6d92e84431
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2101
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
configure.ac

index b967e93a01c6c4c3417b5fe27c8c89f2bf28c519..2358509668208863ffbd3decfb06ce7c31f8a11e 100644 (file)
@@ -1014,7 +1014,7 @@ CFLAGS=$CFLAGS_SAVE
 fi
 
 if test $build_ft2232_libftdi = yes -o $build_usb_blaster_libftdi = yes -o \
-  $build_openjtag_ftdi = yes; then
+  $build_openjtag_ftdi = yes -o $build_presto_libftdi = yes; then
 
   # we can have libftdi or libftdi1, so check it and use the latest one
   PKG_CHECK_MODULES([LIBFTDI], [libftdi1], [use_libftdi=yes], [use_libftdi=no])