From 1c877a0712b7851c7f286007193668058ed2e987 Mon Sep 17 00:00:00 2001 From: Sean Burford Date: Tue, 19 Jul 2016 10:27:20 +1000 Subject: cmake: Support curl --xattr when built with cmake - Test for and set HAVE_FSETXATTR when support for extended file attributes is present. Closes https://github.com/curl/curl/pull/1176 --- lib/curl_config.h.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib') diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index 33c15cb6f..49c1b8a2d 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -518,6 +518,15 @@ /* Define to 1 if you have the send function. */ #cmakedefine HAVE_SEND 1 +/* Define to 1 if you have the 'fsetxattr' function. */ +#cmakedefine HAVE_FSETXATTR 1 + +/* fsetxattr() takes 5 args */ +#cmakedefine HAVE_FSETXATTR_5 1 + +/* fsetxattr() takes 6 args */ +#cmakedefine HAVE_FSETXATTR_6 1 + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SETJMP_H 1 -- cgit v1.2.3