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