Received: from eggs.gnu.org ([2001:4830:134:3::10]:34577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK2UN-0001I6-Fb for qemu-devel@nongnu.org; Thu, 12 Sep 2013 04:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VK2UF-0002a9-2K for qemu-devel@nongnu.org; Thu, 12 Sep 2013 04:42:59 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:44723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK2UE-0002Zt-RF for qemu-devel@nongnu.org; Thu, 12 Sep 2013 04:42:50 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so5181906eek.14 for ; Thu, 12 Sep 2013 01:42:49 -0700 (PDT) Date: Thu, 12 Sep 2013 10:42:48 +0200 From: Stefan Hajnoczi Message-ID: <20130912084248.GG1965@stefanha-thinkpad.redhat.com> References: <1378910555-24753-1-git-send-email-stefanha@redhat.com> <20130911152455.GL2305@dhcp-200-207.str.redhat.com> <20130911153222.GD22569@kerneis.info> <20130911153807.GM2305@dhcp-200-207.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130911153807.GM2305@dhcp-200-207.str.redhat.com> Subject: Re: [Qemu-devel] [PATCH] coroutine: add ./configure --disable-coroutine-pool List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Gabriel Kerneis , qemu-devel@nongnu.org, Stefan Hajnoczi On Wed, Sep 11, 2013 at 05:38:07PM +0200, Kevin Wolf wrote: > Am 11.09.2013 um 17:32 hat Gabriel Kerneis geschrieben: > > On Wed, Sep 11, 2013 at 05:24:55PM +0200, Kevin Wolf wrote: > > > In config-host.make we do get: > > > > > > CONFIG_COROUTINE_POOL=0 > > > > > > But when config-host.h is generated from it, I assume it's only checked > > > if the variable is defined, so we end up with: > > > > > > #define CONFIG_COROUTINE_POOL 1 > > > > Did you clean your tree? > > > > $ rm -rf * > > $ ../../configure --disable-coroutine-pool > > $ make config-host.h > > $ grep COROUTINE_POOL config-host.h > > #define CONFIG_COROUTINE_POOL 0 > > My bad, I checked after configure, but before running make. We must have > a weird build system that this isn't created during configure. :-) Yes, this confused by too once or twice while writing this patch :). The relevant code in scripts/create_config is: CONFIG_*=*) # configuration name=${line%=*} value=${line#*=} echo "#define $name $value" ;; Stefan