[Freeciv-Dev] Win32+PNG configure.in stuff
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I have finally got the png stuff for gui-win32 to work stable.
Here are the things that will be touched outside the gui-win32 dir:
--- /usr/src/cvs/freeciv/configure.in Sat Feb 2 10:23:02 2002
+++ configure.in Sun Feb 3 18:04:27 2002
@@ -330,8 +330,12 @@
dnl Win32-specific overrides
if test "$client" = win32 || test "$client" = yes ; then
if test x"$MINGW32" = "xyes"; then
+ AC_CHECK_HEADER(png.h, ,
+ AC_MSG_ERROR("You have to install libpng"))
+ AC_CHECK_LIB(png, png_read_image,,
+ AC_MSG_ERROR("You have to install libpng"),-lz)
found_client=yes
- CLIENT_LIBS="-lwsock32 -lcomctl32 -mwindows"
+ CLIENT_LIBS="-lwsock32 -lcomctl32 -lpng -lz -mwindows"
fi
if test "x$found_client" = "xyes"; then
client=win32
Greetings
Andreas Kemnade
- [Freeciv-Dev] Win32+PNG configure.in stuff,
Andreas Kemnade <=
|
|