Re: AC_FUNC_STRTOD

2010-09-17 Thread Russ Allbery
Eric Blake writes: > Marking a macro obsolete in autoconf means that new code should not rely > on it, but that the macro still exists and still does the same thing it > used to do, so that old code that used it will continue to work. Oh, okay, I misunderstood obsolete. Never mind, then. :) -

Re: AC_FUNC_STRTOD

2010-09-17 Thread Eric Blake
. + + AC_FUNC_ERROR_AT_LINE AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK + AC_FUNC_MKTIME AC_FUNC_STRTOD If that gets accepted in Autoconf, here is a proposed patch for gnulib, in order to take over the maintenance of these macros from Autoconf (and also of AC_FUNC_MEMCMP, which was already marked

Re: AC_FUNC_STRTOD

2010-09-17 Thread Eric Blake
- AC_FUNC_OBSTACK - AC_FUNC_STAT, AC_FUNC_LSTAT - AC_FUNC_STRTOD - AC_FUNC_STRNLEN - AC_REPLACE_FNMATCH This seems like a reasonable plan to me, but if you do this, the one additional request I have is to please retain somewhere in the Autoconf documentation a mention that these functions have known

Re: AC_FUNC_STRTOD

2010-09-17 Thread Eric Blake
On 08/28/2010 03:56 AM, Bruno Haible wrote: 2010-08-28 Bruno Haible * doc/autoconf.texi (Particular Functions): Mark AC_FUNC_ERROR_AT_LINE, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, AC_FUNC_MKTIME, AC_FUNC_STRTOD as obsolete and refer to Gnulib. * NEWS: Mention the

Re: AC_FUNC_STRTOD

2010-08-28 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Sat, Aug 28, 2010 at 12:56:21PM CEST: > Paolo Bonzini wrote on 2010-06-15: > > >- AC_FUNC_STRNLEN > > > > This maybe falls in the same group as AC_FUNC_MALLOC/AC_FUNC_REALLOC. > > OK, let's leave it in Autoconf. But the cross-compilation guess is too > p

Re: AC_FUNC_STRTOD

2010-08-28 Thread Bruno Haible
Paolo Bonzini wrote on 2010-06-15: > >- AC_FUNC_STRNLEN > > This maybe falls in the same group as AC_FUNC_MALLOC/AC_FUNC_REALLOC. OK, let's leave it in Autoconf. But the cross-compilation guess is too pessimistic for gnulib habits: we haven't seen the AIX bug on any system except on AIX. In

Re: AC_FUNC_STRTOD

2010-08-28 Thread Bruno Haible
FUNC_ERROR_AT_LINE AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK > + AC_FUNC_MKTIME AC_FUNC_STRTOD If that gets accepted in Autoconf, here is a proposed patch for gnulib, in order to take over the maintenance of these macros from Autoconf (and also of AC_FUNC_MEMCMP, which was already marked obsolescent)

Re: AC_FUNC_STRTOD

2010-08-28 Thread Bruno Haible
in this, you're likely using gnulib anyway nowadays. > > >- AC_FUNC_STRTOD > >- AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK > >- AC_FUNC_MKTIME > >- AC_FUNC_STAT, AC_FUNC_LSTAT > >- AC_FUNC_GETLOADAVG > >- AC_REPLACE_FNMATCH >

Re: AC_FUNC_STRTOD

2010-06-15 Thread Paolo Bonzini
AC_FUNC_REALLOC, because the replacement code for them is so trivial that anyone can make it up himself. Agreed. The affected macros are: - AC_FUNC_ERROR_AT_LINE If you're interested in this, you're likely using gnulib anyway nowadays. >- A

Re: AC_FUNC_STRTOD

2010-06-14 Thread Russ Allbery
- AC_FUNC_OBSTACK > - AC_FUNC_STAT, AC_FUNC_LSTAT > - AC_FUNC_STRTOD > - AC_FUNC_STRNLEN > - AC_REPLACE_FNMATCH This seems like a reasonable plan to me, but if you do this, the one additional request I have is to please retain somewhere in the Autoconf documentation a mention that t

Re: AC_FUNC_STRTOD

2010-06-14 Thread Eric Blake
On 06/14/2010 01:56 PM, Bruno Haible wrote: >> Or even better, why not push those two tests upstream into autoconf, >> then have gnulib override AC_FUNC_STRTOD if it detects older autoconf, >> so that everyone using upstream AC_FUNC_STRTOD can reliably detect these >> same

Re: AC_FUNC_STRTOD

2010-06-14 Thread Bruno Haible
Hi Eric, > > With two old old old tests and no reasonable cross-compiling behaviour I > > would say that the best thing to do is to move these two blocks of C > > code > > into gl_FUNC_STRTOD's test, and stop using AC_FUNC_STRTOD. Then the > > a