summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch')
-rw-r--r--kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch b/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch
deleted file mode 100644
index f3182dd5b7b6..000000000000
--- a/kde-base/kdelibs/files/kdelibs-3.5_beta1-configure-acl.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Nur kdelibs-3.4.91.orig/configure.in.in kdelibs-3.4.91/configure.in.in
---- kdelibs-3.4.91.orig/configure.in.in 2005-09-10 10:27:50.000000000 +0200
-+++ kdelibs-3.4.91/configure.in.in 2005-09-19 16:26:01.000000000 +0200
-@@ -48,16 +48,27 @@
- AC_HEADER_STDC
- AC_CHECK_HEADERS(sys/param.h sys/mman.h sys/time.h sysent.h strings.h sys/stat.h sys/select.h paths.h malloc.h limits.h sys/soundcard.h dlfcn.h termios.h)
-
--USE_POSIX_ACL="yes"
-+AC_ARG_WITH(acl,
-+ [AC_HELP_STRING(--with-acl,
-+ [enable support for POSIX ACLs @<:@default=check@:>@])],
-+ [], with_acl=check)
-+
- ACL_LIBS=""
--KDE_CHECK_HEADER(sys/xattr.h, ,[USE_POSIX_ACL="no"])
--KDE_CHECK_HEADER(sys/acl.h, ,[USE_POSIX_ACL="no"])
--KDE_CHECK_HEADER(acl/libacl.h, ,[USE_POSIX_ACL="no"])
--KDE_CHECK_LIB(acl,acl_init, ,[USE_POSIX_ACL="no"])
-+if test "x$with_acl" != xno; then
-+ USE_POSIX_ACL="yes"
-+ KDE_CHECK_HEADER(sys/xattr.h, ,[USE_POSIX_ACL="no"])
-+ KDE_CHECK_HEADER(sys/acl.h, ,[USE_POSIX_ACL="no"])
-+ KDE_CHECK_HEADER(acl/libacl.h, ,[USE_POSIX_ACL="no"])
-+ KDE_CHECK_LIB(acl,acl_init, ,[USE_POSIX_ACL="no"])
-
--if test $USE_POSIX_ACL = "yes" ; then
-+ if test $USE_POSIX_ACL = "yes" ; then
- ACL_LIBS="-lacl -lattr"
- AC_DEFINE([USE_POSIX_ACL], 1, [Define if system has POSIX ACL support.])
-+ fi
-+
-+ if test "x$with_acl" != xcheck && test "$USE_POSIX_ACL" != "yes"; then
-+ AC_MSG_ERROR([--with-acl was given, but test for POSIX ACLs failed])
-+ fi
- fi
- AC_SUBST(ACL_LIBS)
-