Re: [libav-devel] [PATCH 2/2 v2] configure: use test_pkg_config() for the SDL check

2017-10-02 Thread James Almer
On 10/2/2017 6:48 AM, Diego Biurrun wrote: > On Fri, Sep 29, 2017 at 10:56:09PM -0300, James Almer wrote: >> --- a/configure >> +++ b/configure >> @@ -4873,10 +4873,7 @@ fi >> >> # SDL is "special" and adds some CFLAGS that should not pollute anything >> else. >> if enabled avplay; then >> -

Re: [libav-devel] [PATCH 2/2 v2] configure: use test_pkg_config() for the SDL check

2017-10-02 Thread Diego Biurrun
On Fri, Sep 29, 2017 at 10:56:09PM -0300, James Almer wrote: > --- a/configure > +++ b/configure > @@ -4873,10 +4873,7 @@ fi > > # SDL is "special" and adds some CFLAGS that should not pollute anything > else. > if enabled avplay; then > -CFLAGS_SAVE=$CFLAGS > -check_pkg_config sdl "sd

[libav-devel] [PATCH 2/2 v2] configure: use test_pkg_config() for the SDL check

2017-09-29 Thread James Almer
Removes the extra code to preserve global cflags and extralibs. Signed-off-by: James Almer --- Removed the bogus avplay_extralibs line. It's added automatically as sdl is listed as a dependency of avplay. configure | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configur