Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Kacper Michajłow
2015-01-25 21:36 GMT+01:00 Hendrik Leppkes : > On Sun, Jan 25, 2015 at 7:44 PM, James Almer wrote: > > > On 25/01/15 2:47 PM, Hendrik Leppkes wrote: > > > On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer > > > > wrote: > > > > > >> On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger w

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Reimar Döffinger
On Sun, Jan 25, 2015 at 06:43:54PM +0100, Michael Niedermayer wrote: > On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: > > I don't really see anything wrong with this, however I'd rather have > > a compiler-based detection. > > I.e. if the compiler define __MINGW32__ set the host

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 7:44 PM, James Almer wrote: > On 25/01/15 2:47 PM, Hendrik Leppkes wrote: > > On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer > > wrote: > > > >> On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: > >>> On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 03:44:30PM -0300, James Almer wrote: > On 25/01/15 2:47 PM, Hendrik Leppkes wrote: > > On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer > > wrote: > > > >> On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: > >>> On Sun, Jan 25, 2015 at 03:59:12PM +0100,

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread James Almer
On 25/01/15 2:47 PM, Hendrik Leppkes wrote: > On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer > wrote: > >> On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: >>> On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Lep

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer wrote: > On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: > > On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: > > > On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes > > > wrote: > > > > > > > MSYS2 uses a syst

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: > On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: > > On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes > > wrote: > > > > > MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in > > > MSYS1. > >

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Reimar Döffinger
On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: > On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes > wrote: > > > MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in > > MSYS1. > > > > Apparently this isn't quite correct, and you have to start MSYS2 with a >

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes wrote: > MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in > MSYS1. > Apparently this isn't quite correct, and you have to start MSYS2 with a special batch file that overrides this for you. Just running bash.exe or sh.exe fr

[FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
MSYS2 uses a system name of "MSYS_NT-6.3" instead of "MINGW32_NT-6.3" in MSYS1. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 0b6be39..eacacdf 100755 --- a/configure +++ b/configure @@ -3097,7 +3097,7 @@ fi exesuf() { case