From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (67-5-177-213.ptld.qwest.net [67.5.177.213]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id DA0AA77C8C; Sat, 19 Dec 2015 04:58:13 -0800 (PST) From: Chris Brannon To: Adam Thompson Cc: Karl Dahlke , Edbrowse-dev@lists.the-brannons.com References: <20151214153200.GA3088@acer.attlocal.net> <87wpsgnbzg.fsf@mushroom.localdomain> <20151114131201.eklhad@comcast.net> <87d1u8mhtt.fsf@mushroom.localdomain> <20151215125827.GA702@toaster.adamthompson.me.uk> <87bn9pjqws.fsf@mushroom.localdomain> <20151219123743.GC2770@122oven.adamthompson.me.uk> Date: Sat, 19 Dec 2015 04:58:15 -0800 In-Reply-To: <20151219123743.GC2770@122oven.adamthompson.me.uk> (Adam Thompson's message of "Sat, 19 Dec 2015 12:37:43 +0000") Message-ID: <87oadmh9y0.fsf@mushroom.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] edbrowse and edbrowse-js not communicating X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2015 12:58:14 -0000 Adam Thompson writes: > Ok, that makes sense, though I'm surprised we can't check at configure time if > the version of tidy defines the symbols (and macros) we expect. Sure, we can check for symbols. If the library defines tidyLibraryVersion, it is tidy-html5. If it doesn't, then it's some ancient version of tidy, so throw up our hands and refuse to proceed. What we won't know without building and running an executable is the version number of tidy-html5. Really, we don't know the actual version until runtime. I can build a program under version 5.1.x and then run it under 5.1.y, just fine, assuming the public API hasn't changed between x and y. Hence we should probably do both a compile-time and run-time check. Compile-time tells us whether we have tidy-html5 or tidy, run0-time tells us more specifically which version of tidy-html5 we have. -- Chris