This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygport: How to add -I m4 to autoreconf / aclocal?


Am 05.06.2019 um 11:53 schrieb Soegtrop, Michael:

The reason is that aclocal is missing a "-I m4" option to include the
local m4 subfolder. I wonder what I need to do in the cygport file to
add this. Or should this be added in gnome2_autogen.sh.

If that had to be done, that would constitute a clear upstream bug.
Well, either that or that file itself should not be there.

Are we building this from a tarball, or directly off the bleeding edge?

"Autogen" scripts like that should usually only exist in Git/SVN/CVS
versions of the source, but not in release tarballs.  Those are supposed
to be packaged with all autoconfigury already built and included, and
the autogen script itself left out instead.

> configure.ac:161: error: macro GTK_CHECK_BACKEND is not defined; is a m4 file missing?
> /usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded from...
> configure.ac:161: the top level

The name prefix AX_ indicates a non-standard macro.  This particular one
is available in the autoconf-archive package in Cygwin (hence the
generic install location, instead of the version-specific ones where all
our actual aclocal versions' files are kept).  Linux distros may package
it differently.

But source packages using such non-standard macros may be assuming
different versions of them than we have.  Which is all the more reason
they really have to include them, in their own version control.

> I also wonder if the -install option to autoreconf shouldn't be forwarded to aclocal.

If autoreconf itself isn't doing that, we quite probably shouldn't, either.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]