[tin-dev] tin on cygwin

Dennis Preiser dennis at d--p.de
Tue Jun 16 17:58:40 CEST 2015


Hello,

cygwin's version number has been increased to 2.0.4:

| $ uname -r
| 2.0.4(0.287/5/3)
| $ uname -r | sed 's,(.*,,'
| 2.0.4

configure checks only for 1.7 and below. That's why configure fails with
the current cygwin and defines for instance NO_LOCALE. Something like
the following fixes this:

diff -urp tin-2.3.1/configure.in tin-2.3.1_r1/configure.in
--- tin-2.3.1/configure.in	2014-12-24 10:39:34.000000000 +0100
+++ tin-2.3.1_r1/configure.in	2015-06-16 08:19:40.284711100 +0200
@@ -1414,7 +1414,7 @@ int main() {
 case "$host_os" in
 	*cygwin*)
 		case `uname -r | sed 's,(.*,,'` in
-			1.7.*)
+			1.7.*|2.0.*)
 				AC_DEFINE(NO_LOCKING)
 				;;
 			*)

Dennis




More information about the tin-dev mailing list