X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=cc66f6d0b8d9df18a0b111f4e3ea0059993a960c;hb=63c18f9eab7c30fe51c012d45f52947ce9e919d0;hp=14b816b18296a2f0a6a964b60feb0ae26ae22196;hpb=be42fd38c9f64c3d692883d951474527feef52f2;p=catta diff --git a/configure.ac b/configure.ac index 14b816b..cc66f6d 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ # USA. AC_PREREQ(2.57) -AC_INIT([avahi],[0.1],[avahi (at) lists (dot) freedesktop (dot) org]) +AC_INIT([avahi],[0.2],[avahi (at) lists (dot) freedesktop (dot) org]) AC_CONFIG_SRCDIR([avahi-core/server.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign 1.9 -Wall]) @@ -53,7 +53,7 @@ AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the Linux dis if test "z$with_distro" = "z"; then #AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse") #AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo") - AC_CHECK_FILE(/etc/arch-version,with_distro="archlinux") + AC_CHECK_FILE(/etc/arch-release,with_distro="archlinux") AC_CHECK_FILE(/etc/debian_version,with_distro="debian") fi with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' ` @@ -326,6 +326,10 @@ if test x$xmltoman = xyes ; then AC_CHECK_PROG(have_xmltoman, xmltoman, yes, no) if test x$have_xmltoman = xno ; then + if ! test -e man/avahi-daemon.8 ; then + AC_MSG_ERROR([*** xmltoman was not found, it is required to build the manpages and they have not been pre-built]) + exit 1 + fi AC_MSG_WARN([*** Not rebuilding man pages as xmltoman is not found ***]) xmltoman=no fi