pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-odbc@postgresql.org>
Subject: Re: Adding flag LDFLAGS for compilation of regression tests
Date: Mon, 17 Mar 2014 15:54:35 +0200
Message-ID: <5326FE9B.8010902@vmware.com> (raw)
In-Reply-To: <5326F63D.8040509@vmware.com>
References: <CAB7nPqQ-D2JLdq47-LLG2=AaSZ1LMH5zOpbVAMzBqU6Scp0Krw@mail.gmail.com>
	<5322E1C6.4080908@vmware.com>
	<CAB7nPqR+ourYGFbXtmKtmuhxHtyo28S5P-w3w-RXvj25Fp6j6Q@mail.gmail.com>
	<5326B305.40300@vmware.com>
	<CAB7nPqQ+8NY3ps4njhu8ej5BhOQpjp84Ve7cGuvG9LZZeFHGaQ@mail.gmail.com>
	<5326F63D.8040509@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 03/17/2014 03:18 PM, Heikki Linnakangas wrote:
> On 03/17/2014 01:24 PM, Michael Paquier wrote:
>> On Mon, Mar 17, 2014 at 5:32 PM, Heikki Linnakangas
>> <hlinnakangas@vmware.com> wrote:
>>> Actually, we could just move test/Makefile to test/Makefile.in, and let
>>> configure set the LDFLAGS/CFLAGS variables directly in test/Makefile.
>>>
>>> I pushed a patch to do that. It doesn't do anything automatic about
>>> PG_CONFIG; it would still be nice to add a configure flag for that.
>> configure already sets PG_CONFIG, so we could do like in the patch
>> attached and add a flag in test/Makefile.in similarly to CFLAGS and
>> LDFLAGS.
>
> Hmm, PG_CONFIG is currently tied to the --with-libpq configure option,
> so that's only available if you build the driver with libpq. Would need
> to separate that into a separate option.

Then again, if building with libpq, then there's no reason to *not* use 
the PG_CONFIG from configure. Committed a patch to do that. If you 
configure --without-libpq, then you still need to pass the path to 
PG_CONFIG manually at the command line when building the regression 
suite, i.e "cd test; make installcheck PG_CONFIG=<path>". But it's still 
an improvement that you don't need it when building with libpq, which is 
the default.

- Heikki


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (11+ messages)  latest in thread

Message-ID: <5326FE9B.8010902@vmware.com>
Permalink:  ../5326FE9B.8010902@vmware.com/
Also on:    postgresql.org/message-id/5326FE9B.8010902@vmware.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: hlinnakangas@vmware.com, michael.paquier@gmail.com
  Subject: Re: Adding flag LDFLAGS for compilation of regression tests
  In-Reply-To: <5326FE9B.8010902@vmware.com>
  References: <CAB7nPqQ-D2JLdq47-LLG2=AaSZ1LMH5zOpbVAMzBqU6Scp0Krw@mail.gmail.com> <5322E1C6.4080908@vmware.com> <CAB7nPqR+ourYGFbXtmKtmuhxHtyo28S5P-w3w-RXvj25Fp6j6Q@mail.gmail.com> <5326B305.40300@vmware.com> <CAB7nPqQ+8NY3ps4njhu8ej5BhOQpjp84Ve7cGuvG9LZZeFHGaQ@mail.gmail.com> <5326F63D.8040509@vmware.com> <5326FE9B.8010902@vmware.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox