From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9fUo-0007nr-Vq for qemu-devel@nongnu.org; Mon, 19 Mar 2012 12:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9fUi-00025E-Ot for qemu-devel@nongnu.org; Mon, 19 Mar 2012 12:31:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9fUi-00024y-Gv for qemu-devel@nongnu.org; Mon, 19 Mar 2012 12:31:40 -0400 Message-ID: <4F675F66.1080206@redhat.com> Date: Mon, 19 Mar 2012 17:31:34 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1332168446-9322-1-git-send-email-ehabkost@redhat.com> <4F674D6E.10708@codemonkey.ws> <20120319153140.GD9375@otherpad.lan.raisama.net> <4F6751EE.2090001@codemonkey.ws> <20120319154319.GF9375@otherpad.lan.raisama.net> <4F675B22.5080604@redhat.com> <20120319162010.GJ9375@otherpad.lan.raisama.net> In-Reply-To: <20120319162010.GJ9375@otherpad.lan.raisama.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/3] add --confdir option to configure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, Anthony Liguori Il 19/03/2012 17:20, Eduardo Habkost ha scritto: >> > I think the package name is a pretty special case. Even with autotools, >> > it's pretty much the only thing that requires configure-by-sed to change it. > I still don't understand why, except that it's a limitation of the build > system implementation. If we don't have that restriction, I don't see > why this should be restricted by design. Because our configure is half-compatible, half-incompatible with autotools. This can be confusing, I don't think it's good to add to the differences. > Anyway, even if we decide that package name shouldn't be changed: why > changing mandir, This one is because all manpages are under /usr/man/manSECT > docdir and datadir doesn't require changing the package > name, but changing /etc/qemu has to? The pedantic answer is "because our meaning of --datadir differ from the one of autotools", and it cannot really be changed because it would break backwards-compatibility. However, I guess that's not an entirely satisfying answer. However, the package name and the directory suffix need not be exactly the same. Why don't you add --with-conf-suffix or something like that, and make it apply to both datadir and sysconfdir? Paolo