Move Arch Linux's VENDOR check above Ubuntu's
authorPrakash Surya <surya1@llnl.gov>
Sat, 17 Dec 2011 06:32:54 +0000 (22:32 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Dec 2011 20:05:10 +0000 (12:05 -0800)
commit8eaa020b46e80b09cc5f924b90809e219ce08e75
tree81bf94390a3a16f8e158cfb13872adb3530b61f3
parentafd7da0ce72c3b3554079644d73e90fe6d2bf955
Move Arch Linux's VENDOR check above Ubuntu's

If the lsb-release package is installed on an Arch Linux distribution,
the configure step will incorrectly detect the running distribution as
Ubuntu. This is a result of both distributions providing an
/etc/lsb-release file, and the Ubuntu VENDOR check being performed
first.

Since the Arch Linux test check's for a file more specific to the Arch
Linux distribution, moving Arch Linux's VENDOR check above Unbuntu's
check provides a quick and easy solution.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/zfs-build.m4
configure