From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9ehq-0003k7-4q for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:41:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9ehj-0007T0-Sb for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:41:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9ehj-0007St-Kt for qemu-devel@nongnu.org; Mon, 19 Mar 2012 11:41:03 -0400 Message-ID: <4F67538A.7050205@redhat.com> Date: Mon, 19 Mar 2012 16:40:58 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1332168446-9322-1-git-send-email-ehabkost@redhat.com> <1332168446-9322-4-git-send-email-ehabkost@redhat.com> <4F674D37.7050809@codemonkey.ws> In-Reply-To: <4F674D37.7050809@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] configure: make full config dir path configurable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Eduardo Habkost , qemu-devel@nongnu.org Il 19/03/2012 16:13, Anthony Liguori ha scritto: >> >> -echo " --sysconfdir=PATH install config in PATH/qemu" >> +echo " --sysconfdir=PATH install config in PATH$confsuffix" >> +echo " --confdir=PATH install config in PATH (overrides >> --sysconfdir)" > > These semantics seem odd to me, is this similar to what autotools does? No, autotools don't have confdir at all. This stuff is outside the scope of autotools. The latest fad is to look for files in /usr/share/PACKAGE/foo (or /usr/lib, depending on whether they depend on the host arch---for QEMU they shouldn't), /etc/PACKAGE/foo and ~/.local/share/PACKAGE/foo. That's likely what we should do here (except perhaps ~/.local): start with --datadir and --sysconfdir, tack /qemu at the end and look in the two resulting directories. Paolo