Re: rename gl_FUNC_MBRTOWC

2008-12-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/18/2008 3:44 AM: >> m4_version_prereq([2.60],, [ >> >> It works at least back to Autoconf 2.59. > > Thanks for the hint. But m4_version_prereq is undocumented (as already > mentioned > in [1]). Not for long. I'm co

Re: rename gl_FUNC_MBRTOWC

2008-12-18 Thread Bruno Haible
Ralf Wildenhues wrote: > FWIW, there is a short-hand for this: > m4_version_prereq([2.60],, [ > AC_DEFUN([... > > ]) > ]) > > It works at least back to Autoconf 2.59. Thanks for the hint. But m4_version_prereq is undocumented (as already mentioned in [1]). Bruno [1] http://lists.gnu.or

Re: rename gl_FUNC_MBRTOWC

2008-12-17 Thread Ralf Wildenhues
Hello, * Bruno Haible wrote on Thu, Dec 18, 2008 at 03:28:16AM CET: > --- m4/mbrtowc.m4.orig2008-12-18 03:25:03.0 +0100 > +++ m4/mbrtowc.m4 2008-12-18 03:14:13.0 +0100 > @@ -9,6 +9,7 @@ > dnl This override of an autoconf macro can be removed when autoconf 2.60 or > dn

Re: rename gl_FUNC_MBRTOWC

2008-12-17 Thread Bruno Haible
Eric Blake wrote: > When overriding an autoconf macro, it is safer practice to wrap the > override with m4_ifndef or with m4_version_compare. That way, if a later > autoconf version changes the internal implementation to something that > works better, your override isn't trapping users with the ol

Re: rename gl_FUNC_MBRTOWC

2008-12-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/17/2008 4:57 PM: > > -dnl This file can be removed, and gl_FUNC_MBRTOWC replaced with > -dnl AC_FUNC_MBRTOWC, when autoconf 2.60 can be assumed everywhere. > +dnl This override of an autoconf macro can be removed when

rename gl_FUNC_MBRTOWC

2008-12-17 Thread Bruno Haible
gl_FUNC_MBRTOWC has the same semantics as AC_FUNC_MBRTOWC. So it should be named the same. I'm applying this rename: 2008-12-17 Bruno Haible * m4/mbrtowc.m4 (AC_FUNC_MBRTOWC): Renamed from gl_FUNC_MBRTOWC. * m4/mbfile.m4 (gl_MBFILE): Use AC_FUNC_MBRTOWC instead of gl_F