Fix up configure problems in xfstests and xfsprogs.

This commit is contained in:
Nathan Scott
2004-07-09 04:41:10 +00:00
parent f01e7f872b
commit a801ba98b0
2 changed files with 103 additions and 132 deletions
+2 -2
View File
@@ -104,14 +104,14 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
fi
if test -z "$RPM"; then
AC_PATH_PROG(RPM, rpm,, /bin:/usr/freeware/bin)
AC_PATH_PROG(RPM, rpm,, /bin:/usr/bin:/usr/freeware/bin)
fi
rpm=$RPM
AC_SUBST(rpm)
dnl .. and what version is rpm
rpm_version=0
test -x $RPM && rpm_version=`$RPM --version \
test -x "$RPM" && rpm_version=`$RPM --version \
| awk '{print $NF}' | awk -F. '{V=1; print $V}'`
AC_SUBST(rpm_version)
dnl At some point in rpm 4.0, rpm can no longer build rpms, and