aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 26e95be..174399d 100644
--- a/configure.in
+++ b/configure.in
@@ -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