On 04/26/12 08:41, Daniel Shahaf wrote: > Alan Hourihane wrote on Thu, Apr 26, 2012 at 08:24:52 +0100: >> On 04/26/12 04:38, Daniel Shahaf wrote: >>> Alan Hourihane wrote on Wed, Apr 25, 2012 at 23:41:24 +0100: >>>> Yes, it doesn't work as you are checking /usr first, yet it should be >>>> pkg-config first (or only).... >>> Can't be "only" pkg-config, as that would break the build on systems >>> that don't have it. >> Well, you could check to see if pkg-config is available, then if >> pkg-config with sqlite3 worked, then fallback to specific paths. > We could, but it won't help you unless you stop passing --with-sqlite=/usr. > > Refer to build/ac-macros/sqlite.m4. > > I suggest you stop passing --with-sqlite=/usr --- that will make > configure DTRT on your system. Right, that's what I'm now doing.
Alan.