Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:18:05 -0600]: On 05/24/2011 10:12 AM, Sam Steingold wrote: I updated gnulib and found that it now wants to add these files to CLISP: src/gllib/glthread/lock.c src/gllib/glthread/lock.h src/gllib/glthread/threadlib.c src/gllib/strerror-impl.h

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:21:16 -0600]: On 05/24/2011 10:18 AM, Eric Blake wrote: On 05/24/2011 10:12 AM, Sam Steingold wrote: I updated gnulib and found that it now wants to add these files to CLISP: src/gllib/glthread/lock.c src/gllib/glthread/lock.h src/gllib

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:32:16 -0600]: I do _not_ want strerror_r. Why not? because I copy away the strerror return value right away. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http

request: pointer to the docs in the module file

2011-05-24 Thread Sam Steingold
(without Gnulib) is to define a macro like this: - what does this mean? I need to use this macro if I am not using Gnulib? I need to define the macro even if I am using Gnulib? Thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http

Re: sed hangs on solaris

2011-05-24 Thread Sam Steingold
* Paul Eggert rtt...@pf.hpyn.rqh [2011-05-03 13:52:21 -0700]: On 05/03/11 13:26, Sam Steingold wrote: note that some pipelines appear to succeed before the hanging: Yes. If it is a kernel bug, quite possibly it's timing-dependent, and I wouldn't be surprised if it's not that common. isn't

Re: request: pointer to the docs in the module file

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 11:37:40 -0600]: On 05/24/2011 11:26 AM, Sam Steingold wrote: How do I find out where a module is documented? E.g., when I discovered the getloadavg module, I had to do find gnulib/ -name getload\* to find gnulib/doc/glibc-functions/getloadavg.texi

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
: return Operation now in progress; case EALREADY: return Operation already in progress; ... } } -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://iris.org.il http://jihadwatch.org http://pmw.org.il http://camera.org http

Re: strerror vs. threads [was: new files imported without new modules added]

2011-05-24 Thread Sam Steingold
goes for system-supplied strerror - is it ever used?) thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://mideasttruth.com http://palestinefacts.org http://iris.org.il http://openvotingconsortium.org http

getloadavg is broken

2011-05-24 Thread Sam Steingold
why getloadavg should. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://camera.org http://www.PetitionOnline.com/tap12009/ http://memri.org http://palestinefacts.org http://truepeace.org Trespassers will be shot. Survivors will be SHOT AGAIN! diff

include sys/types.h without check

2011-05-18 Thread Sam Steingold
sys_uio.in.h includes sys/types.h without #ifdef HAVE_SYS_TYPES_H. can this file be assumed to be present on all platforms including mingw? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://palestinefacts.org http://mideasttruth.com http://pmw.org.il

GNULIB_PORTCHECK

2011-05-18 Thread Sam Steingold
check for portability. I am confused (as usual, alas...) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://pmw.org.il http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://openvotingconsortium.org Just because you're

socketless platforms?

2011-05-18 Thread Sam Steingold
is there such a thing as a platform without socket support? if yes, how do I detect that after I call gl_SOCKETLIB? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://openvotingconsortium.org http://pmw.org.il http

Re: alloca-opt

2011-05-17 Thread Sam Steingold
malloc.h #define alloca _alloca #endif -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://ffii.org http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org http://jihadwatch.org http://thereligionofpeace.com Feynman

canonicalize_file_name should support win32 shortcuts

2011-05-17 Thread Sam Steingold
/raw-file/363f5b952505/src/w32shell.c which works like a charm for us. it would be wonderful if we could shift the burden of maintaining it to you. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://honestreporting.com

gnulib compilation error

2011-05-16 Thread Sam Steingold
stat canonicalize-lgpl nocrash libsigsegv gnu-make gettimeofday getpagesize sys_time sys_wait mktime strftime strptime strverscmp uname strerror fnmatch-gnu regex -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http

do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
DIUC that if I include the sys_time unistd modules, I can write #include unistd.h #include sys/time.h instead of #ifdef HAVE_SYS_TIME_H #include sys/time.h #endif #ifdef HAVE_UNISTD_H #include unistd.h #endif ?? the same question for all the other headers... thanks! -- Sam Steingold

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 13:55:31 -0600]: On 05/16/2011 01:51 PM, Sam Steingold wrote: I am getting this error: On which platform? CentOS release 5.6 (Final) Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux sorry about not including

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 13:56:46 -0600]: On 05/16/2011 01:53 PM, Sam Steingold wrote: DIUC that if I include the sys_time unistd modules, I can write #include unistd.h #include sys/time.h instead of #ifdef HAVE_SYS_TIME_H #include sys/time.h #endif #ifdef

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
config.h? yes, thanks, fixed. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://www.memritv.org http://thereligionofpeace.com http://openvotingconsortium.org http://truepeace.org http://honestreporting.com Lisp: Serious

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
-files accept a list of directories? (it would be 'src modules' for me) why is $(srcdir)/lib/ hard-coded? I use gllib instead of lib. when I managed to get it running, I got warnings about HAVE_ALLOCA_H in ChangeLog, aclocal.m4, and configure. thanks for the pointer though... -- Sam Steingold

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
-- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://www.memritv.org http://honestreporting.com http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ char*a=char*a=%c%s%c;main(){printf(a,34,a,34);};main(){printf(a,34,a,34);}

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
skip other files from the maint.mk syntax checks. from the way VC_LIST_ALWAYS_EXCLUDE_REGEX is used, this appears to be TRT: VC_LIST_ALWAYS_EXCLUDE_REGEX = ChangeLog|configure|config.in.h|aclocal.m4 however, it has no effect. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6

environ

2011-05-16 Thread Sam Steingold
does importing the environ module mean that I can remove this: #if !HAVE_DECL_ENVIRON extern_C char** environ; #endif from my sources and assume that environ is properly declared in unistd? also, how can I come up with the answer to this question myself without bothering you? thanks! -- Sam

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 15:57:43 -0600]: On 05/16/2011 03:56 PM, Sam Steingold wrote: from the way VC_LIST_ALWAYS_EXCLUDE_REGEX is used, this appears to be TRT: VC_LIST_ALWAYS_EXCLUDE_REGEX = ChangeLog|configure|config.in.h|aclocal.m4 | outside () is different than

dependency creep: canonicalize_file_name

2011-05-04 Thread Sam Steingold
/src/pathname.d almost takes about 160 lines of C code). People, this is ridiculous. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://ffii.org http://iris.org.il http://memri.org http://www.PetitionOnline.com/tap12009/ http

solaris 11 (i386), PIC, dlopen c

2011-05-04 Thread Sam Steingold
.1: lisp.run: fatal: relocation error: file /.../dynmod/lib-wildcard.so: symbol rpl_mbsrtowcs: referenced symbol not found I am passing CFLAGS et al to the gnulib compilation, so -fPIC -DPIC should have been used. Bruno, do you have any insight on the matter? -- Sam Steingold (http

sed hangs on solaris

2011-05-03 Thread Sam Steingold
unistd.h-t unistd.h make[1]: *** [unistd.h] Interrupt when I split the pipe of 3 seds into 3 separate invocations with intermediate files, it works just fine (but hangs in the next sed chain) adding SHELL = /bin/bash to the Makefile did nto change anything. whan do I do now? -- Sam Steingold

what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
file. */ -#undef HAVE_STDDEF_H - /* Define to 1 if you have the stdint.h header file. */ #undef HAVE_STDINT_H what happenned? are we assuming that all platforms now have these files? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il

Re: what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-03 16:03:16 -0600]: On 05/03/2011 03:52 PM, Sam Steingold wrote: when I regenerate config.h with the current gnulib, I get: @@ -871,12 +979,6 @@ /* `struct sockaddr_un' from sys/un.h has a `sun_len' field */ #undef HAVE_SOCKADDR_UN_LEN

error: expected ')' before 'int'

2011-03-24 Thread Sam Steingold
to add there. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X http://truepeace.org http://ffii.org http://palestinefacts.org http://thereligionofpeace.com http://dhimmi.com My inferiority complex is the only thing I can be proud of.

Re: error: expected ')' before 'int'

2011-03-24 Thread Sam Steingold
* Sam Steingold f...@tah.bet [2011-03-24 10:45:47 -0400]: I am trying to update gnulib in clisp and clisp no longer compiles: In file included from ../../src/gllib/close-hook.c:23: ./stdlib.h:611: error: expected ')' before 'int' ./stdlib.h:729: error: expected ')' before 'int' In file

error: redefinition of `struct random_data'

2010-10-11 Thread Sam Steingold
of `struct random_data' make[4]: *** [malloc.o] Error 1 indeed, I have stdlib.h both in gllib and regexp/gllib. what has happened? thanks. Sam.

module request: gmalloc

2010-10-11 Thread Sam Steingold
to handle the --with-gmalloc configure option and could instead get the gmalloc module from gnulib and --with-included-malloc (???) would DTRT. thanks. Sam.

Re: error: redefinition of `struct random_data'

2010-10-11 Thread Sam Steingold
). does this as recommended mean that you are now more amenable to accepting my patch? http://clisp.cvs.sourceforge.net/viewvc/clisp/clisp/gnulib-tool.patch?view=log I think the problem you encountered is not specific to clisp, therefore I'm applying approach a). thanks. -- Sam Steingold http

gl_* check do nothing?

2010-09-29 Thread Sam Steingold
-supplied strftime, strptime, getdate, strerror? why? this is a very current ubuntu so I expected that _none_ of the gnulib code would be used. how do I get the full list of all functions which gnulib actually replaced in the current build? thanks! Sam.

getdate fails to build

2010-09-29 Thread Sam Steingold
^ make[2]: *** [getdate.c] Error 1 why is getdate built at all on the latest ubuntu? isn't glibc enough there?! thanks Sam

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
getdate: never supplied by the system. HUH???!!! $ nm /lib/libc.so.6 | grep getdate 00085620 t __getdate_r 00085b70 T getdate 00157334 B getdate_err 00085620 W getdate_r -- Sam Steingold http://sds.podval.org

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
Bruno, On Wed, Sep 29, 2010 at 12:33 PM, Bruno Haible br...@clisp.org wrote: Sam, why is getdate built at all on the latest ubuntu? isn't glibc enough there?! Take a look at the module description (modules/getdate):  1) It says       Include:       getdate.h     Does glibc have

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 11:50 AM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 09:34 AM, Sam Steingold wrote: this part of my configure.in: You haven't switched to configure.ac yet? http://www.cygwin.com/acronyms/#PTC :-) AC_FUNC_CHOWN gl_FUNC_MKTIME gl_FUNC_GNU_STRFTIME

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:32 PM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 11:25 AM, Eric Blake wrote: On 09/29/2010 10:50 AM, Sam Steingold wrote: getdate: never supplied by the system. Gnulib and glibc getdate are not synced. There are extensions and bug fixes in gnulib's getdate

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:44 PM, Paul Eggert egg...@cs.ucla.edu wrote: Renaming the module to get_date would avoid confusion like Sam's in the future.  Presumably getdate.h would be renamed to get_date.h as well. yes, please do! thanks for your explanations! -- Sam Steingold http

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 2:17 PM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 12:10 PM, Sam Steingold wrote: Had I realised this earlier, I would not have pulled the getdate module from gnulib. now I have to revert my changes... Which application are you trying to use this in? GNU

why does getdate include xalloc-die.c?

2010-09-28 Thread Sam Steingold
does this mean that on memory allocation failure in getdate clisp will exit? this is no good.

Re: module gethostname

2010-09-16 Thread Sam Steingold
Bruno Haible wrote: I am now getting undefined reference to `_gethostname_used_without_requesting_gnulib_module_gethostname' This indicates that you have included gnulib unistd.h, are using gethostname(), and have not asked for the gnulib module 'gethostname'. - If you want to use a POSIX

module gethostname

2010-09-15 Thread Sam Steingold
The only problem which gethostname module fixes is: On mingw, this function has a prototype that differs from that specified by POSIX, and it is defined only in the ws2_32 library. why does it have such extensive dependencies? (sockets! errno!) I have to reiterate my complaint that the gnulib

Re: feature request: detect CPU instruction set

2010-09-03 Thread Sam Steingold
Bruno Haible wrote: AH_TOP([/* CPU and C ABI indicator */ #ifndef __i386__ #undef __i386__ #endif #ifndef __x86_64__ #undef __x86_64__ #endif #ifndef __alpha__ #undef __alpha__ #endif #ifndef __arm__ #undef __arm__ #endif #ifndef __armel__ #undef __armel__ #endif #ifndef __hppa__ #undef

module request: sockets.m4

2010-09-01 Thread Sam Steingold
Hi, I want to include sockets.m4 and nothing else (I need LIBSOCKET to replace clisp/src/m4/socket.m4). Is it possible to add a module which would only include that one file? thanks Sam.

Re: module request: sockets.m4

2010-09-01 Thread Sam Steingold
the stability. :-) -- Sam Steingold http://sds.podval.org

Re: feature request: detect CPU instruction set

2010-08-31 Thread Sam Steingold
Bruno Haible wrote: Compared to the code that you proposed: - I changed the name, of course. - I chose to use AC_CACHE_CHECK once for the result of the entire macro, not for each AC_EGREP_CPP inside it. - I dropped Convex CPUs; these are dead for more than 10 years. - I added an

Re: feature request: detect CPU instruction set

2010-08-31 Thread Sam Steingold
Hi Bruno, On 8/31/10, Bruno Haible br...@clisp.org wrote: It apparently depends for whom the code should be readable. since you will be maintaining the code, it is your choice. So, except for code style, you are fine with that proposed module? yes. -- Sam Steingold http://sds.podval.org

Re: feature request: detect CPU instruction set

2010-08-30 Thread Sam Steingold
Hi Bruno, On 8/28/10, Bruno Haible br...@clisp.org wrote: Sam, you contributed a significant part to the FFCALL_CANONICAL_HOST_CPU code that you proposed, from which this one here is derived. Would you mind starting the paperwork process for assigning your gnulib contributions to the FSF

Re: feature request: detect CPU instruction set

2010-07-28 Thread Sam Steingold
so, what's the verdict? Sam Steingold wrote: The already existing AC_CANONICAL_HOST is insufficient in that it does not detect the actual cpu instruction set to which the C compiler compiles. E.g., it is quite common that uname -m prints sparc64 while gcc compile 32-bit binaries by default

feature request: detect CPU instruction set

2010-07-21 Thread Sam Steingold
was AC_DEFINE_UNQUOTED(__${host_cpu}__) but KAI C++ 3.2d doesn't like this cat confdefs.h EOF #ifndef __${host_cpu_abi}__ #define __${host_cpu_abi}__ 1 #endif EOF ]) = It would be nice if you could incorporate it into gnulib. Thanks. Sam

Re: feature request: detect CPU instruction set

2010-07-21 Thread Sam Steingold
Hello Ralf, On 7/21/10, Ralf Wildenhues ralf.wildenh...@gmx.de wrote: * Sam Steingold wrote on Wed, Jul 21, 2010 at 05:08:02PM CEST: The already existing AC_CANONICAL_HOST is insufficient in that it does not detect the actual cpu instruction set to which the C compiler compiles

module request: comparing version numbers

2010-06-17 Thread Sam Steingold
() { ... } which would return 0 or 1 depending on whether $1 is smaller than $2. Thanks. Sam.

Re: module request: comparing version numbers

2010-06-17 Thread Sam Steingold
On 6/17/10, Eric Blake ebl...@redhat.com wrote: On 06/17/2010 11:33 AM, Sam Steingold wrote: some gnulib modules (e.g., gnulib/m4/libunistring-base.m4) have facilities for comparing version numbers, e.g., 1.5.22 with 2.2.8. it would be nice if there were a module (say, version-compare

module request: EINVAL synonyms?

2010-06-17 Thread Sam Steingold
IS_EINVAL to config.h and IS_EINVAL would be defined to (errno==EINVAL)||(errno==ENOSYS)) on Irix, (errno==EINVAL)||(errno==EBADF))||(errno==EACCES))||(errno==EBADRQC)) on cygwin c, and (errno==EINVAL) by default. thanks! -- Sam Steingold http://sds.podval.org

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-03-16 Thread Sam Steingold
Eric Blake wrote: On 03/08/2010 11:34 AM, Sam Steingold wrote: Sam Steingold wrote: Alternatively, I would be reasonably happy with sed -i -e 's/_GL_ARG_NONNULL/GL_ARG_NONNULL/' arg-nonnull.h sed -i -e 's/_GL_WARN_ON_USE/GL_WARN_ON_USE/' warn-on-use.h similar to GL_LINK_WARNING in link

warn-on-use Makefile.am: $$p

2010-03-16 Thread Sam Steingold
modules/warn-on-use has this: Makefile.am: BUILT_SOURCES += warn-on-use.h # The warn-on-use.h that gets inserted into generated .h files is the same as # build-aux/warn-on-use.h, except that it has the copyright header cut off. warn-on-use.h: $(build_aux)/warn-on-use.h $(AM_V_GEN)rm -f

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-03-08 Thread Sam Steingold
Sam Steingold wrote: Alternatively, I would be reasonably happy with sed -i -e 's/_GL_ARG_NONNULL/GL_ARG_NONNULL/' arg-nonnull.h sed -i -e 's/_GL_WARN_ON_USE/GL_WARN_ON_USE/' warn-on-use.h similar to GL_LINK_WARNING in link-warning.h. So, any chance the constants in arg-nonnull.h warn

Re: gnulib-tool feature request

2010-03-02 Thread Sam Steingold
On 3/2/10, Simon Josefsson si...@josefsson.org wrote: Sam Steingold s...@gnu.org writes: On 3/1/10, Simon Josefsson si...@josefsson.org wrote: It would be nice it gnulib-tool could do it, but I have a hard time thinking how that would actually be implemented. There are so many

Re: gnulib-tool feature request

2010-03-02 Thread Sam Steingold
direct solution: make it illegal to use any OS other than a recent linux. -- Sam Steingold http://sds.podval.org

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-03-02 Thread Sam Steingold
Sam Steingold wrote: I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h warn-on-use.h in src/build-aux. So, any chance these files could be restored to their proper place in gllib? This location causes me huge problems because these files are not covered

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-03-02 Thread Sam Steingold
On 3/2/10, Sam Steingold s...@gnu.org wrote: Sam Steingold wrote: I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h warn-on-use.h in src/build-aux. So, any chance these files could be restored to their proper place in gllib? Alternatively, I would be reasonably happy

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
http://www.mail-archive.com/bug-gnulib@gnu.org/msg14814.html At that time, Bruno said that for now, this change is better limited to your project. I think that now, after several months of testing in clisp, the time is ripe to include the change in gnulib. -- Sam Steingold http://sds.podval.org

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
of the same gnulib headers. Also, when a module is loaded, its gnulib library is loaded too - even though the objects are already present in RAM from the core or other modules. This slows the system down. -- Sam Steingold http://sds.podval.org

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
On 3/1/10, Simon Josefsson si...@josefsson.org wrote: Sam Steingold s...@gnu.org writes: as I said above, I do have a separate configure.in, gllib, glm4 in each module. I am confused. If they are separate, how could the gnulib generated files conflict with each other? I use gnulib

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
mbrtowc mbsrtowcs memmove memcmp memchr nl_langinfo I think it would be nice if gnulib-tool did this factoring automatically. -- Sam Steingold http://sds.podval.org

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
and let all your sub-modules link to that gnulib generated library? yep, I put it in the core gllib. however, I think this should be handled by gnulib-tool. -- Sam Steingold http://sds.podval.org

Re: gnulib-tool feature request

2010-03-01 Thread Sam Steingold
on foo, then foo files will not be added to modules/syscalls/gllib and modules/syscalls/glm4, instead they will be found in src/gllib src/glm4 by the second invocation of gnulib-tool. -- Sam Steingold http://sds.podval.org

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-26 Thread Sam Steingold
Ralf Wildenhues wrote: * Sam Steingold wrote on Wed, Feb 24, 2010 at 01:15:13AM CET: On 2/23/10, Bruno Haible wrote: Autoconf requires it to be constant. You specify it through the AC_CONFIG_AUX_DIR macro. In other words, if you add to clisp/modules/syscalls/configure.ac the line

gnulib-tool feature request

2010-02-26 Thread Sam Steingold
Since I use gnulib in several sub-modules, I need to avoid conflicts between different gnulib imports. thus I need to make all those _GL_* constants module-specific. thus I need gnulib-tool to accept a --macro-prefix option and this patch: iff --git a/gnulib-tool b/gnulib-tool index

Re: gnulib-tool feature request

2010-02-26 Thread Sam Steingold
On 2/26/10, Simon Josefsson si...@josefsson.org wrote: Sam Steingold s...@gnu.org writes: Since I use gnulib in several sub-modules, I need to avoid conflicts between different gnulib imports. thus I need to make all those _GL_* constants module-specific. thus I need gnulib-tool

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-25 Thread Sam Steingold
Eric Blake wrote: According to Sam Steingold on 2/23/2010 3:06 PM: I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h warn-on-use.h in src/build-aux. why aren't these files in the usual place (src/gllib), together with all the other headers? Because the versions in src

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-24 Thread Sam Steingold
Hi, On 2/24/10, Ralf Wildenhues ralf.wildenh...@gmx.de wrote: * Sam Steingold wrote on Wed, Feb 24, 2010 at 01:15:13AM CET: On 2/23/10, Bruno Haible wrote: Autoconf requires it to be constant. You specify it through the AC_CONFIG_AUX_DIR macro. In other words, if you add

arg-nonnull.h warn-on-use.h in build-aux

2010-02-23 Thread Sam Steingold
would also need to somehow convince automake to add build_aux = $(top_srcdir)/build-aux to Makefile.in, but I don't know how to do that. Thanks. Sam.

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-23 Thread Sam Steingold
Hi, On 2/23/10, Eric Blake ebl...@redhat.com wrote: According to Sam Steingold on 2/23/2010 2:05 PM: I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h warn-on-use.h in src/build-aux. why aren't these files in the usual place (src/gllib), together with all the other

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-23 Thread Sam Steingold
On 2/23/10, Eric Blake ebl...@redhat.com wrote: According to Sam Steingold on 2/23/2010 3:06 PM: I updated gnulib in clisp and gnulib-tool installed arg-nonnull.h warn-on-use.h in src/build-aux. why aren't these files in the usual place (src/gllib), together with all

Re: arg-nonnull.h warn-on-use.h in build-aux

2010-02-23 Thread Sam Steingold
On 2/23/10, Bruno Haible br...@clisp.org wrote: Sam Steingold wrote: I want to be able to add build_aux= to the $(MAKE) invocation so that the file arg-nonnull.h warn-on-use.h are found in the right place. build_aux is not something that you can change via an environment variable

Re: error compiling gethostname.c on woe32

2009-10-01 Thread Sam Steingold
reverted that. are you sure you want to keep reminding me about my own patch once a month instead of just accepting it? -- Sam Steingold http://sds.podval.org

error compiling gethostname.c on woe32

2009-09-30 Thread Sam Steingold
. */ = 2009-09-30 Sam Steingold s...@gnu.org * lib/w32sock.h: include winsock2.h which declares the woe32-specific macros

multiple target patterns

2009-09-30 Thread Sam Steingold
I get this make error (after I apply the patch in http://article.gmane.org/gmane.comp.lib.gnulib.bugs/18913): make[2]: Entering directory `/cygdrive/c/sds/dev/current/build-mingw-4/syscalls/ gllib' .deps/close-hook.Po:1: *** multiple target patterns. Stop. make[2]: Leaving directory

Re: gnulib update breaks clisp: stdlib.h:189:5: error: #if with no expression

2009-09-18 Thread Sam Steingold
On Thu, Sep 17, 2009 at 5:15 PM, Bruno Haible br...@clisp.org wrote: Sam Steingold wrote: I updated clisp to the latest gnulib (to take advantage of the mktime fix) and now build fails with this: ./stdlib.h:189:5: error: #if with no expression this comes from #if @GNULIB_MKOSTEMP

gnulib update breaks clisp: stdlib.h:189:5: error: #if with no expression

2009-09-17 Thread Sam Steingold
I updated clisp to the latest gnulib (to take advantage of the mktime fix) and now build fails with this: ./stdlib.h:189:5: error: #if with no expression this comes from #if @GNULIB_MKOSTEMP@ # if !...@have_mkostemp@

Re: CLISP build fails in mktime

2009-08-29 Thread Sam Steingold
-bit time_t (just a guess though). thanks. I think this is a bug in gnulib. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) http://iris.org.il http://palestinefacts.org http://pmw.org.il http://camera.org http://dhimmi.com MS: Brain off-line, please wait.

Re: uname: build problem on win32

2009-08-12 Thread Sam Steingold
On Wed, Aug 12, 2009 at 10:43 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: On one of these, do a  sed -e s/_GL_UNISTD_H/_GL_UNISTD_H_2/ 2. you can use the --macro-prefix gnulib-too argument to augment the guards. i.e., whenever you generate a header, modify the guards

Re: uname: build problem on win32

2009-08-12 Thread Sam Steingold
Bruno Haible wrote: Sam Steingold wrote: Therefore for now, this change is better limited to your project. OK, how about adding an --guard_prefix option? fixing the problem at the source (gnulib-tool) is much easier - just a few lines. fixing it inside clisp is a bigger task. Feel free

Re: uname: build problem on win32

2009-08-11 Thread Sam Steingold
Sam Steingold wrote: On Mon, Aug 10, 2009 at 6:26 PM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: the bottom line is: if I add -I build/gnulib/ to module CFLAGS, then include_next will make build/gnulib/unistd.h supersede build/syscalls/gnulib/unistd.h, which is no good. if I do

Re: no-c++

2009-08-10 Thread Sam Steingold
-case. the forcing goes the other way around. the user of gnulib forces C++ on gnulib code, and gnulib should use no-cxx (when necessary) to cope with it. -- Sam Steingold http://sds.podval.org

Re: no-c++

2009-08-10 Thread Sam Steingold
On Mon, Aug 10, 2009 at 10:12 AM, Simon Josefssonsi...@josefsson.org wrote: Sam Steingold s...@gnu.org writes: Some packages are compilable with both C (production) and C++ (extra compilation time type checking and run-time verification for debugging). when such a package uses code from

Re: uname: build problem on win32

2009-08-10 Thread Sam Steingold
On Sat, Aug 8, 2009 at 3:14 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: In file included from /cygdrive/c/sds/dev/current/modules/syscalls/gllib/gethostname.c:83: /cygdrive/c/sds/dev/current/modules/syscalls/gllib/w32sock.h: In function `set_winsock_errno': /cygdrive/c/sds

close_used_without_requesting_gnulib_module_close

2009-08-10 Thread Sam Steingold
What does this mean? I did not request the close module, and it is not clear why I should. (in fact, I don't see why pulling uname should change the semantics of close. yes, uname requires gethostname, which requires sockets c, so I see the dependency chain, but I think what I see is a

Re: uname: build problem on win32

2009-08-10 Thread Sam Steingold
On Mon, Aug 10, 2009 at 2:22 PM, Sam Steingolds...@gnu.org wrote: I followed your instructions, so now I have unistd.h both in the above and in build/gllib/unistd.h the former comes first on the gcc -I list, but, apparently, #include next discards it and only the latter is actually used

strftime does not support %F and %T

2009-08-10 Thread Sam Steingold
strftime on linux supports %F and %T which are, I guess, extensions. any plans to support it in gnulib/strftime?

Re: close_used_without_requesting_gnulib_module_close

2009-08-10 Thread Sam Steingold
On Mon, Aug 10, 2009 at 3:29 PM, Paolo Bonzinibonz...@gnu.org wrote: On 08/10/2009 09:02 PM, Sam Steingold wrote: What does this mean? I did not request the close module, and it is not clear why I should. (in fact, I don't see why pulling uname should change the semantics of close. yes

Re: uname: build problem on win32

2009-08-10 Thread Sam Steingold
-module basis, but what if a module wants both unistd.h and alloca?! -- Sam Steingold http://sds.podval.org

Re: uname: build problem on win32

2009-08-10 Thread Sam Steingold
On Mon, Aug 10, 2009 at 6:26 PM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: the bottom line is: if I add -I build/gnulib/ to module CFLAGS, then include_next will make build/gnulib/unistd.h supersede build/syscalls/gnulib/unistd.h, which is no good. if I do NOT add -I build

Re: no-c++

2009-08-08 Thread Sam Steingold
* Bruno Haible oe...@pyvfc.bet [2009-08-08 11:47:01 +0200]: Sam Steingold wrote: modules which cannot be compiled with c++ (regex, gettimeofday) should depend on no-c++ This cannot be implemented as you wish. The ability to compile in C mode when CC=g++ is done through a variable NO_CXX

PACKAGE, VERSION, PACKAGE_VERSION

2009-08-07 Thread Sam Steingold
/clisp.h:194:1: warning: this is the location of the previous definition (clisp.h is derived from the main package config.h). So, my question is: where do PACKAGE and VERSION come from? why do I get a warning for them (but not for PACKAGE_*)? how do I avoid these warnings? thanks Sam [1]http

uname: build problem on win32

2009-08-07 Thread Sam Steingold
make[4]: Entering directory `/cygdrive/c/sds/dev/current/build-mingw-1/syscalls/ gllib' gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/cygdrive/c/sds/dev/current/modules/syscal ls/gllib -I.. -I/cygdrive/c/sds/top/include -Ic:/sds/dev/current/build-mingw-1 /gllib -g -O2 -W -Wswitch -Wcomment

<    1   2   3   >