From ca12e5617b1c7a600324e2c6437444627720c62c Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 24 Jun 2008 18:02:23 +0000 Subject: made mktemp a requirement for building backupninja, added autotools variables to substitute the proper binary location and removed bad fall-back when mktemp was not there --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0d603ff..43a6513 100644 --- a/configure.in +++ b/configure.in @@ -36,6 +36,11 @@ if test x$MD5SUM = "xno"; then AC_MSG_ERROR([md5sum is required]) fi +AC_PATH_PROGS(MKTEMP, mktemp, "no") +if test x$MKTEMPT = "xno"; then + AC_MSG_ERROR([mktemp is required]) +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