Remove misleading selinux test in configure.
authorMilan Broz <gmazyland@gmail.com>
Tue, 6 Apr 2010 14:05:59 +0000 (14:05 +0000)
committerMilan Broz <gmazyland@gmail.com>
Tue, 6 Apr 2010 14:05:59 +0000 (14:05 +0000)
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@193 36d66b0a-2a48-0410-832c-cd162a569da5

configure.in

index d82ba28..7dccc15 100644 (file)
@@ -91,15 +91,6 @@ if test "x$enable_selinux" != xno; then
        fi
 fi
 
-if test x$enable_static = xyes; then
-       saved_LIBS2=$LIBS
-       LIBS="$LIBS -static"
-       # Check if it there is still not some missing dependency like static selinux libs
-       AC_SEARCH_LIBS([dm_set_selinux_context], [devmapper],,
-               [AC_MSG_ERROR([Your system requires SElinux libraries for static compilation.])])
-       LIBS=$saved_LIBS2
-fi
-
 LIBS=$saved_LIBS
 
 DEVMAPPER_LIBS="$DEVMAPPER_LIBS $LIB_PTHREAD"