diff options
author | Prakash Surya <[email protected]> | 2012-01-12 17:24:05 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-01-13 09:03:11 -0800 |
commit | 58d956b085c31bde695d03dbf415e118cd350e0f (patch) | |
tree | b0b3ef95ddeb82eae3e5e7dd89d57bb131d25d84 /config/zfs-build.m4 | |
parent | e18be9a637088911d2b618788cd45982986e63cb (diff) |
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #517
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r-- | config/zfs-build.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index b6a1800be..aa8d3e5ee 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -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]) ]) |