summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-04-18 19:39:36 +0000
committerChristoph Hellwig <hch@sgi.com>2005-04-18 19:39:36 +0000
commit6b4ccfda21a2058bf6c8f5a356248ff9bffe0ac9 (patch)
tree98f3b7a2601dd6c03cd7d03e118257227e7d52ff /aclocal.m4
parentfe26d4aa3af3eff4e778dafc80696d350cd34dc4 (diff)
downloadattr-6b4ccfda21a2058bf6c8f5a356248ff9bffe0ac9.tar.gz
check whether we actually have an rpm binary before lookin at its version
check whether we actually have an rpm binary before lookin at its version
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 97e44b7..8ef1705 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,6 +1,6 @@
-# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
# Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -170,7 +170,7 @@ AC_DEFUN([AC_PACKAGE_UTILITIES],
dnl .. and what version is rpm
rpm_version=0
- test -x "$RPM" && rpm_version=`$RPM --version \
+ test -n "$RPM" && 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