dist-svn Mailing List for dist (Page 2)
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...> - 2014-04-07 07:14:49
|
Revision: 175 http://sourceforge.net/p/dist/code/175 Author: rmanfredi Date: 2014-04-07 07:14:41 +0000 (Mon, 07 Apr 2014) Log Message: ----------- Fixed computation of i_rpcsvcdbm when there is no dbm available. Thanks to Philipp Rumpf for reporting this and hinting at the proper fix. Modified Paths: -------------- trunk/dist/mcon/U/i_dbm.U Modified: trunk/dist/mcon/U/i_dbm.U =================================================================== --- trunk/dist/mcon/U/i_dbm.U 2014-04-05 08:19:48 UTC (rev 174) +++ trunk/dist/mcon/U/i_dbm.U 2014-04-07 07:14:41 UTC (rev 175) @@ -71,6 +71,8 @@ eval $setvar ;; *) + echo " " + echo "Hmm... trying to include <rpcsvc/dbm.h> to get dbmclose()..." >&4 $cat >try.c <<EOC #include <rpcsvc/dbm.h> int main(void) @@ -83,7 +85,7 @@ set d_dbmclose eval $trylink - val="$define" + val="$d_dbmclose" set i_rpcsvcdbm eval $setvar This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2014-04-05 08:19:53
|
Revision: 174 http://sourceforge.net/p/dist/code/174 Author: rmanfredi Date: 2014-04-05 08:19:48 +0000 (Sat, 05 Apr 2014) Log Message: ----------- Added LinkSourceFileAlias() and added depend/realclean to LinkSourceFile(). Modified Paths: -------------- trunk/dist/jmake/Makefile.SH trunk/dist/jmake/files/Jmake.rules Modified: trunk/dist/jmake/Makefile.SH =================================================================== --- trunk/dist/jmake/Makefile.SH 2014-04-05 08:10:18 UTC (rev 173) +++ trunk/dist/jmake/Makefile.SH 2014-04-05 08:19:48 UTC (rev 174) @@ -64,7 +64,7 @@ ######################################################################## # Start of Jmakefile -# $X-Id: Jmakefile 48 2010-11-28 23:05:09Z rmanfredi $ +# $X-Id: Jmakefile 173 2014-04-05 08:10:18Z rmanfredi $ # # Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi # Modified: trunk/dist/jmake/files/Jmake.rules =================================================================== --- trunk/dist/jmake/files/Jmake.rules 2014-04-05 08:10:18 UTC (rev 173) +++ trunk/dist/jmake/files/Jmake.rules 2014-04-05 08:19:48 UTC (rev 174) @@ -1140,11 +1140,31 @@ */ #define LinkSourceFile(src,dir) @!\ src: dir/src @@\ - $(RM) $@ @@\ + $(RM) -f $@ @@\ $(LN) $? $@ @!\ + @!\ +local_depend:: src @@\ + @!\ +local_realclean:: @@\ + $(RM) -f src @!\ /* + * LinkSourceFileAlias: + * Snag source file from some other directory with a different local name. + */ +#define LinkSourceFileAlias(src,dir,alias) @!\ +alias: dir/src @@\ + $(RM) -f $@ @@\ + $(LN) $? $@ @!\ + @!\ +local_depend:: alias @@\ + @!\ +local_realclean:: @@\ + $(RM) -f alias @!\ + + +/* * MakeSubincludesForBuild: * Make includes in sub directories. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2014-04-05 08:10:23
|
Revision: 173 http://sourceforge.net/p/dist/code/173 Author: rmanfredi Date: 2014-04-05 08:10:18 +0000 (Sat, 05 Apr 2014) Log Message: ----------- The jmake Index depends on files/Jmake.rules. Modified Paths: -------------- trunk/dist/jmake/Jmakefile trunk/dist/jmake/Makefile.SH Modified: trunk/dist/jmake/Jmakefile =================================================================== --- trunk/dist/jmake/Jmakefile 2013-09-10 11:07:20 UTC (rev 172) +++ trunk/dist/jmake/Jmakefile 2014-04-05 08:10:18 UTC (rev 173) @@ -25,7 +25,7 @@ AllTarget(Index) -Index: bindex +Index: bindex files/Jmake.rules chmod +x bindex ./bindex Modified: trunk/dist/jmake/Makefile.SH =================================================================== --- trunk/dist/jmake/Makefile.SH 2013-09-10 11:07:20 UTC (rev 172) +++ trunk/dist/jmake/Makefile.SH 2014-04-05 08:10:18 UTC (rev 173) @@ -1,5 +1,5 @@ -: Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.5-43] -: $X-Id: Jmake.tmpl 47 2010-11-28 22:23:13Z rmanfredi $ +: Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.5-172] +: $X-Id: Jmake.tmpl 156 2012-12-19 16:44:39Z rmanfredi $ case $CONFIG in '') @@ -59,7 +59,7 @@ $spitshell >>Makefile <<'!NO!SUBS!' ######################################################################## # Jmake rules for building libraries, programs, scripts, and data files -# $X-Id: Jmake.rules 18 2006-12-27 10:35:09Z rmanfredi $ +# $X-Id: Jmake.rules 106 2011-11-25 20:36:12Z rmanfredi $ ######################################################################## # Start of Jmakefile @@ -90,7 +90,7 @@ local_realclean:: $(RM) Index -Index: bindex +Index: bindex files/Jmake.rules chmod +x bindex ./bindex @@ -241,6 +241,8 @@ $(RM) Makefile config.sh install:: local_install + @exit 0 + install.man:: maybe_install.man deinstall:: local_deinstall deinstall.man:: maybe_deinstall.man This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-09-10 11:07:23
|
Revision: 172 http://sourceforge.net/p/dist/code/172 Author: rmanfredi Date: 2013-09-10 11:07:20 +0000 (Tue, 10 Sep 2013) Log Message: ----------- Added check for sigaltstack(). Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_sigaltstack.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2013-09-04 17:43:27 UTC (rev 171) +++ trunk/dist/MANIFEST 2013-09-10 11:07:20 UTC (rev 172) @@ -385,6 +385,7 @@ mcon/U/d_shmdt.U Do we have shmdt()? mcon/U/d_shmget.U Do we have shmget()? mcon/U/d_sigaction.U Do we have sigaction()? +mcon/U/d_sigaltstack.U Do we have sigaltstack()? 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[]? Added: trunk/dist/mcon/U/d_sigaltstack.U =================================================================== --- trunk/dist/mcon/U/d_sigaltstack.U (rev 0) +++ trunk/dist/mcon/U/d_sigaltstack.U 2013-09-10 11:07:20 UTC (rev 172) @@ -0,0 +1,42 @@ +?RCS: +?RCS: Copyright (c) 2013, Raphael Manfredi +?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 +?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: +?MAKE:d_sigaltstack: Trylink cat +?MAKE: -pick add $@ %< +?S:d_sigaltstack: +?S: This variable conditionally defines the HAS_SIGALTSTACK symbol, which +?S: indicates that the sigaltstack() routine is available to define an +?S: alternate signal stack. +?S:. +?C:HAS_SIGALTSTACK: +?C: This symbol, if defined, indicates that the sigaltstack() routine +?C: is available to define an alternate signal stack. +?C:. +?H:#$d_sigaltstack HAS_SIGALTSTACK /**/ +?H:. +?LINT:set d_sigaltstack +: see if we have sigaltstack +$cat >try.c <<EOC +#include <stdio.h> +#include <signal.h> +int main(void) +{ + stack_t ss; + static int ret; + ss.ss_sp = NULL; + ss.ss_flags |= SS_ONSTACK | SS_DISABLE; + ss.ss_size = SIGSTKSZ + MINSIGSTKSZ; + ret |= sigaltstack(&ss, NULL); + return ret ? 0 : 1; +} +EOC +cyn=sigaltstack +set d_sigaltstack +eval $trylink + Property changes on: trunk/dist/mcon/U/d_sigaltstack.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-09-04 17:43:32
|
Revision: 171 http://sourceforge.net/p/dist/code/171 Author: rmanfredi Date: 2013-09-04 17:43:27 +0000 (Wed, 04 Sep 2013) Log Message: ----------- Newest <bfd.h> versions require PACKAGE and PACKAGE_VERSION to be defined prior inclusion (binutils-2.23 and higher). Modified Paths: -------------- trunk/dist/mcon/U/d_bfd_lib.U Modified: trunk/dist/mcon/U/d_bfd_lib.U =================================================================== --- trunk/dist/mcon/U/d_bfd_lib.U 2013-08-30 16:47:47 UTC (rev 170) +++ trunk/dist/mcon/U/d_bfd_lib.U 2013-09-04 17:43:27 UTC (rev 171) @@ -12,18 +12,27 @@ ?MAKE: -pick add $@ %< ?S:d_bfd_lib: ?S: This variable conditionally defines the HAS_BFD_LIBRARY symbol, which -?S: indicates to the C program that the bfd library is available. +?S: indicates to the C program that the BFD library is available. ?S:. ?C:HAS_BFD_LIBRARY : -?C: This symbol, if defined, indicates that the bfd library is available +?C: This symbol, if defined, indicates that the BFD library is available ?C: to inspect symbols and debugging information. You can safely include -?C: the <bfd.h> file when this symbol is defined. +?C: the <bfd.h> file when this symbol is defined, making sure to define +?C: the PACKAGE and PACKAGE_VERSION symbols, just in case we're facing +?C: binutils 2.23 or higher. ?C:. ?H:#$d_bfd_lib HAS_BFD_LIBRARY /**/ ?H:. ?LINT:set d_bfd_lib : see whether the bfd library is available $cat >try.c <<EOC +?X: Starting with binutils 2.23, it is necessary to define some symbols before +?X: including <bfd.h>, or the file does not compile properly. Do it blindly +?X: since we do not want to bother with the actual version of the file. +?X: This is a BFD library bug, as reported in: +?X: https://sourceware.org/bugzilla/show_bug.cgi?id=15920 +#define PACKAGE +#define PACKAGE_VERSION #include <bfd.h> int main(void) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-08-30 16:47:51
|
Revision: 170 http://sourceforge.net/p/dist/code/170 Author: rmanfredi Date: 2013-08-30 16:47:47 +0000 (Fri, 30 Aug 2013) Log Message: ----------- Must define WINVER before including any system file on newest MinGW. Modified Paths: -------------- trunk/dist/mcon/U/d_getaddrinfo.U trunk/dist/mcon/U/d_getnameinfo.U trunk/dist/mcon/U/d_iptos.U trunk/dist/mcon/U/d_msg_flags.U trunk/dist/mcon/U/d_recvmsg.U trunk/dist/mcon/U/d_sendmsg.U Modified: trunk/dist/mcon/U/d_getaddrinfo.U =================================================================== --- trunk/dist/mcon/U/d_getaddrinfo.U 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_getaddrinfo.U 2013-08-30 16:47:47 UTC (rev 170) @@ -30,6 +30,9 @@ #$i_arpainet I_ARPA_INET #$i_netdb I_NETDB #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #include <sys/types.h> #ifdef I_SYS_SOCKET #include <sys/socket.h> @@ -43,9 +46,6 @@ #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_getnameinfo.U =================================================================== --- trunk/dist/mcon/U/d_getnameinfo.U 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_getnameinfo.U 2013-08-30 16:47:47 UTC (rev 170) @@ -30,6 +30,9 @@ #$i_arpainet I_ARPA_INET #$i_netdb I_NETDB #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #include <sys/types.h> #ifdef I_SYS_SOCKET #include <sys/socket.h> @@ -43,9 +46,6 @@ #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 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_iptos.U 2013-08-30 16:47:47 UTC (rev 170) @@ -47,12 +47,12 @@ #$i_syssock I_SYS_SOCKET #$i_winsock2 I_WINSOCK2 #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #ifdef I_SYS_SOCKET #include <sys/socket.h> #endif -#ifdef WINDOWS_SYSTEM -#define WINVER 0x0501 -#endif #ifdef I_WINSOCK2 #include <Winsock2.h> #endif Modified: trunk/dist/mcon/U/d_msg_flags.U =================================================================== --- trunk/dist/mcon/U/d_msg_flags.U 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_msg_flags.U 2013-08-30 16:47:47 UTC (rev 170) @@ -31,15 +31,15 @@ #$i_winsock2 I_WINSOCK2 #$i_mswsock I_MSWSOCK #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #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 Modified: trunk/dist/mcon/U/d_recvmsg.U =================================================================== --- trunk/dist/mcon/U/d_recvmsg.U 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_recvmsg.U 2013-08-30 16:47:47 UTC (rev 170) @@ -31,15 +31,15 @@ #$i_winsock2 I_WINSOCK2 #$i_mswsock I_MSWSOCK #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #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 Modified: trunk/dist/mcon/U/d_sendmsg.U =================================================================== --- trunk/dist/mcon/U/d_sendmsg.U 2013-08-30 16:43:47 UTC (rev 169) +++ trunk/dist/mcon/U/d_sendmsg.U 2013-08-30 16:47:47 UTC (rev 170) @@ -31,15 +31,15 @@ #$i_winsock2 I_WINSOCK2 #$i_mswsock I_MSWSOCK #$d_windows WINDOWS_SYSTEM +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif #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...> - 2013-08-30 16:43:52
|
Revision: 169 http://sourceforge.net/p/dist/code/169 Author: rmanfredi Date: 2013-08-30 16:43:47 +0000 (Fri, 30 Aug 2013) Log Message: ----------- Added checks for fsync() and fdatasync(). Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_fdatasync.U trunk/dist/mcon/U/d_fsync.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2013-06-12 07:24:32 UTC (rev 168) +++ trunk/dist/MANIFEST 2013-08-30 16:43:47 UTC (rev 169) @@ -219,6 +219,7 @@ mcon/U/d_fchown.U Do we have fchown()? mcon/U/d_fcntl.U Do we have fcntl()? mcon/U/d_fd_set.U Do we have the fd set manipulation macros? +mcon/U/d_fdatasync.U Do we have fdatasync()? mcon/U/d_ffs.U Do we have ffs()? mcon/U/d_fgetpos.U Do we have fgetpos()? mcon/U/d_flexfnam.U Long filenames? @@ -226,6 +227,7 @@ mcon/U/d_fmod.U Do we have fmod()? mcon/U/d_fork.U Do we have fork()? mcon/U/d_fsetpos.U Do we have fsetpos()? +mcon/U/d_fsync.U Do we have fsync()? mcon/U/d_ftime.U Do we have ftime()? mcon/U/d_ftrncate.U Do we have ftruncate()? mcon/U/d_gconvert.U Do we have gconvert() or gcvt()? Added: trunk/dist/mcon/U/d_fdatasync.U =================================================================== --- trunk/dist/mcon/U/d_fdatasync.U (rev 0) +++ trunk/dist/mcon/U/d_fdatasync.U 2013-08-30 16:43:47 UTC (rev 169) @@ -0,0 +1,41 @@ +?RCS: +?RCS: Copyright (c) 2013 Raphael Manfredi +?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 +?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: +?MAKE:d_fdatasync: Trylink cat i_unistd +?MAKE: -pick add $@ %< +?S:d_fdatasync: +?S: This variable conditionally defines the HAS_FDATASYNC symbol, which +?S: indicates to the C program that the fdatasync() routine is available +?S: to synchronize a file's in-core data with the storage device. +?S:. +?C:HAS_FDATASYNC: +?C: This symbol, if defined, indicates that the fdatasync routine is available +?C: to synchronize a file's in-core data with the storage device. +?C:. +?H:#$d_fdatasync HAS_FDATASYNC /**/ +?H:. +?LINT:set d_fdatasync +: see if fdatasync exists +$cat >try.c <<EOC +#include <sys/types.h> +#$i_unistd I_UNISTD +#ifdef I_UNISTD +#include <unistd.h> +#endif +int main(void) +{ + static int ret, fd; + ret |= fdatasync(fd); + return ret ? 0 : 1; +} +EOC +cyn=fdatasync +set d_fdatasync +eval $trylink + Property changes on: trunk/dist/mcon/U/d_fdatasync.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: trunk/dist/mcon/U/d_fsync.U =================================================================== --- trunk/dist/mcon/U/d_fsync.U (rev 0) +++ trunk/dist/mcon/U/d_fsync.U 2013-08-30 16:43:47 UTC (rev 169) @@ -0,0 +1,41 @@ +?RCS: +?RCS: Copyright (c) 2013 Raphael Manfredi +?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 +?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: +?MAKE:d_fsync: Trylink cat i_unistd +?MAKE: -pick add $@ %< +?S:d_fsync: +?S: This variable conditionally defines the HAS_FSYNC symbol, which +?S: indicates to the C program that the fsync() routine is available +?S: to synchronize a file's in-core state with the storage device. +?S:. +?C:HAS_FSYNC: +?C: This symbol, if defined, indicates that the fsync routine is available +?C: to synchronize a file's in-core state with the storage device. +?C:. +?H:#$d_fsync HAS_FSYNC /**/ +?H:. +?LINT:set d_fsync +: see if fsync exists +$cat >try.c <<EOC +#include <sys/types.h> +#$i_unistd I_UNISTD +#ifdef I_UNISTD +#include <unistd.h> +#endif +int main(void) +{ + static int ret, fd; + ret |= fsync(fd); + return ret ? 0 : 1; +} +EOC +cyn=fsync +set d_fsync +eval $trylink + Property changes on: trunk/dist/mcon/U/d_fsync.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-06-12 07:24:40
|
Revision: 168 http://sourceforge.net/p/dist/code/168 Author: rmanfredi Date: 2013-06-12 07:24:32 +0000 (Wed, 12 Jun 2013) Log Message: ----------- Added check for __builtin_bswap32. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_built_bswap32.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2013-05-08 17:58:00 UTC (rev 167) +++ trunk/dist/MANIFEST 2013-06-12 07:24:32 UTC (rev 168) @@ -173,6 +173,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_bswap32.U Is __builtin_bswap32() available? mcon/U/d_built_clz.U Is __builtin_clz() available? mcon/U/d_built_ctz.U Is __builtin_ctz() available? mcon/U/d_built_memcmp.U Is __builtin_memcmp() available? @@ -223,7 +224,6 @@ mcon/U/d_flexfnam.U Long filenames? mcon/U/d_flock.U Do we have flock()? mcon/U/d_fmod.U Do we have fmod()? -mcon/U/d_ptattr_setstack.U Do we have pthread_attr_setstack()? mcon/U/d_fork.U Do we have fork()? mcon/U/d_fsetpos.U Do we have fsetpos()? mcon/U/d_ftime.U Do we have ftime()? @@ -329,6 +329,7 @@ mcon/U/d_pread.U Do we have pread()? mcon/U/d_preadv.U Do we have preadv()? mcon/U/d_psignal.U Do we have psignal()? +mcon/U/d_ptattr_setstack.U Do we have pthread_attr_setstack()? mcon/U/d_pwrite.U Do we have pwrite()? mcon/U/d_pwritev.U Do we have pwritev()? mcon/U/d_random.U Do we have random()? Added: trunk/dist/mcon/U/d_built_bswap32.U =================================================================== --- trunk/dist/mcon/U/d_built_bswap32.U (rev 0) +++ trunk/dist/mcon/U/d_built_bswap32.U 2013-06-12 07:24:32 UTC (rev 168) @@ -0,0 +1,35 @@ +?RCS: +?RCS: Copyright (c) 2013 Raphael Manfredi +?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 +?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: +?MAKE:d_built_bswap32: Trylink cat +?MAKE: -pick add $@ %< +?S:d_built_bswap32: +?S: This variable conditionally defines the HAS_BUILTIN_BSWAP32 symbol, which +?S: indicates to the C program that __builtin_bswap32 is available. +?S:. +?C:HAS_BUILTIN_BSWAP32: +?C: This symbol, if defined, indicates that __builtin_bswap32 routine is +?C: available to byte-swap a 32-bit value (little <-> big endian). +?C:. +?H:#$d_built_bswap32 HAS_BUILTIN_BSWAP32 /**/ +?H:. +?LINT:set d_built_bswap32 +: check for __builtin_bswap32 +$cat >try.c <<EOC +int main(void) +{ + static int ret; + ret |= __builtin_bswap32(127); + return ret ? 0 : 1; +} +EOC +cyn=__builtin_bswap32 +set d_built_bswap32 +eval $trylink + Property changes on: trunk/dist/mcon/U/d_built_bswap32.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-05-08 14:39:43
|
Revision: 166 http://sourceforge.net/p/dist/code/166 Author: rmanfredi Date: 2013-05-08 14:39:33 +0000 (Wed, 08 May 2013) Log Message: ----------- Jumbo typo-fixing patch, courtesy of H.Merijn Brand. Modified Paths: -------------- trunk/dist/mcon/U/Csym.U trunk/dist/mcon/U/Head.U trunk/dist/mcon/U/MailAuthor.U trunk/dist/mcon/U/MailList.U trunk/dist/mcon/U/Mips.U trunk/dist/mcon/U/Oldconfig.U trunk/dist/mcon/U/Options.U trunk/dist/mcon/U/Unix.U trunk/dist/mcon/U/ccflags.U trunk/dist/mcon/U/d_memmove.U trunk/dist/mcon/U/d_regcmp.U trunk/dist/mcon/U/d_scannl.U trunk/dist/mcon/U/d_table.U trunk/dist/mcon/U/d_time.U trunk/dist/mcon/U/d_times.U trunk/dist/mcon/U/enablenls.U trunk/dist/mcon/U/i_fcntl.U trunk/dist/mcon/U/i_sysioctl.U trunk/dist/mcon/U/i_termio.U trunk/dist/mcon/U/inc.U trunk/dist/mcon/U/lex.U trunk/dist/mcon/U/libc.U trunk/dist/mcon/U/libs.U trunk/dist/mcon/U/make.U trunk/dist/mcon/U/mallocsrc.U trunk/dist/mcon/U/nlist_pfx.U trunk/dist/mcon/U/perlpath.U trunk/dist/mcon/U/prototype.U trunk/dist/mcon/U/sitearch.U trunk/dist/mcon/U/sitelib.U trunk/dist/mcon/U/src.U trunk/dist/mcon/U/startperl.U trunk/dist/mcon/U/uidtype.U trunk/dist/mcon/U/usenm.U trunk/dist/mcon/U/usrinc.U trunk/dist/mcon/U/vaproto.U trunk/dist/mcon/U/warnflags.U Modified: trunk/dist/mcon/U/Csym.U =================================================================== --- trunk/dist/mcon/U/Csym.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Csym.U 2013-05-08 14:39:33 UTC (rev 166) @@ -14,7 +14,7 @@ ?RCS: patch56: added quotes for OS/2 support ?RCS: ?RCS: Revision 3.0.1.3 1995/05/12 12:00:33 ram -?RCS: patch54: fixed C test program to bypasss gcc builtin type checks (ADO) +?RCS: patch54: fixed C test program to bypass gcc builtin type checks (ADO) ?RCS: ?RCS: Revision 3.0.1.2 1994/10/31 09:34:13 ram ?RCS: patch44: added Options to the MAKE line since it's no longer in Init.U @@ -73,12 +73,12 @@ ?X: type), the compiler assuming it's a built-in declaration given that the ?X: returned size matches. At least with 'char' we are safe! -- RAM, for ADO ?X: -?X: Let's thank GNU cc for making our lifes so easy! :-) +?X: Let's thank GNU cc for making our lives so easy! :-) ?X: (An alternative for the future would be to use our knowledge about gcc ?X: to force a -fno-builtin option in the compile test, in case the 'char' ?X: trick is obsoleted by future gcc releases). -- RAM ?X: -?X: Lastly, gcc 3.4 otimizes &missing == 0 away, so we use + 2 instead now. +?X: Lastly, gcc 3.4 optimizes &missing == 0 away, so we use + 2 instead now. ?X: The GNU folks like to do weird things, don't they? -- RAM, 2004-06-05 ?X ?X: The above was invalid because main returns an int not a pointer. Modified: trunk/dist/mcon/U/Head.U =================================================================== --- trunk/dist/mcon/U/Head.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Head.U 2013-05-08 14:39:33 UTC (rev 166) @@ -149,7 +149,7 @@ ?X: There are two schools of thoughts here. Some people correctly argue that ?X: the user has a better chance than we do of setting a reasonable PATH and ?X: others argue that Configure is the best place there is to set up a suitable -?X: PATH. Well, here we try to compromize by keeping the user's PATH and +?X: PATH. Well, here we try to compromise by keeping the user's PATH and ?X: appending some directories which are known to work on some machine or the ?X: other. The rationale behind this being that a novice user might not have a ?X: proper environment variable set, and some directories like /etc (where Modified: trunk/dist/mcon/U/MailAuthor.U =================================================================== --- trunk/dist/mcon/U/MailAuthor.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/MailAuthor.U 2013-05-08 14:39:33 UTC (rev 166) @@ -34,7 +34,7 @@ ?X: ?X: This unit asks the user to please send a message to the author. ?X: To force inclusion of this unit, you must add it's name to the -?X: dependancies on the MAKE line in your private copy of End.U. +?X: dependencies on the MAKE line in your private copy of End.U. ?X: This allows a smart mailagent program to automatically let users know ?X: when their package is out of date, and to allow users to be notified of ?X: any future patches. Modified: trunk/dist/mcon/U/MailList.U =================================================================== --- trunk/dist/mcon/U/MailList.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/MailList.U 2013-05-08 14:39:33 UTC (rev 166) @@ -18,7 +18,7 @@ ?X: ?X: This unit offers the user the option of subscribing to the mailing ?X: list. To force inclusion of this unit, you must add it's name to the -?X: dependancies on the MAKE line in your private copy of End.U. +?X: dependencies on the MAKE line in your private copy of End.U. ?X: The address of the mailing list server must be set via a "list_request=..." ?X: entry in the .package file. This is usually done by running packinit and ?X: answering the proper questions. Modified: trunk/dist/mcon/U/Mips.U =================================================================== --- trunk/dist/mcon/U/Mips.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Mips.U 2013-05-08 14:39:33 UTC (rev 166) @@ -16,7 +16,7 @@ ?RCS: patch54: ensure that ./mips always exists (ADO) ?RCS: ?RCS: Revision 3.0.1.1 1994/05/06 15:18:31 ram -?RCS: patch23: ensure usrinc value is preserved accross sessions (WED) +?RCS: patch23: ensure usrinc value is preserved across sessions (WED) ?RCS: ?RCS: Revision 3.0 1993/08/18 12:09:58 ram ?RCS: Baseline for dist 3.0 netwide release. @@ -29,7 +29,7 @@ ?S: Possible values are "BSD 4.3" and "System V". ?S:. ?S:incpath: -?S: This variable must preceed the normal include path to get hte +?S: This variable must precede the normal include path to get hte ?S: right one, as in "$incpath/usr/include" or "$incpath/usr/lib". ?S: Value can be "" or "/bsd43" on mips. ?S:. Modified: trunk/dist/mcon/U/Oldconfig.U =================================================================== --- trunk/dist/mcon/U/Oldconfig.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Oldconfig.U 2013-05-08 14:39:33 UTC (rev 166) @@ -205,7 +205,7 @@ ?X: $3 and $4 are version/subversion ?X: $5 is always "pc", but that might not be unique to DJGPP. ?X: (e.g. Solaris_x86 has $5 = i86pc, which doesn't actually conflict, -?X: but it's close enought that I can easily imagine other vendors also +?X: but it's close enough that I can easily imagine other vendors also ?X: using variants of pc* in $5.) ?X: The "DJGPP" environment variable is always set when djgpp is active. pc*) Modified: trunk/dist/mcon/U/Options.U =================================================================== --- trunk/dist/mcon/U/Options.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Options.U 2013-05-08 14:39:33 UTC (rev 166) @@ -23,7 +23,7 @@ ?RCS: patch49: this unit now exports file optdef.sh, not a variable ?RCS: ?RCS: Revision 3.0.1.3 1995/01/11 15:19:00 ram -?RCS: patch45: new -O option allowing -D and -U to override config.sh setttings +?RCS: patch45: new -O option allowing -D and -U to override config.sh settings ?RCS: patch45: file optdef.sh is no longer removed after sourcing ?RCS: ?RCS: Revision 3.0.1.2 1994/10/29 15:58:06 ram @@ -139,7 +139,7 @@ : process the command line options ?X: Use "$@" to keep arguments with spaces in them from being split apart. ?X: For the same reason, awk will output quoted arguments and the final eval -?X: removes them and sets a proper $* array. An 'X' is prependend to each +?X: removes them and sets a proper $* array. An 'X' is prepended to each ?X: argument before being fed to echo to guard against 'echo -x', where -x ?X: would be understood as an echo option! It is removed before feeding awk. set X `for arg in "$@"; do echo "X$arg"; done | Modified: trunk/dist/mcon/U/Unix.U =================================================================== --- trunk/dist/mcon/U/Unix.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/Unix.U 2013-05-08 14:39:33 UTC (rev 166) @@ -14,7 +14,7 @@ ?RCS: patch61: created ?RCS: ?X: -?X: The purpose of this unit is to define things that are common accross all +?X: The purpose of this unit is to define things that are common across all ?X: known UNIX platforms. If Configure is ported/used on a non-UNIX ?X: environment, then some of the following variables can be redefined in hint ?X: files. Modified: trunk/dist/mcon/U/ccflags.U =================================================================== --- trunk/dist/mcon/U/ccflags.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/ccflags.U 2013-05-08 14:39:33 UTC (rev 166) @@ -21,7 +21,7 @@ ?RCS: patch54: now checks for cc/ccflags/ldflags coherency ?RCS: ?RCS: Revision 3.0.1.6 1994/10/29 16:07:02 ram -?RCS: patch36: gcc versionning no longer relies on the C compiler's name +?RCS: patch36: gcc versioning no longer relies on the C compiler's name ?RCS: patch36: simplified check for gcc version checking (ADO) ?RCS: ?RCS: Revision 3.0.1.5 1994/08/29 16:06:35 ram Modified: trunk/dist/mcon/U/d_memmove.U =================================================================== --- trunk/dist/mcon/U/d_memmove.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_memmove.U 2013-05-08 14:39:33 UTC (rev 166) @@ -17,7 +17,7 @@ ?S:d_memmove: ?S: This variable conditionally defines the HAS_MEMMOVE symbol, which ?S: indicates to the C program that the memmove() routine is available -?S: to copy potentatially overlapping blocks of memory. +?S: to copy potentially overlapping blocks of memory. ?S:. ?C:HAS_MEMMOVE: ?C: This symbol, if defined, indicates that the memmove routine is available Modified: trunk/dist/mcon/U/d_regcmp.U =================================================================== --- trunk/dist/mcon/U/d_regcmp.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_regcmp.U 2013-05-08 14:39:33 UTC (rev 166) @@ -23,21 +23,21 @@ ?S:d_regcmp: ?S: This variable conditionally defines the HAS_REGCMP symbol, which ?S: indicates to the C program that the regcmp() routine is available -?S: for regular patern matching (usally on System V). +?S: for regular pattern matching (usually on System V). ?S:. ?S:d_re_comp: ?S: This variable conditionally defines the HAS_RECOMP symbol, which ?S: indicates to the C program that the re_comp() routine is available -?S: for regular patern matching (usally on BSD). If so, it is likely that +?S: for regular pattern matching (usually on BSD). If so, it is likely that ?S: re_exec() exists. ?S:. ?C:HAS_REGCMP (REGCMP): ?C: This symbol, if defined, indicates that the regcmp() routine is -?C: available to do some regular patern matching (usually on System V). +?C: available to do some regular pattern matching (usually on System V). ?C:. ?C:HAS_RECOMP (RECOMP): ?C: This symbol, if defined, indicates that the re_comp() routine is -?C: available to do some regular patern matching (usually on BSD). If so, +?C: available to do some regular pattern matching (usually on BSD). If so, ?C: it is likely that re_exec() be available. ?C:. ?H:#$d_regcmp HAS_REGCMP /* sysV */ Modified: trunk/dist/mcon/U/d_scannl.U =================================================================== --- trunk/dist/mcon/U/d_scannl.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_scannl.U 2013-05-08 14:39:33 UTC (rev 166) @@ -19,7 +19,7 @@ ?RCS: Baseline for dist 3.0 netwide release. ?RCS: ?X: -?X: Does the scanf routine read "\n" corretly ? This is was not +?X: Does the scanf routine read "\n" correctly ? This is was not ?X: the case on AIX... ?X: ?MAKE:d_scannl: cat +cc +ccflags rm Setvar @@ -41,7 +41,7 @@ : does scanf handle "\n" correctly ? echo " " val="$define" -?X: I really want to say "\n" instead of '\n', becasue I am refering +?X: I really want to say "\n" instead of '\n', because I am referring ?X: to the string given as argument to scanf(). echo 'Let'"'"'s see if scanf() handles "\\n" correctly...' >&4 $cat >try.c <<'EOCP' Modified: trunk/dist/mcon/U/d_table.U =================================================================== --- trunk/dist/mcon/U/d_table.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_table.U 2013-05-08 14:39:33 UTC (rev 166) @@ -10,7 +10,7 @@ ?RCS: ?RCS: $Log: d_table.U,v $ ?RCS: Revision 3.0.1.2 1993/11/10 17:34:14 ram -?RCS: patch14: wrongly mentionned an obsolete symbol +?RCS: patch14: wrongly mentioned an obsolete symbol ?RCS: ?RCS: Revision 3.0.1.1 1993/10/16 13:49:29 ram ?RCS: patch12: created Modified: trunk/dist/mcon/U/d_time.U =================================================================== --- trunk/dist/mcon/U/d_time.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_time.U 2013-05-08 14:39:33 UTC (rev 166) @@ -24,7 +24,7 @@ ?MAKE: -pick add $@ %< ?S:d_time: ?S: This variable conditionally defines the HAS_TIME symbol, which indicates -?S: that the time() routine exists. The time() routine is normaly +?S: that the time() routine exists. The time() routine is normally ?S: provided on UNIX systems. ?S:. ?S:timetype: Modified: trunk/dist/mcon/U/d_times.U =================================================================== --- trunk/dist/mcon/U/d_times.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/d_times.U 2013-05-08 14:39:33 UTC (rev 166) @@ -27,7 +27,7 @@ ?MAKE: -pick add $@ %< ?S:d_times: ?S: This variable conditionally defines the HAS_TIMES symbol, which indicates -?S: that the times() routine exists. The times() routine is normaly +?S: that the times() routine exists. The times() routine is normally ?S: provided on UNIX systems. You may have to include <sys/times.h>. ?S:. ?S:clocktype: Modified: trunk/dist/mcon/U/enablenls.U =================================================================== --- trunk/dist/mcon/U/enablenls.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/enablenls.U 2013-05-08 14:39:33 UTC (rev 166) @@ -12,7 +12,7 @@ ?MAKE: -pick add $@ %< ?S:enablenls: ?S: This variable holds 'true' or 'false' depending on whether we're -?S: goint to enable Native Language Support (NLS). +?S: going to enable Native Language Support (NLS). ?S:. ?S:d_enablenls: ?S: This variable conditionally defines ENABLE_NLS. Modified: trunk/dist/mcon/U/i_fcntl.U =================================================================== --- trunk/dist/mcon/U/i_fcntl.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/i_fcntl.U 2013-05-08 14:39:33 UTC (rev 166) @@ -25,7 +25,7 @@ ?H:. ?T:val ?X: Make line lists +i_sysfile to ensure tests for <sys/file.h> will be -?X: conducted prior tests for <fcntl.h>, hece making sure the h_sysfile +?X: conducted prior tests for <fcntl.h>, hence making sure the h_sysfile ?X: variable is correctly set when we reach that unit. ?LINT:set i_fcntl ?LINT:use i_sysfile Modified: trunk/dist/mcon/U/i_sysioctl.U =================================================================== --- trunk/dist/mcon/U/i_sysioctl.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/i_sysioctl.U 2013-05-08 14:39:33 UTC (rev 166) @@ -46,7 +46,7 @@ ?S: This variable conditionally defines USE_IOCNOTTY to indicate that the ?S: ioctl() call with TIOCNOTTY should be used to void tty association. ?S: Otherwise (on USG probably), it is enough to close the standard file -?S: decriptors and do a setpgrp(). +?S: descriptors and do a setpgrp(). ?S:. ?C:I_SYS_IOCTL (I_SYSIOCTL): ?C: This symbol, if defined, indicates that <sys/ioctl.h> exists and should Modified: trunk/dist/mcon/U/i_termio.U =================================================================== --- trunk/dist/mcon/U/i_termio.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/i_termio.U 2013-05-08 14:39:33 UTC (rev 166) @@ -13,7 +13,7 @@ ?RCS: patch36: call ./usg and ./Cppsym explicitely instead of relying on PATH ?RCS: ?RCS: Revision 3.0.1.3 1994/08/29 16:26:38 ram -?RCS: patch32: don't include all threee I_* symbols in config.h +?RCS: patch32: don't include all three I_* symbols in config.h ?RCS: patch32: (had forgotten to undo this part last time) ?RCS: ?RCS: Revision 3.0.1.2 1994/05/13 15:25:03 ram Modified: trunk/dist/mcon/U/inc.U =================================================================== --- trunk/dist/mcon/U/inc.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/inc.U 2013-05-08 14:39:33 UTC (rev 166) @@ -20,7 +20,7 @@ ?S: often a local directory such as /usr/local/include. ?S:. ?S:incexp: -?S: This is the same as the inc variable, but is filename expaned +?S: This is the same as the inc variable, but is filename-expanded ?S: at configuration time for convenient use in your makefiles. ?S:. : determine where public header files go Modified: trunk/dist/mcon/U/lex.U =================================================================== --- trunk/dist/mcon/U/lex.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/lex.U 2013-05-08 14:39:33 UTC (rev 166) @@ -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: -?RCS: Orginal Author: Graham Stoney <gr...@re...> +?RCS: Original Author: Graham Stoney <gr...@re...> ?RCS: ?RCS: $Log: lex.U,v $ ?RCS: Revision 3.0.1.3 1994/10/29 16:22:50 ram Modified: trunk/dist/mcon/U/libc.U =================================================================== --- trunk/dist/mcon/U/libc.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/libc.U 2013-05-08 14:39:33 UTC (rev 166) @@ -264,14 +264,14 @@ ?X: $grep fprintf libc.tmp > libc.ptf ?X: -?X: In order to ehance readability and save some space, we define +?X: In order to enhance readability and save some space, we define ?X: some variables that will be "eval"ed. ?X: xscan='eval "<libc.ptf $com >libc.list"; $echo $n ".$c" >&4' xrun='eval "<libc.tmp $com >libc.list"; echo "done." >&4' ?X: BSD-like output, I and W types added for Linux ?X: Some versions of Linux include a leading __IO in the symbol name. -?X: HPUX10 reportedly has trailing spaces, though I'm suprised it has +?X: HPUX10 reportedly has trailing spaces, though I'm surprised it has ?X: BSD-like output. (AD). xxx='[ADTSIW]' if com="$sed -n -e 's/__IO//' -e 's/^.* $xxx *_[_.]*//p' -e 's/^.* $xxx *//p'";\ Modified: trunk/dist/mcon/U/libs.U =================================================================== --- trunk/dist/mcon/U/libs.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/libs.U 2013-05-08 14:39:33 UTC (rev 166) @@ -88,7 +88,7 @@ ?INIT:libswanted='' ?X: This order is chosen so that libraries -lndir, -ldir, -lucb, -lbsd, ?X: -lBSD, -lPW, and -lx only get used if there are unresolved -?X: routines at link time. Usually, these are backwards compatability +?X: routines at link time. Usually, these are backwards compatibility ?X: libraries, and may not be as reliable as the standard c library. ?X: ?X: The -lsocket -linet -lnsl order has been reported to be necessary @@ -173,7 +173,7 @@ ?X: ?X: It is not sufficient to find a .so on the disk. We must make sure ?X: that we can indeed supply the -lfoo line on the cc line to link against -?X: that library. On Linux for instance, a versionned .so will not be +?X: that library. On Linux for instance, a versioned .so will not be ?X: implicitly linked against, whereas it will work fine on Solaris 2.6. ?X: --RAM, 10/10/2003 ?X: @@ -211,7 +211,7 @@ done if $test ! -f "$xxx"; then ?X: -?X: Try linking aginst the library: gcc on linux platforms is notorious for +?X: Try linking against the library: gcc on linux platforms is notorious for ?X: using complex library search logic, especially on systems mixing 32-bit ?X: and 64-bit versions. ?X: Modified: trunk/dist/mcon/U/make.U =================================================================== --- trunk/dist/mcon/U/make.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/make.U 2013-05-08 14:39:33 UTC (rev 166) @@ -39,7 +39,7 @@ echo "Checking if your $make program sets \$(MAKE)..." >&4 case "$make_set_make" in '') -?X: Use sed so we don't have a line begining with @echo. Metaconfig +?X: Use sed so we don't have a line beginning with @echo. Metaconfig ?X: will think that's a command like @if or @end. $sed 's/^X //' > testmake.mak << 'EOF' Xall: Modified: trunk/dist/mcon/U/mallocsrc.U =================================================================== --- trunk/dist/mcon/U/mallocsrc.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/mallocsrc.U 2013-05-08 14:39:33 UTC (rev 166) @@ -30,7 +30,7 @@ ?S:usemymalloc: ?S: This variable contains y if the malloc that comes with this package ?S: is desired over the system's version of malloc. People often include -?S: special versions of malloc for effiency, but such versions are often +?S: special versions of malloc for efficiency, but such versions are often ?S: less portable. See also mallocsrc and mallocobj. ?S: If this is 'y', then -lmalloc is removed from $libs. ?S:. Modified: trunk/dist/mcon/U/nlist_pfx.U =================================================================== --- trunk/dist/mcon/U/nlist_pfx.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/nlist_pfx.U 2013-05-08 14:39:33 UTC (rev 166) @@ -19,7 +19,7 @@ +cc +ccflags ?MAKE: -pick add $@ %< ?S:nlist_pfx: -?S: This variable holds any characters which preceed the symbol name +?S: This variable holds any characters which precede the symbol name ?S: when doing an nlist search. ?S:. ?S:nlist_fnd: Modified: trunk/dist/mcon/U/perlpath.U =================================================================== --- trunk/dist/mcon/U/perlpath.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/perlpath.U 2013-05-08 14:39:33 UTC (rev 166) @@ -26,10 +26,10 @@ ?Y:TOP ?S:perlpath: ?S: This variable contains the eventual value of the PERLPATH symbol, -?S: which contains the absolute location of the perl interpeter. +?S: which contains the absolute location of the perl interpreter. ?S:. ?C:PERLPATH: -?C: This symbol contains the absolute location of the perl interpeter. +?C: This symbol contains the absolute location of the perl interpreter. ?C:. ?H:#define PERLPATH "$perlpath" /**/ ?H:. Modified: trunk/dist/mcon/U/prototype.U =================================================================== --- trunk/dist/mcon/U/prototype.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/prototype.U 2013-05-08 14:39:33 UTC (rev 166) @@ -25,7 +25,7 @@ ?MAKE: -pick add $@ %< ?S:prototype: ?S: This variable holds the eventual value of CAN_PROTOTYPE, which -?S: indicates the C compiler can handle funciton prototypes. +?S: indicates the C compiler can handle function prototypes. ?S:. ?C:CAN_PROTOTYPE ~ %<: ?C: If defined, this macro indicates that the C compiler can handle Modified: trunk/dist/mcon/U/sitearch.U =================================================================== --- trunk/dist/mcon/U/sitearch.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/sitearch.U 2013-05-08 14:39:33 UTC (rev 166) @@ -51,7 +51,7 @@ ?T:xxx : determine where site specific architecture-dependent libraries go. xxx=`echo $sitelib/$archname | sed 's!^$prefix!!'` -: xxx is usuually lib/site_perl/archname. +: xxx is usually lib/site_perl/archname. set sitearch sitearch none eval $prefixit case "$sitearch" in Modified: trunk/dist/mcon/U/sitelib.U =================================================================== --- trunk/dist/mcon/U/sitelib.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/sitelib.U 2013-05-08 14:39:33 UTC (rev 166) @@ -54,7 +54,7 @@ eval $prefixit case "$sitelib" in '') -?X: remove any trailing -3.0 or other version indification +?X: remove any trailing -3.0 or other version indentification prog=`echo $package | $sed 's/-*[0-9.]*$//'` dflt="$privlib/site_$prog" ;; *) dflt="$sitelib" ;; Modified: trunk/dist/mcon/U/src.U =================================================================== --- trunk/dist/mcon/U/src.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/src.U 2013-05-08 14:39:33 UTC (rev 166) @@ -47,7 +47,7 @@ esac ?X: ?X: Now check whether we have found the right source tree (i.e. the one for the -?X: package we're abount to configure). The original unit from Tom Tromey forced +?X: package we're about to configure). The original unit from Tom Tromey forced ?X: the user to pick a unique file from his distribution, and we were merely ?X: checking the existence of that file. I prefer to rely on Configure (which ?X: we know *is* present since this unit is part of it!) and look for the Modified: trunk/dist/mcon/U/startperl.U =================================================================== --- trunk/dist/mcon/U/startperl.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/startperl.U 2013-05-08 14:39:33 UTC (rev 166) @@ -25,7 +25,7 @@ ?S: eval 'exec perl -S $0 ${1+"$@"}' ?S: if $running_under_some_shell; ?S: to guarantee perl startup should the shell execute the script. Note -?S: that this magic incatation is not understood by csh. +?S: that this magic incantation is not understood by csh. ?S:. ?C:STARTPERL: ?C: This symbol is the string that should be put on the front of a Modified: trunk/dist/mcon/U/uidtype.U =================================================================== --- trunk/dist/mcon/U/uidtype.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/uidtype.U 2013-05-08 14:39:33 UTC (rev 166) @@ -16,7 +16,7 @@ ?RCS: patch30: comment for uidtype referred to the obsoleted symbol ?RCS: ?RCS: Revision 3.0.1.1 1994/05/13 15:28:27 ram -?RCS: patch27: made conformant to its gidtype.U companion +?RCS: patch27: made conform to its gidtype.U companion ?RCS: patch27: question now explicitely mentions getuid() ?RCS: ?RCS: Revision 3.0 1993/08/18 12:09:56 ram Modified: trunk/dist/mcon/U/usenm.U =================================================================== --- trunk/dist/mcon/U/usenm.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/usenm.U 2013-05-08 14:39:33 UTC (rev 166) @@ -40,7 +40,7 @@ ?S: Maybe Linux should just always set usenm=false. ?S:. : see if nm is to be used to determine whether a symbol is defined or not -?X: If there is enough enquiries, it might be worth to wait for the nm +?X: If there is enough inquiries, it might be worth to wait for the nm ?X: extraction. Otherwise, the C compilations might be a better deal. ?X: ?X: Don't bother if we're using GNU libc -- skimo Modified: trunk/dist/mcon/U/usrinc.U =================================================================== --- trunk/dist/mcon/U/usrinc.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/usrinc.U 2013-05-08 14:39:33 UTC (rev 166) @@ -16,7 +16,7 @@ ?RCS: patch54: ensure that ./mips always exists (ADO) ?RCS: ?RCS: Revision 3.0.1.1 1994/05/06 15:18:31 ram -?RCS: patch23: ensure usrinc value is preserved accross sessions (WED) +?RCS: patch23: ensure usrinc value is preserved across sessions (WED) ?RCS: ?RCS: Revision 3.0 1993/08/18 12:09:58 ram ?RCS: Baseline for dist 3.0 netwide release. Modified: trunk/dist/mcon/U/vaproto.U =================================================================== --- trunk/dist/mcon/U/vaproto.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/vaproto.U 2013-05-08 14:39:33 UTC (rev 166) @@ -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: -?RCS: Orginal Author: Graham Stoney <gr...@re...> +?RCS: Original Author: Graham Stoney <gr...@re...> ?RCS: ?RCS: $Log: vaproto.U,v $ ?RCS: Revision 3.0.1.1 1994/01/24 14:17:16 ram Modified: trunk/dist/mcon/U/warnflags.U =================================================================== --- trunk/dist/mcon/U/warnflags.U 2013-05-08 09:00:29 UTC (rev 165) +++ trunk/dist/mcon/U/warnflags.U 2013-05-08 14:39:33 UTC (rev 166) @@ -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: -?RCS: Orginal Author: Graham Stoney <gr...@re...> +?RCS: Original Author: Graham Stoney <gr...@re...> ?RCS: ?RCS: $Log: warnflags.U,v $ ?RCS: Revision 3.0 1993/08/18 12:10:02 ram This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-05-08 09:00:32
|
Revision: 165 http://sourceforge.net/p/dist/code/165 Author: rmanfredi Date: 2013-05-08 09:00:29 +0000 (Wed, 08 May 2013) Log Message: ----------- Added the USE_DIFFTIME symbol to indicate that difftime() should be used. Modified Paths: -------------- trunk/dist/mcon/U/d_difftime.U Modified: trunk/dist/mcon/U/d_difftime.U =================================================================== --- trunk/dist/mcon/U/d_difftime.U 2013-05-08 08:58:37 UTC (rev 164) +++ trunk/dist/mcon/U/d_difftime.U 2013-05-08 09:00:29 UTC (rev 165) @@ -1,6 +1,6 @@ ?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, 2013 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. @@ -10,23 +10,30 @@ ?RCS: ?RCS: Original Author: Andy Dougherty <dou...@la...> ?RCS: -?RCS: $Log: d_difftime.U,v $ -?RCS: Revision 3.0.1.1 1994/08/29 16:07:31 ram -?RCS: patch32: created by ADO -?RCS: -?MAKE:d_difftime: Trylink cat +?MAKE:d_difftime use_difftime: Assert Trylink cat ?MAKE: -pick add $@ %< ?S:d_difftime: ?S: This variable conditionally defines the HAS_DIFFTIME symbol, which ?S: indicates to the C program that the difftime() routine is available. ?S:. +?S:use_difftime: +?S: This variable conditionally defines the USE_DIFFTIME symbol, which +?S: indicates to the C program that the difftime() routine should be +?S: used to compare times. +?S:. ?C:HAS_DIFFTIME : ?C: This symbol, if defined, indicates that the difftime routine is ?C: available. ?C:. +?C:USE_DIFFTIME : +?C: This symbol, if defined, indicates that the difftime routine should +?C: really be used to compare times. +?C:. ?H:#$d_difftime HAS_DIFFTIME /**/ +?H:#$use_difftime USE_DIFFTIME /**/ ?H:. -?LINT:set d_difftime +?LINT:set d_difftime use_difftime +?T:avoid_difftime : see if difftime exists $cat >try.c <<EOC #include <time.h> @@ -42,3 +49,32 @@ set d_difftime eval $trylink +@if USE_DIFFTIME || use_difftime +: see whether difftime should be used +case "$d_difftime" in +"$define") + $cat >try.c <<EOC +#include "static_assert.h" +#include <time.h> +int main(void) +{ +?X: If time_t is not a signed integer type, we cannot calculate properly +?X: with the raw values. Define USE_DIFFTIME when this does not compile. + STATIC_ASSERT((time_t) -1 < 0); + return 0; +} +EOC + cyn="whether difftime() can be avoided" + set avoid_difftime + eval $trylink + ;; +*) avoid_difftime="$define";; +esac +case "$avoid_difftime" in +"$define") val="$undef";; +*) val="$define";; +esac +set use_difftime +eval $setvar + +@end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-05-08 08:58:43
|
Revision: 164 http://sourceforge.net/p/dist/code/164 Author: rmanfredi Date: 2013-05-08 08:58:37 +0000 (Wed, 08 May 2013) Log Message: ----------- Integrated patch from H.Merijn Brand to make Debian users happy(er). Modified Paths: -------------- trunk/dist/mcon/U/cf_email.U Modified: trunk/dist/mcon/U/cf_email.U =================================================================== --- trunk/dist/mcon/U/cf_email.U 2013-05-08 08:57:31 UTC (rev 163) +++ trunk/dist/mcon/U/cf_email.U 2013-05-08 08:58:37 UTC (rev 164) @@ -13,7 +13,7 @@ ?RCS: patch16: created ?RCS: ?RCS: -?MAKE:cf_email: cat cf_by myhostname mydomain Oldconfig Myread +?MAKE:cf_email: cat cf_by test myhostname mydomain Oldconfig Myread ?MAKE: -pick add $@ %< ?S:cf_email: ?S: Electronic mail address of the person who ran Configure. This can be @@ -34,7 +34,13 @@ cont=x while test "$cont"; do case "$MAILDOMAIN" in - '') maildomain="$myhostname$mydomain";; + '') + if $test -s /etc/mailname; then + maildomain=`$cat /etc/mailname` + else + maildomain="$myhostname$mydomain" + fi + ;; *) maildomain="$MAILDOMAIN";; esac case "$cf_email" in This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-05-08 08:57:37
|
Revision: 163 http://sourceforge.net/p/dist/code/163 Author: rmanfredi Date: 2013-05-08 08:57:31 +0000 (Wed, 08 May 2013) Log Message: ----------- Updated new SVN URL for the dist code. Modified Paths: -------------- trunk/dist/mcon/U/Head.U Modified: trunk/dist/mcon/U/Head.U =================================================================== --- trunk/dist/mcon/U/Head.U 2013-01-30 18:15:29 UTC (rev 162) +++ trunk/dist/mcon/U/Head.U 2013-05-08 08:57:31 UTC (rev 163) @@ -78,7 +78,7 @@ # Note: this Configure script was generated automatically. Rather than # working with this copy of Configure, you may wish to get metaconfig. # The dist package (which contains metaconfig) is available via SVN: -# svn co https://svn.sourceforge.net/svnroot/dist/trunk/dist +# svn co https://svn.code.sf.net/p/dist/code/trunk/dist ?X: ?X: NOTA BENE: ?X: If you develop you own version of metaconfig based on this work, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: H.Merijn B. <h.m...@xs...> - 2013-05-07 21:39:16
|
--- a/mcon/U/Head.U +++ b/mcon/U/Head.U @@ -78,7 +78,7 @@ # Note: this Configure script was generated automatically. Rather than # working with this copy of Configure, you may wish to get metaconfig. # The dist package (which contains metaconfig) is available via SVN: -# svn co https://svn.sourceforge.net/svnroot/dist/trunk/dist +# svn co https://svn.code.sf.net/p/dist/code/trunk/dist # ?X: OK, I'll not alter, but I'll add to it then ... # Though this script was generated by metaconfig from metaunits, it is -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.17 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/ |
From: <rma...@us...> - 2013-01-30 18:15:35
|
Revision: 162 http://sourceforge.net/p/dist/code/162 Author: rmanfredi Date: 2013-01-30 18:15:29 +0000 (Wed, 30 Jan 2013) Log Message: ----------- Added check for pthread_attr_setstack(). Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_ptattr_setstack.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2013-01-27 21:38:33 UTC (rev 161) +++ trunk/dist/MANIFEST 2013-01-30 18:15:29 UTC (rev 162) @@ -223,6 +223,7 @@ mcon/U/d_flexfnam.U Long filenames? mcon/U/d_flock.U Do we have flock()? mcon/U/d_fmod.U Do we have fmod()? +mcon/U/d_ptattr_setstack.U Do we have pthread_attr_setstack()? mcon/U/d_fork.U Do we have fork()? mcon/U/d_fsetpos.U Do we have fsetpos()? mcon/U/d_ftime.U Do we have ftime()? Added: trunk/dist/mcon/U/d_ptattr_setstack.U =================================================================== --- trunk/dist/mcon/U/d_ptattr_setstack.U (rev 0) +++ trunk/dist/mcon/U/d_ptattr_setstack.U 2013-01-30 18:15:29 UTC (rev 162) @@ -0,0 +1,40 @@ +?RCS: +?RCS: Copyright (c) 2013 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_ptattr_setstack: Trylink cat +?MAKE: -pick add $@ %< +?S:d_ptattr_setstack: +?S: This variable conditionally defines the HAS_PTHREAD_ATTR_SETSTACK symbol, +?S: which indicates to the C program that pthread_attr_setstack() should be +?S: used to set the thread stack, instead of pthread_attr_setstackaddr(). +?S:. +?C:HAS_PTHREAD_ATTR_SETSTACK: +?C: This symbol is defined when pthread_attr_setstack() can be used to set +?C: the thread stack. Otherwise, use obsoleted pthread_attr_setstackaddr(). +?C:. +?H:#$d_ptattr_setstack HAS_PTHREAD_ATTR_SETSTACK +?H:. +?LINT: set d_ptattr_setstack +: can we use pthread_attr_setstack +$cat >try.c <<'EOC' +#include <pthread.h> +int main(void) +{ + pthread_attr_t attr; + void *p = NULL; + static int ret; + + ret |= pthread_attr_setstack(&attr, p, 4096); + return ret ? 0 : 1; +} +EOC +cyn=pthread_attr_setstack +set d_ptattr_setstack '-lpthread' +eval $trylink + Property changes on: trunk/dist/mcon/U/d_ptattr_setstack.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-01-27 21:38:35
|
Revision: 161 http://sourceforge.net/p/dist/code/161 Author: rmanfredi Date: 2013-01-27 21:38:33 +0000 (Sun, 27 Jan 2013) Log Message: ----------- Let cf_email.U honor the external MAILDOMAIN environment variable, if set. Modified Paths: -------------- trunk/dist/mcon/U/cf_email.U Modified: trunk/dist/mcon/U/cf_email.U =================================================================== --- trunk/dist/mcon/U/cf_email.U 2013-01-20 19:38:03 UTC (rev 160) +++ trunk/dist/mcon/U/cf_email.U 2013-01-27 21:38:33 UTC (rev 161) @@ -19,7 +19,8 @@ ?S: Electronic mail address of the person who ran Configure. This can be ?S: used by units that require the user's e-mail, like MailList.U. ?S:. -?T:cont +?T:cont maildomain +?LINT:extern MAILDOMAIN : determine the e-mail address of the user who is running us $cat <<EOM @@ -32,9 +33,13 @@ EOM cont=x while test "$cont"; do + case "$MAILDOMAIN" in + '') maildomain="$myhostname$mydomain";; + *) maildomain="$MAILDOMAIN";; + esac case "$cf_email" in - '') dflt="$cf_by@$myhostname$mydomain";; - *) dflt="$cf_email";; + '') dflt="$cf_by@$maildomain";; + *) dflt="$cf_email";; esac rp='What is your e-mail address?' . ./myread This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-01-20 19:38:06
|
Revision: 160 http://sourceforge.net/p/dist/code/160 Author: rmanfredi Date: 2013-01-20 19:38:03 +0000 (Sun, 20 Jan 2013) Log Message: ----------- Added check for getnameinfo(). Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/d_getnameinfo.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2013-01-20 19:37:33 UTC (rev 159) +++ trunk/dist/MANIFEST 2013-01-20 19:38:03 UTC (rev 160) @@ -239,6 +239,7 @@ mcon/U/d_getifaddrs.U Do we have getifaddrs() and freeifaddrs()? mcon/U/d_getinvent.U Do we have getinvent()? mcon/U/d_getlogin.U Do we have getlogin()? +mcon/U/d_getnameinfo.U Do we have getnameinfo()? mcon/U/d_getopt.U Do we have getopt()? mcon/U/d_getpagsz.U Computes system's page size mcon/U/d_getpgid.U Do we have getpgid()? Added: trunk/dist/mcon/U/d_getnameinfo.U =================================================================== --- trunk/dist/mcon/U/d_getnameinfo.U (rev 0) +++ trunk/dist/mcon/U/d_getnameinfo.U 2013-01-20 19:38:03 UTC (rev 160) @@ -0,0 +1,73 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 2013, 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_getnameinfo: Trylink cat i_arpainet i_netdb i_syssock \ + i_winsock2 i_ws2tcpip i_niin d_windows +?MAKE: -pick add $@ %< +?S:d_getnameinfo: +?S: This variable conditionally defines the HAS_GETNAMEINFO symbol, which +?S: indicates to the C program that the getnameinfo() routine is available. +?S:. +?C:HAS_GETNAMEINFO: +?C: This symbol is defined when getnameinfo() can be used. +?C:. +?H:#$d_getnameinfo HAS_GETNAMEINFO +?H:. +?LINT: set d_getnameinfo +: can we use getnameinfo? +$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 +#$d_windows WINDOWS_SYSTEM +#include <sys/types.h> +#ifdef I_SYS_SOCKET +#include <sys/socket.h> +#endif +#ifdef I_NETINET_IN +#include <netinet/in.h> +#endif +#ifdef I_ARPA_INET +#include <arpa/inet.h> +#endif +#ifdef I_NETDB +#include <netdb.h> +#endif +#ifdef WINDOWS_SYSTEM +#define WINVER 0x0501 +#endif +#ifdef I_WINSOCK2 +#include <Winsock2.h> +#endif +#ifdef I_WS2TCPIP +#include <Ws2tcpip.h> +#endif +int main(void) +{ + int ret; + static struct sockaddr sa; + socklen_t salen; + char host[NI_MAXHOST]; + char serv[NI_MAXSERV]; + + salen = sizeof(sa); + ret = getnameinfo(&sa, salen, + host, sizeof host, serv, sizeof serv, + NI_NAMEREQD | NI_DGRAM | NI_NOFQDN | NI_NUMERICHOST | NI_NUMERICSERV); + return 0 == ret; +} +EOC +cyn=getnameinfo +set d_getnameinfo '-lWs2_32' +eval $trylink + Property changes on: trunk/dist/mcon/U/d_getnameinfo.U ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Author Date Id Revision \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2013-01-20 19:37:37
|
Revision: 159 http://sourceforge.net/p/dist/code/159 Author: rmanfredi Date: 2013-01-20 19:37:33 +0000 (Sun, 20 Jan 2013) Log Message: ----------- Added check for semtimedop(). Modified Paths: -------------- trunk/dist/mcon/U/d_semop.U Modified: trunk/dist/mcon/U/d_semop.U =================================================================== --- trunk/dist/mcon/U/d_semop.U 2012-12-19 16:49:47 UTC (rev 158) +++ trunk/dist/mcon/U/d_semop.U 2013-01-20 19:37:33 UTC (rev 159) @@ -12,19 +12,28 @@ ?RCS: Revision 3.0 1993/08/18 12:07:05 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: -?MAKE:d_semop: Trylink cat +?MAKE:d_semop d_semtimedop: Trylink cat ?MAKE: -pick add $@ %< ?S:d_semop: ?S: This variable conditionally defines the HAS_SEMOP symbol, which ?S: indicates to the C program that the semop() routine is available. ?S:. +?S:d_semtimedop: +?S: This variable conditionally defines the HAS_SEMTIMEDOP symbol, which +?S: indicates to the C program that the semtimedop() routine is available. +?S:. ?C:HAS_SEMOP: ?C: This symbol, if defined, indicates that the semop() routine is ?C: available to execute semaphore operations. ?C:. +?C:HAS_SEMTIMEDOP: +?C: This symbol, if defined, indicates that the semtimedop() routine is +?C: available to execute semaphore operations with a timeout. +?C:. ?H:#$d_semop HAS_SEMOP /**/ +?H:#$d_semtimedop HAS_SEMTIMEDOP /**/ ?H:. -?LINT:set d_semop +?LINT:set d_semop d_semtimedop : see if semop exists $cat >try.c <<EOC #include <sys/ipc.h> @@ -47,3 +56,29 @@ set d_semop eval $trylink +@if d_semtimedop || HAS_SEMTIMEDOP +: see if semtimedop exists +$cat >try.c <<EOC +#include <sys/types.h> +#include <sys/ipc.h> +#include <sys/sem.h> +int main(void) +{ + static int ret, id; + static size_t n; + static struct sembuf buf; + + + buf.sem_num |= 1; + buf.sem_op |= 1; + buf.sem_flg |= SEM_UNDO; + buf.sem_flg |= IPC_NOWAIT; + ret |= semtimedop(id, &buf, n, (struct timespec *) 0); + return ret ? 0 : 1; +} +EOC +cyn=semtimedop +set d_semtimedop +eval $trylink + +@end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-12-19 16:49:49
|
Revision: 158 http://sourceforge.net/p/dist/code/158 Author: rmanfredi Date: 2012-12-19 16:49:47 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Added checks for <sys/ipc.h> and <sys/sem.h> inclusions. Modified Paths: -------------- trunk/dist/MANIFEST Added Paths: ----------- trunk/dist/mcon/U/i_sysipc.U trunk/dist/mcon/U/i_syssem.U Modified: trunk/dist/MANIFEST =================================================================== --- trunk/dist/MANIFEST 2012-12-19 16:49:00 UTC (rev 157) +++ trunk/dist/MANIFEST 2012-12-19 16:49:47 UTC (rev 158) @@ -514,6 +514,7 @@ mcon/U/i_sysdir.U Shall we include <sys/dir.h>? mcon/U/i_sysfile.U Do we need <sys/file.h>? mcon/U/i_sysioctl.U Include <sys/ioctl.h> or <sgtty.h>? +mcon/U/i_sysipc.U Shall we include <sys/ipc.h>? mcon/U/i_sysmman.U Do we have to include <sys/mman.h>? mcon/U/i_sysmount.U Shall we include <sys/mount.h>? mcon/U/i_sysndir.U Shall we include <sys/ndir.h>? @@ -521,6 +522,7 @@ mcon/U/i_syspoll.U Shall we include <sys/poll.h>? mcon/U/i_sysresrc.U Shall we include <sys/resource.h>? mcon/U/i_sysselct.U Shall we include <sys/select.h>? +mcon/U/i_syssem.U Shall we include <sys/sem.h>? mcon/U/i_syssendfile.U Shall we include <sys/sendfile.h>? mcon/U/i_syssock.U Shall we include <sys/socket.h>? mcon/U/i_sysstat.U Shall we include <sys/stat.h> Added: trunk/dist/mcon/U/i_sysipc.U =================================================================== --- trunk/dist/mcon/U/i_sysipc.U (rev 0) +++ trunk/dist/mcon/U/i_sysipc.U 2012-12-19 16:49:47 UTC (rev 158) @@ -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_sysipc: Inhdr +?MAKE: -pick add $@ %< +?S:i_sysipc: +?S: This variable conditionally defines the I_SYS_IPC symbol, and indicates +?S: whether a C program should include <sys/ipc.h> to be able to get defines +?S: for SysV IPCs. +?S:. +?C:I_SYS_IPC: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <sys/ipc.h> to get the defines for SysV IPCs. +?C:. +?H:#$i_sysipc I_SYS_IPC /**/ +?H:. +?LINT:set i_sysipc +: see if this is a sys/ipc system +set sys/ipc.h i_sysipc +eval $inhdr + Property changes on: trunk/dist/mcon/U/i_sysipc.U ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: trunk/dist/mcon/U/i_syssem.U =================================================================== --- trunk/dist/mcon/U/i_syssem.U (rev 0) +++ trunk/dist/mcon/U/i_syssem.U 2012-12-19 16:49:47 UTC (rev 158) @@ -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 + Property changes on: trunk/dist/mcon/U/i_syssem.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...> - 2012-12-19 16:49:03
|
Revision: 157 http://sourceforge.net/p/dist/code/157 Author: rmanfredi Date: 2012-12-19 16:49:00 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Fixed d_semop.U and d_semget.U to include <sys/ipc.h> for IPC_XXX defines. Modified Paths: -------------- trunk/dist/mcon/U/d_semget.U trunk/dist/mcon/U/d_semop.U Modified: trunk/dist/mcon/U/d_semget.U =================================================================== --- trunk/dist/mcon/U/d_semget.U 2012-12-19 16:44:39 UTC (rev 156) +++ trunk/dist/mcon/U/d_semget.U 2012-12-19 16:49:00 UTC (rev 157) @@ -27,6 +27,7 @@ ?LINT:set d_semget : see if semget exists $cat >try.c <<EOC +#include <sys/ipc.h> #include <sys/sem.h> int main(void) { Modified: trunk/dist/mcon/U/d_semop.U =================================================================== --- trunk/dist/mcon/U/d_semop.U 2012-12-19 16:44:39 UTC (rev 156) +++ trunk/dist/mcon/U/d_semop.U 2012-12-19 16:49:00 UTC (rev 157) @@ -27,6 +27,7 @@ ?LINT:set d_semop : see if semop exists $cat >try.c <<EOC +#include <sys/ipc.h> #include <sys/sem.h> int main(void) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-12-19 16:44:41
|
Revision: 156 http://sourceforge.net/p/dist/code/156 Author: rmanfredi Date: 2012-12-19 16:44:39 +0000 (Wed, 19 Dec 2012) Log Message: ----------- Added new metaconfig symbol $pthread to hold compiler/linker flag for threads. Modified Paths: -------------- trunk/dist/jmake/files/Jmake.tmpl trunk/dist/mcon/U/ccflags.U Modified: trunk/dist/jmake/files/Jmake.tmpl =================================================================== --- trunk/dist/jmake/files/Jmake.tmpl 2012-11-11 00:15:40 UTC (rev 155) +++ trunk/dist/jmake/files/Jmake.tmpl 2012-12-19 16:44:39 UTC (rev 156) @@ -90,9 +90,9 @@ ?CTAGS:CTAGS = ctags /* FIXME */ ?_EXE:_EXE = $_exe ?INSTALLPREFIX:INSTALLPREFIX = $prefix -?JCFLAGS:JCFLAGS = \$(CFLAGS) $optimize $ccflags $large +?JCFLAGS:JCFLAGS = \$(CFLAGS) $optimize $pthread $ccflags $large ?JCPPFLAGS:JCPPFLAGS = $cppflags -?JLDFLAGS:JLDFLAGS = \$(LDFLAGS) $optimize $ldflags +?JLDFLAGS:JLDFLAGS = \$(LDFLAGS) $optimize $pthread $ldflags ?JLFLAGS:JLFLAGS = \$(LFLAGS) ?JYFLAGS:JYFLAGS = \$(YFLAGS) $yaccflags ?L:L = $manext Modified: trunk/dist/mcon/U/ccflags.U =================================================================== --- trunk/dist/mcon/U/ccflags.U 2012-11-11 00:15:40 UTC (rev 155) +++ trunk/dist/mcon/U/ccflags.U 2012-12-19 16:44:39 UTC (rev 156) @@ -45,7 +45,7 @@ ?RCS: Revision 3.0 1993/08/18 12:05:31 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: -?MAKE:ccflags ldflags lkflags cppflags optimize locincpth: test cat \ +?MAKE:ccflags ldflags lkflags cppflags optimize pthread locincpth: test cat \ Myread Guess Options Oldconfig gccversion mips_type +usrinc \ package contains rm +cc cppstdin cppminus cpprun cpplast libpth \ loclibpth hint @@ -62,6 +62,10 @@ ?S: This variable contains any optimizer/debugger flag that should be used. ?S: It is up to the Makefile to use it. ?S:. +?S:pthread: +?S: This variable contains any thread-specific flag that should be used. +?S: It is up to the Makefile to use it. +?S:. ?S:ldflags: ?S: This variable contains any additional C loader flags desired by ?S: the user. It is up to the Makefile to use this. @@ -83,6 +87,7 @@ ?D:ccflags='' ?D:ldflags='' ?D:optimize='' +?D:pthread='' ?INIT:: Possible local include directories to search. ?INIT:: Set locincpth to "" in a hint file to defeat local include searches. ?INIT:locincpth="" @@ -129,6 +134,40 @@ 'none') optimize=" ";; esac +?X: When they are using I_PTHREAD, check whether we need/can supply -pthread +?X: to the compiler for proper threading support. This is usually necessary +?X: with gcc, in addition to the required -lpthread that need to be listed +?X: at link time. +@if I_PTHREAD +: see whether we need -pthread at the compile/link stage +case "$pthread" in +''|$undef) + $cat > try.c <<'EOF' +int main() { return 0; } +EOF + if $cc -pthread -c try.c >/dev/null 2>&1; then + dflt='-pthread' + else + dflt='none' + fi + ;; +*) dflt="$pthread";; +esac +$cat <<EOH + +Some C compilers need to have special flags supplied at compile and link time +to be able to generate code that will work correctly with POSIX threads. +When no specific flags are required, specify the word "none". + +EOH +rp="What thread-support compiler/linker flag should be used?" +. ./myread +pthread="$ans" +case "$pthread" in +'none') pthread="";; +esac +@end + dflt='' : We will not override a previous value, but we might want to : augment a hint file @@ -361,7 +400,7 @@ echo " " echo "Checking your choice of C compiler and flags for coherency..." >&4 ?X: Strip extra blanks in case some of the following variables are empty -set X $cc $optimize $ccflags $ldflags -o try try.c +set X $cc $optimize $pthread $ccflags $ldflags -o try try.c shift $cat >try.msg <<EOM I've tried to compile and run a simple program with: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-11-11 00:15:53
|
Revision: 155 http://dist.svn.sourceforge.net/dist/?rev=155&view=rev Author: rmanfredi Date: 2012-11-11 00:15:40 +0000 (Sun, 11 Nov 2012) Log Message: ----------- Updated checks on 'struct ucontext' to include <sys/ucontext.h> if necessary. Modified Paths: -------------- trunk/dist/mcon/U/d_uctx_mctx.U trunk/dist/mcon/U/d_uctx_mctx_gregs.U Modified: trunk/dist/mcon/U/d_uctx_mctx.U =================================================================== --- trunk/dist/mcon/U/d_uctx_mctx.U 2012-11-10 22:02:51 UTC (rev 154) +++ trunk/dist/mcon/U/d_uctx_mctx.U 2012-11-11 00:15:40 UTC (rev 155) @@ -7,7 +7,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_uctx_mctx: Trylink cat i_ucontext +?MAKE:d_uctx_mctx: Trylink cat i_ucontext i_sys_ucontext ?MAKE: -pick add $@ %< ?S:d_uctx_mctx: ?S: This variable conditionally defines the HAS_UCONTEXT_MCONTEXT symbol, @@ -25,9 +25,13 @@ : check for machine context field in the ucontext structure $cat >try.c <<EOC #$i_ucontext I_UCONTEXT +#$i_sys_ucontext I_SYS_UCONTEXT #ifdef I_UCONTEXT #include <ucontext.h> #endif +#ifdef I_SYS_UCONTEXT +#include <sys/ucontext.h> +#endif int main(void) { static ucontext_t *uc = 0; Modified: trunk/dist/mcon/U/d_uctx_mctx_gregs.U =================================================================== --- trunk/dist/mcon/U/d_uctx_mctx_gregs.U 2012-11-10 22:02:51 UTC (rev 154) +++ trunk/dist/mcon/U/d_uctx_mctx_gregs.U 2012-11-11 00:15:40 UTC (rev 155) @@ -7,7 +7,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_uctx_mctx_gregs: Trylink cat i_ucontext +?MAKE:d_uctx_mctx_gregs: Trylink cat i_ucontext i_sys_ucontext ?MAKE: -pick add $@ %< ?S:d_uctx_mctx_gregs: ?S: This variable conditionally defines the HAS_UCONTEXT_MCONTEXT_GREGS symbol, @@ -25,9 +25,13 @@ : check for general register access through the ucontext structure $cat >try.c <<EOC #$i_ucontext I_UCONTEXT +#$i_sys_ucontext I_SYS_UCONTEXT #ifdef I_UCONTEXT #include <ucontext.h> #endif +#ifdef I_SYS_UCONTEXT +#include <sys/ucontext.h> +#endif int main(void) { static ucontext_t uc; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-11-10 22:02:58
|
Revision: 154 http://dist.svn.sourceforge.net/dist/?rev=154&view=rev Author: rmanfredi Date: 2012-11-10 22:02:51 +0000 (Sat, 10 Nov 2012) Log Message: ----------- Added checks for <sys/ucontext.h> as well. Modified Paths: -------------- trunk/dist/mcon/U/i_ucontext.U Modified: trunk/dist/mcon/U/i_ucontext.U =================================================================== --- trunk/dist/mcon/U/i_ucontext.U 2012-11-10 19:51:46 UTC (rev 153) +++ trunk/dist/mcon/U/i_ucontext.U 2012-11-10 22:02:51 UTC (rev 154) @@ -8,20 +8,89 @@ ?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_ucontext: Inhdr +?MAKE:i_ucontext i_sys_ucontext: Inhdr cat echo n c rm \ + +cc +ccflags +ldflags ?MAKE: -pick add $@ %< ?S:i_ucontext: ?S: This variable conditionally defines the I_UCONTEXT symbol, and indicates ?S: whether a C program may include <ucontext.h> to get ucontext_t. ?S:. +?S:i_sys_ucontext: +?S: This variable conditionally defines the I_SYS_UCONTEXT symbol, and +?S: indicates whether a C program may include <sys/ucontext.h> to get +?S: ucontext_t. +?S:. ?C:I_UCONTEXT: ?C: This symbol, if defined, indicates to the C program that it should -?C: include <ucontext.h> to get at the user thread context. +?C: include <ucontext.h> to get at the user thread context. A portable +?C: program must also check I_SYS_UCONTEXT for <sys/ucontex.h> inclusion, +?C: especially on OSX. ?C:. +?C:I_SYS_UCONTEXT: +?C: This symbol, if defined, indicates to the C program that it should +?C: include <sys/ucontext.h> to get at the user thread context. A portable +?C: program must also check I_UCONTEXT for <ucontex.h> inclusion. +?C:. ?H:#$i_ucontext I_UCONTEXT /**/ +?H:#$i_sys_ucontext I_SYS_UCONTEXT /**/ ?H:. -?LINT:set i_ucontext +?T:working : see if this is a ucontext.h system set ucontext.h i_ucontext eval $inhdr +: see if this is a sys/ucontext.h system +set sys/ucontext.h i_sys_ucontext +eval $inhdr + +: when both ucontext.h and sys/ucontext.h are available, check which one works +case "$i_ucontext$i_sys_ucontext" in +"$define$define") + echo " " + $cat >try.c <<'EOC' +#ifdef I_UCONTEXT +#include <ucontext.h> +#endif +#ifdef I_SYS_UCONTEXT +#include <sys/ucontext.h> +#endif + +int main(void) +{ + static ucontext_t u; + return (int) sizeof(u) & 0xff; +} +EOC + $echo $n "Checking whether including <ucontext.h> alone works...$c" >&4 + working= + if $cc $ccflags -DI_UCONTEXT -o try try.c $ldflags >/dev/null 2>&1; then + working="$define" + fi + case "$working" in + "$define") + echo " yes." >&4 + i_sys_ucontext="$undef" + ;; + *) + echo "no." >&4 + echo " " + $echo $n "Checking whether including <sys/ucontext.h> works...$c" >&4 + working= + if $cc $ccflags -DI_SYS_UCONTEXT \ + -o try try.c $ldflags >/dev/null 2>&1 + then + working="$define" + fi + case "$working" in + "$define") + echo " yes, ignoring <ucontext.h>." >&4 + i_ucontext="$undef" + ;; + *) echo " no, we'll include both then." >&4;; + esac + ;; + esac + ;; +esac +$rm -f try.* + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-11-10 19:51:56
|
Revision: 153 http://dist.svn.sourceforge.net/dist/?rev=153&view=rev Author: rmanfredi Date: 2012-11-10 19:51:46 +0000 (Sat, 10 Nov 2012) Log Message: ----------- Fixed regular expression which prevented "cc -MM" from being picked. Modified Paths: -------------- trunk/dist/mcon/U/mkdep.U Modified: trunk/dist/mcon/U/mkdep.U =================================================================== --- trunk/dist/mcon/U/mkdep.U 2012-11-03 00:04:08 UTC (rev 152) +++ trunk/dist/mcon/U/mkdep.U 2012-11-10 19:51:46 UTC (rev 153) @@ -138,7 +138,7 @@ chmod +x $mkdep $eunicefix $mkdep if $mkdep dep.c >dep.out 2>/dev/null && - $contains "dep$_o: dep.h" dep.out >/dev/null 2>&1 + $contains "dep$_o:.*dep\.h" dep.out >/dev/null 2>&1 then echo "Looks like we can use $cc -MM." else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-11-03 00:04:15
|
Revision: 152 http://dist.svn.sourceforge.net/dist/?rev=152&view=rev Author: rmanfredi Date: 2012-11-03 00:04:08 +0000 (Sat, 03 Nov 2012) Log Message: ----------- Added blurb for malloc() superseding. Also define the unit when USE_MY_MALLOC is present, not just $mallocobj. Modified Paths: -------------- trunk/dist/mcon/U/mallocsrc.U Modified: trunk/dist/mcon/U/mallocsrc.U =================================================================== --- trunk/dist/mcon/U/mallocsrc.U 2012-11-03 00:02:04 UTC (rev 151) +++ trunk/dist/mcon/U/mallocsrc.U 2012-11-03 00:04:08 UTC (rev 152) @@ -21,7 +21,7 @@ ?RCS: ?MAKE:mallocsrc mallocobj usemymalloc malloctype d_mymalloc \ freetype: Myread \ - Oldconfig package Guess Setvar rm cat +cc +ccflags Findhdr \ + Oldconfig package spackage Guess Setvar rm cat +cc +ccflags Findhdr \ i_malloc i_stdlib sed libs _o ptrsize ?MAKE: -pick add $@ %< ?X: Put near top so that other tests don't erroneously include @@ -76,7 +76,7 @@ ?LINT:change libs ?X: Cannot test for mallocsrc; it is the unit's name and there is a bug in ?X: the interpreter which defines all the names, even though they are not used. -@if mallocobj +@if mallocobj || USE_MY_MALLOC : determine which malloc to compile in echo " " case "$usemymalloc" in @@ -89,6 +89,16 @@ esac ;; esac +$cat <<EOM +$spackage comes with its own malloc() implementation that will supersede +the version included in your C library. Since proper memory allocation is +critical, you may choose to opt out from this specific implementation and +rely on the (hopefully) more thoroughly tested version in the C library. + +If you change your mind later, you can always re-run this configuration +script and recompile $package from scratch. + +EOM rp="Do you wish to attempt to use the malloc() that comes with $package?" . ./myread usemymalloc="$ans" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <rma...@us...> - 2012-11-03 00:02:11
|
Revision: 151 http://dist.svn.sourceforge.net/dist/?rev=151&view=rev Author: rmanfredi Date: 2012-11-03 00:02:04 +0000 (Sat, 03 Nov 2012) Log Message: ----------- Added missing blank line. Modified Paths: -------------- trunk/dist/mcon/U/official.U Modified: trunk/dist/mcon/U/official.U =================================================================== --- trunk/dist/mcon/U/official.U 2012-11-03 00:00:58 UTC (rev 150) +++ trunk/dist/mcon/U/official.U 2012-11-03 00:02:04 UTC (rev 151) @@ -33,7 +33,7 @@ false) official=false val="$undef" - + echo " " ./warn 'This build will not be suitable for distribution.' 4>&4 ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |