[Freeciv-Dev] (PR#6928) cygwin compile problems
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|