change the Makefile under the directory src/sql/, that is proposed
authorpengbo <pengbo@sraoss.co.jp>
Thu, 9 Jun 2016 04:38:16 +0000 (13:38 +0900)
committerpengbo <pengbo@sraoss.co.jp>
Thu, 9 Jun 2016 04:38:16 +0000 (13:38 +0900)
by [pgpool-hackers: 1611]

    -PG_CONFIG = pg_config
    +PG_CONFIG ?= pg_config

sql/Makefile
sql/pgpool-recovery/Makefile
sql/pgpool-regclass/Makefile

index 71597a48fc263cee7253f7d4ffc62731d9c27d2b..274125e7f14d2456db52239a9b321380032ff9c3 100644 (file)
@@ -25,11 +25,11 @@ subdir = sql
 # if you are not, comment out following line and...
 USE_PGXS = true
 # set top_builddir to the PostgreSQL build source tree top.
-# (for example /usr/local/src/postgresql-9.0) 
+# (for example /usr/local/src/postgresql-9.0)
 top_builddir = ..
 
 ifdef USE_PGXS
-PG_CONFIG = pg_config
+PG_CONFIG ?= pg_config
 PGXS = $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
 else
index df130772d7ca591d3e984c311afdff95d185f889..9173700263942e8af3a4f3362f2fbb7bdb1b8a76 100644 (file)
@@ -10,11 +10,11 @@ DATA = pgpool_recovery--1.0.sql
 # if you are not, comment out following line and...
 USE_PGXS = true
 # set top_builddir to the PostgreSQL build source tree top.
-# (for example /usr/local/src/postgresql-8.4) 
+# (for example /usr/local/src/postgresql-8.4)
 top_builddir = ../..
 
 ifdef USE_PGXS
-PG_CONFIG = pg_config
+PG_CONFIG ?= pg_config
 PGXS = $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
 else
index 9b36787e92a9d5fb74d07963f67f64cb2056ce78..7e31382b56c78517ab48b3afa8ee6fcc4317f1e0 100644 (file)
@@ -10,11 +10,11 @@ DATA = pgpool_regclass--1.0.sql
 # if you are not, comment out following line and...
 USE_PGXS = true
 # set top_builddir to the PostgreSQL build source tree top.
-# (for example /usr/local/src/postgresql-8.4) 
+# (for example /usr/local/src/postgresql-8.4)
 top_builddir = ../..
 
 ifdef USE_PGXS
-PG_CONFIG = pg_config
+PG_CONFIG ?= pg_config
 PGXS = $(shell $(PG_CONFIG) --pgxs)
 include $(PGXS)
 else