mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 19:40:24 +00:00
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...
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user