bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patches for gettext-0.11.5, and question about __mkdir


From: Bruno Haible
Subject: Re: patches for gettext-0.11.5, and question about __mkdir
Date: Thu, 9 Jan 2003 16:24:02 +0100 (CET)

Perry Rapp wrote:

> (Trivial) context patches for
>   gettext-0.11.5/lib/copy_file.c
>   gettext-0.11.5/configure.in
> 
> to deal with headers missing or elsewhere located in mingw-2.0.0.

Thanks, similar ones are already in the CVS.

>   gettext-0.11.5/lib/wait-process.c

Your modification does not look complete. I'm more likely to accept a complete,
tested port of
  lib/pipe*.c, lib/execute.c, lib/wait-process.c
to mingw32.

> Also a copy of the autogen.sh I used.

Thanks for autogen.sh, it may help people who checkout the CVS.

> I did not successfully compile, however, because I have a problem
> that the mkdir the compiler is finding only takes on argument.
> This is being called from the __mkdir macro in lib/mkdtemp.h.
> I don't know if this is something you're willing to work around,
> or if you have any suggestions ?

Fix mingw32. Win32 has no mkdir() function, it has only CreateDirectory.
Therefore if mingw32 offers an mkdir() function, it must be for
POSIX compatibility, I assume. But POSIX mkdir() takes 2 arguments,
pathname and mode. => mingw32 needs to be fixed.

> $ sh autogen.sh
> misc/Makefile.am: installing `./elisp-comp'
> configure.in:229: error: do not use LIBOBJS directly, use AC_LIBOBJ (see 
> section `AC_LIBOBJ vs LIBOBJS'
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.

For modifying the autoconfiguraton stuff of gettext 0.11.5, you need
autoconf-2.52 and automake-1.5.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]