Re: coreutils failure on Mac OS X 10.5

2008-08-22 Thread metinex
H_DEFAULTS]) > - AC_CACHE_CHECK([for SVID conformant putenv], jm_cv_func_svid_putenv, > + AC_CACHE_CHECK([for putenv compatible with GNU and SVID], > + [jm_cv_func_svid_putenv], > [AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],[ > /* Put it in env. */ >

Re: coreutils failure on Mac OS X 10.5

2007-11-01 Thread Bruno Haible
Paul Eggert wrote: > 2007-11-01 Paul Eggert <[EMAIL PROTECTED]> > > * m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking > for compatibility with GNU. Oh, the doc that I had provided is wrong. I'm realizing now that the 'putenv' module is not needed for POSIX compatibil

Re: coreutils failure on Mac OS X 10.5

2007-11-01 Thread Peter O'Gorman
Paul Eggert wrote: > Bruno Haible <[EMAIL PROTECTED]> writes: > >> * m4/putenv.m4 (gl_FUNC_PUTENV): Require gl_STDLIB_H_DEFAULTS. Instead >> of defining putenv in config.h, just set REPLACE_PUTENV. > > Thanks for doing that. I had written something quite similar but you > beat me to it

Re: coreutils failure on Mac OS X 10.5

2007-11-01 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > * m4/putenv.m4 (gl_FUNC_PUTENV): Require gl_STDLIB_H_DEFAULTS. Instead > of defining putenv in config.h, just set REPLACE_PUTENV. Thanks for doing that. I had written something quite similar but you beat me to it. One minor change, which I

Re: coreutils failure on Mac OS X 10.5

2007-11-01 Thread Bruno Haible
Jim Meyering wrote: > It looks fine and works for coreutils. > You're welcome to apply it. Applied.

Re: coreutils failure on Mac OS X 10.5

2007-11-01 Thread Jim Meyering
Bruno Haible <[EMAIL PROTECTED]> wrote: ... > Jim, here is a proposed patch to the 'putenv' module. Apart from changing > the location of the "#define putenv rpl_putenv", this also changes the > parameter type from 'const char *' to 'char *', for POSIX compliance. ... Hi Bruno, Thanks for the pat

Re: coreutils failure on Mac OS X 10.5

2007-10-31 Thread Bruno Haible
Hi Jim, Peter O'Gorman wrote: > checking for working mktime... yes > checking for SVID conformant putenv... no > checking for working strtod... yes Good. This means that only 'putenv' and possibly 'realpath' are affected. Jim, here is a proposed patch to the 'putenv' module. Apart from changing

Re: coreutils failure on Mac OS X 10.5

2007-10-29 Thread Peter O'Gorman
On Oct 29, 2007, at 10:09 PM, Bruno Haible wrote: Peter O'Gorman wrote: /usr/include/stdlib.h has intputenv(char *) __DARWIN_ALIAS(putenv); __DARWIN_ALIAS is defined as: #define __DARWIN_ALIAS(sym) __asm("_" __STRING(sym) __DARWIN_SUF_UNIX03) __DARWIN_SUF_UNIX03 is defined as "$UNIX

Re: coreutils failure on Mac OS X 10.5

2007-10-29 Thread Bruno Haible
Peter O'Gorman wrote: > /usr/include/stdlib.h has > intputenv(char *) __DARWIN_ALIAS(putenv); > > __DARWIN_ALIAS is defined as: > #define __DARWIN_ALIAS(sym) __asm("_" __STRING(sym) > __DARWIN_SUF_UNIX03) > > __DARWIN_SUF_UNIX03 is defined as "$UNIX2003" for 32 bit builds. > > $ grep pu

Re: coreutils failure on Mac OS X 10.5

2007-10-29 Thread Peter O'Gorman
Jim Meyering wrote: > Peter O'Gorman <[EMAIL PROTECTED]> wrote: >> I am pretty sure that this is still the case with latest gnulib, but >> have not checked. >> >> Coreutils fails to build on Mac OS X 10.5. Apple has worked hard to make >> this version of Mac OS X UNIX(tm). To do so they had to chan

Re: coreutils failure on Mac OS X 10.5

2007-10-29 Thread Jim Meyering
Peter O'Gorman <[EMAIL PROTECTED]> wrote: > I am pretty sure that this is still the case with latest gnulib, but > have not checked. > > Coreutils fails to build on Mac OS X 10.5. Apple has worked hard to make > this version of Mac OS X UNIX(tm). To do so they had to change the > behavior of a numb

coreutils failure on Mac OS X 10.5

2007-10-29 Thread Peter O'Gorman
Hi, I am pretty sure that this is still the case with latest gnulib, but have not checked. Coreutils fails to build on Mac OS X 10.5. Apple has worked hard to make this version of Mac OS X UNIX(tm). To do so they had to change the behavior of a number of functions. In order to maintain binary com