blob: 6e817a310f7997d4bce696c6ad520c4d72c902b4 [file] [log] [blame]
#
# Check if we have umode_t
#
AH_TEMPLATE([HAVE_UMODE_T], [Whether you have umode_t])
AC_DEFUN([AC_TYPE_UMODE_T],
[ AC_MSG_CHECKING([for umode_t])
AC_COMPILE_IFELSE(
[ AC_LANG_PROGRAM([[
#include <asm/types.h>
]], [[
umode_t umode;
]])
], AC_DEFINE(HAVE_UMODE_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no))
])