Add cygwin support.

ck_pring
Harry 8 years ago
parent 2868848a2f
commit 92dfe0726c

7
configure vendored

@ -338,6 +338,10 @@ case "$SYSTEM" in
SYSTEM=mingw32 SYSTEM=mingw32
LDFLAGS="-mthreads $LDFLAGS" LDFLAGS="-mthreads $LDFLAGS"
;; ;;
CYGWIN_NT*)
SYSTEM=cygwin
LDFLAGS="-mthreads $LDFLAGS"
;;
*) *)
SYSTEM= SYSTEM=
;; ;;
@ -657,7 +661,7 @@ if test "$VMA_BITS" = "unknown"; then
return (0); return (0);
} }
EOF EOF
$CC -o .1 .1.c 2>/dev/null $CC -o .1 .1.c 2>/dev/null
VMA=`./.1 2>/dev/null` VMA=`./.1 2>/dev/null`
if test $? -ne 0; then if test $? -ne 0; then
@ -769,4 +773,3 @@ generate Makefile.in $P_PWD/Makefile
touch src/*.c touch src/*.c
echo "success" echo "success"
generate_stdout generate_stdout

Loading…
Cancel
Save