From 4996d8deb7fcf366f5c012ae919b1245db3d7b6a Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 25 Dec 2009 04:09:29 +0100 Subject: autotools: added the stat command to the automagically replaced ones ... hoping it will help supporting *BSD some day. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') 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 -- cgit v1.2.3