X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 94C919DC804 for ; Tue, 14 Feb 2006 08:40:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 01039-08 for ; Tue, 14 Feb 2006 08:40:00 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id B1D4F9DC9D0 for ; Tue, 14 Feb 2006 08:39:55 -0400 (AST) Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by svr4.postgresql.org (Postfix) with ESMTP id 4E8FD5AF09B for ; Tue, 14 Feb 2006 12:39:57 +0000 (GMT) Received: from [192.168.1.101] (p5498DEE5.dip.t-dialin.net [84.152.222.229]) by jareth.dreamhost.com (Postfix) with ESMTP id B069A190FBB; Tue, 14 Feb 2006 04:39:52 -0800 (PST) Subject: Re: Finding the pqlib version From: Murray Cumming To: Peter Eisentraut Cc: pgsql-interfaces@postgresql.org, Christoph Zwerschke In-Reply-To: <200602111450.17325.peter_e@gmx.net> References: <43EDC399.6060203@online.de> <200602111450.17325.peter_e@gmx.net> Content-Type: text/plain Date: Tue, 14 Feb 2006 13:39:40 +0100 Message-Id: <1139920780.11729.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.5.90 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200602/51 X-Sequence-Number: 6015 On Sat, 2006-02-11 at 14:50 +0100, Peter Eisentraut wrote: > Christoph Zwerschke wrote: > > However, there is no such thing as "PQLIB_VERSION_MAJOR". > > Anything else I could query instead? > > You should query the presence of the function, not the version of the > library. If pqlib installed a pkg-config .pc file then this would be simpler. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com