From a80e89c5529e2cb5b38b0c6b046ef4d3585437e1 Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Tue, 22 Jun 2010 18:07:30 +0200 Subject: configure25: #i99063# heck if rpm(build) can actually build --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a3431fc0f0c2..e8854c685222 100644 --- a/configure.in +++ b/configure.in @@ -3331,9 +3331,11 @@ msi - Windows .msi done if test -z "$RPM" ; then AC_MSG_ERROR([not found]) - else + elif "$RPM" --usage 2>&1 | $EGREP -- -bb >/dev/null; then RPM_PATH=`which $RPM` - AC_MSG_RESULT([$RPM_PATH]) + AC_MSG_RESULT([$RPM_PATH]) + else + AC_MSG_ERROR([cannot build packages. Try installing rpmbuild.]) fi fi if echo "$PKGFORMAT" | $EGREP deb 2>&1 >/dev/null; then -- cgit