Re: Adding flag LDFLAGS for compilation of regression tests

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Adding flag LDFLAGS for compilation of regression tests
Date: 2014-03-18 05:51:45
Message-ID: CAB7nPqSNJKGE4dPf6LZQMVkVs7SeStpOiy3tsi3nbwn7SqqFZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Tue, Mar 18, 2014 at 8:14 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> On Mon, Mar 17, 2014 at 10:54 PM, Heikki Linnakangas
> <hlinnakangas(at)vmware(dot)com> wrote:
>> On 03/17/2014 03:18 PM, Heikki Linnakangas wrote:
>>> 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.
> If the code tree of pgodbc gains in complexity in the future,
> something that I doubt will happen in a close future, we could still
> revisit that. But for now, what you have pushed is fine and enough
> IMO. So let's stick with that.
By the way, could you push as well the patch attached? test/Makefile
is now automatically generated by configure and it is not ignored in
the code tree.
Regards,
--
Michael

Attachment Content-Type Size
20140318_odbc_ignore.patch text/plain 266 bytes

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Heikki Linnakangas 2014-03-18 07:09:11 Re: Adding flag LDFLAGS for compilation of regression tests
Previous Message Michael Paquier 2014-03-17 23:14:30 Re: Adding flag LDFLAGS for compilation of regression tests