diff options
author | Petr Lautrbach <plautrba@redhat.com> | 2020-11-03 15:06:34 +0100 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2020-11-05 09:22:26 -0800 |
commit | 059200d50beb259c54469ae65f2d034af48ff849 (patch) | |
tree | 26e59209af8baf0ab601a34c2f9ea8eabe18de38 /configure.ac | |
parent | dfc611bd5126840d68493ad0e761511a71325af7 (diff) | |
download | parted-059200d50beb259c54469ae65f2d034af48ff849.tar.gz |
Do not link to libsepol or libselinux
Given that there's no code which would use it there's no reason to link
to libsepol or libselinux even when they are available.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index c46a3ff..ef78600 100644 --- a/configure.ac +++ b/configure.ac @@ -89,11 +89,6 @@ if test $ENABLE_DEVICE_MAPPER = yes; then 1, [device mapper (libdevmapper) support]) fi -AC_ARG_ENABLE([selinux], - [ --enable-selinux enable SELinux support [default=no]], , - enable_selinux=no -) - AC_ARG_ENABLE([discover-only], [ --enable-discover-only support only reading/probing [default=no]], , enable_discover_only=no @@ -320,13 +315,6 @@ package as well (it may be called device-mapper-devel or something similar).] fi AC_SUBST([DM_LIBS]) -dnl Check for SELinux -SELINUX_LIBS="" -if test "$enable_selinux" = yes; then - SELINUX_LIBS="-lselinux -lsepol" -fi -AC_SUBST([SELINUX_LIBS]) - dnl Check for termcap if test "$with_readline" = yes; then OLD_LIBS="$LIBS" |