OSDN Git Service

Correct project name references in mingwrt source files.
[mingw/mingw-org-wsl.git] / mingwrt / tests / headers.at
index 206371f..2aabf79 100644 (file)
@@ -7,8 +7,8 @@
 #
 # $Id$
 #
-# Written by Keith Marshall <keithmarshall@users.sourceforge.net>
-# Copyright (C) 2016, MinGW.org Project
+# Written by Keith Marshall <keith@users.osdn.me>
+# Copyright (C) 2016, 2020, 2022, MinGW.OSDN Project
 #
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # dynamically, when running "make check"; there is no need to edit it.
 #
 m4_define([MINGWRT_AT_PACKAGE_HEADERS],[dnl
+alloca.h dnl
 assert.h dnl
 complex.h dnl
 conio.h dnl
 ctype.h dnl
+dir.h dnl
 direct.h dnl
 dirent.h dnl
-dir.h dnl
 dlfcn.h dnl
 dos.h dnl
 errno.h dnl
@@ -82,13 +83,14 @@ utime.h dnl
 values.h dnl
 wchar.h dnl
 wctype.h dnl
+sys/bsdtypes.h dnl
 sys/fcntl.h dnl
 sys/file.h dnl
 sys/locking.h dnl
 sys/param.h dnl
 sys/stat.h dnl
-sys/timeb.h dnl
 sys/time.h dnl
+sys/timeb.h dnl
 sys/types.h dnl
 sys/unistd.h dnl
 sys/utime.h dnl
@@ -114,6 +116,7 @@ m4_foreach_w([HEADER],MINGWRT_AT_PACKAGE_HEADERS,[dnl
 AT_SETUP([#include <]HEADER[>])AT_KEYWORDS([$1 $1-headers])
 AS_VAR_APPEND([CPPFLAGS],[" -Wall -Wextra -Wsystem-headers"])
 m4_if(HEADER,[unistd.h],AS_VAR_APPEND([CPPFLAGS],[" -Wno-deprecated-declarations"]))
+m4_if(HEADER,[sys/timeb.h],AS_VAR_APPEND([CPPFLAGS],[" -Wno-deprecated-declarations"]))
 m4_if(HEADER,[sys/stat.h],AS_VAR_APPEND([CPPFLAGS],[" -D_MINGW_S_IFBLK_KLUDGE"]))
 MINGW_AT_CHECK_COMPILE([dnl
 #define __IN_MINGWRT_TESTSUITE__ 1
@@ -135,7 +138,7 @@ m4_foreach([LANG],[C,C++],[MINGWRT_AT_CHECK_HEADERS_STANDALONE(LANG)])
 m4_define([MINGWRT_AT_CHECK_HEADERS_COMBINED],[MINGW_AT_LANG([$1])dnl
 AT_SETUP([#include all; language = $1])AT_KEYWORDS([$1 $1-headers])
 AS_VAR_APPEND([CPPFLAGS],[" -Wall -Wextra -Wsystem-headers"])
-m4_if([$1],[C],AS_VAR_APPEND([CPPFLAGS],[" -Wno-deprecated-declarations"]))
+AS_VAR_APPEND([CPPFLAGS],[" -Wno-deprecated-declarations"])
 MINGW_AT_CHECK_COMPILE([dnl
 #define _MINGW_S_IFBLK_KLUDGE 1
 #define __IN_MINGWRT_TESTSUITE__ 1