{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1738981202,"commit_time":1739279740,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"6ab1fa423bcc49a742b1cde2164ff981fdee38e8","message":"cmake: fix/add missing feature detections for Windows/MS-DOS\n\nAlmost all feature detection results are pre-filled on Windows\nfor performance, so none of the issues fixed here affected builds.\n\nFor good measure, this patch add missing detections and fixes others\nto make sure they work even when omitting the pre-fill.\n\nIt also fixes detecting IPv6 for MS-DOS.\n\n- fix `HAVE_STRUCT_TIMEVAL` detection for MSVC.\n  Follow-up to c1bc090d65b8d7d14e811dd36f5e8674be43dff3 #12495\n- add `HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID` detection for Windows.\n- fix `HAVE_STRDUP` detection for MSVC.\n- fix `HAVE_SNPRINTF` detection for Windows.\n  Regression from 8e345057761a8f796403923a96f2c8fd3edca647 #15164\n- fix `HAVE_IOCTLSOCKET` detection for non-UWP MSVC.\n- exclude `if_nametoindex` detection for Windows.\n  Although it exists on Windows, detection, usage and availability is\n  complicated, and curl doesn't use it on this platform.\n  Regression from 8e345057761a8f796403923a96f2c8fd3edca647 #15164\n- move IPv6 detections so that pre-filling and MS-DOS Watt-32\n  configuration applies to them. This fixes\n  `HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID` detection with MS-DOS.\n  Ref: https://github.com/curl/curl/actions/runs/13260511764/job/37015877585#step:7:306\n  Follow-up to a3585c9576abccddbd27200058912cef900c3c0f #15543\n\nAlso:\n- add debug option to test without pre-filling.\n- replace `NOT LESS` with `GREATER_EQUAL`\n\nCloses #16278\n","parents":["e520493742efdbf7c606c631794617a72a154947"],"tree_hash":"bf3ed01a7af1c0fd5a4b37d2042eec10ef6be08c"}