From: Mike Frysinger Date: Tue, 22 Jun 2010 23:02:06 +0000 (-0400) Subject: libftdi: add a --without-docs flag X-Git-Tag: v1.0rc1~159 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=b013bcb0bb63ea0aca155f2959ea9f7f38324b8d;hp=d94c58ffc3a3b757fe4d9af61f6d7f887180e0d4 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 --- diff --git a/configure.in b/configure.in index e9d7b14..aebd985 100644 --- a/configure.in +++ b/configure.in @@ -76,7 +76,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 ============================