From dc9f09f3bd9dc53433d439bc2b5f2ac75399733d Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 11 Aug 2025 15:22:12 +0200 Subject: [PATCH] configure.ac: accept also cygwin as Windows The variable #MSYSTEM_CHOST is taken as the base (/etc/config.site) and contains now in MSYS x86_64-pc-cygwin resulting in $host_os=cygwin. Not sure where the variable is defined, anyways... --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bf74f8b0e..93189e0dc 100644 --- a/configure.ac +++ b/configure.ac @@ -126,7 +126,7 @@ if test "$host_vendor" = "apple"; then AC_DEFINE([HAVE_MACOSX], [1], [This is Mac X OS]) APPEXT=.app elif expr "x$host_os" : "x.*mingw32.*" > /dev/null || -expr "x$host_os" : "x.*msys.*" > /dev/null; then + expr "x$host_os" : "x.*msys.*" > /dev/null || test "$host_os" = cygwin; then system=Windows APPEXT=.exe AC_DEFINE([WIN32], [1], [This is an Windows OS])