2 dnl # Prevent manual building in DKMS source tree.
4 AC_DEFUN([ZFS_AC_DKMS_INHIBIT], [
5 AC_MSG_CHECKING([for dkms.conf file])
6 AS_IF([test -e dkms.conf], [
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.])
12 AC_MSG_RESULT([not found])