Re: autoconf enhancement for Interix

2007-09-12 Thread Bruno Haible
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]

Re: autoconf enhancement for Interix

2007-09-12 Thread Eric Blake
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

Re: autoconf enhancement for Interix

2007-09-12 Thread Eric Blake-1
_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

Re: autoconf enhancement for Interix

2007-09-11 Thread Bruno Haible
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

Re: autoconf enhancement for Interix

2007-09-11 Thread Eric Blake
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

Re: autoconf enhancement for Interix

2007-09-10 Thread Noah Misch
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

Re: autoconf enhancement for Interix

2007-09-08 Thread Eric Blake
-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/

Re: autoconf enhancement for Interix

2007-09-04 Thread Martin Koeppe
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

Re: autoconf enhancement for Interix

2007-09-03 Thread Eric Blake
-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