From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id A0DF94BE77 for ; Fri, 29 Aug 2025 14:05:41 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'p1w0KfDgtN59ZuOGlJSfYykNnE5DIDJu47DP0G8lIj4=', expected b'MDrToZbMMugkSxRAbsVY8tdwqaQ24GZf9S6PKRcSqQw=')) header.d=axis.com header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1756476335; h=to : date : message-id : in-reply-to : references : mime-version : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=RV6py5/brsbtYTteqM5ayAQN3+vDgCHtzU0e4dRhMx0=; b=D0wjoeFaDyd/g5NaK8imi6fxfEGxyOIV8lHoUidUdwcpTb9vyVqHw49rr8LWSM1Q36rwS BIVk/sJNo9VUKqSzTTm98g9yBJhyuQ3VjHWFGcTpOt4quz5d6E9A3QpjQV80FHU6+6KmFfx lLKNBnR/BO4hDXplwkWlG6E3k5f2cEXC4hvGRvOxSYZavdGE9xpgDqKg3JnZ6pKWVTzlzNG Wtm+8tboaBWgzRjcxiHipMSO5PaUdxJoPFjGlBkYpoDwEzrOOU7fW4330i2tjpTD/vtDXqe r2ZvEXQ01GEYiud90Fh1vsv7V8MrnWANHfCdChxrFKVxAswVEq+7eXEkKUcg== Received: from [172.19.0.4] (unknown [172.19.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E836468E763; Fri, 29 Aug 2025 17:05:35 +0300 (EEST) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1756476327; b=uMeNmPiivZ14AV01L2HIxHoaUZ84gJImQCvgQRvMNU73go/Fpn27XqUNOpwSotpL8ztk9 tfKYfToDM9GZ99EMj2344/szw34x5JAYAoZDs/rn7LqynKuvr0AGCGWoHcdgbZyWql7UHs0 RYYS9etyw7aOY+ogED+a/bZmC1sk3K3ul5iKx6breDXfVYIb6zRlSDmy1q/VIpyBbx0xB4j 2KJhTGmlMBlNQ70QY6HKYjgxi6J9EhBl6NgXArI5kcBN+eZNQnVHwdRHbOx3+yYYbVw/mV1 n8QOds6Qu54CF2gaqVqGGM8t1j1JS1907saONznc2rjs75BFwRkAVW5UVcwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1756476327; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=p1w0KfDgtN59ZuOGlJSfYykNnE5DIDJu47DP0G8lIj4=; b=Rrkwyu4tNP8t0TXQKj9VJzmwO9p6AppLKgVFxH2bKpow24Rq89+cvFijf+XILEwAsaYLt otgO4M3jB1ykHnHpiyKUSLrU73Inr/8LjqerGpUC8kxSSmXVvx9U3iMW4mFzrxT2YN4bGRt mhUHeUvKCAEYuLcryvwvwOEy/O/ACmPH9iUmPM6UC7RNU+6nK0ueyZI6FsS8IcwVq6EAc8J 2DDn7VnC16JXVTU8nICv3kxmbj+jvPlVE82bTDcJPD9WxdbDZaXo3jScbtm0FjeBEVzwxwB UnjI5GNkTeBmRlfHGOL7XZgHC+hq4gglbJZIg3e81Z7yMmt3htfkFy9YBUaw== ARC-Authentication-Results: i=2; ffmpeg.org; dkim=pass header.d=axis.com; arc=pass; dmarc=pass header.from=axis.com policy.dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=axis.com; arc=pass; dmarc=pass (Used From Domain Record) header.from=axis.com policy.dmarc=none Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazon11011028.outbound.protection.outlook.com [52.101.65.28]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 29CD768E714 for ; Fri, 29 Aug 2025 17:05:14 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=veXfwxsLPzPvGjcbZ7dfWZxvh8pD0GHG0CIAHoBUj3BaPmzlHlB+Ic6LM4nLo5TiXOvOUPkAC2wk4wK/2ABJrj0hOyoBYOLxuqaVIQjGfGeT1CqC0aOJCJh5KRwkmHKoFUV3THjl7Md4oBS1HLkYcXiAclzCTQFs89Eaehcg+AL8E+ympG7EfAkMhxnIdiE+awlAI35FNuowAUai50Rm+oVCeinfUe9toZJJSHqaf4G+sHC3YdDOc5MmPyiPT1rxn8S1G9Y/Uk9Y9y3k2IAz/U8wci/8h7OYtTLDaTAn5X+lz4dUPM4B/jVVgw/Mm5pYzoxdcwwlv9gTcco97sD0ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MDrToZbMMugkSxRAbsVY8tdwqaQ24GZf9S6PKRcSqQw=; b=t0xdnUCSCIAlVcF5pmpotDbWZAConjfWcHJ2wc7UZfdtvFFdgC9qBURMnAIXU2lJnTnXF5B2BqOEasAGRnEZ+SFsUdcPZ9sTCBdP/Y+0mKwvBuYmilwRHHdoyTCsOJtvi4QVgNfRsJR8twyM1TwHhz2pu196QnemMJ7q49he95UbmsUTox6mFuYDHFZHhUUaHnYvNw0zomm9UwwciHP+7RwTpYjH6kKWbzZUbirNqDpjLxEjmX3pYWnYXkNytB8pY8+w/3S/ApnKaf+qDI7F85dxQMUdWCY1WwLbAnP8tpqIvCR4+Om7nsV+JSJxTj5WcKEgPL/Bpfe5hrD2xsX6ew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 195.60.68.100) smtp.rcpttodomain=ffmpeg.org smtp.mailfrom=axis.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MDrToZbMMugkSxRAbsVY8tdwqaQ24GZf9S6PKRcSqQw=; b=AORQDGptzb9ygCvWS0AmdtQjr0mSipekVpX47Ltd5paYt5N1PuHSxEMN6nA8ifUwZ7q4EvPkEd/AvAGC4LnmZlYFZMZi9E7TRk+zJarEPwUAbw86upMHmXyxMbw+61gSiEoWQcZIH6yXSWAWdpy1BFO8vBEqOM038nY29jA/WOQ= Received: from AM9P195CA0005.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::10) by DU7PPF0F2F72ABF.eurprd02.prod.outlook.com (2603:10a6:18:3::cc5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9052.19; Fri, 29 Aug 2025 14:05:12 +0000 Received: from AM3PEPF0000A78D.eurprd04.prod.outlook.com (2603:10a6:20b:21f:cafe::68) by AM9P195CA0005.outlook.office365.com (2603:10a6:20b:21f::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9073.16 via Frontend Transport; Fri, 29 Aug 2025 14:05:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=axis.com; Received-SPF: Pass (protection.outlook.com: domain of axis.com designates 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; pr=C Received: from mail.axis.com (195.60.68.100) by AM3PEPF0000A78D.mail.protection.outlook.com (10.167.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.9073.11 via Frontend Transport; Fri, 29 Aug 2025 14:05:12 +0000 Received: from se-mail02w.axis.com (10.20.40.8) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.58; Fri, 29 Aug 2025 16:05:07 +0200 Received: from se-intmail02x.se.axis.com (10.4.0.28) by se-mail02w.axis.com (10.20.40.8) with Microsoft SMTP Server id 15.1.2507.58 via Frontend Transport; Fri, 29 Aug 2025 16:05:07 +0200 Received: from pc55631-2335.se.axis.com (pc55631-2335.se.axis.com [10.94.180.160]) by se-intmail02x.se.axis.com (Postfix) with ESMTP id D9D86993; Fri, 29 Aug 2025 16:05:07 +0200 (CEST) Received: by pc55631-2335.se.axis.com (Postfix, from userid 18910) id D5A2F43A5198; Fri, 29 Aug 2025 16:05:07 +0200 (CEST) To: , , Date: Fri, 29 Aug 2025 16:04:55 +0200 Message-ID: <20250829140459.3220037-2-peterend@axis.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250829140459.3220037-1-peterend@axis.com> References: <0250811223419.GF29660@pb2> <20250829140459.3220037-1-peterend@axis.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM3PEPF0000A78D:EE_|DU7PPF0F2F72ABF:EE_ X-MS-Office365-Filtering-Correlation-Id: f2380ef3-e3fa-4e07-84b0-08dde705122e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?aqe2bFFTss4ykdzitoawoybIIO3jJsCMcK1uGSSiimJlleQ/Pff492/qOvYy?= =?us-ascii?Q?3ZhijMKPVp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+nZq6RNJjC/k6?= =?us-ascii?Q?s2HIi62EzJBjgrPC/9fai4bZ4n37FZFIPwLIo83+4hm0fNgmZSS9eXjqSr4x?= =?us-ascii?Q?N3lSr4J0aiDxnUbKLZcRjXJN/FVjIxbpI6En2Z3C1paOsOYNmeIL05YYWhJ4?= =?us-ascii?Q?n19teFaUbmuYO0Rr4iH4B5ynAdzJWjRUA+V7+70Q/xA139DBE2YepOgdIXu9?= =?us-ascii?Q?JlXyTojQUyMOwAIyenSy+hCQlsjMtR18zUc6dP0P75GGCf1uPQYlE9l3rGfv?= =?us-ascii?Q?PDz8OuKiMjiORy4cOM2dZI2akj6IkFTOq6TC3EcMLkvdyLeC+VfbhGZLLC3d?= =?us-ascii?Q?rHiP/YV13Xlr2kISl+g73DK4i7vqokPewY1+9xcYT2zbcXWQXzZJiEKPhxr9?= =?us-ascii?Q?wAXvYyZEzrwqP160jb04iUx/zwHs6N5mW8vFdoKmLJv6aCU9AVYs9KESHzVt?= =?us-ascii?Q?Z4JeJ15lE+uCE50HRxg2DP892FjGYpVeULsFNMzDLO7w6jNT5UQNZzbQ/ng+?= =?us-ascii?Q?D2sZL6k/q6583MGLCP/eB6UfqcINfvOzxan5WFcwpaqzc72gatZxKspzn585?= =?us-ascii?Q?FirENZpT9gOLMrBaT+LS6eRtDR/P3QVdjELo?= X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2025 14:05:12.1952 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f2380ef3-e3fa-4e07-84b0-08dde705122e X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF0000A78D.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU7PPF0F2F72ABF Message-ID-Hash: 7W4SCZD6KP5VODWIFL4LCTVZK7TK6K5B X-Message-ID-Hash: 7W4SCZD6KP5VODWIFL4LCTVZK7TK6K5B X-MailFrom: SRS0=YjuK=3J=axis.com=Peter.Enderborg@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH v3 1/5] configure: Add test_ioctl and test for SIOCGIFINDEX List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Enderborg via ffmpeg-devel Cc: Peter Enderborg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: Adds a generic ioctl tester and a specific test SIOCGIFINDEX that sets ioctl_gifindex. It is a network specific feature and the tests are run only in network context. Signed-off-by: Peter Enderborg --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure b/configure index 9fe28c5af4..b379a6bc92 100755 --- a/configure +++ b/configure @@ -1282,6 +1282,20 @@ int x; EOF } +test_ioctl(){ + log test_ioctl "$@" + ctl=$1 + shift 1 + test_cc "$@" < +#include +int f; +void x(){ +ioctl(f, $ctl, NULL); +} +EOF +} + check_cflags(){ log check_cflags "$@" test_cflags "$@" && add_cflags "$@" @@ -2542,6 +2556,7 @@ HAVE_LIST=" $TOOLCHAIN_FEATURES $TYPES_LIST gzip + ioctl_gifindex ioctl_posix libdrm_getfb2 makeinfo @@ -6658,6 +6673,7 @@ if ! disabled network; then else disable network fi + test_ioctl SIOCGIFINDEX && enable ioctl_gifindex fi check_builtin MemoryBarrier windows.h "MemoryBarrier()" -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org