From: 장영훈 Date: Fri, 7 Aug 2015 05:43:24 +0000 (+0900) Subject: msvs: Fix cl detection in non-English environments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7f6af76ef22e812ef330e2839488e83dd553836;p=libx264 msvs: Fix cl detection in non-English environments --- diff --git a/configure b/configure index 2ab09a0f..aa2a368d 100755 --- a/configure +++ b/configure @@ -532,8 +532,8 @@ if [[ $host_os = mingw* || $host_os = cygwin* ]]; then compiler=CL compiler_style=MS CFLAGS="$CFLAGS -nologo -DHAVE_STRING_H -I\$(SRCPATH)/extras" - `$CC 2>&1 | grep -q 'for x86'` && host_cpu=i486 - `$CC 2>&1 | grep -q 'for x64'` && host_cpu=x86_64 + `$CC 2>&1 | grep -q 'x86'` && host_cpu=i486 + `$CC 2>&1 | grep -q 'x64'` && host_cpu=x86_64 cpp_check '' '' '_MSC_VER > 1800 || (_MSC_VER == 1800 && _MSC_FULL_VER >= 180030324)' || die "Microsoft Visual Studio support requires Visual Studio 2013 Update 2 or newer" fi else