summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-17 19:52:57 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-17 19:52:57 +0200
commit12e84679cc81cdf5f042540e54131a0ce37147ad (patch)
treec62689180782fe54b8c723247762386489251386 /Makefile.am
parent705dbf3aa3e95a4e591dcbc79774708d71b0e2e8 (diff)
build-sys: set M4_DISTRO_FLAG from the configure script
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.am b/Makefile.am
index 627538d23c..61b18b3273 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -320,19 +320,13 @@ units/systemd-logger.service: units/systemd-logger.service.in Makefile
units/syslog.target: units/syslog.target.in Makefile
$(SED_PROCESS)
-M4_FLAGS =
-
-if TARGET_FEDORA
-M4_FLAGS += -DTARGET_FEDORA=1
-endif
-
M4_PROCESS_SYSTEM = \
- $(MKDIR_P) units && \
- $(M4) -P $(M4_FLAGS) -DFOR_SYSTEM < $< > $@
+ $(AM_V_GEN)$(MKDIR_P) units && \
+ $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SYSTEM < $< > $@
M4_PROCESS_SESSION = \
- $(MKDIR_P) units/session && \
- $(M4) -P $(M4_FLAGS) -DFOR_SESSION < $< > $@
+ $(AM_V_GEN)$(MKDIR_P) units/session && \
+ $(M4) -P $(M4_DISTRO_FLAG) -DFOR_SESSION < $< > $@
units/basic.target: units/basic.target.m4 Makefile
$(M4_PROCESS_SYSTEM)