Re: [PATCH] build: adjust configure for postgresql 11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/21/19 12:54 PM, Jan Engelhardt wrote:
> At least in openSUSE, PostgreSQL 11 no longer ships the pg_config
> program. Instead, there is has been a pkg-config file around for a
> while (also in pg10), so make use of that, by default.
> 
> The old --with-pgsql-inc and --with-pgsql-lib option are going away
> and replaced by the standardized mechanisms pkg-config.m4 has in
> store for when there is no .pc file:
> 
> 	./configure pgsql_CFLAGS="-I/opt/pgsql/include" \
> 	pgsql_LIBS="-L/opt/pgsql/lib -lpq"
> ---
>  acinclude.m4             | 77 +---------------------------------------
>  configure.ac             |  9 +++--
>  output/pgsql/Makefile.am |  4 +--
>  3 files changed, 7 insertions(+), 83 deletions(-)
> 

Debian ships pg_config. In fact, the same package libpq-dev [0] contains both
things:

* /usr/bin/pg_config
* /usr/lib/x86_64-linux-gnu/pkgconfig/libpq.pc

So I think this patch should be fine.

Acked-by: Arturo Borrero Gonzalez <arturo@xxxxxxxxxxxxx>

[0] https://packages.debian.org/sid/amd64/libpq-dev/filelist



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux