summaryrefslogtreecommitdiff
path: root/mcon/U/i_syssem.U
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2012-12-19 16:49:47 +0000
committerrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2012-12-19 16:49:47 +0000
commit135d1bc0902f67542fa53283d03fda2ba975bde8 (patch)
tree515454713ff80c295cd8c2fdb35c8d1d63d19102 /mcon/U/i_syssem.U
parent4fda2ed956f9be78bead49ee8b2a5ab59a61f813 (diff)
Added checks for <sys/ipc.h> and <sys/sem.h> inclusions.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@158 2592e710-e01b-42a5-8df0-11608a6cc53d
Diffstat (limited to 'mcon/U/i_syssem.U')
-rw-r--r--mcon/U/i_syssem.U28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcon/U/i_syssem.U b/mcon/U/i_syssem.U
new file mode 100644
index 0000000..b4218c7
--- /dev/null
+++ b/mcon/U/i_syssem.U
@@ -0,0 +1,28 @@
+?RCS: $Id$
+?RCS:
+?RCS: Copyright (c) 2012, Raphael Manfredi
+?RCS:
+?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: as specified in the README file that comes with the distribution.
+?RCS: You may reuse parts of this distribution only within the terms of
+?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: of the source tree for dist 4.0.
+?RCS:
+?MAKE:i_syssem: Inhdr
+?MAKE: -pick add $@ %<
+?S:i_syssem:
+?S: This variable conditionally defines the I_SYS_SEM symbol, and indicates
+?S: whether a C program should include <sys/sem.h> to be able to use SysV
+?S: semaphores.
+?S:.
+?C:I_SYS_SEM:
+?C: This symbol, if defined, indicates to the C program that it should
+?C: include <sys/sem.h> to use SysV semaphores.
+?C:.
+?H:#$i_syssem I_SYS_SEM /**/
+?H:.
+?LINT:set i_syssem
+: see if this is a sys/sem system
+set sys/sem.h i_syssem
+eval $inhdr
+