summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpam/Makefile.am3
-rw-r--r--modules/pam_rootok/Makefile.am3
-rw-r--r--modules/pam_unix/Makefile.am4
3 files changed, 0 insertions, 10 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
diff --git a/modules/pam_rootok/Makefile.am b/modules/pam_rootok/Makefile.am
index 06e755c5..2abf239b 100644
--- a/modules/pam_rootok/Makefile.am
+++ b/modules/pam_rootok/Makefile.am
@@ -19,9 +19,6 @@ secureconfdir = $(SCONFIGDIR)
AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
$(WARN_CFLAGS)
-if HAVE_LIBSELINUX
-AM_CFLAGS += -DWITH_SELINUX
-endif
AM_LDFLAGS = -no-undefined -avoid-version -module
if HAVE_VERSIONING
AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
diff --git a/modules/pam_unix/Makefile.am b/modules/pam_unix/Makefile.am
index 55aac31a..2a9a76e7 100644
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -23,10 +23,6 @@ AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
-DUPDATE_HELPER=\"$(sbindir)/unix_update\" \
@TIRPC_CFLAGS@ @NSL_CFLAGS@ $(WARN_CFLAGS)
-if HAVE_LIBSELINUX
- AM_CFLAGS += -D"WITH_SELINUX"
-endif
-
pam_unix_la_LDFLAGS = -no-undefined -avoid-version -module
if HAVE_VERSIONING
pam_unix_la_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map