diff options
author | James Willcox <snopr@snorp.net> | 2005-09-14 05:05:04 +0000 |
---|---|---|
committer | James Willcox <snopr@snorp.net> | 2005-09-14 05:05:04 +0000 |
commit | 217046a958569ecdc2bb72997b157de011e17c9d (patch) | |
tree | 0cc2857aade6711bbba117f0f500e62f358e9e11 /configure.ac | |
parent | 714098f62225c0bfd09c2e146c4db49076b87cdb (diff) |
add docs for avahi-sharp
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@582 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 908f709..41f41c2 100644 --- a/configure.ac +++ b/configure.ac @@ -398,6 +398,15 @@ AC_ARG_ENABLE(mono, esac], [HAVE_MONO=yes]) +AC_ARG_ENABLE(mono-docs, + AS_HELP_STRING([--disable-mono-docs],[Disable documentation for mono bindings]), + [case "${enableval}" in + yes) HAVE_MONODOC=yes ;; + no) HAVE_MONODOC=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-mono-docs) ;; + esac], + [HAVE_MONODOC=yes]) + if test "x$HAVE_MONO" = "xyes" ; then AC_PATH_PROG(MCS, mcs) if test "x$MCS" = "x" ; then @@ -406,7 +415,7 @@ if test "x$HAVE_MONO" = "xyes" ; then AC_PATH_PROG(GACUTIL, gacutil) if test "x$GACUTIL" = "x" ; then - AC_MSG_ERROR([Can not find "gacutil" in your PATH]) + AC_MSG_ERROR([Can not find "gacutil" in your PATH]) fi AC_SUBST(MCS) @@ -415,6 +424,22 @@ fi AM_CONDITIONAL(HAVE_MONO, test "x$HAVE_MONO" = "xyes") # +# Check for monodoc stuff +# +if test "x$HAVE_MONODOC" = "xyes" ; then + PKG_CHECK_MODULES(MONODOC, [monodoc >= 1.1.8]) + MONODOC_DIR=`$PKG_CONFIG --variable=sourcesdir monodoc` + + AC_PATH_PROG(MONODOCER, monodocer) + AC_PATH_PROG(MDASSEMBLER, mdassembler) + + AC_SUBST(MONODOC_DIR) + AC_SUBST(MONODOCER) + AC_SUBST(MDASSEMBLER) +fi +AM_CONDITIONAL(HAVE_MONODOC, test "x$HAVE_MONODOC" = "xyes") + +# # Defining Avahi User and Group. # AC_ARG_WITH(avahi_user, AS_HELP_STRING([--with-avahi-user=<user>],[User for running the Avahi daemon (avahi)])) |