diff options
| author | Romain Francoise | 2012-12-16 19:22:27 +0100 |
|---|---|---|
| committer | Romain Francoise | 2012-12-16 19:22:27 +0100 |
| commit | 7c3d167f48d6262ee4e5512aa50a07ee96bc1509 (patch) | |
| tree | 9d4c24c1c97ae0cb1763e51d6ab8e808283fb09b /src/Makefile.in | |
| parent | a5e9740d8ecfd471ecbc1f02980b83b003c1a469 (diff) | |
| download | emacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.tar.gz emacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.zip | |
Add support for preserving ACL entries of files.
* configure.ac (acl): New option.
(HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically
provided by libacl on GNU/Linux.
* fileio.c (Ffile_acl, Fset_file_acl): New functions.
(Fcopy_file): Change last arg to `preserve_extended_attributes'
and copy ACL entries of file in addition to SELinux context if
set.
(syms_of_fileio): Add `file-acl' and `set-file-acl'.
* Makefile.in (LIBACL_LIBS): New macro.
(LIBES): Use it.
* files.el (file-extended-attributes)
(set-file-extended-attributes): New functions.
(backup-buffer): Use them to handle both SELinux context and ACL
entries.
(backup-buffer-copy): Work with an alist of extended attributes,
rather than an SELinux context.
(basic-save-buffer-2): Ditto.
* files.texi (File Attributes): Document ACL support and new
`file-acl' function.
(Changing Files): Mention argument name change of `copy-file' and
document new function `set-file-acl'.
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 5f5fdfdc5eb..0e91eaecb17 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -292,6 +292,8 @@ LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ | |||
| 292 | LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ | 292 | LIBGNUTLS_LIBS = @LIBGNUTLS_LIBS@ |
| 293 | LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ | 293 | LIBGNUTLS_CFLAGS = @LIBGNUTLS_CFLAGS@ |
| 294 | 294 | ||
| 295 | LIBACL_LIBS = @LIBACL_LIBS@ | ||
| 296 | |||
| 295 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ | 297 | LIB_PTHREAD_SIGMASK = @LIB_PTHREAD_SIGMASK@ |
| 296 | 298 | ||
| 297 | INTERVALS_H = dispextern.h intervals.h composite.h | 299 | INTERVALS_H = dispextern.h intervals.h composite.h |
| @@ -406,7 +408,7 @@ LIBES = $(LIBS) $(W32_LIBS) $(LIBX_BASE) $(LIBIMAGE) \ | |||
| 406 | $(LIBXML2_LIBS) $(LIBGPM) $(LIBRESOLV) $(LIBS_SYSTEM) \ | 408 | $(LIBXML2_LIBS) $(LIBGPM) $(LIBRESOLV) $(LIBS_SYSTEM) \ |
| 407 | $(LIBS_TERMCAP) $(GETLOADAVG_LIBS) $(SETTINGS_LIBS) $(LIBSELINUX_LIBS) \ | 409 | $(LIBS_TERMCAP) $(GETLOADAVG_LIBS) $(SETTINGS_LIBS) $(LIBSELINUX_LIBS) \ |
| 408 | $(FREETYPE_LIBS) $(FONTCONFIG_LIBS) $(LIBOTF_LIBS) $(M17N_FLT_LIBS) \ | 410 | $(FREETYPE_LIBS) $(FONTCONFIG_LIBS) $(LIBOTF_LIBS) $(M17N_FLT_LIBS) \ |
| 409 | $(LIBGNUTLS_LIBS) $(LIB_PTHREAD) $(LIB_PTHREAD_SIGMASK) \ | 411 | $(LIBACL_LIBS) $(LIBGNUTLS_LIBS) $(LIB_PTHREAD) $(LIB_PTHREAD_SIGMASK) \ |
| 410 | $(LIB_GCC) $(LIB_MATH) $(LIB_STANDARD) $(LIB_GCC) | 412 | $(LIB_GCC) $(LIB_MATH) $(LIB_STANDARD) $(LIB_GCC) |
| 411 | 413 | ||
| 412 | all: emacs$(EXEEXT) $(OTHER_FILES) | 414 | all: emacs$(EXEEXT) $(OTHER_FILES) |