1 AC_DEFUN(RFX_CHECK_MING,
6 AC_MSG_CHECKING([for target system])
10 *cygwin* ) CYGWIN=yes;;
15 if test "x$CXX" == "xi586-mingw32msvc-g++"; then
16 #fix for the debian distribution of mingw
17 if test -x "/usr/i586-mingw32msvc/bin/ar";then
18 AR="/usr/i586-mingw32msvc/bin/ar"
20 if test -x "/usr/i586-mingw32msvc/bin/ranlib";then
21 RANLIB="/usr/i586-mingw32msvc/bin/ranlib"
26 dnl Checks for system services
28 if test "x${CYGWIN}" = "xyes"; then
29 AC_DEFINE_UNQUOTED(CYGWIN, 1)
32 if test "x${MINGW}" = "xyes"; then
33 AC_DEFINE_UNQUOTED(MINGW, 1)
35 AC_DEFINE_UNQUOTED(WIN32, 1)
41 AC_DEFINE_UNQUOTED(LINUX, 1)