Sophie

Sophie

distrib > Mageia > 9 > i586 > by-pkgid > af22603ff8b9e06e9deab19a799d1d3d > files > 137

glibc-2.36-49.mga9.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,