Add local and chroot backends.
[matthijs/upstream/backupninja.git] / configure.in
index 26e95be3041089b0cf80a6ae044b109a6bbfcf98..0bae7ea6e0f9005109dc615ee8997b64c8b972a6 100644 (file)
@@ -3,7 +3,7 @@
 
 # The maintainer mode is causing me grief with newest versions of autotools
 #AM_MAINTAINER_MODE
-AC_INIT([backupninja],[0.9.6],[backupninja@lists.riseup.net])
+AC_INIT([backupninja],[0.9.7],[backupninja@lists.riseup.net])
 AC_CONFIG_SRCDIR([src/backupninja.in])
 AM_INIT_AUTOMAKE
 
@@ -36,6 +36,13 @@ if test x$MKTEMPT = "xno"; then
     AC_MSG_ERROR([mktemp is required])
 fi
 
+AC_PATH_PROGS(STAT, stat, "no")
+if test x$STAT = "xno"; then
+    AC_MSG_ERROR([stat is required])
+else
+   export STAT
+fi
+
 AC_CHECK_PROG(ac_cv_have_rpm, rpm, "yes", "no")
 if test "x$ac_cv_have_rpm" = "xyes"; then
         rpm --define '_topdir /tmp' > /dev/null 2>&1
@@ -73,6 +80,7 @@ AC_CONFIG_FILES([Makefile
                 examples/Makefile
                 handlers/Makefile
                 lib/Makefile
+                lib/backends/Makefile
                 man/Makefile
                 src/Makefile])