mirror of
https://github.com/fltk/fltk.git
synced 2026-06-02 15:46:52 +08:00
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:
@@ -67,6 +67,16 @@ OPTIM="${OPTIM:=}"
|
|||||||
AC_SUBST(ARCHFLAGS)
|
AC_SUBST(ARCHFLAGS)
|
||||||
AC_SUBST(OPTIM)
|
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 OS-specific pre-tests...
|
||||||
dnl uname_GUI equals $uname unless we target cygwin
|
dnl uname_GUI equals $uname unless we target cygwin
|
||||||
dnl in combination with X11.
|
dnl in combination with X11.
|
||||||
|
|||||||
Reference in New Issue
Block a user