guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch branch_release-1-8 updated: [build slog] Avoid AC


From: Thien-Thi Nguyen
Subject: [Guile-commits] branch branch_release-1-8 updated: [build slog] Avoid AC_CYGWIN, AC_MINGW32
Date: Mon, 08 Mar 2021 04:54:57 -0500

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch branch_release-1-8
in repository guile.

The following commit(s) were added to refs/heads/branch_release-1-8 by this 
push:
     new 8b965ad  [build slog] Avoid AC_CYGWIN, AC_MINGW32
8b965ad is described below

commit 8b965ad7ba1b213f9227099789def30ece367f24
Author: Thien-Thi Nguyen <ttn@gnu.org>
AuthorDate: Mon Mar 8 04:54:23 2021 -0500

    [build slog] Avoid AC_CYGWIN, AC_MINGW32
    
    * 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 c8c8f7d..b03e546 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]