we're supposed to parse all that ourselves
[m6w6/ext-psi] / m4 / posix / stddef.m4
diff --git a/m4/posix/stddef.m4 b/m4/posix/stddef.m4
deleted file mode 100644 (file)
index 2c9abf2..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-PSI_CHECK_STDDEF() {
-    dnl Though, autoconf manual says "This macro is obsolescent, as current systems
-    dnl have conforming header files. New programs need not use this macro.", in fact
-    dnl AC_INCLUDES_DEFAULT still relies on STDC_HEADERS
-    AC_HEADER_STDC
-
-    AC_CHECK_HEADERS(stddef.h)
-
-    PSI_TYPE(ptrdiff_t, int)
-    PSI_CONST(PTRDIFF_MIN, int)
-    PSI_CONST(PTRDIFF_MAX, int)
-    PSI_TYPE(size_t, uint)
-    PSI_CONST(SIZE_MAX, int)
-    PSI_TYPE(wchar_t, int)
-    if PSI_SH_TEST_SIZEOF(wchar_t); then :; else
-       # some platforms fail to provide wchar_t in stddef.h
-       unset ac_cv_sizeof_wchar_t
-       unset ax_cv_decl_wchar_t_signed
-       AC_CHECK_HEADERS(wchar.h)
-       PSI_TYPE(wchar_t, int)
-    fi
-    PSI_CONST(WCHAR_MIN, int)
-    PSI_CONST(WCHAR_MAX, int)
-}