[x264-devel] configure: Support cygwin64
Diogo Franco Kovensky
git at videolan.org
Fri Aug 23 23:06:32 CEST 2013
x264 | branch: master | Diogo Franco (Kovensky) <diogomfranco at gmail.com> | Tue Jul 23 22:17:44 2013 -0300| [348f1b7f91319d0ac059a2067dc5c9f539df5889] | committer: Jason Garrett-Glaser
configure: Support cygwin64
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=348f1b7f91319d0ac059a2067dc5c9f539df5889
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 1df3f0f..db1d9e7 100755
--- a/configure
+++ b/configure
@@ -503,7 +503,7 @@ case $host_os in
CFLAGS="$CFLAGS -mno-cygwin"
LDFLAGS="$LDFLAGS -mno-cygwin"
fi
- if cpp_check "" "" "defined(__CYGWIN32__)" ; then
+ if cpp_check "" "" "defined(__CYGWIN__)" ; then
define HAVE_MALLOC_H
SYS="CYGWIN"
else
@@ -595,7 +595,7 @@ case $host_cpu in
CFLAGS="$CFLAGS -arch x86_64"
LDFLAGS="$LDFLAGS -arch x86_64"
fi
- elif [ "$SYS" = WINDOWS ]; then
+ elif [ "$SYS" = WINDOWS -o "$SYS" = CYGWIN ]; then
ASFLAGS="$ASFLAGS -f win32 -m amd64"
# only the GNU toolchain is inconsistent in prefixing function names with _
[ $compiler = GNU ] && cc_check "" "-S" && grep -q "_main:" conftest && ASFLAGS="$ASFLAGS -DPREFIX"
More information about the x264-devel
mailing list