libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v0.17-17-ga7d6d34

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 25 Jun 2010 09:45:11 +0200 (CEST)
The branch, master has been updated
       via  a7d6d342469d298ef1307b58cfc098fe711f03ab (commit)
      from  4aee4ad2acf69807605ced163e54667265100273 (commit)


- Log -----------------------------------------------------------------
commit a7d6d342469d298ef1307b58cfc098fe711f03ab
Author: Mike Frysinger <vapier@xxxxxxxxxx>
Date:   Tue Jun 22 18:36:00 2010 -0400

    use AC_CHECK_TOOL for libusb-config
    
    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>

-----------------------------------------------------------------------

Summary of changes:
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index f00d70c..addf696 100644
--- a/configure.in
+++ b/configure.in
@@ -8,7 +8,7 @@ AM_PROG_LIBTOOL
 AC_PROG_CXX
 
 dnl check for libusb-config
-AC_PATH_PROG(HAVELIBUSB, libusb-config, $PATH)
+AC_CHECK_TOOL(HAVELIBUSB, libusb-config)
 
 if test ! -z "$HAVELIBUSB"; then
    LIBUSB_CFLAGS=`$HAVELIBUSB --cflags`


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v0.17-17-ga7d6d34, libftdi-git <=