[x264-devel] msvs: Fix cl detection in non-English environments
장영훈
git at videolan.org
Wed Aug 19 21:16:14 CEST 2015
x264 | branch: master | 장영훈 <mieabby at gmail.com> | Fri Aug 7 14:43:24 2015 +0900| [f7f6af76ef22e812ef330e2839488e83dd553836] | committer: Anton Mitrofanov
msvs: Fix cl detection in non-English environments
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f7f6af76ef22e812ef330e2839488e83dd553836
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 2ab09a0..aa2a368 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
More information about the x264-devel
mailing list