Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > a5f4304e391322727c92f033c50b87b9 > files > 39

glibc-2.29-13.mga7.src.rpm

diff -Nurp glibc-2.26.orig/configure.ac glibc-2.26/configure.ac
--- glibc-2.26.orig/configure.ac
+++ glibc-2.26/configure.ac
@@ -1732,16 +1732,16 @@ if test "x$have_selinux" = xyes; then
     AC_DEFINE(HAVE_LIBAUDIT, 1, [SELinux libaudit support])
   fi
   AC_SUBST(have_libaudit)
-
-  # See if we have the libcap library
-  AC_CHECK_LIB(cap, cap_init, have_libcap=yes, have_libcap=no)
-  if test "x$have_libcap" = xyes; then
-    AC_DEFINE(HAVE_LIBCAP, 1, [SELinux libcap support])
-  fi
-  AC_SUBST(have_libcap)
 fi
 AC_SUBST(have_selinux)
 
+# See if we have the libcap library
+AC_CHECK_LIB(cap, cap_init, have_libcap=yes, have_libcap=no)
+if test "x$have_libcap" = xyes; then
+  AC_DEFINE(HAVE_LIBCAP, 1, [SELinux libcap support])
+fi
+AC_SUBST(have_libcap)
+
 CPPUNDEFS=
 dnl Check for silly hacked compilers predefining _FORTIFY_SOURCE.
 dnl Since we are building the implementations of the fortified functions here,