From patchwork Mon Jan 16 23:16:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aman Karmani X-Patchwork-Id: 40056 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1d43:b0:b8:6755:f97e with SMTP id cs3csp1390770pzb; Mon, 16 Jan 2023 15:16:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXtpy6qaS1Nql+3a8idzR6iMNZRGsHhB50BmXcSSidreVyXLJUl0gYLpG82U6tYzsumbpPVQ X-Received: by 2002:a17:906:5e09:b0:7c1:727c:5f70 with SMTP id n9-20020a1709065e0900b007c1727c5f70mr736872eju.46.1673910982531; Mon, 16 Jan 2023 15:16:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673910982; cv=none; d=google.com; s=arc-20160816; b=GcMgW6GBz1sCJyBTRebHI3yb7Vq9N7SQPCkMMNaSt0yfmQosQVk6Ef5QdQ4HcK/8Hs tnuUWdfY6Ny+V2dQ0UIDfx6jTBiDpqhlEG+bUloQJwrYgSlZnH6B2Uym6Ac5oAtpSnr8 nbs/OBuyUnLQve77uSsLkE14+H4nfT3mYqj6TOl1bb1AvdP/ewa+BKpXcxdpPLtPpc35 axogrCqFnkUNGCEQBy10cpqAYTUDLFtEjidgeR0nYSVN5ZHhiy82vIBFSWUUszziWFoP RrIboln7fX5QcKn+lTpXDg6wF0sTpjcSeyGqTMCuiRzAXLubiUZRhHgzG0MH9pdio876 o3cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:to:mime-version:fcc:date:message-id:from :dkim-signature:delivered-to; bh=YwSNiibPPM50OdoyfHkA3J7nLNFUD5ZEyuWj/EiMWLw=; b=uuEM9AEY+RT8Ob+x7Zkrzpw6BPB8pHFW3bbuOAKMUO38B8ddKM6xxJ27os1PFV/ncg lQ9RKabcGm0mysUEEZGOlo5c3h2EshKyyxdCB5ZcNGxHzNROc/y1vN4dFsX5uTfLp+E8 kVgEtzEZU5Z1tZ9qlrQ1V8lNP9pt0IAXVr0w4BKLuYb3zf6YNSl4DWxhICWJ5D6UzFMC fHIk7xs/X/s6CrtKRIsouZtCydgLH/Kdq9P6CBaIwJ3k2ct+hJaEfzAGGUCqm3TMcxWQ sdSnFhIqZZAm76lH/FzSnIWYfxfhO3+748HVT19u3Nx+/IpTTI2Innzon98CkSLLpCSJ VbMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=pzkzr7vj; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id sb25-20020a1709076d9900b00871f78c75f8si1373528ejc.182.2023.01.16.15.16.21; Mon, 16 Jan 2023 15:16:22 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20210112 header.b=pzkzr7vj; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 34AE068BD96; Tue, 17 Jan 2023 01:16:18 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E793268B925 for ; Tue, 17 Jan 2023 01:16:11 +0200 (EET) Received: by mail-pl1-f172.google.com with SMTP id jn22so31715990plb.13 for ; Mon, 16 Jan 2023 15:16:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :message-id:from:from:to:cc:subject:date:message-id:reply-to; bh=dhl9CqdIJg5BU3kbIrHCpsbZaIrIrOLKyyeiaQcxm48=; b=pzkzr7vj5MxNs52XdyqHmOmuTSY4iq0B3X/gNRm7OHIH50x4v0pbuX/8lVxysnB5CN 2M2YKOtIWFGX1Jyc2G1Ho7Ivr+YRbYbZsfQorAabsyD0u6RBrey5aIoIjOhmz/6MN/79 qQ7WlE7K6gcK+3oG0E8Goculze9KK4cHfk1wc6MZZL8xgwkjJ6kA1FnteemikneEkNto 5KAxjw6J8OCAybPVMZDgDlnE1yFhORhTaG5l0AEJRMS7meNoY0y+D2UyvdM7Uu4MmIhi qxcLgt53t5qRHLnPMRrQ3D+PPrdkr+Cpvm/ZTfPICOCeBW0X0QG693ANb85tz5nwYHry YGzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date :message-id:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dhl9CqdIJg5BU3kbIrHCpsbZaIrIrOLKyyeiaQcxm48=; b=FpDBC1zCyzKFHCE+2+tDQK5g+7D4YTz9GAjx7nCpwcSRXM8NIrhArCyhVJRlOLkUph GPPyBacF94iZnfcAvzx4g2xdBqWqqnkLnKrdP7FDNN7sf40yx2b7E8SWaErT6jwYcV9n HNc4JkT6E9DndRciYbhtIEjO8edFGxpOVXPW+iZgRzcuMx9RmLE3/cC4Kwlmc43mBieX 2PcQ6Px+qODGTW1IaxV+em5448xr72Ta2JIRL0h49QdPvUeBLiVwLCa6dP2tVqeh5Zly nHj2S+UJQBLPpNuPgp7PYrnJl9G2uwq5aGAg9Jn4TI3q7zZMjxx7dgeRorAVGDMiIx5w 1IXg== X-Gm-Message-State: AFqh2ko90BryOHg8Z1WyLOf+3113CIEbu2Q/NbEpDNvIgYRLrL1vu+6G odC1IBZwO0IdSnItKb2hwatUO1fmv1U= X-Received: by 2002:a17:902:e5cd:b0:192:efc2:6578 with SMTP id u13-20020a170902e5cd00b00192efc26578mr2060344plf.41.1673910969926; Mon, 16 Jan 2023 15:16:09 -0800 (PST) Received: from [127.0.0.1] (master.gitmailbox.com. [34.83.118.50]) by smtp.gmail.com with ESMTPSA id c4-20020a170903234400b0019338ecad52sm15082461plh.190.2023.01.16.15.16.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Jan 2023 15:16:09 -0800 (PST) From: Aman Karmani X-Google-Original-From: Aman Karmani Message-Id: Date: Mon, 16 Jan 2023 23:16:08 +0000 Fcc: Sent MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH] configure: check for sysctl.h explicitly X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Aman Karmani Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: O8WlCo9xd9cZ From: Aman Karmani HAVE_SYSCTL is used to guard #include , so make sure we only define it when that header is present. In recent glibc, the header was removed: https://sourceware.org/pipermail/glibc-cvs/2020q2/069366.html Signed-off-by: Aman Karmani --- configure: check for sysctl.h explicitly HAVE_SYSCTL is used to guard #include , so make sure we only define it when that header is present. In recent glibc, the header was removed: https://sourceware.org/pipermail/glibc-cvs/2020q2/069366.html Signed-off-by: Aman Karmani aman@tmm1.net Published-As: https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-49%2Ftmm1%2Fsysctl-chk-v1 Fetch-It-Via: git fetch https://github.com/ffstaging/FFmpeg pr-ffstaging-49/tmm1/sysctl-chk-v1 Pull-Request: https://github.com/ffstaging/FFmpeg/pull/49 configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 01f46f18dbcdf323ceb4fdff7358cf3ca71366e6 diff --git a/configure b/configure index df69d39669..d2e0ec402d 100755 --- a/configure +++ b/configure @@ -6282,7 +6282,7 @@ check_func setrlimit check_struct "sys/stat.h" "struct stat" st_mtim.tv_nsec -D_BSD_SOURCE check_func strerror_r check_func sysconf -check_func sysctl +check_func_headers sys/sysctl.h sysctl check_func usleep check_func_headers conio.h kbhit