2 dnl # 2.6.33 API change,
3 dnl # Removed .ctl_name from struct ctl_table.
5 AC_DEFUN([ZFS_AC_KERNEL_CTL_NAME], [
6 AC_MSG_CHECKING([whether struct ctl_table has ctl_name])
7 ZFS_LINUX_TRY_COMPILE([
8 #include <linux/sysctl.h>
10 struct ctl_table ctl __attribute__ ((unused));
14 AC_DEFINE(HAVE_CTL_NAME, 1, [struct ctl_table has ctl_name])