From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 11 Jan 2010 00:45:34 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20100110214531.GB20473@wo.int.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20100110004609.GB32241@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mxv5cy4qt+RJ9ypb" Content-Disposition: inline In-Reply-To: <20100110004609.GB32241@wo.int.altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] I: gtkdocize support in autoreconf X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 21:45:35 -0000 Archived-At: List-Archive: List-Post: --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 10, 2010 at 03:46:09AM +0300, Dmitry V. Levin wrote: [...] > Due to some strange logic implemented in gtkdocize (as of > gtk-doc-1.13-alt1), it won't update gtk-doc.m4 file unless it finds an > AC_CONFIG_MACRO_DIR specifying where to install this file. Unlike > autotools utilities, gtkdocize won't fall back to default macro location. >=20 > As a result, if your package carries own outdated copy of gtk-doc.m4 and > configure.ac doesn't contain an AC_CONFIG_MACRO_DIR invocation in form > suitable for gtkdocize, then gtkdocize won't help you, unless you remove > this outdated gtk-doc.m4 copy from your package. Another problem with gtkdocize is that it fails to detect a GTK_DOC_CHECK invocation sometimes while autoreconf does this kind of work better. For example, here is an excerpt from evolution-exchange-2.28.1-alt1 build log: autoreconf-default: running: gtkdocize gtkdocize: GTK_DOC_CHECK not called in configure.ac autoreconf-default: gtkdocize failed with exit status: 1 And here is an excerpt from evolution-exchange/configure.ac: dnl Putting a space before the macro call here makes gnome-autogen not dnl notice it, which makes it not run gtkdocize and copy gtk-doc.make dnl into the top level where I don't want it. GTK_DOC_CHECK([1.0]) Meaningful leading whitespace in configure.ac is even more ugly than meaningful comments. Please somebody file a bug to these ignorant people and explain them how to check for keywords and how to use AC_CONFIG_MACRO_DIR. --=20 ldv --mxv5cy4qt+RJ9ypb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktKSnsACgkQfKvmrJ41Nh7t7gCgjqCmEBbOOmxqUlp8/ePwS82L ZQMAnAzqdAJZxuCfusruTjmeN4No+Wbf =LATE -----END PGP SIGNATURE----- --mxv5cy4qt+RJ9ypb--