From 8b965ad7ba1b213f9227099789def30ece367f24 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Mon, 8 Mar 2021 04:54:23 -0500 Subject: [PATCH] [build slog] Avoid AC_CYGWIN, AC_MINGW32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guile-readline/configure.ac: Instead, check ‘$host_os’ and set shell vars ‘CYGWIN’ and ‘MINGW32’ "manually". --- guile-readline/configure.ac | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/guile-readline/configure.ac b/guile-readline/configure.ac index c8c8f7d60..b03e5467c 100644 --- a/guile-readline/configure.ac +++ b/guile-readline/configure.ac @@ -23,8 +23,15 @@ LT_INIT([win32-dll]) dnl dnl Check for Winsock and other functionality on Win32 (*not* CygWin) dnl -AC_CYGWIN -AC_MINGW32 +case $host_os in + *cygwin* ) CYGWIN=yes;; + * ) CYGWIN=no;; +esac +case $host_os in + *mingw32* ) MINGW32=yes;; + * ) MINGW32=no;; +esac + EXTRA_DEFS="" if test "$MINGW32" = "yes" ; then if test $enable_shared = yes ; then