diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-04-12 14:51:41 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-04-12 14:51:41 +0300 |
commit | d00ed4da566e96d4e8a2ddcf0c9755e8cd24b2ed (patch) | |
tree | 65e810ee1b09b75daf0e13dafffbf77c7c3861f6 | |
parent | e5dced234bf4741935b78683423630953414c864 (diff) | |
download | mmpri-d00ed4da566e96d4e8a2ddcf0c9755e8cd24b2ed.tar.gz mmpri-d00ed4da566e96d4e8a2ddcf0c9755e8cd24b2ed.tar.bz2 |
Fix the set of defines
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -10,13 +10,14 @@ ifndef RSYSLOGDIR endif else ifeq ($(wildcard $(RSYSLOGDIR)/configure.ac),) - $(error $(RSYSLOGDIR)/configure.ac not found + $(error $(RSYSLOGDIR)/configure.ac not found) endif ifneq ($(wildcard $(RSYSLOGDIR)/config.h),) DEFINES=-DHAVE_CONFIG_H else VERSION=$(shell m4 xver.m4 $(RSYSLOGDIR)/configure.ac) - DEFINES=-DVERSION=\"$(VERSION)\" + # A temporary kludge. These defines are valid only for GNU/Linux. + DEFINES=-DVERSION=\"$(VERSION)\" -DNDEBUG=1 -DOS_LINUX=1 -D_POSIX_PTHREAD_SEMANTICS=1 endif ifneq ($(wildcard $(RSYSLOGDIR)/Makefile),) pkglibdir=$(shell $(MAKE) -f pkglibdir.mk RSYSLOGDIR="$(RSYSLOGDIR)") |