From 0e57f0c510b7d7eb688695359048a1f0a585e26a Mon Sep 17 00:00:00 2001 From: rmanfredi Date: Thu, 24 Aug 2006 12:32:52 +0000 Subject: Moving project to sourceforge. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@1 2592e710-e01b-42a5-8df0-11608a6cc53d --- mcon/U/d_msgrcv.U | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mcon/U/d_msgrcv.U (limited to 'mcon/U/d_msgrcv.U') diff --git a/mcon/U/d_msgrcv.U b/mcon/U/d_msgrcv.U new file mode 100644 index 0000000..9f7c27e --- /dev/null +++ b/mcon/U/d_msgrcv.U @@ -0,0 +1,31 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 1991-1997, 2004-2006, 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: +?RCS: $Log: d_msgrcv.U,v $ +?RCS: Revision 3.0 1993/08/18 12:06:40 ram +?RCS: Baseline for dist 3.0 netwide release. +?RCS: +?MAKE:d_msgrcv: Inlibc +?MAKE: -pick add $@ %< +?S:d_msgrcv: +?S: This variable conditionally defines the HAS_MSGRCV symbol, which +?S: indicates to the C program that the msgrcv() routine is available. +?S:. +?C:HAS_MSGRCV: +?C: This symbol, if defined, indicates that the msgrcv() routine is +?C: available to extract a message from the message queue. +?C:. +?H:#$d_msgrcv HAS_MSGRCV /**/ +?H:. +?LINT:set d_msgrcv +: see if msgrcv exists +set msgrcv d_msgrcv +eval $inlibc + -- cgit v1.2.3 From 13158f86e3904284dce3dad36b64f07414459551 Mon Sep 17 00:00:00 2001 From: rmanfredi Date: Sat, 27 Nov 2010 11:55:39 +0000 Subject: Applied mega patch from Christian Biere to greatly improve feature detection and make a huge step towards better support for cross-compiling. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@34 2592e710-e01b-42a5-8df0-11608a6cc53d --- mcon/U/d_msgrcv.U | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'mcon/U/d_msgrcv.U') diff --git a/mcon/U/d_msgrcv.U b/mcon/U/d_msgrcv.U index 9f7c27e..5d5f134 100644 --- a/mcon/U/d_msgrcv.U +++ b/mcon/U/d_msgrcv.U @@ -12,7 +12,7 @@ ?RCS: Revision 3.0 1993/08/18 12:06:40 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: -?MAKE:d_msgrcv: Inlibc +?MAKE:d_msgrcv: Trylink cat ?MAKE: -pick add $@ %< ?S:d_msgrcv: ?S: This variable conditionally defines the HAS_MSGRCV symbol, which @@ -26,6 +26,21 @@ ?H:. ?LINT:set d_msgrcv : see if msgrcv exists -set msgrcv d_msgrcv -eval $inlibc +$cat >try.c < +int main(void) +{ + static ssize_t ret; + static int id, flags; + static size_t size; + static long type; + static char buf[16]; + flags |= IPC_CREAT; + flags |= IPC_EXCL; + ret |= msgrcv(id, &buf, size, type, flags); + return ret ? 0 : 1; +} +EOC +set d_msgrcv +eval $trylink -- cgit v1.2.3 From e1369f5a1a89361f23f54c61a9f3b4384db35c6d Mon Sep 17 00:00:00 2001 From: rmanfredi Date: Sat, 27 Nov 2010 20:54:48 +0000 Subject: Added the generic units from gtk-gnutella. Made Trylink verbose to tell them what is tested and what the outcome is. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@40 2592e710-e01b-42a5-8df0-11608a6cc53d --- mcon/U/d_msgrcv.U | 1 + 1 file changed, 1 insertion(+) (limited to 'mcon/U/d_msgrcv.U') diff --git a/mcon/U/d_msgrcv.U b/mcon/U/d_msgrcv.U index 5d5f134..a53cf23 100644 --- a/mcon/U/d_msgrcv.U +++ b/mcon/U/d_msgrcv.U @@ -41,6 +41,7 @@ int main(void) return ret ? 0 : 1; } EOC +cyn=msgrcv set d_msgrcv eval $trylink -- cgit v1.2.3 From a48d4a094464be38b11b832a31394b240e88ea83 Mon Sep 17 00:00:00 2001 From: rmanfredi Date: Wed, 8 May 2013 17:58:00 +0000 Subject: Fixed spelling: Licence -> License. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@167 2592e710-e01b-42a5-8df0-11608a6cc53d --- mcon/U/d_msgrcv.U | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mcon/U/d_msgrcv.U') diff --git a/mcon/U/d_msgrcv.U b/mcon/U/d_msgrcv.U index a53cf23..3bfe165 100644 --- a/mcon/U/d_msgrcv.U +++ b/mcon/U/d_msgrcv.U @@ -2,10 +2,10 @@ ?RCS: ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: -?RCS: You may redistribute only under the terms of the Artistic Licence, +?RCS: You may redistribute only under the terms of the Artistic License, ?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: that same Artistic License; a copy of which may be found at the root ?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: d_msgrcv.U,v $ -- cgit v1.2.3 From 77e4271ceb24212cfd025be9ce880bdeb5a14013 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Sun, 22 May 2016 17:07:59 +0200 Subject: Remove trailing whitespace in meta-lines in units (#3) --- mcon/U/d_msgrcv.U | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcon/U/d_msgrcv.U') diff --git a/mcon/U/d_msgrcv.U b/mcon/U/d_msgrcv.U index 3bfe165..f5195e6 100644 --- a/mcon/U/d_msgrcv.U +++ b/mcon/U/d_msgrcv.U @@ -1,7 +1,7 @@ ?RCS: $Id$ ?RCS: ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi -?RCS: +?RCS: ?RCS: You may redistribute only under the terms of the Artistic License, ?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 -- cgit v1.2.3