[sr #110397] autoconf 2.70: autotest.m4 error

FX <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Follow-up Comment #11, sr #110397 (project autoconf):

Re. GNU m4, Apple has:

$ /usr/bin/m4 --version
GNU M4 1.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.

Indeed, autoconf's configure script concludes that it has "supports accurate
traces". Do you want me to run a test to double-check?


Re. the bigger picture: automake is trying to test whether autoconf is
functional by testing it on a simple .ac file:

$ cat conftest.ac                           
AC_INIT
$ /tmp/bin/autoconf -o /dev/null conftest.ac
unknown channel m4trace: -1- _m4_warn(syntax, AC_OUTPUT was never used, )
 at /tmp/share/autoconf/Autom4te/Channels.pm line 631.
	Autom4te::Channels::msg("m4trace: -1- _m4_warn(syntax, AC_OUTPUT was never
used, )\x{a}", undef, undef, "partial", 0) called at /tmp/bin/autom4te line
1073

This content of conftest.ac is exactly what is being tested by configure, with
those exact options. I don't understand the "unknown channel m4trace" part,
but "AC_OUTPUT was never used" seems clear enough. The doc for AC_OUTPUT
states: "This is the only required macro besides AC_INIT".

Should, shouldn't automake simply include AC_OUTPUT in its simple test? I
mean, if I add it as a second line of conftest.ac, the test definitely passes.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110397>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.