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 right place to also
require AC_INTERIX. (I first read the docs for 2.59 as these are the
latest docs in Debian because of licensing issues.)
Sorry for joining the conversation late; I just discovered my
bug-autoconf list subscription was having issues. I'm wondering if
gnulib's 'extensions' module does this already, or if we should
fold it into autoconf.
Anyway, on further investigation, gnulib's m4/extensions.m4 does not
currently mention _ALL_SOURCE, so it looks like we should fix this
issue in both autoconf and gnulib.
Anyway, I applied the attached patch to 2.61 and then run the test
suite. The results are also attached. The docs maybe should mention
which functionality gets enabled by AC_INTERIX, but I have no idea on
how to summarize it. I can do further tests/changes if required.
Personally, I'd rather have one macro that enables as many
platforms as possible, rather than having to add a macro for every
new platform. As in AC_USE_SYSTEM_EXTENSIONS.
I have no problems if it's not named AC_INTERIX. I only thought it
would be the way to go, i.e. AC_USE_SYSTEM_EXTENSIONS was only a
collection of individual macro calls. Please add the test whereever
you like. I'm not that familiar with writing m4 scripts and not with
autoconf's internals either. I just copied AC_AIX.
Martin