From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OH8HG-00039L-M2 for garchives@archives.gentoo.org; Wed, 26 May 2010 04:31:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FFA4E0B18; Wed, 26 May 2010 04:31:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1AD8FE09C1 for ; Wed, 26 May 2010 04:31:25 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 95FD867773; Wed, 26 May 2010 04:31:24 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [Survey || RFC] autotools-utils.eclass Date: Wed, 26 May 2010 00:31:21 -0400 User-Agent: KMail/1.13.1 (Linux/2.6.34; KDE/4.4.3; x86_64; ; ) Cc: Maciej Mrozowski References: <201005251302.56615.reavertm@gmail.com> <201005251431.34053.vapier@gentoo.org> <201005260559.22811.reavertm@gmail.com> In-Reply-To: <201005260559.22811.reavertm@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2665557.O5H9gjorDb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201005260031.21660.vapier@gentoo.org> X-Archives-Salt: 5a7accc5-a249-4a5f-8db0-85cce37377a0 X-Archives-Hash: 2d2183e6c225639c63697d5f2571a842 --nextPart2665557.O5H9gjorDb Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 25 May 2010 23:59:22 Maciej Mrozowski wrote: > On Tuesday 25 of May 2010 20:31:33 Mike Frysinger wrote: > > the library handling is incorrect. i dont think you can pass around > > --enable- shared all the time without having configure generate warnings > > about unknown options. > >=20 > > default to --disable-static when static-libs > > doesnt exist is wrong -- that's the opposite of what you should be doin= g. > > ignoring the same issue as the share option i mentioned above. >=20 > Right. It its safe to assume that when --disable-static/--enable-static is > available, then --disable-shared/--enable-shared is available as well? i think that's a fair assumption. the vast majority of shared/static=20 enable/disable flags are coming in via libtool and not custom code. the fe= w=20 packages doing custom code can simply write their own econf call. > > the src_test func looks like its copying & pasting stuff from the PM.=20 > > this really should be kept in the PM without duplicating it everywhere. >=20 > Unfortunately src_test needs to be called in build dir (which is unknown = to > PM). > Calling default_src_test is the best I could come up with. should be fine > But what's the most important - is there any interest in having such > eclass? I'm only going to add it when it's flexible enough to effectively > phase-out eutils/base/autotools/libtool individual uses for fully > autotools-controlled buildsystems. Otherwise there's no point in yet > another wrapper imho. personally, i probably wouldnt use this. but i dont even like base.eclass.= =20 and considering other people seem to like base.eclass, it's reasonable to=20 think people would like this. the out-of-source building will trip up some packages for no reason other t= han=20 $builddir !=3D $srcdir, but those packages suck and should be fixed in gene= ral=20 (unrelated to Gentoo). i imagine some maintainers would be annoyed by havi= ng=20 to fix these. =2Dmike --nextPart2665557.O5H9gjorDb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAABAgAGBQJL/KQZAAoJEEFjO5/oN/WBNV8QANG64bLNOPyp4aE2NUJdcNlf XcI0zerqYLItWOMLDAMgUhHg8zOkHgkzATDm9CX2CrCmD06p+XQvkfeChOYMBe54 bSwiQUSW1p6SVxH6vq2AFweCsS7sUA7VJokm5LpblFmPVRYcCgcODh+Qt85LqJpy jRmrx9zZ6sP3WQ6TO8ApyuWAi299lpsuW5ZS7YHwauoYSvA9gSNCNYcCkJqybgf0 Cpf4Gz0drHYMjRvt9yx4H+6IJlxvtemdGfZ4peQ51K0XrOCk3qb3ZiFAwE8uyiaN TjQkwd0bp1QdDGYvkkCdlVDXhEDzxsvkygFO//+YHOk5LslCeaQfv49Sw4gFQlS2 Fwje1fTt/igbHa5D2w/Md234JZw15Qa8P/yrjRiZd6W97msrEqGifjwd3c8koIup fLJxPNYlyxRyodidtyTmFqC1rwAIZRHySidy5dhXOtZm/6yw8vQav4L/hcV9Zk2d YrbI3FrXvGaONJnLlJMBlRHNCguX0x5903FVWrkxbs9W4uobjDUOJLT+nivir95i OhalEgQVtCy8ti0UC1261JFvniw13m0fmO3fWc7P1tjnSglTukx0R43udPdrxtYR R+JmdDyOzmGe7UhLfH1bwyJZFTj/48kjmReKYFBfWwz2r6jM9tYrf7srYzGpa7HE uXMBMyTkxu2T85t/PttE =VbsS -----END PGP SIGNATURE----- --nextPart2665557.O5H9gjorDb--