chiark / gitweb /
put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]
[elogind.git] / Makefile.am
index 4ed1f12dcc64a6715a7343fb4fd615a5b9569083..493e15e7c260e7984e450565f0e6eb5aea031d2e 100644 (file)
@@ -629,12 +629,13 @@ libsystemd_audit_la_LIBADD = \
        libsystemd-capability.la
 
 # ------------------------------------------------------------------------------
+if HAVE_ACL
 noinst_LTLIBRARIES += \
        libsystemd-acl.la
 
 libsystemd_acl_la_SOURCES = \
-       src/shared/acl.c \
-       src/shared/acl.h
+       src/shared/acl-util.c \
+       src/shared/acl-util.h
 
 libsystemd_acl_la_CFLAGS = \
        $(AM_CFLAGS) \
@@ -642,6 +643,7 @@ libsystemd_acl_la_CFLAGS = \
 
 libsystemd_acl_la_LIBADD = \
        $(ACL_LIBS)
+endif
 
 # ------------------------------------------------------------------------------
 noinst_LTLIBRARIES += \