X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fzfs-build.m4;h=e048596de743e8c104c00dfd9214dc9eaf9e3e1f;hb=8b0cf399ff9e764a08faea654bd30043a861cb09;hp=d281b4dcf91a361438c0e4addf12ec796886e80d;hpb=712f8bd87b2d3799107e102652875996fa59647b;p=zfs.git diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index d281b4d..e048596 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -33,6 +33,10 @@ AC_DEFUN([ZFS_AC_DEBUG], [ AC_MSG_RESULT([$enable_debug]) ]) +AC_DEFUN([ZFS_AC_CONFIG_ALWAYS], [ + ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE +]) + AC_DEFUN([ZFS_AC_CONFIG], [ TARGET_ASM_DIR=asm-generic AC_SUBST(TARGET_ASM_DIR) @@ -47,6 +51,8 @@ AC_DEFUN([ZFS_AC_CONFIG], [ AC_MSG_RESULT([$ZFS_CONFIG]); AC_SUBST(ZFS_CONFIG) + ZFS_AC_CONFIG_ALWAYS + case "$ZFS_CONFIG" in kernel) ZFS_AC_CONFIG_KERNEL ;; user) ZFS_AC_CONFIG_USER ;; @@ -178,16 +184,16 @@ AC_DEFUN([ZFS_AC_DEFAULT_PACKAGE], [ VENDOR=redhat ; elif test -f /etc/fedora-release ; then VENDOR=fedora ; - elif test -f /etc/lsb-release ; then - VENDOR=ubuntu ; + elif test -f /etc/gentoo-release ; then + VENDOR=gentoo ; elif test -f /etc/debian_version ; then VENDOR=debian ; elif test -f /etc/SuSE-release ; then VENDOR=sles ; elif test -f /etc/slackware-version ; then VENDOR=slackware ; - elif test -f /etc/gentoo-release ; then - VENDOR=gentoo ; + elif test -f /etc/lsb-release ; then + VENDOR=ubuntu ; elif test -f /etc/lunar.release ; then VENDOR=lunar ; else