diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index 597713139..b6a1800be 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -234,12 +234,12 @@ AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [ VENDOR=sles ; elif test -f /etc/slackware-version ; then VENDOR=slackware ; + elif test -f /etc/arch-release ; then + VENDOR=arch ; elif test -f /etc/lsb-release ; then VENDOR=ubuntu ; elif test -f /etc/lunar.release ; then VENDOR=lunar ; - elif test -f /etc/arch-release ; then - VENDOR=arch ; else VENDOR= ; fi diff --git a/configure b/configure index e9e2ec1b6..d6f405bbb 100755 --- a/configure +++ b/configure @@ -11859,12 +11859,12 @@ $as_echo_n "checking linux distribution... " >&6; } VENDOR=sles ; elif test -f /etc/slackware-version ; then VENDOR=slackware ; + elif test -f /etc/arch-release ; then + VENDOR=arch ; elif test -f /etc/lsb-release ; then VENDOR=ubuntu ; elif test -f /etc/lunar.release ; then VENDOR=lunar ; - elif test -f /etc/arch-release ; then - VENDOR=arch ; else VENDOR= ; fi