Re: The first configure test...

2004-12-15 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by Lars> :-) >> I cursory look did not provide insight. I'll look closer tomorrow. >> >> JMarc Angus> I found this. Which .m4 file shou

Re: The first configure test...

2004-12-15 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by > Lars> :-) > > I cursory look did not provide insight. I'll look closer tomorrow. > > JMarc I found this. Which .m4 file should I put it in? dnl dnl Determine if mkdir accepts only one argument i

Re: The first configure test...

2004-12-14 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Hmm... kindo I guess. Jean-Marc might have the answer close by Lars> :-) I cursory look did not provide insight. I'll look closer tomorrow. JMarc

Re: The first configure test...

2004-12-14 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Consider this patch: > | int lyx::mkdir(string const & pathname, unsigned long int mode) | { | // FIXME: why don't we have mode_t in lyx::mkdir prototype ?? | +#ifdef _WIN32 | + return ::mkdir(pathname.c_str()); | +#else | return ::mkdir(pathname.c

Re: The first configure test...

2004-12-13 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > who is lyx::mkdir used. Do we every use any fancy mode values? Well, we do use different mode values: src/support/filetools.C: if (tmpfl.empty() || lyx::mkdir(tmpfl, 0700)) { if (lyx::mkdir(tmpfl, 0777)) { if (lyx::mkdir(deflt, 0777)) { bool createDirectory(string

The first configure test...

2004-12-13 Thread Angus Leeming
Consider this patch: int lyx::mkdir(string const & pathname, unsigned long int mode) { // FIXME: why don't we have mode_t in lyx::mkdir prototype ?? +#ifdef _WIN32 + return ::mkdir(pathname.c_str()); +#else return ::mkdir(pathname.c_str(), mode_t(mode)); +#endif } I guess that configure sh