[systemd-commits] configure.ac Makefile.am README

Lennart Poettering lennart at kemper.freedesktop.org
Mon May 17 15:28:45 PDT 2010


 Makefile.am  |   10 +++++++---
 README       |    2 +-
 configure.ac |    1 +
 3 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit 42e39f0b326d27f6392a81a7400f9af7cf0af3ab
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue May 18 00:28:39 2010 +0200

    build-sys: remove vala generated sources only when valac is around

diff --git a/Makefile.am b/Makefile.am
index 65ab133..e6366dd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -335,9 +335,6 @@ units/session/%: units/%.m4 Makefile
 	$(M4_PROCESS_SESSION)
 
 CLEANFILES = \
-	src/systemd-interfaces.c \
-	src/systemctl.c \
-	src/systemadm.c \
 	units/systemd-initctl.service \
 	units/systemd-logger.service \
 	units/syslog.target \
@@ -350,6 +347,13 @@ CLEANFILES = \
 	man/systemd.special.7 \
 	man/systemd.special.html
 
+if HAVE_VALAC
+CLEANFILES += \
+	src/systemd-interfaces.c \
+	src/systemctl.c \
+	src/systemadm.c
+endif
+
 if HAVE_XSLTPROC
 XSLTPROC_PROCESS_MAN = \
 	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
diff --git a/README b/README
index 57373c3..492e374 100644
--- a/README
+++ b/README
@@ -27,7 +27,7 @@ AUTHOR:
         Lennart Poettering with major support from Kay Sievers
 
 REQUIREMENTS:
-        Linux kernel >= 2.6.30 (with autofs4, devtmpfs and the debug cgroup controller)
+        Linux kernel >= 2.6.30 (with autofs4, devtmpfs, cgroups)
         libudev >= 151
         libcgroup >= 0.35
         vala >= 0.80
diff --git a/configure.ac b/configure.ac
index 20024e6..5e50536 100644
--- a/configure.ac
+++ b/configure.ac
@@ -123,6 +123,7 @@ AM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"])
 
 AM_PROG_VALAC([0.8])
 AC_SUBST(VAPIDIR)
+AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
 
 AC_PATH_PROG([XSLTPROC], [xsltproc])
 AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)


More information about the systemd-commits mailing list