Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Alexandre Duret-Lutz
>>> "gd" == Guido Draheim <[EMAIL PROTECTED]> writes: gd> Hi everyone, gd> in the last days I did hit a problem that I thought was good to gd> do with an autoconf-macro - may be someone has already done gd> such a beast. It goes about the number of arguments to mkdir(2). gd> While every uni

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Thomas E. Dickey
On 10 Jan 2001, Alexandre Duret-Lutz wrote: > >>> "gd" == Guido Draheim <[EMAIL PROTECTED]> writes: > I have been using the following macro for a few weeks, > it might not be really perfect but at least it works for the > hosts I need (this include crosscompiling to mingw32). it doesn't cover th

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Mo DeJong
On 10 Jan 2001, Alexandre Duret-Lutz wrote: > >>> "gd" == Guido Draheim <[EMAIL PROTECTED]> writes: > > gd> Hi everyone, > gd> in the last days I did hit a problem that I thought was good to > gd> do with an autoconf-macro - may be someone has already done > gd> such a beast. It goes about t

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Guido Draheim
ADL's version looks good - atleast for mkdir as it is okay to put a single string at mkdir. I did overlook this one as I had problems with -fwrite-strings and vxworks headers that declare mkdir(char*), however ac-compile checks wouldn't use that compile-option... Otherwise, yes, there are good

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Mo DeJong
On Wed, 10 Jan 2001, Guido Draheim wrote: > autoconf-archive too. Mo, you have the most platform > experience - wherever mkdir is (posix'ish) with two > args, it is okay to feed existing S_-defines, right? > And to define non-exisiting to null will be okay if > done locally, right? (I did never h

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Alexandre Duret-Lutz
>>> "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: [...] Thomas> it doesn't cover the problem areas (compilers that mistreat mkdir Thomas> may prototype it in dir.h and dirent.h, for instance). Would it be sufficient to check for these headers and #include them in the AC_TRY_COMPILE

Re: AC_MKDIR/cross-cc/number-of-args??

2001-01-10 Thread Thomas E. Dickey
On 10 Jan 2001, Alexandre Duret-Lutz wrote: > >>> "Thomas" == Thomas E Dickey <[EMAIL PROTECTED]> writes: > > [...] > > Thomas> it doesn't cover the problem areas (compilers that mistreat mkdir > Thomas> may prototype it in dir.h and dirent.h, for instance). > > Would it be sufficient to che