]> git.meshlink.io Git - catta/blobdiff - configure.ac
fPIC fix
[catta] / configure.ac
index 14b816b18296a2f0a6a964b60feb0ae26ae22196..cc66f6d0b8d9df18a0b111f4e3ea0059993a960c 100644 (file)
@@ -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