Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve current state of MinGW port
git-svn-id: https://code.crt.realtors.org/svn/librets/librets/trunk@1494 fe7ac059-47f5-0310-8599-d0339b4e125c
- Loading branch information
Showing
7 changed files
with
103 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
dnl | ||
dnl Configure MinGW builds on Windows | ||
dnl | ||
AC_DEFUN([MY_TEST_MINGW], [ | ||
AC_ARG_WITH(platform, | ||
AC_HELP_STRING([--with-platform=PLATFORM], | ||
[Set platform (x86 or x64 - primarily for MinGW on Windows)]), | ||
my_platform="$withval", | ||
my_platform="") | ||
echo \*\*\*\*\*\*\* my_platform: $my_platform | ||
if test "$my_platform" != "x86"; then | ||
if test "$my_platform" != "x64"; then | ||
my_platform="" | ||
fi | ||
fi | ||
if test "X$my_platform" != "X"; then | ||
ARCH="-$my_platform" | ||
fi | ||
if test "X$MSYSTEM" != "X"; then | ||
LDFLAGS="$LDFLAGS -static-libgcc -Wl,-Bstatic" | ||
fi | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters