build: remove SELinux AM_CONDITIONAL from configure.ac

This commit is contained in:
Beniamino Galvani
2015-07-13 10:02:12 +02:00
parent 6b967e51aa
commit 4fb0d62802
2 changed files with 2 additions and 6 deletions

View File

@@ -493,7 +493,6 @@ if test "$have_selinux" = "yes"; then
else else
AC_DEFINE(HAVE_SELINUX, 0, [Define if you have SELinux support]) AC_DEFINE(HAVE_SELINUX, 0, [Define if you have SELinux support])
fi fi
AM_CONDITIONAL(HAVE_SELINUX, test "${have_selinux}" = "yes")
# libnl support for the linux platform # libnl support for the linux platform
PKG_CHECK_MODULES(LIBNL, libnl-3.0 >= 3.2.8 libnl-route-3.0 libnl-genl-3.0) PKG_CHECK_MODULES(LIBNL, libnl-3.0 >= 3.2.8 libnl-route-3.0 libnl-genl-3.0)

View File

@@ -459,16 +459,13 @@ libNetworkManager_la_LIBADD = \
$(SYSTEMD_JOURNAL_LIBS) \ $(SYSTEMD_JOURNAL_LIBS) \
$(LIBNDP_LIBS) \ $(LIBNDP_LIBS) \
$(LIBDL) \ $(LIBDL) \
$(LIBM) $(LIBM) \
$(SELINUX_LIBS)
if WITH_LIBSOUP if WITH_LIBSOUP
libNetworkManager_la_LIBADD += $(LIBSOUP_LIBS) libNetworkManager_la_LIBADD += $(LIBSOUP_LIBS)
endif endif
if HAVE_SELINUX
libNetworkManager_la_LIBADD += $(SELINUX_LIBS)
endif
NetworkManager_LDFLAGS = -rdynamic NetworkManager_LDFLAGS = -rdynamic
###################### ######################