chiark / gitweb /
configure: Allow to disable build of tools that require GTK.
[elogind.git] / Makefile.am
index f475e9849c8c1e9c9470fd2519e34696095d8fec..ebcdedd4fc5f061f5c28525b7e234fb38c057248 100644 (file)
@@ -42,8 +42,12 @@ sbin_PROGRAMS = \
        systemd
 
 bin_PROGRAMS = \
-       systemctl \
+       systemctl
+
+if HAVE_GTK
+bin_PROGRAMS += \
        systemadm
+endif
 
 pkglibexec_PROGRAMS = \
        systemd-logger \