summaryrefslogtreecommitdiff
path: root/libpam/Makefile.am
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-04-26 02:11:50 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-04-26 11:12:59 +0000
commit3edc51e9e1151a54172ec0a7c9660a7d7b1a6b49 (patch)
tree80efc60d8ef61c1f4034fe831c2146bc6e597fc9 /libpam/Makefile.am
parent6e4a7c10ec41d009d8e7afaeb079a18ac3ba1a68 (diff)
build: cleanup: do not add -DWITH_SELINUX to CFLAGS
As WITH_SELINUX is already AC_DEFINE'd in configure.ac, there is no point in adding -DWITH_SELINUX to CFLAGS. * libpam/Makefile.am [HAVE_LIBSELINUX] (AM_CFLAGS): Do not add -DWITH_SELINUX. * modules/pam_rootok/Makefile.am: Likewise. * modules/pam_unix/Makefile.am: Likewise.
Diffstat (limited to 'libpam/Makefile.am')
-rw-r--r--libpam/Makefile.am3
1 files changed, 0 insertions, 3 deletions
diff --git a/libpam/Makefile.am b/libpam/Makefile.am
index 3845517f..67048702 100644
--- a/libpam/Makefile.am
+++ b/libpam/Makefile.am
@@ -6,9 +6,6 @@ AM_CFLAGS = -DDEFAULT_MODULE_PATH=\"$(SECUREDIR)/\" -DLIBPAM_COMPILE \
-I$(srcdir)/include $(LIBPRELUDE_CFLAGS) $(ECONF_CFLAGS) \
-DPAM_VERSION=\"$(VERSION)\" -DSYSCONFDIR=\"$(sysconfdir)\" \
$(WARN_CFLAGS)
-if HAVE_LIBSELINUX
- AM_CFLAGS += -D"WITH_SELINUX"
-endif
if HAVE_VENDORDIR
AM_CFLAGS += -DVENDORDIR=\"$(VENDORDIR)\"
endif