projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f427c1
)
pgxs: Supply default values for BISON and FLEX variables
author
Peter Eisentraut
<peter_e@gmx.net>
Fri, 30 Mar 2012 17:36:49 +0000
(20:36 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Fri, 30 Mar 2012 17:36:49 +0000
(20:36 +0300)
Otherwise, the availability of these variables depends on what
happened to be available at the time the PostgreSQL build was
configured.
src/makefiles/pgxs.mk
patch
|
blob
|
blame
|
history
diff --git
a/src/makefiles/pgxs.mk
b/src/makefiles/pgxs.mk
index 7dc874240ac04de03298faed3cb0955f1761c04f..318d5ef3070b162b79d4241164738343d06d9f77 100644
(file)
--- a/
src/makefiles/pgxs.mk
+++ b/
src/makefiles/pgxs.mk
@@
-64,6
+64,16
@@
include $(top_builddir)/src/Makefile.global
top_srcdir = $(top_builddir)
srcdir = .
VPATH =
+
+# These might be set in Makefile.global, but if they were not found
+# during the build of PostgreSQL, supply default values so that users
+# of pgxs can use the variables.
+ifeq ($(BISON),)
+BISON = bison
+endif
+ifeq ($(FLEX),)
+FLEX = flex
+endif
endif