]>
Commit | Line | Data |
---|---|---|
7bdf406d TG |
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 | ]) |