Skip to content

Commit 6ca365b

Browse files
committed
pgxs: Supply default values for BISON and FLEX variables
Otherwise, the availability of these variables depends on what happened to be available at the time the PostgreSQL build was configured.
1 parent 3f427c1 commit 6ca365b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/makefiles/pgxs.mk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ include $(top_builddir)/src/Makefile.global
6464
top_srcdir = $(top_builddir)
6565
srcdir = .
6666
VPATH =
67+
68+
# These might be set in Makefile.global, but if they were not found
69+
# during the build of PostgreSQL, supply default values so that users
70+
# of pgxs can use the variables.
71+
ifeq ($(BISON),)
72+
BISON = bison
73+
endif
74+
ifeq ($(FLEX),)
75+
FLEX = flex
76+
endif
6777
endif
6878

6979

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy