libftdi Archives

Subject: [PATCH] use AC_CHECK_TOOL for libusb-config

From: Mike Frysinger <vapier@xxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 22 Jun 2010 18:36:00 -0400
AC_PATH_PROG is for build tools while AC_PATH_TOOL is for the host tools.
Since we want a libusb that is for the host machine and not the build
machine, use the TOOL variant.

I don't personally see the point in using the full path either since the
short name will be found in a PATH lookup, so further change the macro
from the PATH variant to the CHECK variant.

Also drop the incorrect third argument of $PATH.  The third argument is
a fall back value, not the path to search.  Ignoring that, $PATH is the
default value anyways, so no need to specify it.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
--- |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ b/
index f00d70c..addf696 100644
--- a/
+++ b/
@@ -8,7 +8,7 @@ AM_PROG_LIBTOOL
 dnl check for libusb-config
 if test ! -z "$HAVELIBUSB"; then

libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • [PATCH] use AC_CHECK_TOOL for libusb-config, Mike Frysinger <=