windows -DWIN32

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@202 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2004-08-23 10:40:21 +00:00
parent f23d228680
commit cc0c52b5e1
1 changed files with 11 additions and 6 deletions

View File

@ -38,12 +38,17 @@ AC_PROG_YACC
AM_PROG_LEX
dnl *** Building mingw32 with cygwin compiler ***
case "$build" in
*cygwin*)
case "$target" in
*mingw*)
CC="$CC -mno-cygwin"
esac ;;
case "$host_os" in
cygwin*)
CFLAGS="$CFLAGS -DWIN32"
case "$target" in
*mingw*)
CC="$CC -mno-cygwin"
esac
;;
mingw* | p32*)
CFLAGS="$CFLAGS -DWIN32"
;;
esac
AC_ARG_ENABLE(autoconf,