X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=configure.in;h=959731134ce6ce13e160ce5c23be214906413d7d;hp=e9d7b149e0c70f3e070e043b17de5e43225a91bf;hb=ade814a59b4660c5af865dd86cdd48cfa55e1ae5;hpb=d94c58ffc3a3b757fe4d9af61f6d7f887180e0d4 diff --git a/configure.in b/configure.in index e9d7b14..9597311 100644 --- a/configure.in +++ b/configure.in @@ -23,21 +23,6 @@ else AC_MSG_ERROR([libusb-1.0 not found.]) fi -ENABLE_ASYNC_MODE=0 -AC_ARG_WITH(async-mode, -[ --with-async-mode enable experimental async mode. Linux only.], -[ - AC_MSG_CHECKING(for experimental linux async mode) - if test "$withval" != "no"; then - ENABLE_ASYNC_MODE=1 - CFLAGS="$CFLAGS -DLIBFTDI_LINUX_ASYNC_MODE" - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - fi -]) -AC_SUBST(ENABLE_ASYNC_MODE) - AC_ARG_WITH(examples, AS_HELP_STRING([--without-examples], [disable example programs])) AM_CONDITIONAL(BUILD_EXAMPLES, [test "x$with_examples" != "xno"]) @@ -76,7 +61,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 ============================