aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-usleep_range.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-usleep_range.m4')
-rw-r--r--config/kernel-usleep_range.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/config/kernel-usleep_range.m4 b/config/kernel-usleep_range.m4
index 5bf051ab4..06eb381a3 100644
--- a/config/kernel-usleep_range.m4
+++ b/config/kernel-usleep_range.m4
@@ -17,8 +17,7 @@ AC_DEFUN([ZFS_AC_KERNEL_USLEEP_RANGE], [
AC_MSG_CHECKING([whether usleep_range() is available])
ZFS_LINUX_TEST_RESULT([usleep_range], [
AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_USLEEP_RANGE, 1, [usleep_range is available])
],[
- AC_MSG_RESULT(no)
+ ZFS_LINUX_TEST_ERROR([usleep_range()])
])
])