Eric Blake wrote:
> > m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.62]),[-1],
> > [AC_REQUIRE([AC_GNU_SOURCE])],
> > [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])])
>
> Why not the simpler:
>
> m4_ifndef([AC_USE_SYSTEM_EXTENSIONS],
> [AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS]
Bruno Haible clisp.org> writes:
>
> Eric Blake wrote:
> > Here's the corresponding gnulib patch. OK to apply?
>
> I would feel a little safer if you would turn the AC_REQUIRE([AC_GNU_SOURCE])
> into AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) rather than omitting them. If
> some piece of autoconf m
_EXTENSIONS],
[AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], [AC_GNU_SOURCE])])
Anyways, I feel uncomfortable using undocumented macros, so my first
order of business is patching Autoconf to document m4_version_compare
and m4_PACKAGE_VERSION.
--
Eric Blake
--
View this message in context:
http://www.nabb
Eric Blake wrote:
> Here's the corresponding gnulib patch. OK to apply?
I would feel a little safer if you would turn the AC_REQUIRE([AC_GNU_SOURCE])
into AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) rather than omitting them. If
some piece of autoconf macro needs to be used at "early" time, this
order
Noah Misch cs.caltech.edu> writes:
> > 2007-09-08 Eric Blake byu.net>
> >
> > Centralize all system extensions checks.
> > * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
> > from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support.
> > (AC_AIX, AC_GNU_SOU
On Sat, Sep 08, 2007 at 10:13:03PM -0600, Eric Blake wrote:
> 2007-09-08 Eric Blake <[EMAIL PROTECTED]>
>
> Centralize all system extensions checks.
> * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Inline code
> from AC_AIX, AC_GNU_SOURCE, AC_MINIX. Add Interix support
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[replies can drop bug-autoconf]
According to Martin Koeppe on 9/4/2007 10:01 AM:
>
> On Mon, 3 Sep 2007, Eric Blake wrote:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> [Adding gnulib: this thread started at
>> http://thread.gmane.org/
On Mon, 3 Sep 2007, Eric Blake wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[Adding gnulib: this thread started at
http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/5717]
thanks for the link and for pointing out the existence of
AC_USE_SYSTEM_EXTENSIONS. I think this is the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[Adding gnulib: this thread started at
http://thread.gmane.org/gmane.comp.sysutils.autoconf.bugs/5717]
According to Eric Blake on 9/3/2007 4:50 PM:
> Martin Koeppe gmx.de> writes:
>
> Hello Martin,
>
>> thanks for the link and for pointing out the