From 92dfe0726c923f3595e77675bbf40f86b9a88924 Mon Sep 17 00:00:00 2001 From: Harry Date: Wed, 23 Nov 2016 10:17:42 -0600 Subject: [PATCH] Add cygwin support. --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1232a82..a9c931d 100755 --- a/configure +++ b/configure @@ -338,6 +338,10 @@ case "$SYSTEM" in SYSTEM=mingw32 LDFLAGS="-mthreads $LDFLAGS" ;; + CYGWIN_NT*) + SYSTEM=cygwin + LDFLAGS="-mthreads $LDFLAGS" + ;; *) SYSTEM= ;; @@ -657,7 +661,7 @@ if test "$VMA_BITS" = "unknown"; then return (0); } EOF - + $CC -o .1 .1.c 2>/dev/null VMA=`./.1 2>/dev/null` if test $? -ne 0; then @@ -769,4 +773,3 @@ generate Makefile.in $P_PWD/Makefile touch src/*.c echo "success" generate_stdout -