X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=M3IK1ez42HDvi2zD
	9tDtTt8jpsv8eYxt5/KGKgrobxW29V+z0JmmYz6YvZi09npQ0L/xBWa0ZcBZ5utA
	UsmpYP7HJ4HZXnl18KWoTCwxtKGJKJahH6Tg8++SQN1g5rsczDh1KDdYUFcJB/Px
	pY0qQHdfY7hv8ZVF325weLo2f4E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=hV9bndFEeesSfrkxlqaHlJ
	jkPW4=; b=MkNtOCGdxtdd28e2SIW567DK1pOvsYcGuag36JWZcr16ofsUmkhpM4
	EJcDXnUagEZUy78eC51ezZ01p4ZSlYRhY2B8gq+YTzLbq2EbNXKfKky17khte7O2
	0jZ2hTLBfyRE1tizAZSyhDN794pejMjDYz4oNCADg+qx2X6i9eEDM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL autolearn=no version=3.3.1 spammy=05062019, 05.06.2019, soegtrop, Soegtrop
X-HELO: mailout06.t-online.de
Subject: Re: Cygport: How to add -I m4 to autoreconf / aclocal?
To: cygwin@cygwin.com
References: <0F7D3B1B3C4B894D824F5B822E3E5A178FD76C0D@IRSMSX102.ger.corp.intel.com>
From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker@t-online.de>
Openpgp: preference=signencrypt
Message-ID: <cb8d1612-1941-05c8-cfa3-e945ffe32588@t-online.de>
Date: Wed, 5 Jun 2019 19:23:03 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <0F7D3B1B3C4B894D824F5B822E3E5A178FD76C0D@IRSMSX102.ger.corp.intel.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

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

