diff options
| author | Pavan Deolasee | 2016-02-15 18:28:58 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2016-10-18 09:58:31 +0000 |
| commit | e11dcb4feb26cafd3bedd411ae8cb02bce517a09 (patch) | |
| tree | c8b30bba279da6cac2d114f57b7426b4a71988ee /src/Makefile.global.in | |
| parent | c2f2b75f96482c5d04cc71c37c3bab3aad58707c (diff) | |
Use "expr" instead of "bc" for arithmetic since "bc" may not be available on
all platforms
Diffstat (limited to 'src/Makefile.global.in')
| -rw-r--r-- | src/Makefile.global.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 29bac9aee2..656cc9879a 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -856,7 +856,7 @@ ifeq ($(GCC), yes) -cat $@.E | grep -E "do .*errstart|do .*elog_start" >> $(top_srcdir)/MSGIDS -rm -f $@.E $(COMPILE.c) -DPGXL_MSG_MODULE=$(PGXL_MSG_MODULE) -DPGXL_MSG_FILEID=$(PGXL_MSG_FILEID) -o $@ $< -MMD -MP -MF $(DEPDIR)/$(*F).Po - $(eval PGXL_MSG_FILEID := $(shell echo $(PGXL_MSG_FILEID) + 1 | bc)) + $(eval PGXL_MSG_FILEID := $(shell expr $(PGXL_MSG_FILEID) + 1)) endif # GCC else ifeq ($(GCC), yes) @@ -865,7 +865,7 @@ ifeq ($(GCC), yes) -cat $@.E | grep -E "do .*errstart|do .*elog_start" >> $(top_srcdir)/MSGIDS -rm -f $@.E $(COMPILE.c) -DPGXL_MSG_MODULE=$(PGXL_MSG_MODULE) -DPGXL_MSG_FILEID=$(PGXL_MSG_FILEID) -o $@ $< - $(eval PGXL_MSG_FILEID := $(shell echo $(PGXL_MSG_FILEID) + 1 | bc)) + $(eval PGXL_MSG_FILEID := $(shell expr $(PGXL_MSG_FILEID) + 1)) endif # GCC endif # autodepend |
