Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering argumen
Home

[Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering argumen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aaron_talamasca@xxxxxxxx, chrisk@xxxxxxxxx, cyril.delalande@xxxxxxxxx, s_keishi@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12932) windows printf doesn't allow reordering arguments
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Dec 2005 19:06:31 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12932 >

Can anyone test on windows if this patch fixes it (you'll have to rerun
autogen.sh).

-jason

Index: configure.ac
===================================================================
--- configure.ac        (revision 11375)
+++ configure.ac        (working copy)
@@ -331,7 +331,9 @@
   AC_DEFINE(ALWAYS_ROOT, 1, [Mingw32-specific setting - root])
   AC_DEFINE(WIN32_NATIVE, 1, [Mingw32-specific setting - native])
   AC_DEFINE(HAVE_WINSOCK, 1, [Mingw32-specific setting - winsock])
-  LIBS="$LIBS -lwsock32"
+  AC_CHECK_LIB(utf8, setlocale, [],
+               [AC_MSG_ERROR([Could not find libutf8 - 
http://gnuwin32.sourceforge.net/packages/libutf8.htm.])])
+  LIBS="$LIBS -lwsock32 -lutf8"
 fi
 
 dnl note this has to match the path installed by po/Makefile

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