Commit 679de5e5 authored by Peter Eisentraut's avatar Peter Eisentraut

Make pg_config location overridable for pgxs builds.

parent 7da24bcb
# -*-makefile-*- # -*-makefile-*-
# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.222 2006/04/19 16:32:08 tgl Exp $ # $PostgreSQL: pgsql/src/Makefile.global.in,v 1.223 2006/07/20 09:30:18 petere Exp $
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets, # All PostgreSQL makefiles include this file and use the variables it sets,
...@@ -118,16 +118,18 @@ localedir := @localedir@ ...@@ -118,16 +118,18 @@ localedir := @localedir@
else # PGXS case else # PGXS case
bindir := $(shell pg_config --bindir) PG_CONFIG = pg_config
datadir := $(shell pg_config --sharedir)
sysconfdir := $(shell pg_config --sysconfdir) bindir := $(shell $(PG_CONFIG) --bindir)
libdir := $(shell pg_config --libdir) datadir := $(shell $(PG_CONFIG) --sharedir)
pkglibdir := $(shell pg_config --pkglibdir) sysconfdir := $(shell $(PG_CONFIG) --sysconfdir)
includedir := $(shell pg_config --includedir) libdir := $(shell $(PG_CONFIG) --libdir)
pkgincludedir := $(shell pg_config --pkgincludedir) pkglibdir := $(shell $(PG_CONFIG) --pkglibdir)
mandir := $(shell pg_config --mandir) includedir := $(shell $(PG_CONFIG) --includedir)
docdir := $(shell pg_config --docdir) pkgincludedir := $(shell $(PG_CONFIG) --pkgincludedir)
localedir := $(shell pg_config --localedir) mandir := $(shell $(PG_CONFIG) --mandir)
docdir := $(shell $(PG_CONFIG) --docdir)
localedir := $(shell $(PG_CONFIG) --localedir)
endif # PGXS endif # PGXS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment