From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37118 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyPYW-0008Lt-R4 for qemu-devel@nongnu.org; Wed, 22 Sep 2010 09:40:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyPYV-0006Ax-Gx for qemu-devel@nongnu.org; Wed, 22 Sep 2010 09:40:16 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:42558) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyPYV-0006Ar-ER for qemu-devel@nongnu.org; Wed, 22 Sep 2010 09:40:15 -0400 Received: by ywg4 with SMTP id 4so205717ywg.4 for ; Wed, 22 Sep 2010 06:40:14 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <4C9A073A.2050009@redhat.com> Date: Wed, 22 Sep 2010 15:40:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4C911D8F.1060406@codemonkey.ws> <4C97A73C.4070102@codemonkey.ws> <4C97C255.2020106@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On 09/21/2010 08:32 PM, Blue Swirl wrote: > Sort of, gnulib needs some configuration before use. I made some hacks > to avoid that and also suppressed warnings by overriding QEMU_CFLAGS, > but it's getting ugly. > > Actually, there's no 'configure' in gnulib HEAD even though > docs/INSTALL mentions that. Strange. gnulib's docs/INSTALL is a template for packages using autotools, it's not for gnulib itself. > Is it possible to apply local patches to a submodule tree? It is not needed; to explain this, you need to go one step back. gnulib's submodule is never built directly. It only lives in the build tree so that it can be consulted by gnulib-tool, but it doesn't even make it to the release tarballs. Instead, gnulib-tool should be invoked after checking out superproject.git, and copies selected gnulib files into superproject's checkout (these files are .gitignore'd). Now, gnulib-tool also take care of applying patches to the files it copies, so the correct question is "is it possible to apply local patches to gnulib files" and the answer is "yes". That said, as much as I am a fan of autotools, I think using gnulib within qemu would be a big mess. Paolo