OSDN Git Service
(root)
/
pgdbmsstats
/
pg_dbms_stats.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d3296
)
Add USE_PGXS autoconfig
author
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 9 Jun 2014 06:11:44 +0000
(15:11 +0900)
committer
Kyotaro Horiguchi
<horiguchi.kyotaro@lab.ntt.co.jp>
Mon, 9 Jun 2014 06:25:13 +0000
(15:25 +0900)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c850670
..
a06a180
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-37,6
+37,12
@@
EXTRA_CLEAN = sql/ut_anyarray-*.sql expected/ut_anyarray-*.out \
export_stats.dmp ut-fdw.csv $(DATA) $(STARBALLS) RPMS/*/* \
*~
+ifndef USE_PGXS
+ifeq ($(wildcard ../../contrib/contrib-global.mk),)
+ USE_PGXS=1
+endif
+endif
+
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)