]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - m4/package_types.m4
include: remove the filldir_t typedef
[thirdparty/xfsprogs-dev.git] / m4 / package_types.m4
1 #
2 # Check if we have umode_t
3 #
4 AH_TEMPLATE([HAVE_UMODE_T], [Whether you have umode_t])
5 AC_DEFUN([AC_TYPE_UMODE_T],
6 [ AC_MSG_CHECKING([for umode_t])
7 AC_COMPILE_IFELSE(
8 [ AC_LANG_PROGRAM([[
9 #include <asm/types.h>
10 ]], [[
11 umode_t umode;
12 ]])
13 ], AC_DEFINE(HAVE_UMODE_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no))
14 ])