summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIncludeFile.c.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CheckIncludeFile.c.in')
-rw-r--r--Modules/CheckIncludeFile.c.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/CheckIncludeFile.c.in b/Modules/CheckIncludeFile.c.in
new file mode 100644
index 0000000..5f0f466
--- /dev/null
+++ b/Modules/CheckIncludeFile.c.in
@@ -0,0 +1,14 @@
+#ifdef CHECK_INCLUDE_FILE
+
+#include <${CHECK_INCLUDE_FILE_VAR}>
+
+int main()
+{
+ return 0;
+}
+
+#else /* CHECK_INCLUDE_FILE */
+
+# error "CHECK_INCLUDE_FILE has to specify the include file"
+
+#endif /* CHECK_INCLUDE_FILE */