File libacl-headers.patch of Package cfengine

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-cfengine-3.5.0/configure.ac ./configure.ac
--- ../orig-cfengine-3.5.0/configure.ac	2013-06-12 15:09:56.000000000 +0200
+++ ./configure.ac	2013-07-09 09:11:22.387724353 +0200
@@ -350,7 +350,7 @@
 if test "x$with_libacl" != xno; then
   CF3_WITH_LIBRARY(libacl, [
     AC_CHECK_LIB(acl, acl_init, [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library); fi])
-    AC_CHECK_HEADERS([acl.h sys/acl.h acl/libacl.h], [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library headers); fi])
+    AC_CHECK_HEADERS([sys/acl.h acl/libacl.h], [], [if test "x$with_libacl" != xcheck; then AC_MSG_ERROR(Cannot find libacl library headers); fi])
   ])
  fi
 
openSUSE Build Service is sponsored by