[FFmpeg-devel] [PATCH]Silence a warning if pkg_config is not available

Stefano Sabatini stefano.sabatini-lala at poste.it
Thu May 5 01:11:24 CEST 2011


On date Wednesday 2011-05-04 15:27:13 -0700, Baptiste Coudurier encoded:
> On 05/04/2011 03:10 PM, Stefano Sabatini wrote:
> > On date Wednesday 2011-05-04 08:25:40 -0700, Baptiste Coudurier encoded:
> >> On 05/04/2011 06:27 AM, Michael Niedermayer wrote:
> >>> On Mon, May 02, 2011 at 04:07:32PM -0700, Baptiste Coudurier wrote:
> >>>> On 05/02/2011 03:57 PM, Carl Eugen Hoyos wrote:
> >>>>> Hi!
> >>>>>
> >>>>> Attached patch silences a warning if configure is run on a system where 
> >>>>> pkg_config is not installed.
> >>>>>
> >>>>
> >>>> Thanks !
> >>>> FYI SDL detection is broken on OSX because of the change to pkg-config.
> >>>
> >>> could you elaborate? i dont have osx and am not sure what "the change"
> >>> is, do you mean the
> >>> configure: use pkg-config helpers
> >>> or
> >>> configure: improve pkg-config support
> >>> or both or something else?
> >>
> >> The commit that change SDL detection to use pkg-config instead of
> >> sdl-config.
> > 
> > Why? Doesn't OSX support pkg-config? Or is the SDL version installed
> > which doesn't support it (but only supports sdl-config)?
> > 
> > In general using pkg-config when available is preferred over
> > foo-config.
> 
> pkg-config is not present on OSX, and difficult to install, requiring
> it for SDL is not needed. If there is pkg-config, fine, but if not use
> sdl-config.

If installing pkg-config on OSX is problematic I'm not against
reverting that hunk.
-- 
FFmpeg = Frightening and Forgiving Moronic Perennial Evil Gospel


More information about the ffmpeg-devel mailing list