--- configure.ac~ 2008-02-27 12:15:22.000000000 +0100 +++ configure.ac 2008-05-01 15:20:44.000000000 +0200 @@ -112,10 +112,19 @@ esac fi + +AC_ARG_WITH([inkscape], AS_HELP_STRING([--without-inkscape], [Build without inkscape support (default: test)])) + +if test "x$with_inkscape" != "xno"; then AC_PATH_PROG(INKSCAPE, inkscape, no) +fi AM_CONDITIONAL(HAVE_INKSCAPE, test "x$INKSCAPE" != "xno") +AC_ARG_WITH([w3m], AS_HELP_STRING([--without-w3m], [Build without w3m (default: test)])) + +if test "x$with_w3m" != "xno"; then AC_PATH_PROG(W3M, w3m, no) +fi AM_CONDITIONAL(HAVE_W3M, test "x$W3M" != "xno") ###########################