summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-11 16:39:31 +0200
committerKay Sievers <kay@vrfy.org>2012-04-11 16:47:09 +0200
commit79c077224be5a868d0bba66972ef9546dae85977 (patch)
tree19ca00d028ebfcbb6e67f00458f14a047410c51f /Makefile.am
parentb30e2f4c18ad81b04e4314fd191a5d458553773c (diff)
put acl.la in 'if HAVE_ACL' and rename acl.[ch] to acl-util.[ch]
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 4ed1f12dc..493e15e7c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 += \