From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trunk r117046 fails on systems with older automake Date: Mon, 05 May 2014 12:58:28 +0300 Message-ID: <834n14zgvv.fsf@gnu.org> References: <868uqh4ust.fsf@gmail.com> <83tx95zffo.fsf@gnu.org> <83k3a0zs5r.fsf@gnu.org> <53673DF6.1080502@gmx.at> <8361lkzjfa.fsf@gnu.org> <536758EE.7030606@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1399414045 31823 80.91.229.3 (6 May 2014 22:07:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 22:07:25 +0000 (UTC) Cc: lekktu@gmail.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 07 00:07:19 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WhnSY-00038f-G7 for ged-emacs-devel@m.gmane.org; Wed, 07 May 2014 00:03:34 +0200 Original-Received: from localhost ([::1]:56356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhFfe-0002kP-39 for ged-emacs-devel@m.gmane.org; Mon, 05 May 2014 05:58:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhFfL-0002Ph-20 for emacs-devel@gnu.org; Mon, 05 May 2014 05:58:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhFfG-0003Cb-45 for emacs-devel@gnu.org; Mon, 05 May 2014 05:58:31 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:63164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhFfF-0003CN-M2 for emacs-devel@gnu.org; Mon, 05 May 2014 05:58:26 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0N5300G00I83VK00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Mon, 05 May 2014 12:58:24 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N5300GZJIDBKC90@a-mtaout23.012.net.il>; Mon, 05 May 2014 12:58:24 +0300 (IDT) In-reply-to: <536758EE.7030606@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171719 Archived-At: > Date: Mon, 05 May 2014 11:25:02 +0200 > From: martin rudalics > CC: lekktu@gmail.com, andrewjmoreton@gmail.com, emacs-devel@gnu.org > > > Line 70 of > > configure.ac, and several dozen lines around it, didn't change since > > last August, so something else must have happened to cause this. > > I supposed so. > > > AS_ECHO is defined by m4sh.m4, which is part of the MSYS Autoconf > > package you find on the ezwinports site. Are you using that package? > > Do you have that file in share/autoconf/m4sugar/ in your MSYS > > installation? > > Yes. As c:\Programme\MinGW\msys\1.0\share\autoconf\m4sugar\m4sh.m4 Then I don't know why you get this error. "It works for me" (TM). Some Googling suggests that this might be a result of the missing pkg-config package (see below). If that doesn't help, maybe some Autoconf expert could help you out. > >> configure.ac:1351: error: possibly undefined macro: PKG_PROG_PKG_CONFIG > >> configure.ac:1354: error: possibly undefined macro: PKG_CHECK_MODULES > >> configure.ac:1363: error: possibly undefined macro: m4_default > >> configure.ac:2293: error: possibly undefined macro: PKG_CONFIG > > > > These are because of the missing pkg.m4 file, I think. > > And that's why I'm asking for advice in this thread. > > > See my advice > > to Juanma earlier in this thread. > > Which advice? Is there any way to work around this without installing > pkg-config? Maybe there is, but I don't recommend that: configure scripts rely on that package more and more as the time passes. If you didn't have that package until now, it means you couldn't build Emacs with librsvg and GnuTLS. > According to http://www.mingw.org/wiki/FAQ this would mean I'd have > to install the GTK-runtime first That's a damn lie. You need only Glib (and libintl+libiconv if you don't already have them), in addition to pkg-config itself. So, to summarize: install pkg-config and try again (starting with running autogen.sh, I'd suggest, to countermand any problems you might have caused by running without pkg-config).