File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -71,34 +71,22 @@ ifdef USE_PGXS
7171PG_CONFIG =pg_config
7272PGXS := $(shell $(PG_CONFIG ) --pgxs)
7373VNUM := $(shell $(PG_CONFIG ) --version | awk '{print $$2}')
74- else
75- subdir = contrib/pg_pathman
76- top_builddir = ../..
77- include $(top_builddir ) /src/Makefile.global
78- endif
79-
80- # our standard version could also use declarative syntax
81- ifdef PGPRO_EDITION
82- ifeq ($(PGPRO_EDITION ) ,standard)
83- VNUM := $(VERSION )
84- endif
85- endif
8674
87- ifdef VNUM
75+ # check for declarative syntax
8876ifeq ($(VNUM ) ,$(filter 10% 11% ,$(VNUM ) ) )
8977REGRESS += pathman_declarative
9078OBJS += src/declarative.o
9179override PG_CPPFLAGS += -DENABLE_DECLARATIVE
9280endif
93- endif
9481
95- ifdef USE_PGXS
9682include $(PGXS )
9783else
84+ subdir = contrib/pg_pathman
85+ top_builddir = ../..
86+ include $(top_builddir ) /src/Makefile.global
9887include $(top_srcdir ) /contrib/contrib-global.mk
9988endif
10089
101-
10290$(EXTENSION ) --$(EXTVERSION ) .sql : init.sql hash.sql range.sql
10391 cat $^ > $@
10492
You can’t perform that action at this time.
0 commit comments