Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] (PR#6928) cygwin compile problems
Home

[Freeciv-Dev] (PR#6928) cygwin compile problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#6928) cygwin compile problems
From: "Andreas Kemnade" <akemnade@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 23 Nov 2003 13:09:17 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6928 >

What about this? This should solve the problem.
I have not checked it.

try
./configure --disable-client

and then
./configure --enable-client=win32

no --host=i386-mingw32

Greetings
Andreas Kemnade

Index: configure.ac
===================================================================
RCS file: /home/freeciv/CVS/freeciv/configure.ac,v
retrieving revision 1.51
diff -u -r1.51 configure.ac
--- configure.ac        2003/10/01 20:48:44     1.51
+++ configure.ac        2003/11/23 21:05:31
@@ -291,6 +291,7 @@
 AC_DIAGNOSE([obsolete],[AC_MINGW32 is obsolete: use AC_CANONICAL_HOST and 
$host_os])
 case $host_os in
   *mingw32* ) MINGW32=yes;;
+  *cygwin* ) CFLAGS="-mno-cygwin $CFLAGS" ; LDFLAGS="-mno-cygwin $LDFLAGS" ; 
MINGW32=yes;;
           * ) MINGW32=no;;
 esac
 



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