dist-svn Mailing List for dist (Page 6)
Brought to you by:
rmanfredi
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(17) |
Dec
(13) |
2011 |
Jan
(28) |
Feb
(3) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(9) |
Dec
(4) |
2012 |
Jan
(7) |
Feb
(20) |
Mar
(7) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(8) |
Dec
(3) |
2013 |
Jan
(4) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
(1) |
From: <rma...@us...> - 2011-01-15 09:29:21
|
Revision: 75 http://dist.svn.sourceforge.net/dist/?rev=75&view=rev Author: rmanfredi Date: 2011-01-15 09:29:15 +0000 (Sat, 15 Jan 2011) Log Message: ----------- Renamed filexp.U as filexp_path.U to avoid case collision with Filexp.U. Dependency cleanup in i_execinfo.U. Made d_backtrace.U depend on i_execinfo.U to conditionally include <execinfo.h>. Modified Paths: -------------- trunk/dist/MANIFEST trunk/dist/mcon/U/d_backtrace.U trunk/dist/mcon/U/i_execinfo.U Added Paths: ----------- trunk/dist/mcon/U/filexp_path.U Removed Paths: ------------- trunk/dist/mcon/U/filexp.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2011-01-13 20:04:13 UTC (rev 74) +++ trunk/dist/MANIFEST 2011-01-15 09:29:15 UTC (rev 75) @@ -438,7 +438,7 @@ mcon/U/errnolist.U See if we need our own .c to get sys_errnolist[] mcon/U/etc.U Where administrative executable should go mcon/U/fieldn.U Compute included filename position in cpp output -mcon/U/filexp.U Finds location of filexp made by Filexp.U +mcon/U/filexp_path.U Finds location of filexp made by Filexp.U mcon/U/floatsize.U What is the size of "float"? mcon/U/fpostype.U What is the type for file positions? mcon/U/fpu.U What kind of Sun fpu is in use? Modified: trunk/dist/mcon/U/d_backtrace.U =================================================================== --- trunk/dist/mcon/U/d_backtrace.U 2011-01-13 20:04:13 UTC (rev 74) +++ trunk/dist/mcon/U/d_backtrace.U 2011-01-15 09:29:15 UTC (rev 75) @@ -10,7 +10,7 @@ ?RCS: ?RCS: $Log: d_semget.U,v $ ?RCS: -?MAKE:d_backtrace: Trylink cat +?MAKE:d_backtrace: Trylink cat i_execinfo ?MAKE: -pick add $@ %< ?S:d_backtrace: ?S: This variable conditionally defines the HAS_BACKTRACE symbol, which @@ -27,7 +27,10 @@ ?LINT:set d_backtrace : see if backtrace exists $cat >try.c <<EOC +#$i_execinfo I_EXECINFO +#ifdef I_EXECINFO #include <execinfo.h> +#endif int main(void) { void *buf[2]; Deleted: trunk/dist/mcon/U/filexp.U =================================================================== --- trunk/dist/mcon/U/filexp.U 2011-01-13 20:04:13 UTC (rev 74) +++ trunk/dist/mcon/U/filexp.U 2011-01-15 09:29:15 UTC (rev 75) @@ -1,30 +0,0 @@ -?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: filexp.U,v $ -?RCS: Revision 3.0 1993/08/18 12:08:08 ram -?RCS: Baseline for dist 3.0 netwide release. -?RCS: -?MAKE:filexp: privlib -?MAKE: -pick add $@ %< -?S:filexp: -?S: This symbol contains the full pathname of the filexp script, in case we -?S: are saving the script for posterity. -?S:. -: must not allow self reference -case "$privlib" in - /*) - filexp=$privlib/filexp - ;; - *) - filexp=`pwd`/filexp - ;; -esac - Copied: trunk/dist/mcon/U/filexp_path.U (from rev 74, trunk/dist/mcon/U/filexp.U) =================================================================== --- trunk/dist/mcon/U/filexp_path.U (rev 0) +++ trunk/dist/mcon/U/filexp_path.U 2011-01-15 09:29:15 UTC (rev 75) @@ -0,0 +1,30 @@ +?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: filexp.U,v $ +?RCS: Revision 3.0 1993/08/18 12:08:08 ram +?RCS: Baseline for dist 3.0 netwide release. +?RCS: +?MAKE:filexp: privlib +?MAKE: -pick add $@ %< +?S:filexp: +?S: This symbol contains the full pathname of the filexp script, in case we +?S: are saving the script for posterity. +?S:. +: must not allow self reference +case "$privlib" in + /*) + filexp=$privlib/filexp + ;; + *) + filexp=`pwd`/filexp + ;; +esac + Modified: trunk/dist/mcon/U/i_execinfo.U =================================================================== --- trunk/dist/mcon/U/i_execinfo.U 2011-01-13 20:04:13 UTC (rev 74) +++ trunk/dist/mcon/U/i_execinfo.U 2011-01-15 09:29:15 UTC (rev 75) @@ -8,7 +8,7 @@ ?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_execinfo: Inhdr Trylink cat +?MAKE:i_execinfo: Inhdr ?MAKE: -pick add $@ %< ?S:i_execinfo: ?S: This variable conditionally defines the I_EXECINFO symbol, and indicates This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-13 20:04:22
|
Revision: 74 http://dist.svn.sourceforge.net/dist/?rev=74&view=rev Author: rmanfredi Date: 2011-01-13 20:04:13 +0000 (Thu, 13 Jan 2011) Log Message: ----------- Fixed C code to avoid compilation warning. Modified Paths: -------------- trunk/dist/mcon/U/Signal.U Modified: trunk/dist/mcon/U/Signal.U =================================================================== --- trunk/dist/mcon/U/Signal.U 2011-01-12 16:35:22 UTC (rev 73) +++ trunk/dist/mcon/U/Signal.U 2011-01-13 20:04:13 UTC (rev 74) @@ -160,7 +160,7 @@ } END { printf "#endif /* JUST_NSIG */\n"; - printf "exit(0);\n}\n"; + printf "return 0;\n}\n"; } ' >>signal.c $cat >signal.awk <<'EOP' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-12 16:35:29
|
Revision: 73 http://dist.svn.sourceforge.net/dist/?rev=73&view=rev Author: rmanfredi Date: 2011-01-12 16:35:22 +0000 (Wed, 12 Jan 2011) Log Message: ----------- Added i_execinfo.U. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/i_execinfo.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2011-01-10 00:02:05 UTC (rev 72) +++ trunk/dist/MANIFEST 2011-01-12 16:35:22 UTC (rev 73) @@ -453,6 +453,7 @@ mcon/U/i_dirent.U Shall we include <dirent.h> mcon/U/i_dld.U Shall we include <dld.h>? mcon/U/i_dlfcn.U Shall we include <dlfcn.h>? +mcon/U/i_execinfo.U Shall we include <execinfo.h>? mcon/U/i_fcntl.U Shall we include <fcntl.h>? mcon/U/i_float.U Shall we include <float.h>? mcon/U/i_gdbm.U Shall we include <gdbm.h>? Added: trunk/dist/mcon/U/i_execinfo.U =================================================================== --- trunk/dist/mcon/U/i_execinfo.U (rev 0) +++ trunk/dist/mcon/U/i_execinfo.U 2011-01-12 16:35:22 UTC (rev 73) @@ -0,0 +1,27 @@ +?RCS: $Id: i_execinfo.U 34 2010-11-27 11:55:39Z rmanfredi $ +?RCS: +?RCS: Copyright (c) 2011, 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_execinfo: Inhdr Trylink cat +?MAKE: -pick add $@ %< +?S:i_execinfo: +?S: This variable conditionally defines the I_EXECINFO symbol, and indicates +?S: whether a C program may include <execinfo.h>, for backtrace() support. +?S:. +?C:I_EXECINFO: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <execinfo.h> for backtrace() support. +?C:. +?H:#$i_execinfo I_EXECINFO /**/ +?H:. +?LINT:set i_execinfo +: see if this is an execinfo.h system +set execinfo.h i_execinfo +eval $inhdr + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-10 00:02:11
|
Revision: 72 http://dist.svn.sourceforge.net/dist/?rev=72&view=rev Author: rmanfredi Date: 2011-01-10 00:02:05 +0000 (Mon, 10 Jan 2011) Log Message: ----------- Avoid NULL. Modified Paths: -------------- trunk/dist/mcon/U/d_sigprocmask.U Modified: trunk/dist/mcon/U/d_sigprocmask.U =================================================================== --- trunk/dist/mcon/U/d_sigprocmask.U 2011-01-09 23:57:05 UTC (rev 71) +++ trunk/dist/mcon/U/d_sigprocmask.U 2011-01-10 00:02:05 UTC (rev 72) @@ -32,7 +32,7 @@ { static int ret; sigset_t oset; - ret |= sigprocmask(SIG_BLOCK, NULL, &oset); + ret |= sigprocmask(SIG_BLOCK, &oset, &oset); return ret ? 0 : 1; } EOC This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-09 23:57:11
|
Revision: 71 http://dist.svn.sourceforge.net/dist/?rev=71&view=rev Author: rmanfredi Date: 2011-01-09 23:57:05 +0000 (Sun, 09 Jan 2011) Log Message: ----------- Fixed C code: forgot to declare "ret". Modified Paths: -------------- trunk/dist/mcon/U/d_sigprocmask.U Modified: trunk/dist/mcon/U/d_sigprocmask.U =================================================================== --- trunk/dist/mcon/U/d_sigprocmask.U 2011-01-09 23:40:18 UTC (rev 70) +++ trunk/dist/mcon/U/d_sigprocmask.U 2011-01-09 23:57:05 UTC (rev 71) @@ -30,6 +30,7 @@ #include <signal.h> int main(void) { + static int ret; sigset_t oset; ret |= sigprocmask(SIG_BLOCK, NULL, &oset); return ret ? 0 : 1; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-09 23:40:24
|
Revision: 70 http://dist.svn.sourceforge.net/dist/?rev=70&view=rev Author: rmanfredi Date: 2011-01-09 23:40:18 +0000 (Sun, 09 Jan 2011) Log Message: ----------- Added d_sigprocmask.U. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_sigprocmask.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2011-01-09 13:57:07 UTC (rev 69) +++ trunk/dist/MANIFEST 2011-01-09 23:40:18 UTC (rev 70) @@ -365,6 +365,7 @@ mcon/U/d_sigblock.U Do we have sigblock()? mcon/U/d_sighold.U Do we have sighold()? mcon/U/d_siglist.U Do we have sys_siglist[]? +mcon/U/d_sigprocmask.U Do we have sigprocmask()? mcon/U/d_sigsetjmp.U Do we have sigsetjmp()? mcon/U/d_sigsetmk.U Do we have sigsetmask()? mcon/U/d_sigvec.U BSD reliable signals supported? Added: trunk/dist/mcon/U/d_sigprocmask.U =================================================================== --- trunk/dist/mcon/U/d_sigprocmask.U (rev 0) +++ trunk/dist/mcon/U/d_sigprocmask.U 2011-01-09 23:40:18 UTC (rev 70) @@ -0,0 +1,41 @@ +?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_sigprocmask.U,v $ +?RCS: Revision 3.0 1993/08/18 12:07:04 ram +?RCS: Baseline for dist 3.0 netwide release. +?RCS: +?MAKE:d_sigprocmask: Trylink cat +?MAKE: -pick add $@ %< +?S:d_sigprocmask: +?S: This variable conditionally defines the HAS_SIGPROCMASK symbol, which +?S: indicates to the C program that the sigprocmask() routine is available. +?S:. +?C:HAS_SIGPROCMASK: +?C: This symbol, if defined, indicates that the sigprocmask() routine is +?C: available to examine and change blocked signals. +?C:. +?H:#$d_sigprocmask HAS_SIGPROCMASK /**/ +?H:. +?LINT:set d_sigprocmask +: see if sigprocmask exists +$cat >try.c <<EOC +#include <signal.h> +int main(void) +{ + sigset_t oset; + ret |= sigprocmask(SIG_BLOCK, NULL, &oset); + return ret ? 0 : 1; +} +EOC +cyn=sigprocmask +set d_sigprocmask +eval $trylink + Property changes on: trunk/dist/mcon/U/d_sigprocmask.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-09 13:57:13
|
Revision: 69 http://dist.svn.sourceforge.net/dist/?rev=69&view=rev Author: rmanfredi Date: 2011-01-09 13:57:07 +0000 (Sun, 09 Jan 2011) Log Message: ----------- Added ARCHLIB variable. Modified Paths: -------------- trunk/dist/jmake/files/Jmake.tmpl Modified: trunk/dist/jmake/files/Jmake.tmpl =================================================================== --- trunk/dist/jmake/files/Jmake.tmpl 2011-01-09 12:46:28 UTC (rev 68) +++ trunk/dist/jmake/files/Jmake.tmpl 2011-01-09 13:57:07 UTC (rev 69) @@ -81,6 +81,7 @@ ;# Parameters set by Configure -- edit config.sh if changes are needed ?AR:AR = ar rc /* FIXME */ +?ARCHLIB:ARCHLIB = $installarchlib ?BINDIR:BINDIR = $installbin ?CC:CC = $cc ?CHMOD:CHMOD = $chmod This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-09 12:46:34
|
Revision: 68 http://dist.svn.sourceforge.net/dist/?rev=68&view=rev Author: rmanfredi Date: 2011-01-09 12:46:28 +0000 (Sun, 09 Jan 2011) Log Message: ----------- Allow $(NM) to be set. Modified Paths: -------------- trunk/dist/jmake/files/Jmake.tmpl Modified: trunk/dist/jmake/files/Jmake.tmpl =================================================================== --- trunk/dist/jmake/files/Jmake.tmpl 2011-01-05 22:53:05 UTC (rev 67) +++ trunk/dist/jmake/files/Jmake.tmpl 2011-01-09 12:46:28 UTC (rev 68) @@ -104,6 +104,7 @@ ?MAKE:$make_set_make ?MKDEP:MKDEP = $mkdep \$(DPFLAGS) \$(JCPPFLAGS) -- ?MV:MV = $mv +?NM:NM = $nm ?PRIVLIB:PRIVLIB = $installprivlib ?RANLIB:RANLIB = $ranlib ?RM:RM = $rm -f This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-05 22:53:11
|
Revision: 67 http://dist.svn.sourceforge.net/dist/?rev=67&view=rev Author: rmanfredi Date: 2011-01-05 22:53:05 +0000 (Wed, 05 Jan 2011) Log Message: ----------- Define AF_LOCAL if not already done. Modified Paths: -------------- trunk/dist/mcon/U/d_sockaddr_un.U Modified: trunk/dist/mcon/U/d_sockaddr_un.U =================================================================== --- trunk/dist/mcon/U/d_sockaddr_un.U 2011-01-03 10:48:33 UTC (rev 66) +++ trunk/dist/mcon/U/d_sockaddr_un.U 2011-01-05 22:53:05 UTC (rev 67) @@ -45,6 +45,9 @@ #ifdef I_WINSOCK2 #include <Winsock2.h> #endif +#if !defined(AF_LOCAL) && defined(AF_UNIX) +#define AF_LOCAL AF_UNIX +#endif int main(void) { static struct sockaddr_un addr; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-03 10:48:40
|
Revision: 66 http://dist.svn.sourceforge.net/dist/?rev=66&view=rev Author: rmanfredi Date: 2011-01-03 10:48:33 +0000 (Mon, 03 Jan 2011) Log Message: ----------- Added check for struct sockaddr_un. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_sockaddr_un.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2011-01-01 22:01:00 UTC (rev 65) +++ trunk/dist/MANIFEST 2011-01-03 10:48:33 UTC (rev 66) @@ -370,6 +370,7 @@ mcon/U/d_sigvec.U BSD reliable signals supported? mcon/U/d_sjis2jis.U Do we have sjis2jis()? mcon/U/d_sockaddr_in_sin_len.U Is there a sin_len within struct sockaddr_in? +mcon/U/d_sockaddr_un.U Is struct sockaddr_un available? mcon/U/d_socker_get.U Has socker_get() to listen to privileged ports? mcon/U/d_socket.U BSD socket interface supported? mcon/U/d_speedopt.U Optimize speed vs memory? Added: trunk/dist/mcon/U/d_sockaddr_un.U =================================================================== --- trunk/dist/mcon/U/d_sockaddr_un.U (rev 0) +++ trunk/dist/mcon/U/d_sockaddr_un.U 2011-01-03 10:48:33 UTC (rev 66) @@ -0,0 +1,58 @@ +?RCS: $Id: d_sockaddr_in_sin_len.U 57 2010-12-11 23:44:52Z rmanfredi $ +?RCS: +?RCS: Copyright (c) 2011, 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:d_sockaddr_un: Trylink cat i_arpainet i_syssock i_winsock2 i_niin i_sysun +?MAKE: -pick add $@ %< +?S:d_sockaddr_un: +?S: This variable conditionally defines the HAS_SOCKADDR_UN symbol, +?S: indicates to the C program that struct sockaddr_un is available to +?S: create file sockets. +?S:. +?C:HAS_SOCKADDR_UN: +?C: This symbol is defined if struct sockaddr_un exists, allowing the +?C: creation of file sockets. +?C:. +?H:#$d_sockaddr_un HAS_SOCKADDR_UN +?H:. +?LINT: set d_sockaddr_un +: does struct sockaddr_un exists? +$cat >try.c <<EOC +#$i_syssock I_SYS_SOCKET +#$i_sysun I_SYS_UN +#$i_niin I_NETINET_IN +#$i_winsock2 I_WINSOCK2 +#$i_arpainet I_ARPA_INET +#include <sys/types.h> +#ifdef I_SYS_SOCKET +#include <sys/socket.h> +#endif +#ifdef I_SYS_UN +#include <sys/un.h> +#endif +#ifdef I_NETINET_IN +#include <netinet/in.h> +#endif +#ifdef I_ARPA_INET +#include <arpa/inet.h> +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif +int main(void) +{ + static struct sockaddr_un addr; + addr.sun_family = AF_LOCAL; + return 0; +} +EOC +cyn="whether 'struct sockaddr_un' is available" +set d_sockaddr_un +eval $trylink + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-01 22:01:07
|
Revision: 65 http://dist.svn.sourceforge.net/dist/?rev=65&view=rev Author: rmanfredi Date: 2011-01-01 22:01:00 +0000 (Sat, 01 Jan 2011) Log Message: ----------- Added check for backtrace(). Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_backtrace.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2011-01-01 21:57:17 UTC (rev 64) +++ trunk/dist/MANIFEST 2011-01-01 22:01:00 UTC (rev 65) @@ -165,6 +165,7 @@ mcon/U/d_alarm.U Do we have alarm()? mcon/U/d_arc4random.U Do we have arc4random()? mcon/U/d_attribut.U Checks wether your cc groks __attribute__ +mcon/U/d_backtrace.U Do we have backtrace()? mcon/U/d_bcmp.U Do we have bcmp() or memcmp()? mcon/U/d_bcopy.U Do we have bcopy() or memcpy()? mcon/U/d_bindtxtcode.U Do we have bind_textdomain_codeset()? Added: trunk/dist/mcon/U/d_backtrace.U =================================================================== --- trunk/dist/mcon/U/d_backtrace.U (rev 0) +++ trunk/dist/mcon/U/d_backtrace.U 2011-01-01 22:01:00 UTC (rev 65) @@ -0,0 +1,41 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 2011, 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_semget.U,v $ +?RCS: +?MAKE:d_backtrace: Trylink cat +?MAKE: -pick add $@ %< +?S:d_backtrace: +?S: This variable conditionally defines the HAS_BACKTRACE symbol, which +?S: indicates to the C program that the backtrace() routine is available +?S: to get a stack trace. +?S:. +?C:HAS_BACKTRACE: +?C: This symbol, if defined, indicates that the backtrace() routine is +?C: available to get a stack trace. The <execinfo.h> header must be +?C: included to use this routine. +?C:. +?H:#$d_backtrace HAS_BACKTRACE /**/ +?H:. +?LINT:set d_backtrace +: see if backtrace exists +$cat >try.c <<EOC +#include <execinfo.h> +int main(void) +{ + void *buf[2]; + int ret = backtrace(buf, 2); + return ret ? 0 : 1; +} +EOC +cyn=backtrace +set d_backtrace +eval $trylink + Property changes on: trunk/dist/mcon/U/d_backtrace.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2011-01-01 21:57:23
|
Revision: 64 http://dist.svn.sourceforge.net/dist/?rev=64&view=rev Author: rmanfredi Date: 2011-01-01 21:57:17 +0000 (Sat, 01 Jan 2011) Log Message: ----------- Added AllTargetProgram() for programs to make sure we take care of any ".exe". Modified Paths: -------------- trunk/dist/jmake/files/Jmake.rules Modified: trunk/dist/jmake/files/Jmake.rules =================================================================== --- trunk/dist/jmake/files/Jmake.rules 2010-12-23 02:06:16 UTC (rev 63) +++ trunk/dist/jmake/files/Jmake.rules 2011-01-01 21:57:17 UTC (rev 64) @@ -78,6 +78,18 @@ $(RM) depends /* + * AllTargetProgram: + * Generate rules to build necessary things during make all. + * This target is specific to executable. Use AllTarget() for + * other type of files. + */ +#define AllTargetProgram(program) @!\ +all:: program @!\ + @!\ +local_realclean:: @@\ + $(RM) program^^$(_EXE) + +/* * RemoveTargetProgram: * This is used in some other macros in order to remove the target * before starting its building (saves disk space). There should be @@ -85,7 +97,7 @@ * used *inside* building rules. */ #define RemoveTargetProgram(program) \ - $(RM) program @@\ + $(RM) program^^$(_EXE) @@\ if test -f program^^^$(_EXE); then \ @@\ $(MV) program^^^$(_EXE) program^^~^^^$(_EXE); fi @@ -99,7 +111,7 @@ ++OBJECTS objects @!\ ++SOURCES sources @!\ NormalObjectRule() @!\ -AllTarget(program) @!\ +AllTargetProgram(program) @!\ @!\ program: objects @@\ RemoveTargetProgram($@) @@\ @@ -136,7 +148,7 @@ ++OBJECTS $(OBJS) @!\ ++SOURCES $(SRCS) @!\ NormalObjectRule() @!\ -AllTarget(program) @!\ +AllTargetProgram(program) @!\ @!\ program: $(OBJS) @@\ RemoveTargetProgram($@) @@\ @@ -160,7 +172,7 @@ ++OBJECTS $(OBJS1) @!\ ++SOURCES $(SRCS1) @!\ NormalObjectRule() @!\ -AllTarget(program) @!\ +AllTargetProgram(program) @!\ @!\ program: $(OBJS1) @@\ RemoveTargetProgram($@) @@\ @@ -184,7 +196,7 @@ ++OBJECTS $(OBJS2) @!\ ++SOURCES $(SRCS2) @!\ NormalObjectRule() @!\ -AllTarget(program) @!\ +AllTargetProgram(program) @!\ @!\ program: $(OBJS2) @@\ RemoveTargetProgram($@) @@\ @@ -205,7 +217,7 @@ ++OBJECTS $(OBJS3) @!\ ++SOURCES $(SRCS3) @!\ NormalObjectRule() @!\ -AllTarget(program) @!\ +AllTargetProgram(program) @!\ @!\ program: $(OBJS3) @@\ RemoveTargetProgram($@) @@\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-23 02:06:22
|
Revision: 63 http://dist.svn.sourceforge.net/dist/?rev=63&view=rev Author: cbiere Date: 2010-12-23 02:06:16 +0000 (Thu, 23 Dec 2010) Log Message: ----------- Removed dysfunctional unit for WSAPoll() detection. Modified Paths: -------------- trunk/dist/MANIFEST Removed Paths: ------------- trunk/dist/mcon/U/d_WSAPoll.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2010-12-13 23:53:33 UTC (rev 62) +++ trunk/dist/MANIFEST 2010-12-23 02:06:16 UTC (rev 63) @@ -161,7 +161,6 @@ mcon/U/d_NeWS.U Old NeWS stuff mcon/U/d_PORTAR.U Do we know about portable archives? mcon/U/d_SHM_MAC.U SHMLBA macro stuff -mcon/U/d_WSAPoll.U Do we have WSAPoll()? mcon/U/d_access.U Do we have access()? mcon/U/d_alarm.U Do we have alarm()? mcon/U/d_arc4random.U Do we have arc4random()? Deleted: trunk/dist/mcon/U/d_WSAPoll.U =================================================================== --- trunk/dist/mcon/U/d_WSAPoll.U 2010-12-13 23:53:33 UTC (rev 62) +++ trunk/dist/mcon/U/d_WSAPoll.U 2010-12-23 02:06:16 UTC (rev 63) @@ -1,49 +0,0 @@ -?RCS: $Id: d_poll.U 40 2010-11-27 20:54:48Z rmanfredi $ -?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: -?MAKE:d_WSAPoll: Trylink cat -?MAKE: -pick add $@ %< -?S:d_WSAPoll: -?S: This variable conditionally defines the HAS_WSAPOLL symbol, which -?S: indicates to the C program that the WSAPoll() routine is available -?S: to poll active file descriptors. -?S:. -?C:HAS_WSAPOLL : -?C: This symbol, if defined, indicates that the WSAPoll() routine is -?C: available to poll active file descriptors. -?C:. -?H:#$d_WSAPoll HAS_WSAPOLL /**/ -?H:. -?LINT:set d_WSAPoll -: see if WSAPoll exists -$cat >try.c <<EOC -#include <sys/types.h> -#include <Winsock2.h> -int main(void) -{ - static int ret, timeout; - static unsigned n; - static struct pollfd pfd; - pfd.fd |= 1; - pfd.revents |= 1; - pfd.events |= POLLIN; - pfd.events |= POLLOUT; - pfd.events |= POLLPRI; - pfd.events |= POLLERR; - pfd.events |= POLLHUP; - pfd.events |= POLLNVAL; - ret |= WSAPoll(&pfd, n, timeout); - return ret ? 0 : 1; -} -EOC -cyn=WSAPoll -set d_WSAPoll -eval $trylink - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2010-12-14 01:04:53
|
Revision: 62 http://dist.svn.sourceforge.net/dist/?rev=62&view=rev Author: rmanfredi Date: 2010-12-13 23:53:33 +0000 (Mon, 13 Dec 2010) Log Message: ----------- Added d_recvmsg.U. Modified Paths: -------------- trunk/dist/MANIFEST Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2010-12-12 12:17:42 UTC (rev 61) +++ trunk/dist/MANIFEST 2010-12-13 23:53:33 UTC (rev 62) @@ -320,6 +320,7 @@ mcon/U/d_rdchk.U Is rdchk() there to check for input? mcon/U/d_readdir.U Do we have readdir()? mcon/U/d_readlink.U Do we have readlink()? +mcon/U/d_recvmsg.U Do we have recvmsg()? mcon/U/d_regcmp.U Do we have regcmp()? mcon/U/d_regparm.U Can we use __attribute__((__regparm__(n)))? mcon/U/d_rename.U Do we have rename()? This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-12 12:17:48
|
Revision: 61 http://dist.svn.sourceforge.net/dist/?rev=61&view=rev Author: cbiere Date: 2010-12-12 12:17:42 +0000 (Sun, 12 Dec 2010) Log Message: ----------- Added dist unit for detecting recvmsg(). Added Paths: ----------- trunk/dist/mcon/U/d_recvmsg.U Added: trunk/dist/mcon/U/d_recvmsg.U =================================================================== --- trunk/dist/mcon/U/d_recvmsg.U (rev 0) +++ trunk/dist/mcon/U/d_recvmsg.U 2010-12-12 12:17:42 UTC (rev 61) @@ -0,0 +1,70 @@ +?RCS: $Id: d_msg_flags.U 59 2010-12-12 10:14:03Z rmanfredi $ +?RCS: +?RCS: Copyright (c) 2006, Christian Biere +?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:d_recvmsg: Trylink cat i_systypes i_sysselct i_syssock \ + i_winsock2 i_mswsock d_windows +?MAKE: -pick add $@ %< +?S:d_recvmsg: +?S: This variable conditionally defines the HAS_RECVMSG symbol, +?S: which indicates to the C program that the recvmsg() function is +?S: available. +?S:. +?C:HAS_RECVMSG: +?C: This symbol, if defined, indicates that the recvmsg() function +?C: is available. +?C:. +?H:#$d_recvmsg HAS_RECVMSG /**/ +?H:. +?LINT:set d_recvmsg +: check for recvmsg function +$cat >try.c <<EOC +#$i_systypes I_SYS_TYPES +#$i_sysselct I_SYS_SELECT +#$i_syssock I_SYS_SOCKET +#$i_winsock2 I_WINSOCK2 +#$i_mswsock I_MSWSOCK +#$d_windows WINDOWS_SYSTEM +#ifdef I_SYS_TYPES +#include <sys/types.h> +#endif +#ifdef I_SYS_SOCKET +#include <sys/socket.h> +#endif +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif +#ifdef I_MSWSOCK +#include <Mswsock.h> +#endif +int main(void) +{ + static struct msghdr msg; + int ret, fd, flags; + + fd = 1; + flags = 1; + msg.msg_name = (void *) 0; + msg.msg_namelen |= 1; + msg.msg_iov = (void *) 0; + msg.msg_iovlen |= 1; + /* msg.msg_flags is intentionally excluded, see other unit */ + msg.msg_control = (void *) 0; + msg.msg_controllen |= 1; + ret = recvmsg(fd, &msg, flags); + return ret ? 0 : 1; +} +EOC +cyn='recvmsg' +set d_recvmsg +eval $trylink + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-12 12:16:43
|
Revision: 60 http://dist.svn.sourceforge.net/dist/?rev=60&view=rev Author: cbiere Date: 2010-12-12 12:16:37 +0000 (Sun, 12 Dec 2010) Log Message: ----------- Fixed bug preventing including sys/socket.h inclusion and thus detection. Modified Paths: -------------- trunk/dist/mcon/U/d_msg_flags.U Modified: trunk/dist/mcon/U/d_msg_flags.U =================================================================== --- trunk/dist/mcon/U/d_msg_flags.U 2010-12-12 10:14:03 UTC (rev 59) +++ trunk/dist/mcon/U/d_msg_flags.U 2010-12-12 12:16:37 UTC (rev 60) @@ -8,7 +8,7 @@ ?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:d_msghdr_msg_flags: Trylink cat i_systypes i_sysselct \ +?MAKE:d_msghdr_msg_flags: Trylink cat i_systypes i_sysselct i_syssock \ i_winsock2 i_mswsock d_windows ?MAKE: -pick add $@ %< ?S:d_msghdr_msg_flags: @@ -27,6 +27,7 @@ $cat >try.c <<EOC #$i_systypes I_SYS_TYPES #$i_sysselct I_SYS_SELECT +#$i_syssock I_SYS_SOCKET #$i_winsock2 I_WINSOCK2 #$i_mswsock I_MSWSOCK #$d_windows WINDOWS_SYSTEM This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2010-12-12 10:14:10
|
Revision: 59 http://dist.svn.sourceforge.net/dist/?rev=59&view=rev Author: rmanfredi Date: 2010-12-12 10:14:03 +0000 (Sun, 12 Dec 2010) Log Message: ----------- On Windows, define WINVER to 0x0501 before including <Ws2tcpip.h>. This makes getaddrinfo() and IPv6 visible. Modified Paths: -------------- trunk/dist/mcon/U/d_getaddrinfo.U trunk/dist/mcon/U/d_iptos.U trunk/dist/mcon/U/d_ipv6.U trunk/dist/mcon/U/d_msg_flags.U Modified: trunk/dist/mcon/U/d_getaddrinfo.U =================================================================== --- trunk/dist/mcon/U/d_getaddrinfo.U 2010-12-12 10:10:44 UTC (rev 58) +++ trunk/dist/mcon/U/d_getaddrinfo.U 2010-12-12 10:14:03 UTC (rev 59) @@ -9,7 +9,7 @@ ?RCS: of the source tree for dist 4.0. ?RCS: ?MAKE:d_getaddrinfo: Trylink cat i_arpainet i_netdb i_syssock \ - i_winsock2 i_ws2tcpip i_niin + i_winsock2 i_ws2tcpip i_niin d_windows ?MAKE: -pick add $@ %< ?S:d_getaddrinfo: ?S: This variable conditionally defines the HAS_GETADDRINFO symbol, which @@ -29,6 +29,7 @@ #$i_niin I_NETINET_IN #$i_arpainet I_ARPA_INET #$i_netdb I_NETDB +#$d_windows WINDOWS_SYSTEM #include <sys/types.h> #ifdef I_SYS_SOCKET #include <sys/socket.h> @@ -42,6 +43,9 @@ #ifdef I_NETDB #include <netdb.h> #endif +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #ifdef I_WINSOCK2 #include <Winsock2.h> #endif Modified: trunk/dist/mcon/U/d_iptos.U =================================================================== --- trunk/dist/mcon/U/d_iptos.U 2010-12-12 10:10:44 UTC (rev 58) +++ trunk/dist/mcon/U/d_iptos.U 2010-12-12 10:14:03 UTC (rev 59) @@ -8,7 +8,7 @@ ?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:d_iptos: cat rm contains cppstdin cppflags cppminus \ +?MAKE:d_iptos: cat rm contains cppstdin cppflags cppminus d_windows \ i_niin i_sysin i_niip i_syssock i_winsock2 i_ws2tcpip test Setvar ?MAKE: -pick add $@ %< ?S:d_iptos: @@ -46,9 +46,13 @@ $cat >iptos <<EOM #$i_syssock I_SYS_SOCKET #$i_winsock2 I_WINSOCK2 +#$d_windows WINDOWS_SYSTEM #ifdef I_SYS_SOCKET #include <sys/socket.h> #endif +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #ifdef I_WINSOCK2 #include <Winsock2.h> #endif @@ -59,7 +63,7 @@ EOM $cppstdin $cppflags $cppminus <iptos >iptos.h 2>/dev/null val="$undef" -if $contains 'YES' iptos.h >/dev/null 2>&1; then +if $contains YES iptos.h >/dev/null 2>&1; then val="$define" echo "You have IP TOS support in <$inh>." >&4 elif $test "x$i_niip" = "x$define"; then @@ -75,13 +79,15 @@ #endif EOM $cppstdin $cppflags $cppminus <iptos >iptos.h 2>/dev/null - if $contains 'YES' iptos.h >/dev/null 2>&1; then + if $contains YES iptos.h >/dev/null 2>&1; then val="$define" echo "You have IP TOS support in <netinet/ip.h>." >&4 - else - echo "Sorry, you seem to be lacking IP TOS support." >&4 fi fi +case "$val" in +"$define") ;; +*) echo "Sorry, you seem to be lacking IP TOS support." >&4;; +esac set d_iptos eval $setvar $rm -f iptos iptos.h Modified: trunk/dist/mcon/U/d_ipv6.U =================================================================== --- trunk/dist/mcon/U/d_ipv6.U 2010-12-12 10:10:44 UTC (rev 58) +++ trunk/dist/mcon/U/d_ipv6.U 2010-12-12 10:14:03 UTC (rev 59) @@ -8,7 +8,8 @@ ?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:d_ipv6: Trylink cat i_arpainet i_netdb i_syssock i_niin i_winsock2 +?MAKE:d_ipv6: Trylink cat i_arpainet i_netdb i_syssock i_niin \ + i_winsock2 i_ws2tcpip ?MAKE: -pick add $@ %< ?S:d_ipv6: ?S: This variable conditionally defines HAS_IPV6. @@ -28,6 +29,7 @@ $cat >try.c <<EOC #$i_syssock I_SYS_SOCKET #$i_winsock2 I_WINSOCK2 +#$i_ws2tcpip I_WS2TCPIP #$i_niin I_NETINET_IN #$i_arpainet I_ARPA_INET #$i_netdb I_NETDB @@ -44,6 +46,12 @@ #ifdef I_NETDB #include <netdb.h> #endif +#ifdef I_WINSOCK2 +#include "Winsock2.h" +#endif +#ifdef I_WS2TCPIP +#include "Ws2tcpip.h" +#endif #define STATIC_ASSERT(x) \ do { switch (0) { case ((x) ? 1 : 0): case 0: break; } } while(0) Modified: trunk/dist/mcon/U/d_msg_flags.U =================================================================== --- trunk/dist/mcon/U/d_msg_flags.U 2010-12-12 10:10:44 UTC (rev 58) +++ trunk/dist/mcon/U/d_msg_flags.U 2010-12-12 10:14:03 UTC (rev 59) @@ -9,7 +9,7 @@ ?RCS: of the source tree for dist 4.0. ?RCS: ?MAKE:d_msghdr_msg_flags: Trylink cat i_systypes i_sysselct \ - i_winsock2 i_mswsock + i_winsock2 i_mswsock d_windows ?MAKE: -pick add $@ %< ?S:d_msghdr_msg_flags: ?S: This variable conditionally defines the HAS_MSGHDR_MSG_FLAGS symbol, @@ -29,12 +29,16 @@ #$i_sysselct I_SYS_SELECT #$i_winsock2 I_WINSOCK2 #$i_mswsock I_MSWSOCK +#$d_windows WINDOWS_SYSTEM #ifdef I_SYS_TYPES #include <sys/types.h> #endif #ifdef I_SYS_SOCKET #include <sys/socket.h> #endif +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #ifdef I_WINSOCK2 #include <Winsock2.h> #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2010-12-12 10:10:52
|
Revision: 58 http://dist.svn.sourceforge.net/dist/?rev=58&view=rev Author: rmanfredi Date: 2010-12-12 10:10:44 +0000 (Sun, 12 Dec 2010) Log Message: ----------- Suppress spurious compiler warnings, with gcc at least. Modified Paths: -------------- trunk/dist/mcon/U/voidflags.U Modified: trunk/dist/mcon/U/voidflags.U =================================================================== --- trunk/dist/mcon/U/voidflags.U 2010-12-11 23:44:52 UTC (rev 57) +++ trunk/dist/mcon/U/voidflags.U 2010-12-12 10:10:44 UTC (rev 58) @@ -78,6 +78,7 @@ case "$voidflags" in '') $cat >try.c <<'EOCP' +extern int doit(); #if TRY & 1 void sub() { #else @@ -85,21 +86,34 @@ #endif extern void moo(); /* function returning void */ void (*goo)(); /* ptr to func returning void */ +#if TRY & 2 + static void (*foo[10])(); +#endif #if TRY & 8 - void *hue; /* generic ptr */ + void *hue; /* generic ptr */ + char buf[] = "buf"; + int *iptr; #endif + #if TRY & 2 - void (*foo[10])(); + if (doit()) { + foo[0] = moo; + (*foo[0])(); + } #endif - #if TRY & 4 - if(goo == moo) { - exit(0); - } + if (doit()) + goo = moo; + if (goo == moo) + doit(); #endif - exit(0); +#if TRY & 8 + hue = buf; + if (doit()) + iptr = hue; +#endif + doit(); } -int main() { sub(); } EOCP ?X: This unit used to use cc -S in those tests to try to speed up things, but ?X: unfortunately, AIX 3.2 does not support this option. @@ -153,9 +167,7 @@ esac ?X: Only prompt user if support does not match the level we want case "$voidflags" in -"$defvoidused") - echo "Good. I already know it supports void to the level $package wants." - ;; +"$defvoidused") ;; *) dflt="$voidflags"; test -f flags && $cat flags This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2010-12-11 23:44:58
|
Revision: 57 http://dist.svn.sourceforge.net/dist/?rev=57&view=rev Author: rmanfredi Date: 2010-12-11 23:44:52 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Try to improve tests for socket-related functions on Windows. Modified Paths: -------------- trunk/dist/MANIFEST trunk/dist/mcon/U/d_fd_set.U trunk/dist/mcon/U/d_getaddrinfo.U trunk/dist/mcon/U/d_iptos.U trunk/dist/mcon/U/d_ipv6.U trunk/dist/mcon/U/d_msg_flags.U trunk/dist/mcon/U/d_select.U trunk/dist/mcon/U/d_sockaddr_in_sin_len.U trunk/dist/mcon/U/d_socket.U trunk/dist/mcon/U/selecttype.U Added Paths: ----------- trunk/dist/mcon/U/i_mswsock.U trunk/dist/mcon/U/i_ws2tcpip.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/MANIFEST 2010-12-11 23:44:52 UTC (rev 57) @@ -161,6 +161,7 @@ mcon/U/d_NeWS.U Old NeWS stuff mcon/U/d_PORTAR.U Do we know about portable archives? mcon/U/d_SHM_MAC.U SHMLBA macro stuff +mcon/U/d_WSAPoll.U Do we have WSAPoll()? mcon/U/d_access.U Do we have access()? mcon/U/d_alarm.U Do we have alarm()? mcon/U/d_arc4random.U Do we have arc4random()? @@ -170,7 +171,7 @@ mcon/U/d_bindtxtcode.U Do we have bind_textdomain_codeset()? mcon/U/d_brokstat.U Check whether stat() macros are broken mcon/U/d_bsdjmp.U Do we have BSD _setjmp() and _longjmp()? -mcon/U/d_built_popcount.U Is __builtin_popcount() available? +mcon/U/d_built_popcount.U Is __builtin_popcount() available? mcon/U/d_byacc.U Is byacc available? mcon/U/d_bzero.U Do we have bzero() or memset()? mcon/U/d_casti32.U Can the compiler cast large flots to 32-bit ints? @@ -465,6 +466,7 @@ mcon/U/i_malloc.U Shall we include <malloc.h>? mcon/U/i_math.U Shall we include <math.h>? mcon/U/i_memory.U Shall we include <memory.h>? +mcon/U/i_mswsock.U Shall we include <Mswsock.h>? mcon/U/i_ndbm.U Shall we include <ndbm.h>? mcon/U/i_netdb.U Shall we include <netdb.h>? mcon/U/i_neterrno.U Shall we include <net/errno.h>? @@ -510,6 +512,8 @@ mcon/U/i_varhdr.U Choose between <varargs.h> and <stdarg.h> mcon/U/i_vfork.U Include <vfork.h>? mcon/U/i_whoami.U Include <whoami.h>? +mcon/U/i_winsock2.U Shall we include <Winsock2.h>? +mcon/U/i_ws2tcpip.U Shall we include <Ws2tcpip.h>? mcon/U/i_zlib.U Shall we include <zlib.h>? mcon/U/inc.U Where to put public include files? mcon/U/install.U Look for a BSD-compatible install Modified: trunk/dist/mcon/U/d_fd_set.U =================================================================== --- trunk/dist/mcon/U/d_fd_set.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_fd_set.U 2010-12-11 23:44:52 UTC (rev 57) @@ -22,7 +22,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?MAKE:d_fd_set d_fd_macros d_fds_bits: cat +cc +ccflags rm Oldconfig \ - d_socket i_systime i_sysselct + d_socket i_systime i_sysselct i_syssock ?MAKE: -pick add $@ %< ?S:d_fd_set: ?S: This variable contains the eventual value of the HAS_FD_SET symbol, @@ -72,10 +72,13 @@ #$i_systime I_SYS_TIME #$i_sysselct I_SYS_SELECT #$d_socket HAS_SOCKET +#$i_syssock I_SYS_SOCKET #include <sys/types.h> #ifdef HAS_SOCKET +#ifdef I_SYS_SOCKET #include <sys/socket.h> /* Might include <sys/bsdtypes.h> */ #endif +#endif #ifdef I_SYS_TIME #include <sys/time.h> #endif Modified: trunk/dist/mcon/U/d_getaddrinfo.U =================================================================== --- trunk/dist/mcon/U/d_getaddrinfo.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_getaddrinfo.U 2010-12-11 23:44:52 UTC (rev 57) @@ -8,7 +8,8 @@ ?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:d_getaddrinfo: Trylink cat i_arpainet i_netdb +?MAKE:d_getaddrinfo: Trylink cat i_arpainet i_netdb i_syssock \ + i_winsock2 i_ws2tcpip i_niin ?MAKE: -pick add $@ %< ?S:d_getaddrinfo: ?S: This variable conditionally defines the HAS_GETADDRINFO symbol, which @@ -22,17 +23,31 @@ ?LINT: set d_getaddrinfo : can we use getaddrinfo? $cat >try.c <<EOC +#$i_syssock I_SYS_SOCKET +#$i_winsock2 I_WINSOCK2 +#$i_ws2tcpip I_WS2TCPIP +#$i_niin I_NETINET_IN +#$i_arpainet I_ARPA_INET +#$i_netdb I_NETDB #include <sys/types.h> +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_NETINET_IN #include <netinet/in.h> -#$i_arpainet I_ARPA_INET +#endif #ifdef I_ARPA_INET #include <arpa/inet.h> #endif -#$i_netdb I_NETDB #ifdef I_NETDB #include <netdb.h> #endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif +#ifdef I_WS2TCPIP +#include <Ws2tcpip.h> +#endif int main(void) { struct addrinfo hints, *res; @@ -58,6 +73,6 @@ } EOC cyn=getaddrinfo -set d_getaddrinfo +set d_getaddrinfo '-lWs2_32' eval $trylink Modified: trunk/dist/mcon/U/d_iptos.U =================================================================== --- trunk/dist/mcon/U/d_iptos.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_iptos.U 2010-12-11 23:44:52 UTC (rev 57) @@ -9,7 +9,7 @@ ?RCS: of the source tree for dist 4.0. ?RCS: ?MAKE:d_iptos: cat rm contains cppstdin cppflags cppminus \ - i_niin i_sysin i_niip test Setvar + i_niin i_sysin i_niip i_syssock i_winsock2 i_ws2tcpip test Setvar ?MAKE: -pick add $@ %< ?S:d_iptos: ?S: This variable conditionally defines the USE_IP_TOS symbol, which @@ -35,11 +35,23 @@ *) case "$i_sysin" in "$define") inh=sys/in.h;; + *) + case "$i_ws2tcpip" in + "$define") inh=Ws2tcpip.h;; + esac + ;; esac ;; esac $cat >iptos <<EOM +#$i_syssock I_SYS_SOCKET +#$i_winsock2 I_WINSOCK2 +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif #include <$inh> #if defined(IP_TOS) && defined(IPTOS_LOWDELAY) && defined(IPTOS_THROUGHPUT) YES @@ -52,12 +64,15 @@ echo "You have IP TOS support in <$inh>." >&4 elif $test "x$i_niip" = "x$define"; then $cat >iptos <<EOM - #include <sys/socket.h> - #include <$inh> - #include <netinet/ip.h> - #if defined(IP_TOS) && defined(IPTOS_LOWDELAY) && defined(IPTOS_THROUGHPUT) - YES - #endif +#$i_syssock I_SYS_SOCKET +#ifdef I_SYS_SOCKET +#include <sys/socket.h> +#endif +#include <$inh> +#include <netinet/ip.h> +#if defined(IP_TOS) && defined(IPTOS_LOWDELAY) && defined(IPTOS_THROUGHPUT) +YES +#endif EOM $cppstdin $cppflags $cppminus <iptos >iptos.h 2>/dev/null if $contains 'YES' iptos.h >/dev/null 2>&1; then Modified: trunk/dist/mcon/U/d_ipv6.U =================================================================== --- trunk/dist/mcon/U/d_ipv6.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_ipv6.U 2010-12-11 23:44:52 UTC (rev 57) @@ -8,7 +8,7 @@ ?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:d_ipv6: Trylink cat i_arpainet i_netdb +?MAKE:d_ipv6: Trylink cat i_arpainet i_netdb i_syssock i_niin i_winsock2 ?MAKE: -pick add $@ %< ?S:d_ipv6: ?S: This variable conditionally defines HAS_IPV6. @@ -26,14 +26,21 @@ ;; *) $cat >try.c <<EOC +#$i_syssock I_SYS_SOCKET +#$i_winsock2 I_WINSOCK2 +#$i_niin I_NETINET_IN +#$i_arpainet I_ARPA_INET +#$i_netdb I_NETDB #include <sys/types.h> +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_NETINET_IN #include <netinet/in.h> -#$i_arpainet I_ARPA_INET +#endif #ifdef I_ARPA_INET #include <arpa/inet.h> #endif -#$i_netdb I_NETDB #ifdef I_NETDB #include <netdb.h> #endif Modified: trunk/dist/mcon/U/d_msg_flags.U =================================================================== --- trunk/dist/mcon/U/d_msg_flags.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_msg_flags.U 2010-12-11 23:44:52 UTC (rev 57) @@ -8,7 +8,8 @@ ?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:d_msghdr_msg_flags: Trylink cat +?MAKE:d_msghdr_msg_flags: Trylink cat i_systypes i_sysselct \ + i_winsock2 i_mswsock ?MAKE: -pick add $@ %< ?S:d_msghdr_msg_flags: ?S: This variable conditionally defines the HAS_MSGHDR_MSG_FLAGS symbol, @@ -24,8 +25,22 @@ ?LINT:set d_msghdr_msg_flags : check for msg_flags in struct msghdr $cat >try.c <<EOC +#$i_systypes I_SYS_TYPES +#$i_sysselct I_SYS_SELECT +#$i_winsock2 I_WINSOCK2 +#$i_mswsock I_MSWSOCK +#ifdef I_SYS_TYPES #include <sys/types.h> +#endif +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif +#ifdef I_MSWSOCK +#include <Mswsock.h> +#endif int main(void) { struct msghdr msg; Modified: trunk/dist/mcon/U/d_select.U =================================================================== --- trunk/dist/mcon/U/d_select.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_select.U 2010-12-11 23:44:52 UTC (rev 57) @@ -56,6 +56,6 @@ } EOC cyn=select -set d_select '-lWs_32' +set d_select '-lWs2_32' eval $trylink Modified: trunk/dist/mcon/U/d_sockaddr_in_sin_len.U =================================================================== --- trunk/dist/mcon/U/d_sockaddr_in_sin_len.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_sockaddr_in_sin_len.U 2010-12-11 23:44:52 UTC (rev 57) @@ -8,7 +8,7 @@ ?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:d_sockaddr_in_sin_len: Trylink cat i_arpainet +?MAKE:d_sockaddr_in_sin_len: Trylink cat i_arpainet i_syssock i_winsock2 i_niin ?MAKE: -pick add $@ %< ?S:d_sockaddr_in_sin_len: ?S: This variable conditionally defines the HAS_SOCKADDR_IN_SIN_LEN symbol, @@ -23,13 +23,23 @@ ?LINT: set d_sockaddr_in_sin_len : does struct sockaddr_in has sin_len $cat >try.c <<EOC +#$i_syssock I_SYS_SOCKET +#$i_niin I_NETINET_IN +#$i_winsock2 I_WINSOCK2 +#$i_arpainet I_ARPA_INET #include <sys/types.h> +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_NETINET_IN #include <netinet/in.h> -#$i_arpainet I_ARPA_INET +#endif #ifdef I_ARPA_INET #include <arpa/inet.h> #endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif int main(void) { static struct sockaddr_in addr; Modified: trunk/dist/mcon/U/d_socket.U =================================================================== --- trunk/dist/mcon/U/d_socket.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/d_socket.U 2010-12-11 23:44:52 UTC (rev 57) @@ -19,7 +19,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?MAKE:d_socket d_oldsock d_sockpair socketlib sockethdr: contains libc \ - echo n c nm_opt nm_extract Trylink Csym _a cat + echo n c nm_opt nm_extract Trylink Csym _a cat i_syssock i_winsock2 ?MAKE: -pick add $@ %< ?S:d_socket: ?S: This variable conditionally defines HAS_SOCKET, which indicates @@ -118,7 +118,14 @@ @if HAS_SOCKETPAIR || d_sockpair : see if socketpair exists $cat >try.c <<EOC +#$i_syssock I_SYS_SOCKET +#$i_winsock2 I_WINSOCK2 +#ifdef I_SYS_SOCKET #include <sys/socket.h> +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif int main(void) { static int ret, domain, type, protocol, sv[2]; Added: trunk/dist/mcon/U/i_mswsock.U =================================================================== --- trunk/dist/mcon/U/i_mswsock.U (rev 0) +++ trunk/dist/mcon/U/i_mswsock.U 2010-12-11 23:44:52 UTC (rev 57) @@ -0,0 +1,27 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 1991-1997, 2004-2006, 2010 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_mswsock: Inhdr +?MAKE: -pick add $@ %< +?S:i_mswsock: +?S: This variable conditionally defines the I_MSWSOCK symbol, and indicates +?S: whether a C program may include <Mswsock.h>. +?S:. +?C:I_MSWSOCK: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <Mswsock.h>. +?C:. +?H:#$i_mswsock I_MSWSOCK /**/ +?H:. +?LINT:set i_mswsock +: see if this is a mswsock.h system +set mswsock.h i_mswsock +eval $inhdr + Property changes on: trunk/dist/mcon/U/i_mswsock.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/dist/mcon/U/i_ws2tcpip.U =================================================================== --- trunk/dist/mcon/U/i_ws2tcpip.U (rev 0) +++ trunk/dist/mcon/U/i_ws2tcpip.U 2010-12-11 23:44:52 UTC (rev 57) @@ -0,0 +1,27 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 1991-1997, 2004-2006, 2010, 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_ws2tcpip: Inhdr +?MAKE: -pick add $@ %< +?S:i_ws2tcpip: +?S: This variable conditionally defines the I_WS2TCPIP symbol, and indicates +?S: whether a C program may include <Ws2tcpip.h>. +?S:. +?C:I_WS2TCPIP: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <Ws2tcpip.h>. +?C:. +?H:#$i_ws2tcpip I_WS2TCPIP /**/ +?H:. +?LINT:set i_ws2tcpip +: see if this is a ws2tcpip.h system +set ws2tcpip.h i_ws2tcpip +eval $inhdr + Property changes on: trunk/dist/mcon/U/i_ws2tcpip.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: trunk/dist/mcon/U/selecttype.U =================================================================== --- trunk/dist/mcon/U/selecttype.U 2010-12-11 18:32:35 UTC (rev 56) +++ trunk/dist/mcon/U/selecttype.U 2010-12-11 23:44:52 UTC (rev 57) @@ -21,7 +21,7 @@ ?RCS: patch30: created by ADO ?RCS: ?MAKE:selecttype: cat +cc +ccflags rm Oldconfig Myread \ - d_fd_set d_select d_socket i_systime i_sysselct i_winsock2 + d_fd_set d_select d_socket i_systime i_sysselct i_winsock2 i_syssock ?MAKE: -pick add $@ %< ?S:selecttype: ?S: This variable holds the type used for the 2nd, 3rd, and 4th @@ -67,12 +67,15 @@ $cat >try.c <<EOCP #$i_systime I_SYS_TIME #$i_sysselct I_SYS_SELECT +#$i_syssock I_SYS_SOCKET #$i_winsock2 I_WINSOCK2 #$d_socket HAS_SOCKET #include <sys/types.h> #ifdef HAS_SOCKET +#ifdef I_SYS_SOCKET #include <sys/socket.h> /* Might include <sys/bsdtypes.h> */ #endif +#endif #ifdef I_SYS_TIME #include <sys/time.h> #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-11 18:32:42
|
Revision: 56 http://dist.svn.sourceforge.net/dist/?rev=56&view=rev Author: cbiere Date: 2010-12-11 18:32:35 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Fixed linker flag. Modified Paths: -------------- trunk/dist/mcon/U/d_select.U Modified: trunk/dist/mcon/U/d_select.U =================================================================== --- trunk/dist/mcon/U/d_select.U 2010-12-11 16:41:39 UTC (rev 55) +++ trunk/dist/mcon/U/d_select.U 2010-12-11 18:32:35 UTC (rev 56) @@ -56,6 +56,6 @@ } EOC cyn=select -set d_select '-dWs_32' +set d_select '-lWs_32' eval $trylink This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-11 16:41:46
|
Revision: 55 http://dist.svn.sourceforge.net/dist/?rev=55&view=rev Author: cbiere Date: 2010-12-11 16:41:39 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Must link against Ws2_32.dll on Windows for select(). Modified Paths: -------------- trunk/dist/mcon/U/d_select.U Modified: trunk/dist/mcon/U/d_select.U =================================================================== --- trunk/dist/mcon/U/d_select.U 2010-12-11 15:46:39 UTC (rev 54) +++ trunk/dist/mcon/U/d_select.U 2010-12-11 16:41:39 UTC (rev 55) @@ -56,6 +56,6 @@ } EOC cyn=select -set d_select +set d_select '-dWs_32' eval $trylink This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-11 15:46:46
|
Revision: 54 http://dist.svn.sourceforge.net/dist/?rev=54&view=rev Author: cbiere Date: 2010-12-11 15:46:39 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Check for presence of sys/select.h before including it. Check for presence of Winsock2.h when using select(). Modified Paths: -------------- trunk/dist/mcon/U/d_select.U trunk/dist/mcon/U/selecttype.U Modified: trunk/dist/mcon/U/d_select.U =================================================================== --- trunk/dist/mcon/U/d_select.U 2010-12-11 15:15:34 UTC (rev 53) +++ trunk/dist/mcon/U/d_select.U 2010-12-11 15:46:39 UTC (rev 54) @@ -12,7 +12,7 @@ ?RCS: Revision 3.0 1993/08/18 12:07:02 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: -?MAKE:d_select: Trylink cat i_unistd i_systypes +?MAKE:d_select: Trylink cat i_unistd i_systypes i_sysselct i_winsock2 ?MAKE: -pick add $@ %< ?S:d_select: ?S: This variable conditionally defines HAS_SELECT if select() is @@ -31,6 +31,8 @@ $cat >try.c <<EOC #$i_unistd I_UNISTD #$i_systypes I_SYS_TYPES +#$i_sysselct I_SYS_SELECT +#$i_winsock2 I_WINSOCK2 ?X: This is still required on some systems #ifdef I_SYS_TYPES #include <sys/types.h> @@ -38,8 +40,12 @@ #ifdef I_UNISTD #include <unistd.h> #endif -?X: This is the new standard +#ifdef I_SYS_SELECT #include <sys/select.h> +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif int main(void) { static int ret, n; Modified: trunk/dist/mcon/U/selecttype.U =================================================================== --- trunk/dist/mcon/U/selecttype.U 2010-12-11 15:15:34 UTC (rev 53) +++ trunk/dist/mcon/U/selecttype.U 2010-12-11 15:46:39 UTC (rev 54) @@ -21,7 +21,7 @@ ?RCS: patch30: created by ADO ?RCS: ?MAKE:selecttype: cat +cc +ccflags rm Oldconfig Myread \ - d_fd_set d_select d_socket i_systime i_sysselct + d_fd_set d_select d_socket i_systime i_sysselct i_winsock2 ?MAKE: -pick add $@ %< ?S:selecttype: ?S: This variable holds the type used for the 2nd, 3rd, and 4th @@ -67,6 +67,7 @@ $cat >try.c <<EOCP #$i_systime I_SYS_TIME #$i_sysselct I_SYS_SELECT +#$i_winsock2 I_WINSOCK2 #$d_socket HAS_SOCKET #include <sys/types.h> #ifdef HAS_SOCKET @@ -78,6 +79,9 @@ #ifdef I_SYS_SELECT #include <sys/select.h> #endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif int main() { int width; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-11 15:15:41
|
Revision: 53 http://dist.svn.sourceforge.net/dist/?rev=53&view=rev Author: cbiere Date: 2010-12-11 15:15:34 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Added dist unit to detect presence of Winsock2.h header file. Added Paths: ----------- trunk/dist/mcon/U/i_winsock2.U Added: trunk/dist/mcon/U/i_winsock2.U =================================================================== --- trunk/dist/mcon/U/i_winsock2.U (rev 0) +++ trunk/dist/mcon/U/i_winsock2.U 2010-12-11 15:15:34 UTC (rev 53) @@ -0,0 +1,27 @@ +?RCS: $Id: i_limits.U 1 2006-08-24 12:32:52Z rmanfredi $ +?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: +?MAKE:i_winsock2: Inhdr +?MAKE: -pick add $@ %< +?S:i_winsock2: +?S: This variable conditionally defines the I_WINSOCK2 symbol, and indicates +?S: whether a C program may include <Winsock2.h>. +?S:. +?C:I_WINSOCK2: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <Winsock2.h>. +?C:. +?H:#$i_winsock2 I_WINSOCK2 /**/ +?H:. +?LINT:set i_winsock2 +: see if this is a winsock2.h system +set winsock2.h i_winsock2 +eval $inhdr + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cb...@us...> - 2010-12-11 14:58:10
|
Revision: 52 http://dist.svn.sourceforge.net/dist/?rev=52&view=rev Author: cbiere Date: 2010-12-11 14:58:04 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Added dist unit for detecting WSAPoll(). Added Paths: ----------- trunk/dist/mcon/U/d_WSAPoll.U Added: trunk/dist/mcon/U/d_WSAPoll.U =================================================================== --- trunk/dist/mcon/U/d_WSAPoll.U (rev 0) +++ trunk/dist/mcon/U/d_WSAPoll.U 2010-12-11 14:58:04 UTC (rev 52) @@ -0,0 +1,49 @@ +?RCS: $Id: d_poll.U 40 2010-11-27 20:54:48Z rmanfredi $ +?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: +?MAKE:d_WSAPoll: Trylink cat +?MAKE: -pick add $@ %< +?S:d_WSAPoll: +?S: This variable conditionally defines the HAS_WSAPOLL symbol, which +?S: indicates to the C program that the WSAPoll() routine is available +?S: to poll active file descriptors. +?S:. +?C:HAS_WSAPOLL : +?C: This symbol, if defined, indicates that the WSAPoll() routine is +?C: available to poll active file descriptors. +?C:. +?H:#$d_WSAPoll HAS_WSAPOLL /**/ +?H:. +?LINT:set d_WSAPoll +: see if WSAPoll exists +$cat >try.c <<EOC +#include <sys/types.h> +#include <Winsock2.h> +int main(void) +{ + static int ret, timeout; + static unsigned n; + static struct pollfd pfd; + pfd.fd |= 1; + pfd.revents |= 1; + pfd.events |= POLLIN; + pfd.events |= POLLOUT; + pfd.events |= POLLPRI; + pfd.events |= POLLERR; + pfd.events |= POLLHUP; + pfd.events |= POLLNVAL; + ret |= WSAPoll(&pfd, n, timeout); + return ret ? 0 : 1; +} +EOC +cyn=WSAPoll +set d_WSAPoll +eval $trylink + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2010-12-11 14:50:28
|
Revision: 51 http://dist.svn.sourceforge.net/dist/?rev=51&view=rev Author: rmanfredi Date: 2010-12-11 14:50:22 +0000 (Sat, 11 Dec 2010) Log Message: ----------- Forgot to commit that unit when gtk-gnutella units were moved over. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_gettext.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2010-11-28 23:08:52 UTC (rev 50) +++ trunk/dist/MANIFEST 2010-12-11 14:50:22 UTC (rev 51) @@ -236,6 +236,7 @@ mcon/U/d_getprior.U Do we have getpriority()? mcon/U/d_getpwent.U How is passwd info gotten? mcon/U/d_gettext.U Checks whether gettext() is available +mcon/U/d_gettext.U Do we have gettext()? mcon/U/d_getuid.U Do we have getuid()? mcon/U/d_getwd.U Do we have getwd()? mcon/U/d_gnugettext.U Do we have GNU gettext()? Added: trunk/dist/mcon/U/d_gettext.U =================================================================== --- trunk/dist/mcon/U/d_gettext.U (rev 0) +++ trunk/dist/mcon/U/d_gettext.U 2010-12-11 14:50:22 UTC (rev 51) @@ -0,0 +1,37 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 2006, Christian Biere +?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:d_gettext: Trylink cat +?MAKE: -pick add $@ %< +?S:d_gettext: +?S: This variable conditionally defines the HAS_GETTEXT symbol, which +?S: indicates to the C program that the gettext() routine is available. +?S:. +?C:HAS_GETTEXT: +?C: This symbol, if defined, indicates that the gettext routine is +?C: available. +?C:. +?H:#$d_gettext HAS_GETTEXT /**/ +?H:. +?LINT:set d_gettext +: see if gettext exists +$cat >try.c <<EOC +#include <libintl.h> +int main(void) +{ + static char ret; + ret |= *gettext("msgid"); + return ret ? 0 : 1; +} +EOC +cyn=gettext +set d_gettext -lintl +eval $trylink + Property changes on: trunk/dist/mcon/U/d_gettext.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |