Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] [Patch] Win32 client autoconf stuff (PR#935)
Home

[Freeciv-Dev] [Patch] Win32 client autoconf stuff (PR#935)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [Patch] Win32 client autoconf stuff (PR#935)
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Sun, 2 Sep 2001 12:58:38 -0700 (PDT)

I have decided to put the win32 client into cvs soon so it can be more
easily maintained. I have cleaned
up the code, especially the layout management. M$ has not invented
something like v- and hboxes as gtk has. So that was a bit difficult. 

Now all assumptions about text sizes are gone and no autoconf magic 
about windres is needed.
There are dialogs which are not ported yet. Of course it is more
functional than the BeOS client in cvs ;-).

If you don't do a space race it should be enough to play games
against the ai.

Things still missing (My TODO list):
  spaceship dialog
  options dialog
  player dialog
  diplomacy dialog
  metaserver dialog
  complex help pages
  worklists (including rework of city dialog?)


Here is the stuff I want to change outside of the gui-win32 dir:


diff -X diff_ignore -Nur /usr/src/cvs/freeciv/configure.in freeciv/configure.in
--- /usr/src/cvs/freeciv/configure.in   Sun Sep  2 19:15:36 2001
+++ freeciv/configure.in        Sun Sep  2 20:19:36 2001
@@ -329,8 +329,10 @@
 
   dnl Win32-specific overrides
   if test "$client" = win32 || test "$client" = yes ; then
-    # ADD WIN32 TEST HERE
-
+    if test x"$MINGW32" = "xyes"; then
+      found_client=yes
+      CLIENT_LIBS="-lwsock32 -lcomctl32 -mwindows"
+    fi
     if test "x$found_client" = "xyes"; then
       client=win32
     elif test "$client" = "win32"; then
@@ -476,13 +478,13 @@
 
 dnl Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS(fcntl.h sys/time.h sys/types.h unistd.h sys/utsname.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h sys/types.h unistd.h)
 dnl Avoid including the unix emulation layer if we build mingw executables
 dnl There would be type conflicts between winsock and bsd/unix includes
 if test "x$MINGW32" != "xyes"; then
   AC_CHECK_HEADERS(arpa/inet.h netdb.h netinet/in.h pwd.h sys/ioctl.h \
                    sys/select.h sys/signal.h sys/socket.h sys/termio.h \
-                   sys/uio.h termios.h)
+                   sys/uio.h termios.h  sys/utsname.h)
 fi
 if test x$client = xxaw; then
   dnl Want to get appropriate -I flags:




Greetings
Andreas Kemnade



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