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:41:55 +0000 (13:41 +0900)
by [pgpool-hackers: 1611]

    -PG_CONFIG = pg_config
    +PG_CONFIG ?= pg_config

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

index de4506c46efc44886904db74c83f2287549bbb8a..bfe167a66d963d22475fdf7cdbbe5fffe71d4683 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 3159cb9550312b233c198b185714d5635f1a0556..707e3d551d6862b6f23a685c5ff27cafb5277853 100644 (file)
@@ -7,11 +7,11 @@ DATA = uninstall_pgpool-recovery.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 dbd249fb92ec2da28dfa7a3c30d1f782b9bf25fc..e45054eddb0ee6d9f798d3ba5762491b81ed8fe1 100644 (file)
@@ -7,11 +7,11 @@ DATA = uninstall_pgpool-regclass.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