projects
/
matthijs
/
upstream
/
backupninja-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sys: make error message clearer when debconf-get-selections can not be found on the...
[matthijs/upstream/backupninja-vserver.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index b32c8f33289f33adf625f57b08c00fc833ab5fdf..43a65136c34e975ea18c869a0d1a87a3b26b5b25 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-3,7
+3,7
@@
# The maintainer mode is causing me grief with newest versions of autotools
#AM_MAINTAINER_MODE
# The maintainer mode is causing me grief with newest versions of autotools
#AM_MAINTAINER_MODE
-AC_INIT([backupninja],[0.9.
3
],[backupninja@lists.riseup.net])
+AC_INIT([backupninja],[0.9.
5
],[backupninja@lists.riseup.net])
AC_CONFIG_SRCDIR([src/backupninja.in])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/backupninja.in])
AM_INIT_AUTOMAKE
@@
-12,20
+12,35
@@
AM_INIT_AUTOMAKE
# BASH may already be set in the shell, if the admin then changes the
# the /bin/sh symlink to a non-bash shell, all hell will break lose.
unset BASH
# BASH may already be set in the shell, if the admin then changes the
# the /bin/sh symlink to a non-bash shell, all hell will break lose.
unset BASH
-AC_PATH_PROGS(
[BASH], [bash], [/bin/bash]
, [$PATH:/bin:/usr/bin:/usr/sbin])
-if test x$BASH = "x"; then
+AC_PATH_PROGS(
BASH, bash, "no"
, [$PATH:/bin:/usr/bin:/usr/sbin])
+if test x$BASH = "x
no
"; then
AC_MSG_ERROR([bash is required])
fi
AC_MSG_ERROR([bash is required])
fi
-AC_
CHECK_PROGS(SED, sed
)
-if test x$SED = "x"; then
+AC_
PATH_PROGS(SED, sed, "no"
)
+if test x$SED = "x
no
"; then
AC_MSG_ERROR([sed is required])
AC_MSG_ERROR([sed is required])
+else
+ export SED
fi
fi
-AC_
CHECK_PROGS(AWK, awk
)
-if test x$AWK = "x"; then
+AC_
PATH_PROGS(AWK, awk, "no"
)
+if test x$AWK = "x
no
"; then
AC_MSG_ERROR([awk is required])
AC_MSG_ERROR([awk is required])
+else
+ export AWK
fi
fi
+
+AC_PATH_PROGS(MD5SUM, md5sum, "no")
+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
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