zfs/config/user.m4

21 lines
582 B
Plaintext
Raw Normal View History

2008-12-05 17:46:11 +00:00
dnl #
dnl # Default ZFS user configuration
dnl #
2008-12-15 18:41:15 +00:00
AC_DEFUN([ZFS_AC_CONFIG_USER], [
2008-12-15 18:50:06 +00:00
ZFS_AC_CONFIG_USER_IOCTL
2008-12-15 18:41:15 +00:00
])
2008-12-15 18:34:33 +00:00
AC_DEFINE(ZFS_AC_CONFIG_USER_IOCTL], [
AC_EGREP_HEADER(ioctl, unistd.h,
[AC_DEFINE([HAVE_IOCTL_IN_UNISTD_H], 1,
[Define to 1 if ioctl() is defined in <unistd.h> header])])
AC_EGREP_HEADER(ioctl, sys/ioctl.h,
[AC_DEFINE([HAVE_IOCTL_IN_SYS_IOCTL_H], 1,
[Define to 1 if ioctl() is defined in <sys/ioctl.h> header])])
AC_EGREP_HEADER(ioctl, stropts.h,
[AC_DEFINE([HAVE_IOCTL_IN_STROPTS_H], 1,
[Define to 1 if ioctl() is defined in <stropts.h> header])])
])