dup.helper: do not propose to exclude /home/*/.gnupg twice anymore (Closes: #563044)
[matthijs/upstream/backupninja.git] / configure.in
index 26e95be3041089b0cf80a6ae044b109a6bbfcf98..174399ddc4a3454a34d7866c0b44f5d5da7277e3 100644 (file)
@@ -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