From 69c5d5a62715256e8014cc577b6dfe76fc8c5621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20R=C4=83ceanu?= Date: Fri, 3 Aug 2018 00:28:47 +0300 Subject: [PATCH] more changes to accept mingw64 --- build/aclocal/bakefile.m4 | 4 ++-- configure | 10 +++++----- configure.in | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build/aclocal/bakefile.m4 b/build/aclocal/bakefile.m4 index 438c071bf6..c97afbb173 100644 --- a/build/aclocal/bakefile.m4 +++ b/build/aclocal/bakefile.m4 @@ -76,7 +76,7 @@ AC_DEFUN([AC_BAKEFILE_PLATFORM], if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then case "${BAKEFILE_HOST}" in - *-*-mingw32* ) + *-*-mingw* ) PLATFORM_WIN32=1 ;; *-*-darwin* ) @@ -197,7 +197,7 @@ AC_DEFUN([AC_BAKEFILE_SUFFIXES], DLLPREFIX="cyg" dlldir="$bindir" ;; - *-*-mingw32* ) + *-*-mingw* ) SO_SUFFIX="dll" SO_SUFFIX_MODULE="dll" DLLIMP_SUFFIX="dll.a" diff --git a/configure b/configure index 41198b8a52..1cf0f4cc0d 100755 --- a/configure +++ b/configure @@ -23743,7 +23743,7 @@ fi LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32" case "${host}" in - x86_64-*-mingw32* ) + x86_64-*-mingw* ) WINDRES_CPU_DEFINE="--define WX_CPU_AMD64" ;; esac @@ -23776,7 +23776,7 @@ if test "$wxUSE_GUI" = "yes"; then GUIDIST=MSW_DIST case "${host}" in - *-*-mingw32* ) + *-*-mingw* ) WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows" esac fi @@ -33240,7 +33240,7 @@ $as_echo "$wx_cv_type_abi_forced_unwind" >&6; } else if test "$wxUSE_THREADS" = "yes" ; then case "${host}" in - x86_64-*-mingw32* ) + x86_64-*-mingw* ) ;; *-*-mingw32* ) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5 @@ -39810,7 +39810,7 @@ $as_echo "$bakefile_cv_prog_makeisgnu" >&6; } if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then case "${BAKEFILE_HOST}" in - *-*-mingw32* ) + *-*-mingw* ) PLATFORM_WIN32=1 ;; *-*-darwin* ) @@ -39904,7 +39904,7 @@ $as_echo "$bakefile_cv_prog_makeisgnu" >&6; } DLLPREFIX="cyg" dlldir="$bindir" ;; - *-*-mingw32* ) + *-*-mingw* ) SO_SUFFIX="dll" SO_SUFFIX_MODULE="dll" DLLIMP_SUFFIX="dll.a" diff --git a/configure.in b/configure.in index 08a9f46b1a..9a52cc508c 100644 --- a/configure.in +++ b/configure.in @@ -2746,7 +2746,7 @@ if test "$USE_WIN32" = 1 ; then LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32" case "${host}" in - x86_64-*-mingw32* ) + x86_64-*-mingw* ) dnl we need to define this to embed the manifest for correct dnl platform from wx/msw/wx.rc (this is not needed for x86 which is dnl the default in wx/msw/rcdefs.h) @@ -2785,7 +2785,7 @@ if test "$wxUSE_GUI" = "yes"; then dnl -mwindows causes a heap of other default gui libs to be linked in. case "${host}" in - *-*-mingw32* ) + *-*-mingw* ) WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows" esac fi @@ -5012,7 +5012,7 @@ dnl from if !MSW else if test "$wxUSE_THREADS" = "yes" ; then case "${host}" in - x86_64-*-mingw32* ) + x86_64-*-mingw* ) ;; *-*-mingw32* ) dnl check if the compiler accepts -mthreads