]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - zfs/config/dkms.m4
cfa115296deab19f2d2d0fafa2ade23de6846fd9
[mirror_ubuntu-zesty-kernel.git] / zfs / config / dkms.m4
1 dnl #
2 dnl # Prevent manual building in DKMS source tree.
3 dnl #
4 AC_DEFUN([ZFS_AC_DKMS_INHIBIT], [
5 AC_MSG_CHECKING([for dkms.conf file])
6 AS_IF([test -e dkms.conf], [
7 AC_MSG_ERROR([
8 *** ZFS should not be manually built in the DKMS source tree.
9 *** Remove all ZFS packages before compiling the ZoL sources.
10 *** Running "make install" breaks ZFS packages.])
11 ], [
12 AC_MSG_RESULT([not found])
13 ])
14 ])