The branch, master has been updated
       via  08cbec1382c87a4f81ff773c6d032384b04d4b89 (commit)
      from  010b6490502a478fcb3e87c29aeb76acf236321b (commit)


- Log -----------------------------------------------------------------
commit 08cbec1382c87a4f81ff773c6d032384b04d4b89
Author: Mike Frysinger <[email protected]>
Date:   Tue Jun 22 19:02:06 2010 -0400

    libftdi: add a --without-docs flag
    
    Allow people to easily & forcibly disable doxygen support.  This is useful
    in builds where we only want the library and nothing else.
    
    The default is unchanged -- configure still searches for doxygen.
    
    Signed-off-by: Mike Frysinger <[email protected]>

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

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

diff --git a/configure.in b/configure.in
index f3dad4d..40f6476 100644
--- a/configure.in
+++ b/configure.in
@@ -85,7 +85,13 @@ fi
 AM_CONDITIONAL(HAVE_LIBFTDIPP, [test "x$ENABLE_LIBFTDIPP" = "x1"])
 
 dnl check for doxygen
-AC_PATH_PROG(DOXYGEN, doxygen)
+AC_ARG_WITH(docs,
+  AS_HELP_STRING([--without-docs], [disable doxygen usage]))
+if test "x$with_docs" != "xno"; then
+  AC_PATH_PROG(DOXYGEN, doxygen)
+else
+  DOXYGEN=
+fi
 AM_CONDITIONAL(HAVE_DOXYGEN, test -n $DOXYGEN)
 
 dnl ============================


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 [email protected]   

Reply via email to