Run ZFS_AC_PACMAN only if $VENDOR is "arch"

Unfortunately, Arch's package manager `pacman` shares it's name with a
popular arcade video game. Thus, in order to refrain from executing the
video game when we mean to execute the package manager, ZFS_AC_PACMAN is
now only run when $VENDOR is determined to be "arch".

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #517
This commit is contained in:
Prakash Surya
2012-01-12 17:24:05 -08:00
committed by Brian Behlendorf
parent e18be9a637
commit 58d956b085
2 changed files with 87 additions and 82 deletions
+3 -2
View File
@@ -294,9 +294,10 @@ dnl #
dnl # Default ZFS package configuration
dnl #
AC_DEFUN([ZFS_AC_PACKAGE], [
ZFS_AC_DEFAULT_PACKAGE
ZFS_AC_RPM
ZFS_AC_DPKG
ZFS_AC_ALIEN
ZFS_AC_PACMAN
ZFS_AC_DEFAULT_PACKAGE
AS_IF([test "$VENDOR" = "arch"], [ZFS_AC_PACMAN])
])