@@ -250,7 +250,6 @@ fi
AC_CHECK_SIZEOF([long])
AC_CHECK_SIZEOF([char *])
-AC_TYPE_UMODE_T
AC_MANUAL_FORMAT
AC_HAVE_LIBURCU_ATOMIC64
@@ -136,9 +136,6 @@ GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall
# _LGPL_SOURCE is for liburcu to work correctly with GPL/LGPL programs
PCFLAGS = -D_LGPL_SOURCE -D_GNU_SOURCE $(GCCFLAGS)
-ifeq ($(HAVE_UMODE_T),yes)
-PCFLAGS += -DHAVE_UMODE_T
-endif
DEPENDFLAGS = -D__linux__
ifeq ($(HAVE_FLS),yes)
LCFLAGS+= -DHAVE_FLS
@@ -30,10 +30,7 @@
#undef SIZEOF_CHAR_P
#define BITS_PER_LONG (SIZEOF_LONG * CHAR_BIT)
-/* Check whether to define umode_t ourselves. */
-#ifndef HAVE_UMODE_T
typedef unsigned short umode_t;
-#endif
/* Define if you want gettext (I18N) support */
#undef ENABLE_GETTEXT
@@ -22,7 +22,6 @@ LSRCFILES = \
package_pthread.m4 \
package_sanitizer.m4 \
package_services.m4 \
- package_types.m4 \
package_icu.m4 \
package_urcu.m4 \
package_utilies.m4 \
deleted file mode 100644
@@ -1,14 +0,0 @@
-#
-# 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))
- ])