fix mingw32 crosscompilation under linux - select correct WIN32 GUI

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
yuri 2010-03-13 21:51:52 +00:00
parent c80e789208
commit 5bc66fafc3

View File

@ -67,6 +67,16 @@ OPTIM="${OPTIM:=}"
AC_SUBST(ARCHFLAGS)
AC_SUBST(OPTIM)
dnl in case of cross-compiling mingw32 under linux we must change uname for Win32 GUI
dnl run ./configure --host=i686-pc-ming32 try use X11 without change uname
if test "x$cross_compiling" != xno ; then
case $host_alias in
*mingw*)
uname=MINGW
;;
esac
fi
dnl OS-specific pre-tests...
dnl uname_GUI equals $uname unless we target cygwin
dnl in combination with X11.