Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12183) SDL-client cannot compile
Home

[Freeciv-Dev] (PR#12183) SDL-client cannot compile

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12183) SDL-client cannot compile
From: "pb@xxxxxxxxxxxx" <pb@xxxxxxxxxxxx>
Date: Wed, 9 Feb 2005 05:23:24 -0800
Reply-to: bugs@xxxxxxxxxxx

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

Hi,

I don't know if you know, so I'm letting you know that on debian sarge 
without gtk-libs a compiler error in the SDL-client occurs:

make[4]: Entering directory 
`/opt/freeciv/freeciv-2.0.0-beta7/client/gui-sdl'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I. -I./.. -I./../include 
-I../../utility -I../../common -I../../common/aicore -I../../intl 
-I./../agents -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2   
-g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -I/usr/include/SDL -D_REENTRANT -MT chatline.o 
-MD -MP -MF ".deps/chatline.Tpo" -c -o chatline.o chatline.c; \
then mv -f ".deps/chatline.Tpo" ".deps/chatline.Po"; else rm -f 
".deps/chatline.Tpo"; exit 1; fi
chatline.c: In function `inputline_return_callback':
chatline.c:92: error: too few arguments to function 
`real_append_output_window'
chatline.c: In function `real_append_output_window':
chatline.c:151: warning: passing arg 2 of `add_notify_window' makes 
pointer from integer without a cast
chatline.c:151: error: too many arguments to function `add_notify_window'

I'm attaching my configuration, just for information on my system.


Yours,
Philip

dnl configure.ac for freeciv, for use with autoconf 2.50+
dnl Process this file with autoconf to produce a configure script.

dnl Initialize with some random file to ensure the source is here.
AC_INIT
AC_PREREQ(2.52)
AC_CONFIG_SRCDIR([common/game.c])
AC_CONFIG_AUX_DIR(bootstrap) # This can't be quoted or automake will fail
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_TARGET

PACKAGE=freeciv

AC_DEFINE(FC_CONFIG_H, 1, [Configuration autogenerated])

dnl client/server should always have the same major and minor versions
dnl different patch versions are compatible
m4_include(version.in)

VERSION_WITHOUT_LABEL=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}
VERSION=${VERSION_WITHOUT_LABEL}${VERSION_LABEL}

dnl Similar to following are already done by AM_INIT_AUTOMAKE:
dnl (but different in terms of producing quoted vs bare strings)
dnl  AC_DEFINE_UNQUOTED(PACKAGE, $PACKAGE, [Package name])
dnl  AC_DEFINE_UNQUOTED(VERSION, $VERSION, [Version number])
dnl  AC_SUBST(VERSION)

AC_DEFINE_UNQUOTED(MAJOR_VERSION, $MAJOR_VERSION, [Major version])
AC_DEFINE_UNQUOTED(MINOR_VERSION, $MINOR_VERSION, [Minor version])
AC_DEFINE_UNQUOTED(PATCH_VERSION, $PATCH_VERSION, [Patch version])
AC_DEFINE_UNQUOTED(VERSION_LABEL, "${VERSION_LABEL}", [Version label])
AC_DEFINE_UNQUOTED(VERSION_STRING, 
"${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}", [Version 
string])
AC_DEFINE_UNQUOTED(IS_DEVEL_VERSION, $IS_DEVEL_VERSION, [Is this a devel 
version])
AC_DEFINE_UNQUOTED(IS_BETA_VERSION, $IS_BETA_VERSION, [Is this a beta veersion])

dnl Initialize automake stuff
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)

AM_MAINTAINER_MODE

FC_CHECK_AUTH

dnl  no=do not compile server,  yes=compile server,  *=error
AC_ARG_ENABLE(server,
[  --disable-server        do not compile the server],
[case "${enableval}" in
  yes) server=true ;;
  no)  server=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-server) ;;
esac], [server=true])
AM_CONDITIONAL(SERVER, test x$server = xtrue)

AC_ARG_WITH(readline,
[  --with-readline         support fancy command line editing],
WITH_READLINE=$withval, dnl yes/no - required to use / never use
WITH_READLINE="maybe"   dnl maybe  - use if found [default]
)

dnl  no=do not compile client,  yes=guess it,  *=use this client or error
AC_ARG_ENABLE(client,
[  --enable-client[=no/yes/xaw3d/xaw/gtk/gtk2/win32]
                          compile a client [default=yes] (if yes, guess type)],
[case "${enableval}" in
  yes)    client=yes ;;
  no)     client=no ;;
  xaw3d)  client=xaw
          WITH_XAW3D=1 ;;
  gtk2)   client=gtk-2.0 ;;
  gtk2.0) client=gtk-2.0 ;;
  gtk20)  client=gtk-2.0 ;;
  *)      client="${enableval}"
          if test ! -d "${srcdir}/client/gui-$client" ; then
            AC_MSG_ERROR(bad value ${enableval} for --enable-client)
          fi ;;
esac], [client=yes])
AM_CONDITIONAL(CLIENT, test x$client != xno)

dnl You MUST build ftwl to use the ftwl client
AC_ARG_ENABLE(ftwl,
[  --enable-ftwl[=no/x11/sdl]
                          compile ftwl [default=no]],
[case "${enableval}" in
  x11)    ftwl=x11 ;;
  sdl)    ftwl=sdl ;;
  *)      AC_MSG_ERROR(bad value ${enableval} for --enable-ftwl) ;;
esac], [ftwl=no])
AM_CONDITIONAL(FTWL, test x$ftwl != xno)
if test "$ftwl" = no && test "$client" = ftwl ; then
  AC_MSG_ERROR(You must use --enable-ftwl to use the ftwl client)
fi

AC_ARG_WITH(xaw,
[  --with-xaw              use the Xaw widget set for the xaw client],
WITH_XAW=1
)

AC_ARG_WITH(xaw3d,
[  --with-xaw3d            use the Xaw3d widget set for the xaw client],
WITH_XAW3D=1
)

AC_ARG_ENABLE(make_data,
[  --disable-make-data     do not recurse make into data directories
                          (ok to disable unless you will 'make install')],
[case "${enableval}" in
  yes) make_data=true ;;
  no)  make_data=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-make-data) ;;
esac], [make_data=true])
AM_CONDITIONAL(MAKE_DATA, test x$make_data = xtrue)

AC_ARG_ENABLE(make_include,
[  --enable-make-include   force make to recurse into include directory
                          (useful for 'make tags')],
[case "${enableval}" in
  yes) make_include=true ;;
  no)  make_include=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --enable-make-include) ;;
esac], [make_include=false])
AM_CONDITIONAL(MAKE_CLIENT_INCLUDE, test "$make_include" = "true")

AC_ARG_ENABLE(cvs_deps,
        [  --disable-cvs-deps      remove cvs-source deps calcs, which require 
gmake,gcc],,
        enable_cvs_deps="maybe"
)
CVS_DEPS=$enable_cvs_deps
AC_SUBST(CVS_DEPS)

AC_ARG_WITH(efence,
        [  --with-efence           use Electric Fence, malloc debugger ],
        WITH_EFENCE=1
)

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_LN_S
AC_PROG_RANLIB
AC_CHECK_TOOL(AR, ar)
if test -z $AR; then
        AC_MSG_ERROR([*** 'ar' missing.  Install binutils, fix your \$PATH, or 
set \$AR manually. ***])
fi

AC_CHECK_PROG(UNAME,uname,uname,:)

dnl Programs already checked by AM_INIT_AUTOMAKE:
dnl  AC_PROG_MAKE_SET

dnl Check for libiconv (which is usually included in glibc, but may be
dnl distributed separately).  The libcharset check must come after the
dnl iconv check.  This whole thing must come before the gettext check below.
AM_ICONV
AM_LIBCHARSET
AM_LANGINFO_CODESET
if test "$am_cv_func_iconv" != yes; then
  AC_MSG_ERROR([Iconv is missing.  You can get it from http://gnu.org/, \
                or try using --with-libiconv-prefix.])
fi
LIBS="$LIBS $LIBICONV"

dnl I18n support
ALL_LINGUAS="ca cs da de en_GB es et fi fr he_IL hu it ja nl nb no pl pt pt_BR 
ro ru sv uk"
AM_GNU_GETTEXT(,need-ngettext)

dnl AM_GNU_GETTEXT doesn't have all features we want
dnl or they don't behave correctly.
dnl Old gettext binaries don't understand plurals. (ngettext, msgid_plural)
dnl and there are some problems with missing ngettext.

if test "$USE_NLS" = "yes"; then
  dnl nls_cv_force_use_gnu_gettext is set by AM_GNU_GETTEXT
  dnl it is "yes" when --with-included-gettext is given

  if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
    have_working_ngettext=0
    AC_CHECK_LIB(c, ngettext,
      [AC_MSG_CHECKING(whether libc's ngettext works at runtime)
       FC_CHECK_NGETTEXT_RUNTIME(,have_working_ngettext=1,)],)

    if test "$have_working_ngettext" = "0"; then
      AC_CHECK_LIB(intl, ngettext,
        [AC_MSG_CHECKING(whether libintl's ngettext works at runtime)
         FC_CHECK_NGETTEXT_RUNTIME("-lintl",have_working_ngettext=1,)],)
    fi

    if test "$have_working_ngettext" = "0"; then
      AC_MSG_ERROR(I haven't found a working ngettext function in your system. 
Try --with-included-gettext or --disable-nls. Read ABOUT-NLS.)
    fi
  fi

  if test "$IS_BETA_VERSION" = "1" || test "$IS_DEVEL_VERSION" = "1"; then
    AC_MSG_CHECKING(for GNU xgettext version >= 0.10.36)
    xgettext_version=`$XGETTEXT --version 2>&1 | grep GNU | sed 's/"/ /g'`
    AC_TRY_RUN([
#include <stdio.h>

const char *version = "$xgettext_version";
int main()
{
  const char *p = version;
  int major = 0, minor = 0, patch = 0;

  while (*p != '\0' && (*p < '0' || *p > '9')) {
    p++;
  }
  if (*p == '\0') {
    return 1;
  }
  sscanf(p, "%d.%d.%d", &major, &minor, &patch);
  if (major < 1 && (minor < 10 || (minor == 10 && patch < 36))) {
    return 1;
  }
  return 0;
}
    ],
    AC_MSG_RESULT(yes)
    ,
    [
     AC_MSG_RESULT(no)
     AC_MSG_WARN(You may have problems with creating pox files. \
Please update your gettext package.)   
    ]
    ,
    echo error
    )

    AC_MSG_CHECKING(for GNU msgfmt version >= 0.10.35)
    msgfmt_version=`$MSGFMT --version 2>&1 | grep GNU | sed 's/"/ /g'`
    AC_TRY_RUN([
#include <stdio.h>

const char *version = "$msgfmt_version";

int main()
{
  const char *p = version;
  int major = 0, minor = 0, patch = 0;

  while (*p != '\0' && (*p < '0' || *p > '9')) {
    p++;
  }
  if (*p == '\0') {
    return 1;
  }
  sscanf(p, "%d.%d.%d", &major, &minor, &patch);
  if (major < 1 && (minor < 10 || (minor == 10 && patch < 35))) {
    return 1;
  }
  return 0;
}
    ],
    AC_MSG_RESULT(yes)
    ,
    [
    AC_MSG_RESULT(no)
    AC_MSG_ERROR(You are unable to create *.gmo files.
This is development version which doesn't include them. Please update your
gettext package. We recommend you versions >= 0.10.38. Or use 
--disable-nls instead.)
    ]
    ,
    echo error
    )
  fi
fi


dnl note this has to match the path installed by po/Makefile
FC_EXPAND_DIR(LOCALEDIR, "$datadir/locale")
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR", [Locale directory])

EXTRA_GCC_DEBUG_CFLAGS=""

if test -n "$GCC"; then
   EXTRA_GCC_DEBUG_CFLAGS="$CFLAGS"
   CFLAGS="-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations"
fi

FC_DEBUG
FC_VARIADIC_MACROS
FC_VARIABLE_ARRAYS

if test "$CVS_DEPS" = "maybe"; then
   dnl Should also check for gmake?
   if test -n "$GCC"; then
      CVS_DEPS="yes"
   else
      CVS_DEPS="no"
   fi
fi

dnl BeOS-specific settings
if test x`$UNAME -s` = xBeOS ; then
  AC_DEFINE(SOCKET_ZERO_ISNT_STDIN, 1, [BeOS-specific setting])
  CFLAGS="$CFLAGS -Wno-multichar"
  LDFLAGS="$LDFLAGS -x none"
  if test x$enable_debug = xyes ; then
    CFLAGS="$CFLAGS -gdwarf-2"
    LDFLAGS="$LDFLAGS -gdwarf-2"
  fi
  # We used to set ARFLAGS here, but under recent versions of automake this
  # broke compilation on other systems.  Setting ARFLAGS shouldn't be
  # necessary with a working automake.
fi

dnl Windows-specific settings
AC_DIAGNOSE([obsolete],[AC_MINGW32 is obsolete: use AC_CANONICAL_HOST and 
$host_os])
case $host_os in
  *mingw32* ) MINGW32=yes;;
          * ) MINGW32=no;;
esac

if test x"$MINGW32" = "xyes"; then
  AC_DEFINE(SOCKET_ZERO_ISNT_STDIN, 1, [Mingw32-specific setting - stdin])
  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"
fi

dnl Check for zlib (needed for libpng)
AC_CHECK_LIB(z, gzgets, , 
  AC_MSG_ERROR([Could not find zlib library.]), )
AC_CHECK_HEADER(zlib.h, , 
  AC_MSG_ERROR([zlib found but not zlib.h.  
You may need to install a zlib \"development\" package.]))

dnl Check and compile ftwl
if test "$ftwl" = x11 ; then
     FTWL_CFLAGS=`freetype-config --cflags`
     FTWL_LIBS="-L/usr/X11R6/lib -lX11 -lpng "`freetype-config --libs`
fi

if test "$ftwl" = sdl ; then
     FTWL_CFLAGS=`sdl-config --cflags`" "`freetype-config --cflags`
     FTWL_LIBS=`sdl-config --libs`" -lpng "`freetype-config --libs`
fi

dnl Check and choose clients
if test x$client != xno; then

  dnl if specified --with-xaw or --with-xaw3d, assume --enable-client=xaw
  if test x$client = xyes; then
    if test -n "$WITH_XAW" || test -n "$WITH_XAW3D"; then
      client=xaw
    fi
  fi

  dnl if need to guess client, announce checking
  if test x$client = xyes; then
    AS_MESSAGE([checking for which client to compile:...])
  fi

  dnl Gtk-2.0-specific overrides
  FC_GTK2_CLIENT

  dnl Gtk-specific overrides
  FC_GTK_CLIENT

  dnl SDL-specific overrides
  FC_SDL_CLIENT

  dnl Xaw-specific overrides
  FC_XAW_CLIENT

  if test "$client" = ftwl ; then
      AC_MSG_CHECKING([will compile gui-ftwl])
      AC_MSG_RESULT([yes])
      CLIENT_CFLAGS="$CLIENT_FLAGS $FTWL_FLAGS"
      CLIENT_LIBS="$CLIENT_LIBS $FTWL_LIBS"
  fi

  dnl BeOS-specific overrides
  if test "$client" = beos || test "$client" = yes ; then
    if test x`$UNAME -s` = xBeOS ; then
      CLIENT_CFLAGS=
      CLIENT_LIBS="-Lgui-beos/lib -lBdhGame -lBdhDialog -lBdh -ltranslation 
-lbe -lroot"
      found_client=yes
    fi

    if test "x$found_client" = "xyes"; then
      client=beos
    elif test "$client" = "beos"; then
      AC_MSG_ERROR(specified client 'beos' not configurable)
    fi
  fi

  dnl Win32-specific overrides
  FC_WIN32_CLIENT

  dnl Stub-specific overrides
  if test "$client" = stub ; then
    found_client=yes

    if test "x$found_client" = "xyes"; then
      client=stub
    elif test "$client" = "stub"; then
      AC_MSG_ERROR(specified client 'stub' not configurable)
    fi
  fi

  dnl If client still "yes", error out since we couldn't guess it
  if test "$client" = yes ; then
    AC_MSG_ERROR(could not guess which client to compile)
  fi

  dnl Check for sound support, sets SOUND_CFLAGS, SOUND_LIBS, ESD, SDL & WINMM
  FC_CHECK_SOUND()

  gui_sources="gui-$client"
fi

AC_SUBST(gui_sources)
AC_SUBST(CLIENT_CFLAGS)
AC_SUBST(CLIENT_LIBS)
AC_SUBST(CLIENT_LDFLAGS)
AC_SUBST(SOUND_CFLAGS)
AC_SUBST(SOUND_LIBS)
AC_SUBST(VERSION_WITHOUT_LABEL)
AC_SUBST(VERSION_LABEL)
AM_CONDITIONAL(ESD, test "x$ESD" = "xyes")
AM_CONDITIONAL(SDL, test "x$SDL_mixer" = "xyes")
AM_CONDITIONAL(ALSA, test "x$ALSA" = "xyes")
AM_CONDITIONAL(WINMM, test "x$WINMM" = "xyes")
AM_CONDITIONAL(CLIENT_GUI_SDL, test "$gui_sources" = "gui-sdl")
AM_CONDITIONAL(CLIENT_GUI_GTK, test "$gui_sources" = "gui-gtk")
AM_CONDITIONAL(CLIENT_GUI_GTK_2_0, test "$gui_sources" = "gui-gtk-2.0")
AM_CONDITIONAL(CLIENT_GUI_XAW, test "$gui_sources" = "gui-xaw")
AM_CONDITIONAL(CLIENT_GUI_BEOS, test "$gui_sources" = "gui-beos")
AM_CONDITIONAL(CLIENT_GUI_STUB, test "$gui_sources" = "gui-stub")
AM_CONDITIONAL(CLIENT_GUI_WIN32, test "$gui_sources" = "gui-win32")
AM_CONDITIONAL(CLIENT_GUI_FTWL, test "$gui_sources" = "gui-ftwl")
AM_CONDITIONAL(FTWL, test "$ftwl" != "no")
AM_CONDITIONAL(FTWL_X11, test "$ftwl" = "x11")
AM_CONDITIONAL(FTWL_SDL, test "$ftwl" = "sdl")

dnl Checks for additional server libraries:
if test x$server = xtrue; then
    dnl Some systems (e.g., BeOS) need this lib
    AC_CHECK_LIB(bind, gethostbyaddr, SERVER_LIBS="-lbind $SERVER_LIBS")

    dnl Readline library and header files.
    FC_HAS_READLINE()

    AC_CHECK_FUNC(pow)
    if test $ac_cv_func_pow = no; then
        AC_CHECK_LIB(m, pow, SERVER_LIBS="$SERVER_LIBS -lm",
                 AC_MSG_ERROR(Did not find math lib!))
    fi
fi
AC_SUBST(SERVER_LIBS)

AC_CHECK_LIB(nls,main)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h sys/time.h sys/types.h unistd.h sys/utsname.h \
                 stdbool.h sys/file.h libintl.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)
fi
if test x$client = xxaw; then
  dnl Want to get appropriate -I flags:
  fc_save_CPPFLAGS="$CPPFLAGS"
  CPPFLAGS="$CPPFLAGS $CLIENT_CFLAGS"
  AC_CHECK_HEADER(X11/xpm.h, , 
    AC_MSG_ERROR(need X11/xpm.h header; perhaps try/adjust --with-xpm-include))
  CPPFLAGS="$fc_save_CPPFLAGS"
fi

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_TIME
AC_STRUCT_TM

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_FORK
AC_FUNC_STRCOLL
AC_FUNC_VPRINTF
AC_FUNC_VSNPRINTF

AC_CHECK_FUNCS([fileno ftime gethostname getpwuid inet_aton \
                select snooze strerror strcasecmp strncasecmp \
                strlcat strlcpy strstr usleep vsnprintf uname flock \
                gethostbyname connect bind])

AC_MSG_CHECKING(for working gettimeofday)
  FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY, 1,
        [Define if the gettimeofday function works and is sane.]),)

dnl Check for extra socket libraries.
dnl If the AC_CHECK_FUNCS check finds the function, we don't look any
dnl further.  This is rumoured to prevent choosing the wrong libs on IRIX.
if test $ac_cv_func_gethostbyname = no; then
  AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS")
fi
if test $ac_cv_func_connect = no; then
  AC_CHECK_LIB(socket, connect, LIBS="-lsocket $LIBS")
fi
if test $ac_cv_func_bind = no; then
  AC_CHECK_LIB(bind, gethostbyaddr, LIBS="-lbind $LIBS")
fi

dnl The use of both AC_FUNC_VSNPRINTF and AC_CHECK_FUNCS(vsnprintf) is
dnl deliberate.

dnl Windows fdopen does not work with sockets.
if test "x$MINGW32" != "xyes"; then
  AC_CHECK_FUNCS(fdopen)
fi

dnl We would AC_CHECK_FUNCS for socket as well, except it is complicated
dnl by the fact that the -lsocket is in X_EXTRA_LIBS and/or SERVER_LIBS,
dnl and not in LIBS.

dnl Now check if non blocking sockets are possible
dnl (if fcntl or ioctl exists)

AC_CHECK_FUNC(fcntl,
              [AC_DEFINE(HAVE_FCNTL, 1, [fcntl support])
               AC_DEFINE(NONBLOCKING_SOCKETS, 1, [nonblocking sockets 
support])],
               [AC_CHECK_FUNC(ioctl, 
                             [AC_DEFINE(HAVE_IOCTL, 1, [ioctl support])
                              AC_DEFINE(NONBLOCKING_SOCKETS, 1, [nonblocking 
sockets support])])])

dnl Checks if SIGPIPE is usable
AC_MSG_CHECKING([for SIGPIPE])
AC_TRY_COMPILE([#include <signal.h>],[signal (SIGPIPE, SIG_IGN)],
               [AC_MSG_RESULT([yes])
                AC_DEFINE(HAVE_SIGPIPE, 1, [sigpipe support])],
               [AC_MSG_RESULT([no])])

dnl export where the datadir is going to be installed
FC_EXPAND_DIR(FREECIV_DATADIR, "$datadir/freeciv")

if test x"$MINGW32" = xyes; then
  AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, ".;data;~/.freeciv;$FREECIV_DATADIR", 
[Mingw32-specific path])
else
  AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, ".:data:~/.freeciv:$FREECIV_DATADIR", 
[Freeciv data path])
fi

dnl This has to be last library
if test -n "$WITH_EFENCE"; then
  AC_CHECK_LIB(efence, malloc, [ 
  if test "x$LIBS" = "x"; then
    LIBS = -lefence
  else
    LIBS="$LIBS -lefence"
  fi])
fi

dnl Freeciv uses a non-standard macro, Q_(), to handle cases of qualified
dnl translatable strings and macro PL_() to handle plural forms.
dnl Since the Gettext supplied Autoconf support
dnl doesn't seem to have a way to add new keywords to its xgettext call,
dnl we do the following.
dnl The Gettext supplied Autoconf support starts with 'po/Makefile.in.in',
dnl and builds 'po/Makefile.in' then 'po/Makefile'.  In order for the
dnl commonly used _() and N_() macros to work, there should be somewhere
dnl in that 'po/Makefile' a call to xgettext with "--keyword=_" and
dnl "--keyword=N_" as arguments.  To support Q_() and PL_(),
dnl the following simply dnl replaces instances of 
dnl "--keyword=N_" with "--keyword=N_ --keyword=Q_ --keyword=PL_:1,2"
dnl in the 'po/Makefile' file.
AC_CONFIG_COMMANDS([fc_default-1],[[if test -f po/Makefile ; then
     if grep 'keyword=N_ --keyword=Q_ --keyword=PL_:1,2' po/Makefile >/dev/null 
2>&1 ; then
       # has already been extended
       :
     else
       echo extending po/Makefile
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/--keyword=N_/--keyword=N_ --keyword=Q_ --keyword=PL_:1,2/g' 
po/Makefile.tmp > po/Makefile
       rm po/Makefile.tmp
     fi
   fi]],[[]])

dnl Vast quantities of meaningless errors from xgettext is also annoying.
dnl We fix this by forcing xgettext to assume all files are C source files.
AC_CONFIG_COMMANDS([fc_default-2],[[if test -f po/Makefile ; then
     if grep 'language=C --files-from=\$(srcdir)/POTFILES.in' po/Makefile 
>/dev/null 2>&1 ; then
       # has already been silenced
       :
     else
       echo silencing po/Makefile
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/--files-from=$(srcdir)\/POTFILES.in/--language=C 
--files-from=$(srcdir)\/POTFILES.in/' po/Makefile.tmp > po/Makefile
       rm po/Makefile.tmp
     fi
   fi]],[[]])

dnl Most of the C comments copied to freeciv.pot are spurious; 
dnl change to only copy those with prefix "TRANS:"
dnl Also add --escape to the arguments to convert extended
dnl characters to escape characters.  This affects some of the 
dnl gui-mui strings, which use 0x1B escape character.
AC_CONFIG_COMMANDS([fc_default-4],[[if test -f po/Makefile ; then
     if grep 'add-comments="TRANS:" --escape' po/Makefile >/dev/null 2>&1 ; then
       # has already been modified
       :
     else
       echo modifying po/Makefile add-comments/escape
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/add-comments/add-comments="TRANS:" --escape/' po/Makefile.tmp 
> po/Makefile
       rm po/Makefile.tmp
     fi
   fi]],[[]])

dnl The BeOS sys/uio.h is broken.  This kludges it out of existence.
dnl (This still causes lots of spurious changes to config.h on BeOS.)
AC_CONFIG_COMMANDS([fc_default-5],[[if test x`uname -s` = xBeOS ; then
     if grep '#define HAVE_SYS_UIO_H 1' config.h >/dev/null 2>&1 ; then
       echo kluging config.h 
       mv -f config.h config.h.tmp
       sed -e 's/#define HAVE_SYS_UIO_H 1/#undef HAVE_SYS_UIO_H/g' config.h.tmp 
> config.h
       rm config.h.tmp
     fi
   fi]],[[]])

if test -n "$GCC"; then
  CFLAGS="$EXTRA_GCC_DEBUG_CFLAGS $CFLAGS"
fi

dnl Rebuild 'configure' whenever version.in changes, if maintainer mode enabled.
AC_SUBST([CONFIGURE_DEPENDENCIES], ["$CONFIGURE_DEPENDENCIES 
\$(top_srcdir)/version.in"])

dnl Make sure that config.h changes when ever CPPFLAGS or CFLAGS
dnl change so everything gets rebuilt. LDFLAGS is not handled here
dnl since change in it should not cause recompilation, only relinking.
dnl Note: Variables are named FC_STORE_* instead of FC_*_STORE in order to make 
them
dnl       appear next to each other in config.h.
AC_DEFINE_UNQUOTED([FC_STORE_CPPFLAGS], ["$CPPFLAGS"], [These are the CPPFLAGS 
used in compilation])
AC_DEFINE_UNQUOTED([FC_STORE_CFLAGS], ["$CFLAGS"], [These are the CFLAGS used 
in compilation])

AC_CONFIG_FILES([Makefile
          data/Makefile 
          data/flags/Makefile
          data/misc/Makefile 
          data/trident/Makefile 
          data/isophex/Makefile 
          data/isotrident/Makefile 
          data/default/Makefile 
          data/civ1/Makefile 
          data/civ2/Makefile 
          data/scenario/Makefile 
          data/nation/Makefile 
          data/history/Makefile 
          utility/Makefile
          utility/ftwl/Makefile
          common/Makefile 
          common/aicore/Makefile 
          ai/Makefile 
          tests/Makefile
          client/Makefile 
          client/agents/Makefile
          client/include/Makefile 
          client/gui-sdl/Makefile 
          client/gui-gtk/Makefile 
          client/gui-gtk-2.0/Makefile
          client/gui-xaw/Makefile 
          client/gui-win32/Makefile 
          client/gui-ftwl/Makefile
          client/gui-stub/Makefile 
          server/Makefile 
          server/generator/Makefile
          server/userdb/Makefile
          manual/Makefile
          intl/Makefile
          po/Makefile.in
          doc/Makefile
          doc/man/Makefile
          doc/de/Makefile
          doc/fr/Makefile
          doc/it/Makefile
          doc/ja/Makefile
          doc/nl/Makefile
          doc/sv/Makefile
          freeciv.spec:bootstrap/freeciv.spec.in
          bootstrap/undep.sh
          data/Freeciv
          client/freeciv.desktop:bootstrap/freeciv.desktop.in])
AC_CONFIG_FILES([civ:bootstrap/civ.in], [chmod +x civ])
AC_CONFIG_FILES([ser:bootstrap/ser.in], [chmod +x ser])
AC_CONFIG_COMMANDS([default],[[ chmod +x bootstrap/undep.sh ; 
bootstrap/undep.sh ]],[[]])
AC_OUTPUT
dnl configure.in for freeciv
dnl Process this file with autoconf to produce a configure script.

dnl Initialize with some random file to ensure the source is here.
AC_INIT(common/game.c)
AC_CONFIG_AUX_DIR(bootstrap)
AM_CONFIG_HEADER(config.h)

dnl May not be quite correct, but autoconf version 2.9 is reported 
dnl not to work, and version 2.12 is known to work:
AC_PREREQ(2.12)

PACKAGE=freeciv

dnl client/server should always have the same major and minor versions
dnl different patch versions are compatible
sinclude(version.in)

VERSION_WITHOUT_LABEL=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}
VERSION=${VERSION_WITHOUT_LABEL}${VERSION_LABEL}

dnl Similar to following are already done by AM_INIT_AUTOMAKE:
dnl (but different in terms of producing quoted vs bare strings)
dnl  AC_DEFINE_UNQUOTED(PACKAGE, $PACKAGE)
dnl  AC_DEFINE_UNQUOTED(VERSION, $VERSION)
dnl  AC_SUBST(VERSION)

AC_DEFINE_UNQUOTED(MAJOR_VERSION, $MAJOR_VERSION)
AC_DEFINE_UNQUOTED(MINOR_VERSION, $MINOR_VERSION)
AC_DEFINE_UNQUOTED(PATCH_VERSION, $PATCH_VERSION)
AC_DEFINE_UNQUOTED(VERSION_LABEL, "${VERSION_LABEL}")
AC_DEFINE_UNQUOTED(VERSION_STRING, 
"${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${VERSION_LABEL}")
AC_DEFINE_UNQUOTED(IS_DEVEL_VERSION, $IS_DEVEL_VERSION)
AC_DEFINE_UNQUOTED(IS_BETA_VERSION, $IS_BETA_VERSION)

dnl Initialize automake stuff
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)

AM_MAINTAINER_MODE

FC_CHECK_AUTH

dnl  no=do not compile server,  yes=compile server,  *=error
AC_ARG_ENABLE(server,
[  --disable-server        do not compile the server],
[case "${enableval}" in
  yes) server=true ;;
  no)  server=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-server) ;;
esac], [server=true])
AM_CONDITIONAL(SERVER, test x$server = xtrue)

AC_ARG_WITH(readline,
[  --with-readline         support fancy command line editing],
WITH_READLINE=$withval, dnl yes/no - required to use / never use
WITH_READLINE="maybe"   dnl maybe  - use if found [default]
)

dnl  no=do not compile client,  yes=guess it,  *=use this client or error
AC_ARG_ENABLE(client,
[  --enable-client[=no/yes/xaw3d/xaw/gtk/gtk2/win32]
                          compile a client [default=yes] (if yes, guess type)],
[case "${enableval}" in
  yes)    client=yes ;;
  no)     client=no ;;
  xaw3d)  client=xaw
          WITH_XAW3D=1 ;;
  gtk2)   client=gtk-2.0 ;;
  gtk2.0) client=gtk-2.0 ;;
  gtk20)  client=gtk-2.0 ;;
  *)      client="${enableval}"
          if test ! -d "${srcdir}/client/gui-$client" ; then
            AC_MSG_ERROR(bad value ${enableval} for --enable-client)
          fi ;;
esac], [client=yes])
AM_CONDITIONAL(CLIENT, test x$client != xno)

dnl You MUST build ftwl to use the ftwl client
AC_ARG_ENABLE(ftwl,
[  --enable-ftwl[=no/x11/sdl]
                          compile ftwl [default=no]],
[case "${enableval}" in
  x11)    ftwl=x11 ;;
  sdl)    ftwl=sdl ;;
  *)      AC_MSG_ERROR(bad value ${enableval} for --enable-ftwl) ;;
esac], [ftwl=no])
AM_CONDITIONAL(FTWL, test x$ftwl != xno)
if test "$ftwl" = no && test "$client" = ftwl ; then
  AC_MSG_ERROR(You must use --enable-ftwl to use the ftwl client)
fi

AC_ARG_WITH(xaw,
[  --with-xaw              use the Xaw widget set for the xaw client],
WITH_XAW=1
)

AC_ARG_WITH(xaw3d,
[  --with-xaw3d            use the Xaw3d widget set for the xaw client],
WITH_XAW3D=1
)

AC_ARG_ENABLE(make_data,
[  --disable-make-data     do not recurse make into data directories
                          (ok to disable unless you will 'make install')],
[case "${enableval}" in
  yes) make_data=true ;;
  no)  make_data=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --disable-make-data) ;;
esac], [make_data=true])
AM_CONDITIONAL(MAKE_DATA, test x$make_data = xtrue)

AC_ARG_ENABLE(make_include,
[  --enable-make-include   force make to recurse into include directory
                          (useful for 'make tags')],
[case "${enableval}" in
  yes) make_include=true ;;
  no)  make_include=false ;;
  *)   AC_MSG_ERROR(bad value ${enableval} for --enable-make-include) ;;
esac], [make_include=false])
AM_CONDITIONAL(MAKE_CLIENT_INCLUDE, test "$make_include" = "true")

AC_ARG_ENABLE(cvs_deps,
        [  --disable-cvs-deps      remove cvs-source deps calcs, which require 
gmake,gcc],,
        enable_cvs_deps="maybe"
)
CVS_DEPS=$enable_cvs_deps
AC_SUBST(CVS_DEPS)

AC_ARG_WITH(efence,
        [  --with-efence           use Electric Fence, malloc debugger ],
        WITH_EFENCE=1
)

dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_LN_S
AC_PROG_RANLIB
AC_CHECK_TOOL(AR, ar)
if test -z $AR; then
        AC_MSG_ERROR([*** 'ar' missing.  Install binutils, fix your \$PATH, or 
set \$AR manually. ***])
fi

AC_CHECK_PROG(UNAME,uname,uname,:)

dnl Programs already checked by AM_INIT_AUTOMAKE:
dnl  AC_PROG_MAKE_SET

dnl I18n support
ALL_LINGUAS="ca cs da de en_GB es et fi fr he_IL hu it ja nl nb no pl pt pt_BR 
ro ru sv uk"
AM_GNU_GETTEXT(,need-ngettext)

dnl AM_GNU_GETTEXT doesn't have all features we want
dnl or they don't behave correctly.
dnl Old gettext binaries don't understand plurals. (ngettext, msgid_plural)
dnl and there are some problems with missing ngettext.

if test "$USE_NLS" = "yes"; then
  dnl nls_cv_force_use_gnu_gettext is set by AM_GNU_GETTEXT
  dnl it is "yes" when --with-included-gettext is given

  if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
    have_working_ngettext=0
    AC_CHECK_LIB(c, ngettext,
      [AC_MSG_CHECKING(whether libc's ngettext works at runtime)
       FC_CHECK_NGETTEXT_RUNTIME(,have_working_ngettext=1,)],)

    if test "$have_working_ngettext" = "0"; then
      AC_CHECK_LIB(intl, ngettext,
        [AC_MSG_CHECKING(whether libintl's ngettext works at runtime)
         FC_CHECK_NGETTEXT_RUNTIME("-lintl",have_working_ngettext=1,)],)
    fi

    if test "$have_working_ngettext" = "0"; then
      AC_MSG_ERROR(I haven't found a working ngettext function in your system. 
Try --with-included-gettext or --disable-nls. Read ABOUT-NLS.)
    fi
  fi

  if test "$IS_BETA_VERSION" = "1" || test "$IS_DEVEL_VERSION" = "1"; then
    AC_MSG_CHECKING(for GNU xgettext version >= 0.10.36)
    xgettext_version=`$XGETTEXT --version 2>&1 | grep GNU | sed 's/"/ /g'`
    AC_TRY_RUN([
#include <stdio.h>

const char *version = "$xgettext_version";
int main()
{
  const char *p = version;
  int major = 0, minor = 0, patch = 0;

  while (*p != '\0' && (*p < '0' || *p > '9')) {
    p++;
  }
  if (*p == '\0') {
    return 1;
  }
  sscanf(p, "%d.%d.%d", &major, &minor, &patch);
  if (major < 1 && (minor < 10 || (minor == 10 && patch < 36))) {
    return 1;
  }
  return 0;
}
    ],
    AC_MSG_RESULT(yes)
    ,
    [
     AC_MSG_RESULT(no)
     AC_MSG_WARN(You may have problems with creating pox files. \
Please update your gettext package.)   
    ]
    ,
    echo error
    )

    AC_MSG_CHECKING(for GNU msgfmt version >= 0.10.36)
    msgfmt_version=`$MSGFMT --version 2>&1 | grep GNU | sed 's/"/ /g'`
    AC_TRY_RUN([
#include <stdio.h>

const char *version = "$msgfmt_version";

int main()
{
  const char *p = version;
  int major = 0, minor = 0, patch = 0;

  while (*p != '\0' && (*p < '0' || *p > '9')) {
    p++;
  }
  if (*p == '\0') {
    return 1;
  }
  sscanf(p, "%d.%d.%d", &major, &minor, &patch);
  if (major < 1 && (minor < 10 || (minor == 10 && patch < 35))) {
    return 1;
  }
  return 0;
}
    ],
    AC_MSG_RESULT(yes)
    ,
    [
    AC_MSG_RESULT(no)
    AC_MSG_ERROR(You are unable to create *.gmo files.
This is development version which doesn't include them. Please update your
gettext package. We recommend you versions >= 0.10.38. Or use 
--disable-nls instead.)
    ]
    ,
    echo error
    )
  fi
fi


dnl note this has to match the path installed by po/Makefile
FC_EXPAND_DIR(LOCALEDIR, "$datadir/locale")
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")

EXTRA_GCC_DEBUG_CFLAGS=""

if test -n "$GCC"; then
   EXTRA_GCC_DEBUG_CFLAGS="$CFLAGS"
   CFLAGS="-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations"
fi

FC_DEBUG
FC_VARIADIC_MACROS
FC_VARIABLE_ARRAYS

if test "$CVS_DEPS" = "maybe"; then
   dnl Should also check for gmake?
   if test -n "$GCC"; then
      CVS_DEPS="yes"
   else
      CVS_DEPS="no"
   fi
fi

dnl BeOS-specific settings
if test x`$UNAME -s` = xBeOS ; then
  AC_DEFINE(SOCKET_ZERO_ISNT_STDIN)
  CFLAGS="$CFLAGS -Wno-multichar"
  LDFLAGS="$LDFLAGS -x none"
  if test x$enable_debug = xyes ; then
    CFLAGS="$CFLAGS -gdwarf-2"
    LDFLAGS="$LDFLAGS -gdwarf-2"
  fi
  ARFLAGS=${ARFLAGS:-cru}
  AC_SUBST(ARFLAGS)
fi

dnl Windows-specific settings
AC_MINGW32
if test x"$MINGW32" = "xyes"; then
  AC_DEFINE(SOCKET_ZERO_ISNT_STDIN)
  AC_DEFINE(ALWAYS_ROOT)
  AC_DEFINE(WIN32_NATIVE)
  AC_DEFINE(HAVE_WINSOCK)
  LIBS="$LIBS -lwsock32"
fi

dnl Check for zlib (needed for libpng)
AC_CHECK_LIB(z, gzgets, , 
  AC_MSG_ERROR([Could not find zlib library.]), )
AC_CHECK_HEADER(zlib.h, , 
  AC_MSG_ERROR([zlib found but not zlib.h.  
You may need to install a zlib \"development\" package.]))

dnl Check and compile ftwl
if test "$ftwl" = x11 ; then
     FTWL_CFLAGS=`freetype-config --cflags`
     FTWL_LIBS="-L/usr/X11R6/lib -lX11 -lpng "`freetype-config --libs`
fi

if test "$ftwl" = sdl ; then
     FTWL_CFLAGS=`sdl-config --cflags`" "`freetype-config --cflags`
     FTWL_LIBS=`sdl-config --libs`" -lpng "`freetype-config --libs`
fi

dnl Check for libiconv (which is usually included in glibc, but may be
dnl distributed separately).
AM_ICONV
AM_LIBCHARSET
AM_LANGINFO_CODESET
if test "$am_cv_func_iconv" != yes; then
  AC_MSG_ERROR([Iconv is missing.  You can get it from http://gnu.org/, \
                or try using --with-libiconv-prefix.].])
fi
LIBS="$LIBS $LIBICONV"

dnl Check and choose clients
if test x$client != xno; then

  dnl if specified --with-xaw or --with-xaw3d, assume --enable-client=xaw
  if test x$client = xyes; then
    if test -n "$WITH_XAW" || test -n "$WITH_XAW3D"; then
      client=xaw
    fi
  fi

  dnl if need to guess client, announce checking
  if test x$client = xyes; then
    AC_CHECKING([for which client to compile:])
  fi

  dnl Gtk-2.0-specific overrides
  FC_GTK2_CLIENT

  dnl Gtk-specific overrides
  FC_GTK_CLIENT

  dnl SDL-specific overrides
  FC_SDL_CLIENT

  dnl Xaw-specific overrides
  FC_XAW_CLIENT

  if test "$client" = ftwl ; then
      AC_MSG_CHECKING([will compile gui-ftwl])
      AC_MSG_RESULT([yes])
      CLIENT_CFLAGS="$CLIENT_FLAGS $FTWL_FLAGS"
      CLIENT_LIBS="$CLIENT_LIBS $FTWL_LIBS"
  fi

  dnl BeOS-specific overrides
  if test "$client" = beos || test "$client" = yes ; then
    if test x`$UNAME -s` = xBeOS ; then
      CLIENT_CFLAGS=
      CLIENT_LIBS="-Lgui-beos/lib -lBdhGame -lBdhDialog -lBdh -ltranslation 
-lbe -lroot"
      found_client=yes
    fi

    if test "x$found_client" = "xyes"; then
      client=beos
    elif test "$client" = "beos"; then
      AC_MSG_ERROR(specified client 'beos' not configurable)
    fi
  fi

  dnl Win32-specific overrides
  FC_WIN32_CLIENT

  dnl Stub-specific overrides
  if test "$client" = stub ; then
    found_client=yes

    if test "x$found_client" = "xyes"; then
      client=stub
    elif test "$client" = "stub"; then
      AC_MSG_ERROR(specified client 'stub' not configurable)
    fi
  fi

  dnl If client still "yes", error out since we couldn't guess it
  if test "$client" = yes ; then
    AC_MSG_ERROR(could not guess which client to compile)
  fi

  dnl Check for sound support, sets SOUND_CFLAGS, SOUND_LIBS, ESD, SDL & WINMM
  FC_CHECK_SOUND()

  gui_sources="gui-$client"
fi
AC_SUBST(gui_sources)
AC_SUBST(CLIENT_CFLAGS)
AC_SUBST(CLIENT_LIBS)
AC_SUBST(CLIENT_LDFLAGS)
AC_SUBST(SOUND_CFLAGS)
AC_SUBST(SOUND_LIBS)
AC_SUBST(VERSION_WITHOUT_LABEL)
AM_CONDITIONAL(ESD, test x"$ESD" = "xyes")
AM_CONDITIONAL(ALSA, test "x$ALSA" = "xyes")
AM_CONDITIONAL(SDL, test x"$SDL_mixer" = "xyes")
AM_CONDITIONAL(WINMM, test x"$WINMM" = "xyes")
AM_CONDITIONAL(CLIENT_GUI_SDL, test "$gui_sources" = "gui-sdl")
AM_CONDITIONAL(CLIENT_GUI_GTK, test "$gui_sources" = "gui-gtk")
AM_CONDITIONAL(CLIENT_GUI_GTK_2_0, test "$gui_sources" = "gui-gtk-2.0")
AM_CONDITIONAL(CLIENT_GUI_XAW, test "$gui_sources" = "gui-xaw")
AM_CONDITIONAL(CLIENT_GUI_BEOS, test "$gui_sources" = "gui-beos")
AM_CONDITIONAL(CLIENT_GUI_STUB, test "$gui_sources" = "gui-stub")
AM_CONDITIONAL(CLIENT_GUI_WIN32, test "$gui_sources" = "gui-win32")
AM_CONDITIONAL(CLIENT_GUI_FTWL, test "$gui_sources" = "gui-ftwl")
AM_CONDITIONAL(FTWL, test "$ftwl" != "no")
AM_CONDITIONAL(FTWL_X11, test "$ftwl" = "x11")
AM_CONDITIONAL(FTWL_SDL, test "$ftwl" = "sdl")

dnl Checks for additional server libraries:
if test x$server = xtrue; then

    dnl Readline library and header files.
    FC_HAS_READLINE()

    AC_CHECK_FUNC(pow)
    if test $ac_cv_func_pow = no; then
        AC_CHECK_LIB(m, pow, SERVER_LIBS="$SERVER_LIBS -lm",
                 AC_MSG_ERROR(Did not find math lib!))
    fi
fi
AC_SUBST(SERVER_LIBS)

AC_CHECK_LIB(nls,main)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h sys/time.h sys/types.h unistd.h sys/utsname.h \
                 stdbool.h sys/file.h libintl.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)
fi
if test x$client = xxaw; then
  dnl Want to get appropriate -I flags:
  fc_save_CPPFLAGS="$CPPFLAGS"
  CPPFLAGS="$CPPFLAGS $CLIENT_CFLAGS"
  AC_CHECK_HEADER(X11/xpm.h, , 
    AC_MSG_ERROR(need X11/xpm.h header; perhaps try/adjust --with-xpm-include))
  CPPFLAGS="$fc_save_CPPFLAGS"
fi

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_HEADER_TIME
AC_STRUCT_TM

dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_STRCOLL
AC_FUNC_VPRINTF
AC_FUNC_VSNPRINTF

AC_CHECK_FUNCS([fileno ftime gethostname getpwuid inet_aton \
                select snooze strerror strcasecmp strncasecmp \
                strlcat strlcpy strstr usleep vsnprintf uname flock \
                gethostbyname connect bind])
AC_CHECK_FUNC([fork], AC_DEFINE(HAVE_WORKING_FORK))

AC_MSG_CHECKING(for working gettimeofday)
  FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY),)

dnl Check for extra socket libraries.
dnl If the AC_CHECK_FUNCS check finds the function, we don't look any
dnl further.  This is rumoured to prevent choosing the wrong libs on IRIX.
if test $ac_cv_func_gethostbyname = no; then
  AC_CHECK_LIB(nsl, gethostbyname, LIBS="-lnsl $LIBS")
fi
if test $ac_cv_func_connect = no; then
  AC_CHECK_LIB(socket, connect, LIBS="-lsocket $LIBS")
fi
if test $ac_cv_func_bind = no; then
  AC_CHECK_LIB(bind, gethostbyaddr, LIBS="-lbind $LIBS")
fi

dnl The use of both AC_FUNC_VSNPRINTF and AC_CHECK_FUNCS(vsnprintf) is
dnl deliberate.

dnl Windows fdopen does not work with sockets.
if test "x$MINGW32" != "xyes"; then
  AC_CHECK_FUNCS(fdopen)
fi

dnl We would AC_CHECK_FUNCS for socket as well, except it is complicated
dnl by the fact that the -lsocket is in X_EXTRA_LIBS and/or SERVER_LIBS,
dnl and not in LIBS.

dnl Now check if non blocking sockets are possible
dnl (if fcntl or ioctl exists)

AC_CHECK_FUNC(fcntl,
              [AC_DEFINE(HAVE_FCNTL)
               AC_DEFINE(NONBLOCKING_SOCKETS)],
               [AC_CHECK_FUNC(ioctl, 
                             [AC_DEFINE(HAVE_IOCTL)
                              AC_DEFINE(NONBLOCKING_SOCKETS)])])

dnl Checks if SIGPIPE is usable
AC_MSG_CHECKING([for SIGPIPE])
AC_TRY_COMPILE([#include <signal.h>],[signal (SIGPIPE, SIG_IGN)],
               [AC_MSG_RESULT([yes])
                AC_DEFINE(HAVE_SIGPIPE)],
               [AC_MSG_RESULT([no])])

dnl export where the datadir is going to be installed
FC_EXPAND_DIR(FREECIV_DATADIR, "$datadir/freeciv")

if test x"$MINGW32" = xyes; then
  AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, ".;data;~/.freeciv;$FREECIV_DATADIR")
else
  AC_DEFINE_UNQUOTED(DEFAULT_DATA_PATH, ".:data:~/.freeciv:$FREECIV_DATADIR")
fi

dnl This has to be last library
if test -n "$WITH_EFENCE"; then
  AC_CHECK_LIB(efence, malloc, [ 
  if test "x$LIBS" = "x"; then
    LIBS = -lefence
  else
    LIBS="$LIBS -lefence"
  fi])
fi

dnl Freeciv uses a non-standard macro, Q_(), to handle cases of qualified
dnl translatable strings and macro PL_() to handle plural forms.
dnl Since the Gettext supplied Autoconf support
dnl doesn't seem to have a way to add new keywords to its xgettext call,
dnl we do the following.
dnl The Gettext supplied Autoconf support starts with 'po/Makefile.in.in',
dnl and builds 'po/Makefile.in' then 'po/Makefile'.  In order for the
dnl commonly used _() and N_() macros to work, there should be somewhere
dnl in that 'po/Makefile' a call to xgettext with "--keyword=_" and
dnl "--keyword=N_" as arguments.  To support Q_() and PL_(),
dnl the following simply dnl replaces instances of 
dnl "--keyword=N_" with "--keyword=N_ --keyword=Q_ --keyword=PL_:1,2"
dnl in the 'po/Makefile' file.
AC_OUTPUT_COMMANDS(
  [if test -f po/Makefile ; then
     if grep 'keyword=N_ --keyword=Q_ --keyword=PL_:1,2' po/Makefile >/dev/null 
2>&1 ; then
       # has already been extended
       :
     else
       echo extending po/Makefile
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/--keyword=N_/--keyword=N_ --keyword=Q_ --keyword=PL_:1,2/g' 
po/Makefile.tmp > po/Makefile
       rm po/Makefile.tmp
     fi
   fi])

dnl Vast quantities of meaningless errors from xgettext is also annoying.
dnl We fix this by forcing xgettext to assume all files are C source files.
AC_OUTPUT_COMMANDS(
  [if test -f po/Makefile ; then
     if grep 'language=C --files-from=\$(srcdir)/POTFILES.in' po/Makefile 
>/dev/null 2>&1 ; then
       # has already been silenced
       :
     else
       echo silencing po/Makefile
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/--files-from=$(srcdir)\/POTFILES.in/--language=C 
--files-from=$(srcdir)\/POTFILES.in/' po/Makefile.tmp > po/Makefile
       rm po/Makefile.tmp
     fi
   fi])

dnl Most of the C comments copied to freeciv.pot are spurious; 
dnl change to only copy those with prefix "TRANS:"
dnl Also add --escape to the arguments to convert extended
dnl characters to escape characters.  This affects some of the 
dnl gui-mui strings, which use 0x1B escape character.
AC_OUTPUT_COMMANDS(
  [if test -f po/Makefile ; then
     if grep 'add-comments="TRANS:" --escape' po/Makefile >/dev/null 2>&1 ; then
       # has already been modified
       :
     else
       echo modifying po/Makefile add-comments/escape
       mv -f po/Makefile po/Makefile.tmp
       sed -e 's/add-comments/add-comments="TRANS:" --escape/' po/Makefile.tmp 
> po/Makefile
       rm po/Makefile.tmp
     fi
   fi])

dnl The BeOS sys/uio.h is broken.  This kluges it out of existence.
dnl (This still causes lots of spurious changes to config.h on BeOS.)
AC_OUTPUT_COMMANDS(
  [if test x`uname -s` = xBeOS ; then
     if grep '#define HAVE_SYS_UIO_H 1' config.h >/dev/null 2>&1 ; then
       echo kluging config.h 
       mv -f config.h config.h.tmp
       sed -e 's/#define HAVE_SYS_UIO_H 1/#undef HAVE_SYS_UIO_H/g' config.h.tmp 
> config.h
       rm config.h.tmp
     fi
   fi])

if test -n "$GCC"; then
  CFLAGS="$EXTRA_GCC_DEBUG_CFLAGS $CFLAGS"
fi


dnl Rebuild 'configure' whenever version.in changes, if maintainer mode enabled.
CONFIGURE_DEPENDENCIES="$CONFIGURE_DEPENDENCIES \$(top_srcdir)/version.in"
AC_SUBST([CONFIGURE_DEPENDENCIES])

dnl Make sure that config.h changes when ever CPPFLAGS or CFLAGS
dnl change so everything gets rebuilt. LDFLAGS is not handled here
dnl since change in it should not cause recompilation, only relinking.
AC_DEFINE_UNQUOTED(FC_STORE_CPPFLAGS, "$CPPFLAGS")
AC_DEFINE_UNQUOTED(FC_STORE_CFLAGS, "$CFLAGS")

AC_OUTPUT(Makefile
          data/Makefile 
          data/flags/Makefile
          data/misc/Makefile 
          data/isophex/Makefile
          data/isotrident/Makefile 
          data/trident/Makefile 
          data/default/Makefile 
          data/civ1/Makefile 
          data/civ2/Makefile 
          data/scenario/Makefile 
          data/nation/Makefile 
          data/history/Makefile 
          utility/Makefile
          utility/ftwl/Makefile
          common/Makefile 
          common/aicore/Makefile
          ai/Makefile 
          tests/Makefile
          client/Makefile 
          client/agents/Makefile
          client/include/Makefile 
          client/gui-sdl/Makefile
          client/gui-gtk/Makefile 
          client/gui-gtk-2.0/Makefile
          client/gui-xaw/Makefile 
          client/gui-win32/Makefile 
          client/gui-ftwl/Makefile
          client/gui-stub/Makefile 
          server/Makefile 
          server/generator/Makefile
          server/userdb/Makefile 
          manual/Makefile
          intl/Makefile
          po/Makefile.in
          doc/Makefile
          doc/man/Makefile
          doc/de/Makefile
          doc/fr/Makefile
          doc/it/Makefile
          doc/ja/Makefile
          doc/nl/Makefile
          doc/sv/Makefile
          civ:bootstrap/civ.in
          ser:bootstrap/ser.in
          freeciv.spec:bootstrap/freeciv.spec.in
          bootstrap/undep.sh
          data/Freeciv
          client/freeciv.desktop:bootstrap/freeciv.desktop.in,
          [ chmod +x bootstrap/undep.sh civ ser ; bootstrap/undep.sh ])
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  aalib1         1.4p5-22       ascii art library
ii  aalib1-dev     1.4p5-22       ascii art library, development kit
ii  acpi           0.07-3         displays information on ACPI devices
ii  acpid          1.0.4-1        Utilities for using ACPI power management
ii  adduser        3.59           Add and remove users and groups
ii  amd64-libs     1.1            Amd64 shared libraries for use on i386/x86_6
ii  amd64-libs-dev 1.1            Amd64 development libraries and headers for 
ii  apache         1.3.33-3       versatile, high-performance HTTP server
ii  apache-common  1.3.33-3       support files for all Apache webservers
ii  apache-utils   1.3.33-3       utility programs for webservers
ii  apt            0.5.28.1       Advanced front-end for dpkg
ii  apt-utils      0.5.28.1       APT utility programs
ii  aptitude       0.2.15.8-1     terminal-based apt frontend
ii  at             3.1.8-11       Delayed job execution and batch processing
ii  base-config    2.53.5         Debian base system configurator
ii  base-files     3.1.2          Debian base system miscellaneous files
ii  base-passwd    3.5.9          Debian base system master password and group
ii  bash           2.05b-24       The GNU Bourne Again SHell
ii  bc             1.06-15        The GNU bc arbitrary precision calculator la
ii  bin86          0.16.14-1.2    16-bit x86 assembler and loader
ii  bind9-host     9.2.4-1        Version of 'host' bundled with BIND 9.X
ii  binutils       2.15-5         The GNU assembler, linker and binary utiliti
ii  bison          1.875d-1       A parser generator that is compatible with Y
ii  bsdmainutils   6.0.17         collection of more utilities from FreeBSD
ii  bsdutils       2.12-10        Basic utilities from 4.4BSD-Lite
ii  bubblefishymon 0.6.3-2        system load dockapp with a duck
ii  bzip2          1.0.2-1        A high-quality block-sorting file compressor
ii  cabextract     1.1-1          a program to extract Microsoft Cabinet files
ii  capplets       2.8.1-3        configuration applets for GNOME 2 - binaries
ii  capplets-data  2.8.1-3        configuration applets for GNOME 2 - data fil
ii  console-common 0.7.47         Basic infrastructure for text console config
ii  console-data   2002.12.04dbs- Keymaps, fonts, charset maps, fallback table
ii  console-tools  0.2.3dbs-55    Linux console and font utilities
ii  coreutils      5.2.1-2        The GNU core utilities
ii  cpio           2.5-1.1        GNU cpio -- a program to manage archives of 
ii  cpp            3.3.5-1        The GNU C preprocessor (cpp)
ii  cpp-3.3        3.3.5-5        The GNU C preprocessor
ii  cramfsprogs    1.1-6          Tools for CramFs (Compressed ROM File System
ii  cron           3.0pl1-86      management of regular background processing
ii  css-mode       0.11-5         A Cascading Style Sheets (CSS) editing mode 
ii  cupsomatic-ppd 20050121-1     linuxprinting.org printer support - transiti
ii  cupsys         1.1.23-3       Common UNIX Printing System(tm) - server
ii  cupsys-driver- 4.2.7-4        Gimp-Print printer drivers for CUPS
ii  cupsys-driver- 4.2.7-4        Gimp-Print printer drivers for CUPS
ii  cupsys-pt      1.2.4-3        Tool for viewing/managing print jobs under C
ii  cvs            1.12.9-10      Concurrent Versions System
ii  dash           0.5.1-3        The Debian Almquist Shell
ii  dc             1.06-15        The GNU dc arbitrary precision reverse-polis
ii  debconf        1.4.30.11      Debian configuration management system
ii  debconf-i18n   1.4.30.11      full internationalization support for debcon
ii  debianutils    2.8.4          Miscellaneous utilities specific to Debian
ii  deborphan      1.7.14         Find orphaned libraries
ii  defoma         0.11.8-0.1     Debian Font Manager -- automatic font config
ii  desktop-base   0.3.15         common files for the Debian Desktop
ii  dhcp-client    2.0pl5-19.1    DHCP Client
ii  dialog         1.0-20050116-1 Displays user-friendly dialog boxes from she
ii  dictionaries-c 0.22.40sarge7  Common utilities for spelling dictionary too
ii  diff           2.8.1-7        File comparison utilities
ii  discover1      1.7.6          hardware identification system
ii  discover1-data 1.2005.01.08   hardware lists for libdiscover1
ii  distcc         2.18.1-5       Simple distributed compiler client and serve
ii  distccmon-gnom 2.18.1-5       GTK monitor for distcc a distributed client 
ii  dnsutils       9.2.4-1        Clients provided with BIND
ii  doc-debian     3.1            Debian Project documentation, Debian FAQ and
ii  doc-linux-text 2004.11-1      Linux HOWTOs and FAQs in ASCII format
ii  docbook-xml    4.3-1.1        standard XML documentation system, for softw
ii  dpkg           1.10.26        Package maintenance system for Debian
ii  dpkg-dev       1.10.26        Package building tools for Debian
ii  dselect        1.10.26        a user tool to manage Debian packages
ii  e2fslibs       1.35-6         The EXT2 filesystem libraries
ii  e2fsprogs      1.35-6         The EXT2 file system utilities and libraries
ii  ed             0.2-20         The classic unix line editor
ii  emacs21-bin-co 21.3+1-8       The GNU Emacs editor's shared, architecture 
ii  emacs21-common 21.3+1-8       The GNU Emacs editor's shared, architecture 
ii  emacs21-nox    21.3+1-8       The GNU Emacs editor (without X support)
ii  emacsen-common 1.4.16         Common facilities for all emacsen
ii  esound-common  0.2.35-2       Enlightened Sound Daemon - Common files
ii  exim4          4.34-10        An MTA (Mail Transport Agent)
ii  exim4-base     4.34-10        EXperimental Internal Mailer -- a Mail Trans
ii  exim4-config   4.34-10        Debian configuration for exim4
ii  exim4-daemon-l 4.34-10        Lightweight version of the Exim (v4) MTA
ii  fdutils        5.4-20040228-1 Linux floppy utilities
ii  file           4.12-1         Determines file type using "magic" numbers
ii  findutils      4.1.20-5       utilities for finding files--find, xargs, an
ii  finger         0.17-7         user information lookup program
ii  flex           2.5.31-31      A fast lexical analyzer generator.
ii  fontconfig     2.2.3-4        generic font configuration library
ii  foomatic-db    20050118-1     linuxprinting.org printer support - database
ii  foomatic-db-en 3.0.2-20050114 linuxprinting.org printer support - programs
ii  foomatic-filte 3.0.2-20050114 linuxprinting.org printer support - filters
ii  foomatic-filte 20050121-1     linuxprinting.org printer support - prebuilt
ii  ftp            0.17-12        The FTP client.
ii  g++            3.3.5-1        The GNU C++ compiler
ii  g++-3.3        3.3.5-5        The GNU C++ compiler
ii  galeon         1.3.19-1       GNOME web browser for advanced users
ii  galeon-common  1.3.19-1       GNOME web browser for advanced users
ii  gcc            3.3.5-1        The GNU C compiler
ii  gcc-3.3        3.3.5-5        The GNU C compiler
ii  gcc-3.3-base   3.3.5-5        The GNU Compiler Collection (base package)
ii  gconf2         2.8.1-4        GNOME configuration database system. (daemon
ii  gdb            6.3-5          The GNU Debugger
ii  gdk-imlib1     1.9.14-16.2    imaging library for use with gtk (using libp
ii  gettext        0.14.1-7       GNU Internationalization utilities
ii  gettext-base   0.14.1-7       GNU Internationalization utilities for the b
ii  gnome-control- 2.8.1-3        The GNOME Control Center for GNOME 2
ii  gnome-desktop- 2.8.1-2        Common files for GNOME 2 desktop apps
ii  gnome-icon-the 2.8.0-1        GNOME Desktop icon theme
ii  gnome-keyring  0.4.1-1        GNOME keyring services (daemon and tools)
ii  gnome-mime-dat 2.4.2-1        base MIME and Application database for GNOME
ii  gnome-session  2.8.1-5        The GNOME 2 Session Manager
ii  gnome-terminal 2.8.2-1        The GNOME 2 terminal emulator application
ii  gnu-efi        3.0a-4         Library for developing EFI applications
ii  gnumeric       1.4.2-2        GNOME spreadsheet application
ii  gnumeric-commo 1.4.2-2        common files for Gnumeric, the GNOME spreads
ii  gnupg          1.2.5-3        GNU privacy guard - a free PGP replacement
ii  grep           2.5.1.ds1-4    GNU grep, egrep and fgrep
ii  groff-base     1.18.1.1-6     GNU troff text-formatting system (base syste
ii  grub           0.95+cvs200406 GRand Unified Bootloader
ii  gs             8.01-5         Transitional package
ii  gs-common      0.3.6-0.1      Common files for different Ghostscript relea
ii  gs-esp         7.07.1-9       The Ghostscript PostScript interpreter - ESP
ii  gs-gpl         8.01-5         The GPL Ghostscript PostScript interpreter
ii  gsfonts        8.14+v8.11-0.1 Fonts for the Ghostscript interpreter(s)
ii  gtkpod         0.85.0-1       manage songs and playlists on an Apple iPod
ii  gv             3.6.1-5        PostScript and PDF viewer for X
ii  gzip           1.3.5-9        The GNU compression utility
ii  hdparm         5.8-1          Tune hard disk parameters for high performan
ii  hicolor-icon-t 0.5-4          default fallback theme for FreeDesktop.org i
ii  hostname       2.13           A utility to set/show the host name or domai
ii  hotplug        0.0.20040329-1 Linux Hotplug Scripts
ii  iamerican      3.1.20.0-4     An American English dictionary for ispell
ii  ibritish       3.1.20.0-4     A British English dictionary for ispell
ii  ifupdown       0.6.4-4.10     High level tools to configure network interf
ii  imlib-base     1.9.14-16.2    Common files needed by the Imlib/Gdk-Imlib p
ii  info           4.7-2.2        Standalone GNU Info documentation browser
ii  initrd-tools   0.1.77         tools to create initrd image for prepackaged
ii  initscripts    2.86.ds1-1     Standard scripts needed for booting and shut
ii  ipchains       1.3.10-15      Network firewalling for Linux 2.2.x
ii  ipmasqadm      0.4.2-2        Utility for configuring extra masquerading f
ii  iptables       1.2.11-8       Linux kernel 2.4+ iptables administration to
ii  iptraf         2.7.0-6        Interactive Colorful IP LAN Monitor
ii  iputils-ping   20020927-2     Tools to test the reachability of network ho
ii  ispell         3.1.20.0-4     International Ispell (an interactive spellin
ii  jed            0.99.16-3.2    Editor for programmers. (textmode version)
ii  jed-common     0.99.16-3.2    Byte compiled S-Lang runtime files for jed a
ii  jfsutils       1.1.7-1        utilities for managing the JFS filesystem
ii  kernel-headers 2.6.8-13       Header files related to Linux kernel version
ii  kernel-headers 2.6.8-13       Linux kernel headers 2.6.8 on 386
ii  kernel-headers 2.6.8-13       Linux kernel headers 2.6.8 on PPro/Celeron/P
ii  kernel-headers 2.6.8-8        Header files related to Linux kernel version
ii  kernel-headers 2.6.8-8        Linux kernel headers for version 2.6.8 on AM
ii  kernel-image-2 101            Linux kernel image for version 2.6 on 386.
ii  kernel-image-2 2.6.8-10       Linux kernel image for version 2.6.8 on 386.
ii  kernel-image-2 2.6.8-13       Linux kernel image for version 2.6.8 on 386.
ii  kernel-image-2 2.6.8-8        Linux kernel image for version 2.6.8 on AMD6
ii  kernel-kbuild- 2.6.8-2        Linux kernel 2.6 kbuild tools
ii  klogd          1.4.1-16       Kernel Logging Daemon
ii  lbxproxy       4.3.0.dfsg.1-1 Low Bandwidth X (LBX) proxy server
ii  less           382-1          Pager program similar to more
ii  lesstif2       0.93.94-11     OSF/Motif 2.1 implementation released under 
ii  libacl1        2.2.23-1       Access control list shared library
ii  libapache-mod- 1.3.26.1a-8    HTTP compression module for Apache
ii  libapache-mod- 4.3.10-2       server-side, HTML-embedded scripting languag
ii  libapache-mod- 2.8.22-1       Strong cryptography (HTTPS support) for Apac
ii  libart-2.0-2   2.3.17-1       Library of functions for 2D graphics - runti
ii  libartsc0      1.3.2-2        aRts Sound system C support library
ii  libartsc0-dev  1.3.2-2        aRts Sound system C support library (develop
ii  libasound2     1.0.8-1        ALSA library
ii  libasound2-dev 1.0.8-1        ALSA library development files
ii  libatk1.0-0    1.8.0-4        The ATK accessibility toolkit
ii  libattr1       2.4.16-1       Extended attribute shared library
ii  libaudio-dev   1.7-2          The Network Audio System (NAS). (development
ii  libaudio2      1.7-2          The Network Audio System (NAS). (shared libr
ii  libaudiofile-d 0.2.6-5        Open-source version of SGI's audiofile libra
ii  libaudiofile0  0.2.6-5        Open-source version of SGI's audiofile libra
ii  libblkid1      1.35-6         Block device id library
ii  libbonobo2-0   2.8.0-4        Bonobo CORBA interfaces library
ii  libbonobo2-com 2.8.0-4        Bonobo CORBA interfaces library -- support f
ii  libbonoboui2-0 2.8.0-2        The Bonobo UI library
ii  libbonoboui2-c 2.8.0-2        The Bonobo UI library -- common files
ii  libbz2-1.0     1.0.2-1        A high-quality block-sorting file compressor
ii  libc6          2.3.2.ds1-20   GNU C Library: Shared libraries and Timezone
ii  libc6-dev      2.3.2.ds1-20   GNU C Library: Development Libraries and Hea
ii  libcap1        1.10-14        support for getting/setting POSIX.1e capabil
ii  libcomerr2     1.35-6         The Common Error Description library
ii  libconsole     0.2.3dbs-55    Shared libraries for Linux console and font 
ii  libcroco3      0.6.0-2        a generic Cascading Style Sheet (CSS) parsin
ii  libcupsimage2  1.1.23-3       Common UNIX Printing System(tm) - image libs
ii  libcupsys2-gnu 1.1.23-3       Common UNIX Printing System(tm) - libs
ii  libcurl3       7.12.3-2       Multi-protocol file transfer library, now wi
ii  libdb1-compat  2.1.3-7        The Berkeley database routines [glibc 2.0/2.
ii  libdb2         2.7.7.0-9      The Berkeley database routines (run-time fil
ii  libdb3         3.2.9-20       Berkeley v3 Database Libraries [runtime]
ii  libdb4.0       4.0.14-2       Berkeley v4.0 Database Libraries [runtime]
ii  libdb4.1       4.1.25-17      Berkeley v4.1 Database Libraries [runtime]
ii  libdb4.2       4.2.52-17      Berkeley v4.2 Database Libraries [runtime]
ii  libdb4.2++     4.2.52-17      Berkeley v4.2 Database Libraries for C++ [ru
ii  libdb4.3       4.3.27-1       Berkeley v4.3 Database Libraries [runtime]
ii  libdbd-mysql-p 2.9003-3       A Perl5 database interface to the MySQL data
ii  libdbi-perl    1.46-6         Perl5 database interface by Tim Bunce
ii  libdiscover1   1.7.6          hardware identification library
ii  libdns16       9.2.4-1        DNS Shared Library used by BIND
ii  libdps1        4.3.0.dfsg.1-1 Display PostScript (DPS) client library
ii  libedit2       2.9.cvs.200408 BSD editline and history libraries
ii  libeel2-2      2.8.2-1        Eazel Extensions Library (for GNOME2)
ii  libeel2-data   2.8.2-1        Eazel Extensions Library - data files (for G
ii  libesd0        0.2.35-2       Enlightened Sound Daemon - Shared libraries
ii  libesd0-dev    0.2.35-2       Enlightened Sound Daemon - Development files
ii  libexpat1      1.95.8-1       XML parsing C library - runtime library
ii  libfam0c102    2.7.0-6        client library to control the FAM daemon
ii  libfcgi-dev    2.4.0-5        Header files of FastCGI
ii  libfcgi0       2.4.0-5        Shared library of FastCGI
ii  libfontconfig1 2.2.3-4        generic font configuration library (shared l
ii  libfreetype6   2.1.7-2.3      FreeType 2 font engine, shared library files
ii  libfreetype6-d 2.1.7-2.3      FreeType 2 font engine, development files
ii  libgail-common 1.8.2-1        GNOME Accessibility Implementation Library -
ii  libgail17      1.8.2-1        GNOME Accessibility Implementation Library -
ii  libgc1         6.3-1          Conservative garbage collector for C and C++
ii  libgcc1        3.4.3-6        GCC support library
ii  libgconf2-4    2.8.1-4        GNOME configuration database system librarie
ii  libgcrypt1     1.1.12-8       LGPL Crypto library - runtime library
ii  libgcrypt11    1.2.0-4        LGPL Crypto library - runtime library
ii  libgcrypt7     1.1.90-9       LGPL Crypto library - runtime library
ii  libgd-dev      1.8.4-36.1     GD Graphics Library (transitional package)
ii  libgd-noxpm-de 1.8.4-36.1     GD Graphics Library (old version, without XP
ii  libgd1-noxpm   1.8.4-36.1     GD Graphics Library (old version, without XP
ii  libgd2-xpm     2.0.33-1.1     GD Graphics Library version 2
ii  libgdbm3       1.8.3-2        GNU dbm database routines (runtime version)
ii  libgimpprint1  4.2.7-4        The Gimp-Print printer driver library
ii  libglade2-0    2.4.1-2        library to load .glade files at runtime
ii  libglib1.2     1.2.10-9       The GLib library of C routines
ii  libglib2.0-0   2.6.1-3        The GLib library of C routines
ii  libglib2.0-dev 2.6.1-3        Development files for the GLib library
ii  libgmp3        4.1.4-5        Multiprecision arithmetic library
ii  libgnome-deskt 2.8.1-2        Utility library for loading .desktop files -
ii  libgnome-keyri 0.4.1-1        GNOME keyring services library
ii  libgnome2-0    2.8.0-6        The GNOME 2 library - runtime files
ii  libgnome2-comm 2.8.0-6        The GNOME 2 library - common files
ii  libgnomecanvas 2.8.0-1        A powerful object-oriented display - runtime
ii  libgnomecanvas 2.8.0-1        A powerful object-oriented display - common 
ii  libgnomecups1. 0.1.13-1       GNOME library for CUPS interaction
ii  libgnomeprint2 2.8.2-1        The GNOME 2.2 print architecture - runtime f
ii  libgnomeprint2 2.8.2-1        The GNOME 2.2 print architecture - data file
ii  libgnomeprintu 2.8.2-2        GNOME 2.2 print architecture User Interface 
ii  libgnomeprintu 2.8.2-2        GNOME 2.2 print architecture User Interface 
ii  libgnomeui-0   2.8.0-3        The GNOME 2 libraries (User Interface) - run
ii  libgnomeui-com 2.8.0-3        The GNOME 2 libraries (User Interface) - com
ii  libgnomevfs2-0 2.8.3-9        The GNOME virtual file-system library (runti
ii  libgnomevfs2-c 2.8.3-9        The GNOME virtual file-system library (commo
ii  libgnutls10    1.0.4-8        GNU TLS library - runtime library
ii  libgnutls11    1.0.16-9       GNU TLS library - runtime library
ii  libgnutls7     0.8.12-6       GNU TLS library - runtime library
ii  libgpg-error0  1.0-1          library for common error values and messages
ii  libgpmg1       1.19.6-19      General Purpose Mouse - shared library
ii  libgsf-1       1.11.1-1       Structured File Library - runtime version
ii  libgsf-gnome-1 1.11.1-1       Structured File Library - runtime version fo
ii  libgstreamer-p 0.8.6-1        Various GStreamer libraries and library plug
ii  libgstreamer0. 0.8.8-1        Core GStreamer libraries, plugins, and utili
ii  libgtk1.2      1.2.10-17      The GIMP Toolkit set of widgets for X
ii  libgtk1.2-comm 1.2.10-17      Common files for the GTK+ library
ii  libgtk2.0-0    2.4.14-2       The GTK+ graphical user interface library
ii  libgtk2.0-bin  2.4.14-2       The programs for the GTK+ graphical user int
ii  libgtk2.0-comm 2.4.14-2       Common files for the GTK+ graphical user int
ii  libhowl0       0.9.8-2        Library for Zeroconf service discovery
ii  libice-dev     4.3.0.dfsg.1-1 Inter-Client Exchange library development fi
ii  libice6        4.3.0.dfsg.1-1 Inter-Client Exchange library
ii  libid3tag0     0.15.1b-3      ID3 tag reading library from the MAD project
ii  libident       0.22-2.2       simple RFC1413 client library - runtime
ii  libidl0        0.8.3-1        library for parsing CORBA IDL files
ii  libidn11       0.5.2-3        GNU libidn library, implementation of IETF I
ii  libisc7        9.2.4-1        ISC Shared Library used by BIND
ii  libjpeg62      6b-9           The Independent JPEG Group's JPEG runtime li
ii  libjpeg62-dev  6b-9           Development files for the IJG JPEG library
ii  libkrb53       1.3.6-1        MIT Kerberos runtime libraries
ii  liblcms1       1.13-1         Color management library
ii  libldap2       2.1.30-3       OpenLDAP libraries
ii  liblocale-gett 1.01-17        Using libc functions for internationalizatio
ii  liblockfile1   1.06           NFS-safe locking library, includes dotlockfi
ii  liblwres1      9.2.4-1        Lightweight Resolver Library used by BIND
ii  liblzo1        1.08-1.2       A real-time data compression library
ii  libmagic1      4.12-1         File type determination library using "magic
ii  libmetacity0   2.8.8-1        Common library of lightweight GTK2 based Win
ii  libmng1        1.0.8-1        Multiple-image Network Graphics library
ii  libmyspell3    3.1-10         MySpell spellchecking library
ii  libmysqlclient 3.23.56-2      LGPL-licensed client library for MySQL datab
ii  libmysqlclient 4.0.23-4       mysql database client library
ii  libmysqlclient 4.1.9-2        mysql database client library
ii  libmysqlclient 4.1.9-2        mysql database development files
ii  libnautilus2-2 2.8.2-2        libraries for nautilus components - runtime 
ii  libncurses5    5.4-4          Shared libraries for terminal handling
ii  libncurses5-de 5.4-4          Developer's libraries and docs for ncurses
ii  libncursesw5   5.4-4          Shared libraries for terminal handling (wide
ii  libneon23      0.23.9.dfsg.3- An HTTP and WebDAV client library [old versi
ii  libnet-daemon- 0.38-1         Perl module for building portable Perl daemo
ii  libnewt0.51    0.51.6-20      Not Erik's Windowing Toolkit - text mode win
ii  libnspr4       1.7.5-1        Netscape Portable Runtime Library
ii  libnss-db      2.2-6.2        DB Name Service Module
ii  libnss3        1.7.5-1        Network Security Service Libraries - runtime
ii  libomniorb4    4.0.5-1        omniORB4 - CORBA ORB - libomniorb4
ii  libomniorb4-de 4.0.5-1        omniORB4 - CORBA ORB - developer files
ii  libomnithread3 4.0.5-1        omniORB4 - CORBA ORB - libomnithread3
ii  libomnithread3 4.0.5-1        omniORB4 - CORBA ORB - developer files
ii  libopencdk4    0.4.2-4        Open Crypto Development Kit (OpenCDK) (runti
ii  libopencdk8    0.5.5-10       Open Crypto Development Kit (OpenCDK) (runti
ii  liborbit2      2.10.2-1.1     libraries for ORBit2 - a CORBA ORB
ii  libpam-modules 0.76-22        Pluggable Authentication Modules for PAM
ii  libpam-runtime 0.76-22        Runtime support for the PAM library
ii  libpam0g       0.76-22        Pluggable Authentication Modules library
ii  libpango1.0-0  1.6.0-3        Layout and rendering of internationalized te
ii  libpango1.0-co 1.6.0-3        Modules and configuration files for the Pang
ii  libpaper1      1.1.14-3       Library for handling paper characteristics
ii  libpcap0.7     0.7.2-7        System interface for user-level packet captu
ii  libpcre3       4.5-1.1        Perl 5 Compatible Regular Expression Library
ii  libplrpc-perl  0.2017-1       Perl extensions for writing PlRPC servers an
ii  libpng10-0     1.0.18-1       PNG library, older version - runtime
ii  libpng12-0     1.2.8rel-1     PNG library - runtime
ii  libpng12-dev   1.2.8rel-1     PNG library - development
ii  libpng3        1.2.8rel-1     PNG library - runtime
ii  libpopt0       1.7-5          lib for parsing cmdline parameters
ii  libqt3c102-mt  3.3.3-8        Qt GUI Library (Threaded runtime version), V
ii  libreadline4   4.3-11         GNU readline and history libraries, run-time
ii  libreadline5   5.0-10         GNU readline and history libraries, run-time
ii  libreadline5-d 5.0-10         GNU readline and history libraries, developm
ii  libregexx-dev  0.98.1-10      C++ wrapper to the GNU regex functions
ii  libregexx1c102 0.98.1-10      C++ wrapper to the GNU regex functions
ii  librep9        0.17-7         an embeddable Emacs-Lisp-like runtime librar
ii  librrd0        1.0.49-1       Time-series data storage and display system 
ii  librsvg2-2     2.8.1-2        SAX-based renderer library for SVG files. (f
ii  librsvg2-commo 2.8.1-2        SAX-based renderer library for SVG files. (f
ii  libruby1.8     1.8.2-2        Libraries necessary to run the Ruby 1.8
ii  libsasl2       2.1.19-1.5     Authentication abstraction library
ii  libscrollkeepe 0.3.14-9.1     Library to load .omf files (runtime files)
ii  libsdl-image1. 1.2.3-6        image loading library for Simple DirectMedia
ii  libsdl-image1. 1.2.3-6        development files for SDL 1.2 image loading 
ii  libsdl1.2-dev  1.2.7+1.2.8cvs Simple DirectMedia Layer development files
ii  libsdl1.2debia 1.2.7+1.2.8cvs Simple DirectMedia Layer
ii  libsdl1.2debia 1.2.7+1.2.8cvs Simple DirectMedia Layer (with all available
ii  libsigc++-1.2- 1.2.5-1        Type-safe Signal Framework for C++ - runtime
ii  libslp1        1.0.11-7       OpenSLP libraries
ii  libsm-dev      4.3.0.dfsg.1-1 X Window System Session Management library d
ii  libsm6         4.3.0.dfsg.1-1 X Window System Session Management library
ii  libsmbclient   3.0.10-1       shared library that allows applications to t
ii  libsndfile0    0.0.28-1       Library for reading/writing audio files
ii  libsqlite0     2.8.15-3       SQLite shared library
ii  libsqlite0-dev 2.8.15-3       SQLite development files
ii  libss2         1.35-6         Command-line interface parsing library
ii  libssl-dev     0.9.7e-2       SSL development libraries, header files and 
ii  libssl0.9.7    0.9.7e-2       SSL shared libraries
ii  libstartup-not 0.7-1          library for program launch feedback (shared 
ii  libstdc++2.10- 2.95.4-22      The GNU stdc++ library
ii  libstdc++5     3.3.5-5        The GNU Standard C++ Library v3
ii  libstdc++5-3.3 3.3.5-5        The GNU Standard C++ Library v3 (development
ii  libstlport4.6  4.6.2-2        STLport C++ class library
ii  libsvga1       1.4.3-20       console SVGA display libraries
ii  libsvga1-dev   1.4.3-20       console SVGA display development libraries a
ii  libt1-5        5.0.2-3        Type 1 font rasterizer library - runtime
ii  libtar         1.2.11-2       C library for manipulating tar archives
ii  libtar-dev     1.2.11-2       C library for manipulating tar archives
ii  libtasn1-0     0.1.2-5        Manage ASN.1 structures (runtime)
ii  libtasn1-2     0.2.10-3       Manage ASN.1 structures (runtime)
ii  libtext-charwi 0.04-1         get display widths of characters on the term
ii  libtext-iconv- 1.2-3          Convert between character sets in Perl
ii  libtext-wrapi1 0.06-1         internationalized substitute of Text::Wrap
ii  libtextwrap1   0.1-1          text-wrapping library with i18n - runtime
ii  libtiff4       3.7.1-2        Tag Image File Format (TIFF) library
ii  libtiff4-dev   3.7.1-2        Tag Image File Format library (TIFF), develo
ii  libungif4g     4.1.3-1        shared library for GIF images (runtime lib)
ii  libusb-0.1-4   0.1.8-17       Userspace USB programming library
ii  libuuid1       1.35-6         Universally unique id library
ii  libvte-common  0.11.11-5      Terminal emulator widget for GTK+ 2.0 - comm
ii  libvte4        0.11.11-5      Terminal emulator widget for GTK+ 2.0 - runt
ii  libwrap0       7.6.dbs-6      Wietse Venema's TCP wrappers library
ii  libx11-6       4.3.0.dfsg.1-1 X Window System protocol client library
ii  libx11-dev     4.3.0.dfsg.1-1 X Window System protocol client library deve
ii  libxalan18     1.8-4          Provides XSLT support for applications
ii  libxaw7        4.3.0.dfsg.1-1 X Athena widget set library
ii  libxcursor1    1.1.3-1        X cursor management library
ii  libxerces25    2.5.0-3        Validating XML parser library for C++
ii  libxerces25-de 2.5.0-3        Validating XML parser library for C++ (devel
ii  libxext-dev    4.3.0.dfsg.1-1 X Window System miscellaneous extension libr
ii  libxext6       4.3.0.dfsg.1-1 X Window System miscellaneous extension libr
ii  libxft1        4.3.0.dfsg.1-1 FreeType-based font drawing library for X (v
ii  libxft2        2.1.2-6        FreeType-based font drawing library for X
ii  libxi-dev      4.3.0.dfsg.1-1 X Window System Input extension library deve
ii  libxi6         4.3.0.dfsg.1-1 X Window System Input extension library
ii  libxklavier8   1.03-1         X Keyboard Extension high-level API
ii  libxml++-dev   0.23.0-1       A C++ interface to the GNOME XML library (li
ii  libxml++9      0.23.0-1       A C++ interface to the GNOME XML library (li
ii  libxml2        2.6.11-5       GNOME XML library
ii  libxml2-dev    2.6.11-5       Development files for the GNOME XML library
ii  libxml2-utils  2.6.11-5       XML utilities
ii  libxmu6        4.3.0.dfsg.1-1 X Window System miscellaneous utility librar
ii  libxmuu1       4.3.0.dfsg.1-1 lightweight X Window System miscellaneous ut
ii  libxp6         4.3.0.dfsg.1-1 X Window System printing extension library
ii  libxpm4        4.3.0.dfsg.1-1 X pixmap library
ii  libxrandr2     4.3.0.dfsg.1-1 X Window System Resize, Rotate and Reflectio
ii  libxrender1    0.8.3-7        X Rendering Extension client library
ii  libxslt1.1     1.1.8-5        XSLT processing library - runtime library
ii  libxt-dev      4.3.0.dfsg.1-1 X Toolkit Intrinsics development files
ii  libxt6         4.3.0.dfsg.1-1 X Toolkit Intrinsics
ii  libxtrap6      4.3.0.dfsg.1-1 X Window System protocol-trapping extension 
ii  libxtst6       4.3.0.dfsg.1-1 X Window System event recording and testing 
ii  libxv-dev      4.3.0.dfsg.1-1 X Window System video extension library deve
ii  libxv1         4.3.0.dfsg.1-1 X Window System video extension library
ii  linux-kernel-h 2.5.999-test7- Linux Kernel Headers for development
ii  locales        2.3.2.ds1-20   GNU C Library: National Language (locale) da
ii  login          4.0.3-30.8     System login tools
ii  logrotate      3.7-2          Log rotation utility
ii  lpr            2003.09.23-7   BSD lpr/lpd line printer spooling system
ii  lsof           4.71-1         List open files.
ii  m4             1.4.2-1        a macro processing language
ii  mailx          8.1.2-0.200405 A simple mail user agent
ii  make           3.80-9         The GNU version of the "make" utility.
ii  makedev        2.3.1-75       Creates device files in /dev
ii  man-db         2.4.2-21       The on-line manual pager
ii  manpages       1.70-1         Manual pages about using a GNU/Linux system
ii  manpages-dev   1.70-1         Manual pages about using GNU/Linux for devel
ii  mawk           1.3.3-11       a pattern scanning and text processing langu
ii  mdadm          1.8.1-1        Manage MD devices aka Linux Software Raid
ii  menu           2.1.21         provides update-menus functions for some app
ii  mime-support   3.28-1         MIME files 'mime.types' & 'mailcap', and sup
ii  module-init-to 3.2-pre1-2     tools for managing Linux kernel modules
ii  modutils       2.4.26-1.2     Linux module utilities
ii  mount          2.12-10        Tools for mounting and manipulating filesyst
ii  mozilla        1.7.5-1        The Mozilla Internet application suite - met
ii  mozilla-browse 1.7.5-1        The Mozilla Internet application suite - cor
ii  mozilla-firefo 1.0+dfsg.1-2   lightweight web browser based on Mozilla
ii  mozilla-mailne 1.7.5-1        The Mozilla Internet application suite - mai
ii  mozilla-psm    1.7.5-1        The Mozilla Internet application suite - Per
ii  mpack          1.6-1          tools for encoding/decoding MIME messages
ii  msttcorefonts  1.2            Installer for Microsoft TrueType core fonts
ii  mtools         3.9.9-2        Tools for manipulating MSDOS files
ii  mtr-tiny       0.67-1         Full screen ncurses traceroute tool
ii  mutt           1.5.6-20040907 Text-based mailreader supporting MIME, GPG, 
ii  mysql-client   4.0.23-4       mysql database client binaries
ii  mysql-common   4.0.23-4       mysql database common files (e.g. /etc/mysql
rc  mysql-common-4 4.1.8a-1       mysql database common files (e.g. /etc/mysql
ii  mysql-navigato 1.4.2-3        GUI client program for MySQL database server
ii  nano           1.2.4-3        free Pico clone with some new features
ii  ncurses-base   5.4-4          Descriptions of common terminal types
ii  ncurses-bin    5.4-4          Terminal-related programs and man pages
ii  ncurses-term   5.4-4          Additional terminal type definitions
ii  net-tools      1.60-10        The NET-3 networking toolkit
ii  netbase        4.19           Basic TCP/IP networking system
ii  netkit-inetd   0.10-10        The Internet Superserver
ii  nfs-common     1.0.6-3.1      NFS support files common to client and serve
ii  nis            3.13-1         Clients and daemons for the Network Informat
ii  ntp            4.2.0a+stable- Network Time Protocol: network utilities
ii  ntp-server     4.2.0a+stable- Network Time Protocol: common server tools
ii  ntp-simple     4.2.0a+stable- Network Time Protocol: daemon for simple sys
ii  ntpdate        4.2.0a+stable- The ntpdate client for setting system time f
ii  nvi            1.79-21        4.4BSD re-implementation of vi
ii  nxml-mode      20041004-4     Emacs mode for editing XML documents using R
ii  omniidl4       4.0.5-1        omniORB4 - idl compiler
ii  openoffice.org 1.1.2dfsg1-3   high-quality office productivity suite
ii  openoffice.org 1.1.2dfsg1-3   OpenOffice.org office suite binary files
ii  openoffice.org 1.1.2-5+1      Debian specific parts of OpenOffice.org
ii  openoffice.org 1.1.2dfsg1-3   English (US) language package for OpenOffice
ii  openssl        0.9.7e-2       Secure Socket Layer (SSL) binary and related
ii  passwd         4.0.3-30.8     Change and administer password and group dat
ii  patch          2.5.9-2        Apply a diff file to an original
ii  pciutils       2.1.11-15      Linux PCI Utilities
ii  perl           5.8.4-5        Larry Wall's Practical Extraction and Report
ii  perl-base      5.8.4-5        The Pathologically Eclectic Rubbish Lister
ii  perl-modules   5.8.4-5        Core Perl modules
ii  php-elisp      1.1.0-2        Emacs support for php files
ii  php4           4.3.10-2       server-side, HTML-embedded scripting languag
ii  php4-cli       4.3.10-2       command-line interpreter for the php4 script
ii  php4-common    4.3.10-2       Common files for packages built from the php
ii  php4-domxml    4.3.10-2       XMLv2 module for php4
ii  php4-gd        4.3.10-2       GD module for php4
ii  php4-mysql     4.3.10-2       MySQL module for php4
ii  pidentd        3.0.16-7       TCP/IP IDENT protocol server with DES suppor
ii  pkg-config     0.15.0-4       Manage compile and link flags for libraries
ii  portmap        5-7            The RPC portmapper
ii  ppp            2.4.2+20040428 Point-to-Point Protocol (PPP) daemon
ii  pppconfig      2.3.10         A text menu based utility for configuring pp
ii  pppoe          3.5-4          PPP over Ethernet driver
ii  pppoeconf      1.0.11         configures PPPoE/ADSL connections
ii  procmail       3.22-10        Versatile e-mail processor
ii  procps         3.2.1-2        The /proc file system utilities
ii  proxymngr      4.3.0.dfsg.1-1 X proxy services manager
ii  psmisc         21.5-1         Utilities that use the proc filesystem
ii  python         2.3.4-5        An interactive high-level object-oriented la
ii  python-newt    0.51.6-20      A NEWT module for Python
ii  python2.3      2.3.4-19       An interactive high-level object-oriented la
ii  qiv            2.0-3          A quick image viewer for X
ii  rcs            5.7-13.3       The GNU Revision Control System
ii  rep            0.17-7         lisp command interpreter frontends to librep
ii  rep-gtk        0.18-6         GTK binding for librep
ii  reportbug      3.2            Reports bugs in the Debian distribution
ii  rrdtool        1.0.49-1       Time-series data storage and display system 
ii  ruby           1.8.2-1        An interpreter of object-oriented scripting 
ii  ruby1.8        1.8.2-2        Interpreter of object-oriented scripting lan
ii  sawfish        1.3+cvs2005010 a window manager for X11
ii  screen         4.0.2-4.1      a terminal multiplexor with VT100/ANSI termi
ii  scrollkeeper   0.3.14-9.1     A free electronic cataloging system for docu
ii  sed            4.1.2-8        The GNU sed stream editor
ii  setserial      2.17-36        Controls configuration of serial ports
ii  sgml-base      1.26           SGML infrastructure and SGML catalog file su
ii  sgml-data      2.0.2          common SGML and XML data
ii  shared-mime-in 0.15-1         FreeDesktop.org shared MIME database and spe
ii  sharutils      4.2.1-11       shar, unshar, uuencode, uudecode
ii  slang1         1.4.9dbs-8     The S-Lang programming library - runtime ver
ii  slang1-dev     1.4.9dbs-8     The S-Lang programming library, development 
ii  slang1a-utf8   1.4.9dbs-8     The S-Lang programming library with utf8 sup
ii  sqlite         2.8.15-3       A command line interface for SQLite
ii  ssh            3.8.1p1-8.sarg Secure rlogin/rsh/rcp replacement (OpenSSH)
ii  ssl-cert       1.0-11         Simple debconf wrapper for openssl
ii  strace         4.5.5-1        A system call tracer
ii  sudo           1.6.8p5-1      Provide limited super user privileges to spe
ii  svgalibg1      1.4.3-20       transitional dummy package which can be safe
ii  sysklogd       1.4.1-16       System Logging Daemon
ii  sysv-rc        2.86.ds1-1     Standard boot mechanism using symlinks in /e
ii  sysvinit       2.86.ds1-1     System-V like init
ii  tar            1.13.93-4      GNU tar
ii  tasksel        2.15           Tool for selecting tasks for installation on
ii  tcpd           7.6.dbs-6      Wietse Venema's TCP wrapper utilities
ii  tcsh           6.13.00-1      TENEX C Shell, an enhanced version of Berkel
ii  tdtd           0.7.1-11       Emacs major mode for editing SGML and XML DT
ii  telnet         0.17-26        The telnet client.
ii  texinfo        4.7-2.2        Documentation system for on-line information
ii  time           1.7-19         The GNU time program for measuring cpu resou
ii  timeout        1.11-6.1       Run a command with a time limit.
ii  traceroute     1.4a12-18      traces the route taken by packets over a TCP
ii  ttf-bitstream- 1.10-3         The Bitstream Vera family of free TrueType f
ii  ttf-opensymbol 1.1.2dfsg1-3   The OpenSymbol TrueType font
ii  ttmkfdir       3.0.9-3        Utility used to create fonts.scale files for
ii  twm            4.3.0.dfsg.1-1 Tab window manager
ii  ucf            1.13           Update Configuration File: preserves user ch
ii  unzip          5.51-2         De-archiver for .zip files
ii  usbutils       0.70-1         USB console utilities
ii  util-linux     2.12-10        Miscellaneous system utilities
ii  vacation       3.3.0          email autoresponder
ii  valgrind       2.2.0-4        A memory debugger for x86-linux
ii  w3m            0.5.1-1        WWW browsable pager with excellent tables/fr
ii  wamerican      5-4            American English dictionary words for /usr/s
ii  wget           1.9.1-8        retrieves files from the web
ii  whiptail       0.51.6-20      Displays user-friendly dialog boxes from she
ii  whois          4.7.0          the GNU whois client
ii  wmtop          0.84-3         Dockapp that displays 3 top memory or CPU us
ii  x-dev          4.3.0.dfsg.1-1 X protocol development files
ii  x-window-syste 4.3.0.dfsg.1-1 X Window System
ii  x-window-syste 4.3.0.dfsg.1-1 X Window System core components
ii  xalan          1.8-4          XSLT processor
ii  xaw3dg         1.5+E-8        Xaw3d widget set
ii  xbase-clients  4.3.0.dfsg.1-1 miscellaneous X clients
ii  xdm            4.3.0.dfsg.1-1 X display manager
ii  xfonts-100dpi  4.3.0.dfsg.1-1 100 dpi fonts for X
ii  xfonts-75dpi   4.3.0.dfsg.1-1 75 dpi fonts for X
ii  xfonts-base    4.3.0.dfsg.1-1 standard fonts for X
ii  xfonts-scalabl 4.3.0.dfsg.1-1 scalable fonts for X
ii  xfree86-common 4.3.0.dfsg.1-1 X Window System (XFree86) infrastructure
ii  xfs            4.3.0.dfsg.1-1 X font server
ii  xfwp           4.3.0.dfsg.1-1 X firewall proxy server
ii  xlibmesa-dri   4.3.0.dfsg.1-1 Mesa 3D graphics library modules [XFree86]
ii  xlibmesa-gl    4.3.0.dfsg.1-1 Mesa 3D graphics library [XFree86]
ii  xlibmesa-gl-de 4.3.0.dfsg.1-1 Mesa 3D graphics library development files [
ii  xlibmesa-glu   4.3.0.dfsg.1-1 Mesa OpenGL utility library [XFree86]
ii  xlibmesa-glu-d 4.3.0.dfsg.1-1 Mesa OpenGL utility library development file
ii  xlibs          4.3.0.dfsg.1-1 X Keyboard Extension (XKB) configuration dat
ii  xlibs-data     4.3.0.dfsg.1-1 X Window System client data
ii  xlibs-static-d 4.3.0.dfsg.1-1 X Window System client library development f
ii  xml-core       0.09           XML infrastructure and XML catalog file supp
ii  xmovie         1.9-3          A nice player for uncompressed Quicktime, MP
ii  xnest          4.3.0.dfsg.1-1 nested X server
ii  xpdf           3.00-12        Portable Document Format (PDF) suite
ii  xpdf-common    3.00-12        Portable Document Format (PDF) suite -- comm
ii  xpdf-reader    3.00-12        Portable Document Format (PDF) suite -- view
ii  xpdf-utils     3.00-12        Portable Document Format (PDF) suite -- util
ii  xprt-common    0.1.0.alpha1-8 Xprint - the X11 print system (configuration
ii  xprt-xprintorg 0.1.0.alpha1-8 Xprint - the X11 print system from xprint.or
ii  xserver-common 4.3.0.dfsg.1-1 files and utilities common to all X servers
ii  xserver-xfree8 4.3.0.dfsg.1-1 the XFree86 X server
ii  xslide         0.2.2-4        XSL editing mode for Emacs
ii  xterm          4.3.0.dfsg.1-1 X terminal emulator
ii  xutils         4.3.0.dfsg.1-1 X Window System utility programs
ii  xvfb           4.3.0.dfsg.1-1 virtual framebuffer X server
ii  zlib1g         1.2.2-3        compression library - runtime
ii  zlib1g-dev     1.2.2-3        compression library - development

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12183) SDL-client cannot compile, pb@xxxxxxxxxxxx <=