Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Reimar Döffinger
On 01.01.2015, at 12:49, Clément Bœsch wrote: > On Thu, Jan 01, 2015 at 12:43:52PM +0100, Reimar Döffinger wrote: >> On 01.01.2015, at 12:04, Clément Bœsch wrote: >>> On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: +enabled libx264 && use_pkg_config x264 "st

Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Clément Bœsch
On Thu, Jan 01, 2015 at 12:43:52PM +0100, Reimar Döffinger wrote: > On 01.01.2015, at 12:04, Clément Bœsch wrote: > > On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: > >> > >> +enabled libx264 && use_pkg_config x264 "stdint.h x264.h" > >> x264_encoder_encode -lx264 &&

Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Reimar Döffinger
On 01.01.2015, at 12:04, Clément Bœsch wrote: > On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: >> >> +enabled libx264 && use_pkg_config x264 "stdint.h x264.h" >> x264_encoder_encode -lx264 && >> { check_cpp_condition x264.h "X264_BUILD >=

Re: [FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Clément Bœsch
On Thu, Jan 01, 2015 at 11:40:25AM +0100, Reimar Döffinger wrote: > Make require_pkg_config check for extra argument that should not be > there. > Change use_pkg_config to allow specifying fallback libs and cflags. > > Signed-off-by: Reimar Döffinger > --- > configure | 22 +++---

[FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Reimar Döffinger
Make require_pkg_config check for extra argument that should not be there. Change use_pkg_config to allow specifying fallback libs and cflags. Signed-off-by: Reimar Döffinger --- configure | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/configure b/con

[FFmpeg-devel] [PATCH] configure: Factor out some pkg-config hacks.

2015-01-01 Thread Reimar Döffinger
Make require_pkg_config check for extra argument that should not be there. Change use_pkg_config to allow specifying fallback libs and cflags. Signed-off-by: Reimar Döffinger --- configure | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/configure b/conf