Re: Frustrating issue with PGXS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Frustrating issue with PGXS
Date
Msg-id 1887.1182794586@sss.pgh.pa.us
Whole thread Raw
In response to Frustrating issue with PGXS  (Eddie Stanley <eddiewould@paradise.net.nz>)
Responses Re: Frustrating issue with PGXS  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
>> ifdef USE_PGXS
>> PGXS := $(shell pg_config --pgxs)
>> include $(PGXS)
>> 
>> but something like
>> 
>> ifdef USE_PGXS
>> PG_CONFIG := pg_config
>> PGXS := $(shell $(PG_CONFIG) --pgxs)
>> include $(PGXS)

> That would break existing Makefiles that use the "please take the first 
> pg_config in the path" feature, which rather make sense (it just means 
> that you want the extension for your current postgresql).

How would it break them?  The default definition is still PG_CONFIG =
pg_config, this just moves where that definition appears.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bugtraq: Having Fun With PostgreSQL
Next
From: Fabien COELHO
Date:
Subject: Re: Frustrating issue with PGXS