fixes to get qf to compile cygwin->mingw32

This commit is contained in:
Chris Ison 2001-10-02 01:53:26 +00:00
parent 5e6f77cddb
commit 284da345ef

View file

@ -65,12 +65,16 @@ case "$host_os" in
AS="$CC" AS="$CC"
AR="$host_cpu_$host_os-ar" AR="$host_cpu_$host_os-ar"
RANLIB="$host_cpu-$host_os-ranlib" RANLIB="$host_cpu-$host_os-ranlib"
case "$target" in endian="little"
*mingw32) fi
if test "$host" != "$target"; then
case "$target_os" in
mingw32*)
mingw=yes mingw=yes
CFLAGS="$CFLAGS -mno-cygwin -mwindows" CPPFLAGS="$CPPFLAGS -mno-cygwin -mwindows"
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32" CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32"
CFLAGS="$CFLAGS -I\$(top_srcdir)/include/win32/resources" CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/include/win32/resources"
LDFLAGS="$LDFLAGS -mno-cygwin -mwindows"
endian="little" endian="little"
;; ;;
esac esac