From 401edc3ab08f95777d495b38030e2108d7d3f0b4 Mon Sep 17 00:00:00 2001 From: Diogo Franco Date: Tue, 23 Jul 2013 22:17:44 -0300 Subject: [PATCH] configure: Support cygwin64 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1df3f0f7..db1d9e77 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" -- 2.39.2