From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43454 invoked by alias); 5 Jun 2019 17:23:17 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 43447 invoked by uid 89); 5 Jun 2019 17:23:17 -0000 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 Received: from mailout06.t-online.de (HELO mailout06.t-online.de) (194.25.134.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Jun 2019 17:23:15 +0000 Received: from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135]) by mailout06.t-online.de (Postfix) with SMTP id 2FD6841C0C12 for ; Wed, 5 Jun 2019 19:23:13 +0200 (CEST) Received: from [192.168.178.24] (ZwNAx2ZXghyvRsajlDd-D4ESifz8gtb2RDb9oS+Z33iyslW15gM-gowqlAvlPTOQGg@[93.238.114.232]) by fwd30.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1hYZd1-38HKL20; Wed, 5 Jun 2019 19:23:11 +0200 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?= Openpgp: preference=signencrypt Message-ID: Date: Wed, 05 Jun 2019 17:23:00 -0000 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 X-SW-Source: 2019-06/txt/msg00051.txt.bz2 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