xattr: add configure check and #ifdefs
authorDaniel Stenberg <daniel@haxx.se>
Fri, 5 Nov 2010 13:07:38 +0000 (14:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 5 Nov 2010 13:07:38 +0000 (14:07 +0100)
commit95719fbea6acf52d03b17de742f16be8f1f0ce70
tree00092046ba3080c7813dff31bd6d3155a83fe326
parentfbf51696ef1435cf358943c671ac55944ccec26c
xattr: add configure check and #ifdefs

setxattr is a glibc call to set extended attributes, so configure now
checks for it and the code is adapted to only build when the
functionality is present.
configure.ac
m4/curl-functions.m4
src/main.c
src/xattr.c
src/xattr.h