summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavan Deolasee2016-02-17 04:52:05 +0000
committerPavan Deolasee2016-10-18 09:58:31 +0000
commitea0617ab76ff60c979a0adf1d00f391fbe24d126 (patch)
treefc6a36e98d009f20243a58148ede3754bac5fddc /src
parent052aec3c43d1bf303618204d4e766c8ec9392b1a (diff)
Group all uncategorised log messages to a default module-id (with number set to
255 right now)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 656cc9879a..876a896a1a 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -846,6 +846,10 @@ PREPROCESS.c = $(CC) $(CFLAGS) $(CPPFLAGS) -E
PGXL_MSG_FILEID := 1
PGXL_MSG_MODULE := $(shell cat $(top_builddir)/MSGMODULES | grep -E "^subdir = $(subdir):" | cut -d ':' -f 2)
+ifeq ($(PGXL_MSG_MODULE)no, no)
+PGXL_MSG_MODULE := 255
+endif
+
ifeq ($(autodepend), yes)
ifeq ($(GCC), yes)