From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id C818144865 for <ffmpegdev@gitmailbox.com>; Sat, 29 Oct 2022 17:25:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3A11968BC47; Sat, 29 Oct 2022 20:25:41 +0300 (EEST) Received: from mail.overt.org (mail.overt.org [157.230.92.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6246568BBFD for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Oct 2022 20:25:34 +0300 (EEST) Received: from authenticated-user (mail.overt.org [157.230.92.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by mail.overt.org (Postfix) with ESMTPSA id 2AADE3F1F5 for <ffmpeg-devel@ffmpeg.org>; Sat, 29 Oct 2022 12:25:32 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=overt.org; s=mail; t=1667064332; bh=I9eL6Kl5y8D5b+YhUMEdg0u9w6ob/7J3XHAJJvEDEwI=; h=Date:From:To:Subject:In-Reply-To:References:From; b=R177WNAPtmWUL2COP1N8LCPtRIYXMEfyrFs6o9Ng6WOGxKFjl2PomYgP2d15kZ1mF 7rikA5FI62dnHdxXRGwjCwJhApPLHthdi/IzXjhnBBDHT+T+htmjASS+D5/kjxHCk1 xQlQ6mrmHxqLhlnfPjArF0pidaQIKp/b90CG1pSzfKW/d0pylUwHzCYh1bllW8fRS+ x9DVEpdxAQ2YDu2ag2Ke6LLuAz81FZXuhuYuWg6rPzy9X6JCeQaCdgXZBmKtjbpKPe qVKXdN6MyKd6fPJsgTSK096mXUbQjrAS7z2OGMvUtcpenCQoATU0VPMRvyX0lGnsjJ GDVKbFVQb7AAw== Date: Sat, 29 Oct 2022 10:25:30 -0700 From: Philip Langdale <philipl@overt.org> To: ffmpeg-devel@ffmpeg.org Message-ID: <20221029102530.4a83c5bc@fido7> In-Reply-To: <20221029171244.16291-1-timo@rothenpieler.org> References: <20221029171244.16291-1-timo@rothenpieler.org> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] configure: add pkg-config check for OpenAL X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/20221029102530.4a83c5bc@fido7/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> On Sat, 29 Oct 2022 19:12:44 +0200 Timo Rothenpieler <timo@rothenpieler.org> wrote: > --- > configure | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 70c9e41dcc..30f0ce4e26 100755 > --- a/configure > +++ b/configure > @@ -6757,7 +6757,8 @@ enabled mmal && { check_lib mmal > interface/mmal/mmal.h mmal_port_co check_lib mmal > interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util > -lmmal_vc_client -lbcm_host; } || die "ERROR: mmal not found" && > check_func_headers interface/mmal/mmal.h > "MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"; } -enabled openal > && { { for al_extralibs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; > do +enabled openal && { check_pkg_config openal "openal >= > 1.1" "AL/al.h" alGetError || > + { for al_extralibs in > "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; do check_lib openal > 'AL/al.h' alGetError "${al_extralibs}" && break; done } || die > "ERROR: openal not found"; } && { test_cpp_condition "AL/al.h" > "defined(AL_VERSION_1_1)" || LGTM --phil _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".