diff options
author | Nathan Scott <nathans@sgi.com> | 2002-07-05 04:16:49 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-07-05 04:16:49 +0000 |
commit | 8147f63b77959c6a269dce108f3f70459061c111 (patch) | |
tree | 7ccb93e06357de9387532c4f6fd6af7148b69e76 /libattr | |
parent | 6110fc079a03f78bfdbc0243a858cfbaa9deba67 (diff) | |
download | attr-8147f63b77959c6a269dce108f3f70459061c111.tar.gz |
Build infrastructure updates so that configure options can be used to
specify paths rather than semi-hard-coded path names controlled by the
PREFIX/ROOT_PREFIX environment variables; eg. now allows /lib64 and
/lib32 as alternate library install paths, which some folks need.
Diffstat (limited to 'libattr')
-rw-r--r-- | libattr/Makefile | 2 | ||||
-rw-r--r-- | libattr/syscalls.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/libattr/Makefile b/libattr/Makefile index cd8c618..854db51 100644 --- a/libattr/Makefile +++ b/libattr/Makefile @@ -36,7 +36,7 @@ include $(TOPDIR)/include/builddefs LTLIBRARY = libattr.la LT_CURRENT = 1 -LT_REVISION = 0 +LT_REVISION = 1 LT_AGE = 0 CFILES = libattr.c syscalls.c diff --git a/libattr/syscalls.c b/libattr/syscalls.c index 8708fe7..66361bf 100644 --- a/libattr/syscalls.c +++ b/libattr/syscalls.c @@ -168,6 +168,19 @@ # define __NR_removexattr (__NR_Linux + 233) # define __NR_lremovexattr (__NR_Linux + 234) # define __NR_fremovexattr (__NR_Linux + 235) +#elif defined (__alpha__) +# define __NR_setxattr 382 +# define __NR_lsetxattr 383 +# define __NR_fsetxattr 384 +# define __NR_getxattr 385 +# define __NR_lgetxattr 386 +# define __NR_fgetxattr 387 +# define __NR_listxattr 388 +# define __NR_llistxattr 389 +# define __NR_flistxattr 390 +# define __NR_removexattr 391 +# define __NR_lremovexattr 392 +# define __NR_fremovexattr 393 #else # warning "Extended attribute syscalls undefined for this architecture" # define HAVE_XATTR_SYSCALLS 0 |