From: Viktor Szakats Date: Sat, 28 Dec 2024 11:06:53 +0000 (+0100) Subject: cmake: drop unused `HAVE_SYS_XATTR_H` detection X-Git-Tag: curl-8_12_0~257 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3780c7abcd768c46497e1bf4f497e6ffe29db468;p=thirdparty%2Fcurl.git cmake: drop unused `HAVE_SYS_XATTR_H` detection Follow-up to 8e345057761a8f796403923a96f2c8fd3edca647 #15164 Follow-up to 1c877a0712b7851c7f286007193668058ed2e987 #1176 Closes #15845 --- diff --git a/CMake/Platforms/WindowsCache.cmake b/CMake/Platforms/WindowsCache.cmake index ad78f37c66..1203459a4f 100644 --- a/CMake/Platforms/WindowsCache.cmake +++ b/CMake/Platforms/WindowsCache.cmake @@ -108,7 +108,6 @@ set(HAVE_GETHOSTNAME 1) set(HAVE_RECV 1) set(HAVE_SEND 1) set(HAVE_STROPTS_H 0) -set(HAVE_SYS_XATTR_H 0) set(HAVE_ARC4RANDOM 0) set(HAVE_FNMATCH 0) set(HAVE_SCHED_YIELD 0) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b88699fe6..2edb8d0988 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1541,7 +1541,6 @@ check_include_file_concat_curl("sys/time.h" HAVE_SYS_TIME_H) check_include_file_concat_curl("sys/types.h" HAVE_SYS_TYPES_H) check_include_file("sys/un.h" HAVE_SYS_UN_H) check_include_file_concat_curl("sys/utime.h" HAVE_SYS_UTIME_H) # sys/types.h (AmigaOS) -check_include_file("sys/xattr.h" HAVE_SYS_XATTR_H) check_include_file_concat_curl("arpa/inet.h" HAVE_ARPA_INET_H) check_include_file("dirent.h" HAVE_DIRENT_H)